* lisp/vc/vc-bzr.el (vc-bzr--sanitize-header): New function.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4 (vc-bzr-checkin): Use it.
5 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
6 will preserve match-data.
7
8 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9
10 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
11 (js--declaration-keyword-re): New var.
12 (js--multi-line-declaration-indentation): New function.
13 (js--proper-indentation): Use it.
14
15 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
16
17 * calc/calc.el (calc-highlight-selections-with-faces)
18 (calc-dispatch):
19 * comint.el (comint-history-isearch-message):
20 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
21 * ffap.el (ffap-string-at-point-region, ffap-next)
22 (ffap-string-at-point, ffap-string-around)
23 (ffap-copy-string-as-kill, ffap-highlight-overlay)
24 (ffap-literally):
25 * font-lock.el (font-lock-keywords-alist)
26 (font-lock-removed-keywords-alist):
27 * help-mode.el (help-xref-symbol-regexp):
28 * info.el (Info-find-emacs-command-nodes):
29 * international/mule.el (add-to-coding-system-list):
30 * isearch.el (isearch-message-function, isearch-fail-pos):
31 * misearch.el (multi-isearch-next-buffer-function):
32 * newcomment.el (comment-box):
33 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
34 (pr-setting-database):
35 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
36 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
37 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
38 (pike-font-lock-keywords-3):
39 * progmodes/compile.el (compile):
40 * progmodes/etags.el (tags-table-files)
41 (tags-table-files-function, tags-included-tables-function):
42 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
43 (gdb-restore-windows):
44 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
45 (ps-n-up-filling-database):
46 * server.el (server-buffer, server-log):
47 * simple.el (newline, delete-backward-char, delete-forward-char)
48 (minibuffer-history-isearch-message, kill-line, track-eol)
49 (temporary-goal-column):
50 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
51 (flyspell-default-deplacement-commands):
52 * textmodes/ispell.el (ispell-accept-output):
53 * textmodes/sgml-mode.el (html-tag-help):
54 * vc/compare-w.el (compare-ignore-whitespace)
55 (compare-ignore-case, compare-windows-dehighlight):
56 * vc/diff.el (diff):
57 * whitespace.el (whitespace-point)
58 (whitespace-font-lock-refontify, whitespace-bob-marker)
59 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
60
61 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
62
63 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
64 (auto-revert-notify-rm-watch): Ignore errors.
65 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
66 inotify, and '(size last-write-time) for w32notify.
67 Set buffer-local `auto-revert-use-notify' to nil when adding a file
68 watch fails - this is a fallback to the file modification check.
69 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
70 (auto-revert-notify-event-action)
71 (auto-revert-notify-event-file-name): New defuns.
72 (auto-revert-notify-handler): Use them. Implement first
73 plausibility checks.
74 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
75
76 2013-01-11 Julien Danjou <julien@danjou.info>
77
78 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
79 max are almost equal. Also return the correct value for V which is
80 already between 0 and 1.
81
82 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
83
84 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
85
86 2013-01-11 Eli Zaretskii <eliz@gnu.org>
87
88 * autorevert.el (auto-revert-notify-rm-watch)
89 (auto-revert-notify-add-watch): Fix typos in w32notify function
90 names.
91
92 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
93
94 * autorevert.el (auto-revert-notify-enabled): Move up.
95 (auto-revert-use-notify): New defcustom.
96 (auto-revert-mode, global-auto-revert-mode)
97 (auto-revert-notify-add-watch, auto-revert-handler)
98 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
99 `auto-revert-notify-enabled'.
100
101 2013-01-10 Elias Pipping <pipping@exherbo.org>
102
103 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
104 * doc-view.el (doc-view-document->bitmap):
105 Use doc-view-single-page-converter-function instead of
106 single-page-converter arg; adjust callers.
107
108 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
109
110 * progmodes/which-func.el (which-function): Understand Semantic's use
111 of overlays in imenu--index-alist.
112
113 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
114
115 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
116 (Man-man-k-use-anchor): New var.
117 (Man-parse-man-k): New function.
118 (Man-completion-table): Use it.
119 (man): Flush the completion cache between uses.
120
121 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
122
123 * autorevert.el: Add file watch support.
124 (auto-revert-notify-enabled): New defconst.
125 (auto-revert-notify-watch-descriptor-hash-list)
126 (auto-revert-notify-watch-descriptor)
127 (auto-revert-notify-modified-p): New defvars.
128 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
129 (auto-revert-notify-handler): New defuns.
130 (auto-revert-mode, global-auto-revert-mode): Remove file watches
131 when mode is disabled.
132 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
133 (auto-revert-buffers): Add file watches for active buffers.
134
135 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
136
137 * cus-start.el (toplevel): Only allow float values for
138 scroll-up-aggressively and scroll-down-aggressively.
139 Allow any number for line-spacing.
140
141 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
144 (doc-view-pdf->png-converter-function): Use mupdf if available.
145 (doc-view-djvu->png-converter-function)
146 (doc-view-ps->png-converter-function): Remove.
147 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
148 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
149 (doc-view-already-converted-p): Adjust accordingly.
150 (doc-view-mode-p): Simplify.
151 (doc-view-enlarge): Use setq-local.
152 (doc-view-pdf->png-converter-ghostscript)
153 (doc-view-djvu->png-converter-ddjvu)
154 (doc-view-pdf->png-converter-mupdf): Rework to call
155 doc-view-start-process directly.
156 (doc-view-pdf/ps->png): Simplify accordingly.
157 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
158 (doc-view-document->bitmap): Rename from doc-view-document->png.
159 (doc-view-convert-current-doc): Merge pdf and djvu cases.
160 (doc-view-set-slice-from-bounding-box): Fix completion table.
161 (doc-view-mode): Use add-hook for after-revert-hook.
162
163 2013-01-10 Glenn Morris <rgm@gnu.org>
164
165 * emacs-lisp/authors.el (authors-ignored-files)
166 (authors-valid-file-names, authors-renamed-files-alist):
167 Add some more entries.
168
169 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * image-mode.el (image-mode-winprops): Don't throw away the fallback
172 `t' pseudo-window entry.
173
174 2013-01-10 Alan Mackenzie <acm@muc.de>
175
176 Fix bugs in the c-parse-state mechanism. Reuse some markers
177 instead of continually generating new ones.
178
179 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
180 (c-state-old-cpp-end-marker): New variables.
181 (c-append-lower-brace-pair-to-state-cache): Start a backward
182 search for "}" definitively outside CPP constructs.
183 (c-remove-stale-state-cache): Inform the caller of a need to
184 search back for a brace pair in certain circumstances.
185 (c-state-maybe-marker): New macro.
186 (c-parse-state): Reuse markers when appropriate.
187
188 2013-01-10 Glenn Morris <rgm@gnu.org>
189
190 * simple.el (execute-extended-command): Doc fix.
191 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
192
193 2013-01-10 Chong Yidong <cyd@gnu.org>
194
195 * faces.el (read-face-name): Doc fix.
196
197 2013-01-10 Roland Winkler <winkler@gnu.org>
198
199 * emacs-lisp/crm.el: Allow any regexp for separators.
200 (crm-default-separator): All spaces around the default comma separator.
201 (crm--completion-command): New macro.
202 (crm-completion-help, crm-complete, crm-complete-word): Use it.
203 (crm-complete-and-exit): Handle non-single-char separators.
204
205 2013-01-09 Elias Pipping <pipping@lavabit.com>
206
207 * doc-view.el: Add support for DjVu (bug#13164).
208 (doc-view-djvu->png-converter-function): New config var.
209 (doc-view-single-page-converter-function, doc-view--image-type)
210 (doc-view--image-file-extension): New vars.
211 (doc-view-mode): Initialize them.
212 (doc-view-goto-page): Use them.
213 (doc-view-mode-p): Add support for ddjvu.
214 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
215 (doc-view-set-up-single-converter): New funs.
216 (doc-view-pdf/ps->png): Extend for djvu.
217 (doc-view-document->png): Rename from doc-view-pdf->png.
218 (doc-view-convert-current-doc): Handle djvu.
219 (doc-view-insert-image, doc-view-display)
220 (doc-view-already-converted-p): Don't hardcode png.
221 (doc-view-set-doc-type): Recognize djvu docs.
222
223 2013-01-09 Elias Pipping <pipping@lavabit.com>
224
225 * doc-view.el: Add support for mupdf converter (bug#13164).
226 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
227 (doc-view-ps->png-converter-function): New config vars.
228 (doc-view-pdf->png-converter-ghostscript)
229 (doc-view-ps->png-converter-ghostscript)
230 (doc-view-pdf->png-converter-mupdf): New functions.
231 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
232
233 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
234
235 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
236 first in session cache: When `tramp-own-remote-path' is in
237 `tramp-remote-path', the remote path is only set in the session
238 cache.
239
240 2013-01-09 Glenn Morris <rgm@gnu.org>
241
242 * emacs-lisp/trace.el (trace-function-foreground)
243 (trace-function-background): Doc fix.
244
245 2013-01-09 Juri Linkov <juri@jurta.org>
246
247 * international/mule-cmds.el (read-char-by-name): Move let-binding
248 of completion-ignore-case around completing-read to fix regression
249 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
250 `string-match-p' using the nil value of `case-fold-search' and
251 `completion-ignore-case' in `completion-pcm--all-completions'.
252 (Bug#12615).
253
254 2013-01-09 Glenn Morris <rgm@gnu.org>
255
256 * progmodes/compile.el (compilation-parse-errors):
257 Fix typo. (Bug#13369)
258
259 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
260
261 * comint.el (comint-send-input): Check size of buffer before
262 waiting for process output, in case already accepted. (Bug#13290)
263
264 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
265
266 Spelling fixes.
267 * net/tramp-adb.el (tramp-adb-get-toolbox):
268 Fix misspelling of 'unknown'.
269
270 2013-01-08 Juri Linkov <juri@jurta.org>
271
272 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
273 * progmodes/flymake.el (flymake-errline, flymake-warnline):
274 Use underline style wave on terminals that support it. (Bug#13000)
275
276 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
279 the predicate returns nil.
280
281 * simple.el: Use lexical-binding.
282 (primitive-undo): Use pcase.
283 (minibuffer-history-isearch-push-state): Use a closure.
284
285 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
286
287 * simple.el (primitive-undo): Move from undo.c.
288
289 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
292 (cvs-mode-remove-handled): Use it (bug#13380).
293
294 * emacs-lisp/nadvice.el (advice--tweak): New function.
295 (advice--remove-function, advice--subst-main): Use it.
296
297 * emacs-lisp/advice.el: Update commentary.
298
299 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
300
301 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
302 Remove spurious entry.
303
304 2013-01-08 Glenn Morris <rgm@gnu.org>
305
306 * net/tramp.el (tramp-default-host-alist): Add :version.
307
308 2013-01-08 Juri Linkov <juri@jurta.org>
309
310 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
311 single completion. (Bug#12456)
312 (info--manual-names): Expand node completions into an explicit list
313 before appending it to another list. Filter out internal buffers
314 with the leading space in the buffer name. (Bug#10771)
315
316 2013-01-08 Juri Linkov <juri@jurta.org>
317
318 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
319 that defaults to the Top node.
320 (Info-goto-node, Info-read-node-name): Doc fix to mention that
321 the short format (FILENAME) goes to the Top node.
322 (Info-build-node-completions): Rename arg `file' to `filename'.
323 (Bug#13365)
324
325 2013-01-07 Bastien Guerry <bzg@gnu.org>
326
327 * menu-bar.el (menu-bar-search-documentation-menu):
328 Use `apropos-user-option' and fix the help message.
329
330 2013-01-07 Bastien Guerry <bzg@gnu.org>
331
332 * apropos.el (apropos-do-all): Update docstring.
333 (apropos-user-option-button): New face.
334 (apropos-user-option): Rename from `apropos-variable' and update
335 docstring.
336 (apropos-variable): Rewrite, now show all variables by default.
337 (apropos-print): Mention "User option" instead of "Variable" when
338 printing doc for user options. (Bug#13276)
339
340 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
341
342 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
343 Handle filename correctly, when parsing "source -> target" symlink
344 output.
345 (tramp-adb-handle-set-file-times): New defun.
346
347 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
350 advice list when the interactive-spec of ad-Advice-* changes.
351
352 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
353
354 * wid-edit.el (widget-default-get): Work for inlined elements.
355 (Bug#12670)
356
357 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
358
359 * net/tramp.el (tramp-default-host-alist): New defcustom.
360 (tramp-find-host): Use it.
361 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
362 `eshell-directory-change-hook'.
363
364 * net/tramp-adb.el (top): Add adb specific entry in
365 `tramp-default-host-alist'.
366 (tramp-adb-file-name-host): Remove function.
367 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
368 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
369
370 * net/tramp-sh.el: Move eshell integration code to tramp.el.
371
372 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
373
374 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
375
376 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
377
378 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
379 consist of more than one digit.
380 (tramp-adb-file-name-handler-alist):
381 Use `tramp-handle-file-exists-p' consistently.
382 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
383 (tramp-adb-handle-file-exists-p): Remove function.
384 (tramp-adb-file-name-host): New defun.
385 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
386 Use it.
387 (tramp-adb-maybe-open-connection): Set "remote-path" property.
388
389 2013-01-06 Chong Yidong <cyd@gnu.org>
390
391 * vc/vc.el (vc-next-action): Detect buffer modifications
392 conflicting with locking VCS operation (Bug#11490).
393
394 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
395
396 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
397
398 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
399 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
400
401 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
402
403 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
404 parsing of ls output using regular expression (handle filenames
405 with spaces). Use virtual device number.
406 (tramp-do-parse-file-attributes-with-ls): New defun (Code
407 cleanup).
408
409 2013-01-04 Daiki Ueno <ueno@gnu.org>
410
411 * epg.el: Silence byte-compiler warnings.
412 (epg--start): Use delete-char instead of delete-backward-char.
413 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
414
415 2013-01-04 Daiki Ueno <ueno@gnu.org>
416
417 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
418 Suggested by Eli Zaretskii <eliz@gnu.org>.
419
420 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
421
422 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
423 non-negative integers. Otherwise, the default values are used.
424 (tramp-convert-file-attributes): Convert uid and gid to integers.
425
426 2013-01-04 Glenn Morris <rgm@gnu.org>
427
428 * term.el (term-handle-colors-array): Ensure face attributes
429 are fully specified, not nil. (Bug#13337)
430
431 * term.el (term-default-fg-color, term-default-bg-color):
432 Fix custom type.
433
434 * progmodes/etags.el (tags-compression-info-list): Doc fix.
435 (tag-find-file-of-tag-noselect): Check auto-compression-mode
436 rather than 'jka-compr being loaded. (Bug#13338)
437
438 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
439
440 * icomplete.el (icomplete-completions):
441 Honor icomplete-prospects-height once more following
442 2012-11-29 changes. (Bug#13224)
443
444 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * subr.el (internal--called-interactively-p--get-frame): Find aliases
447 of called-interactively-p as well (bug#13237).
448
449 * view.el (view--enable, view--disable): Rename from view-mode-enable
450 and view-mode-disable and assume it's called from view-mode.
451 (view-mode-enable, view-mode-disable): Redefine as obsolete
452 compatibility layer above view-mode.
453 (view-mode-enter): Call `view-mode'.
454
455 * files.el (after-find-file): Call `view-mode'.
456
457 * doc-view.el (doc-view-scale-internally): New var.
458 (doc-view-enlarge, doc-view-insert-image): Obey it.
459
460 2013-01-03 Daiki Ueno <ueno@gnu.org>
461
462 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
463 exist. (Bug#13344)
464
465 2013-01-03 Glenn Morris <rgm@gnu.org>
466
467 * mail/rmail.el (rmail-set-header-1): Ignore case.
468 Handle multi-line headers. (Bug#13330)
469
470 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
471 Handle paragraph starting at beginning of buffer.
472
473 * subr.el (eval-after-load): Don't purecopy the form, so that it
474 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
475
476 * emacs-lisp/byte-run.el (defun): Place cl declarations
477 after any interactive spec. (Bug#13265)
478
479 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
480
481 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
482 defun. Don't check for DECL if DOCSTRING isn't a string.
483 (defun): Likewise.
484
485 2013-01-02 Glenn Morris <rgm@gnu.org>
486
487 * eshell/em-cmpl.el (eshell-pcomplete):
488 More thoroughly imitate pcomplete. (Bug#13293)
489
490 * files.el (parse-colon-path): Doc fix. (Bug#12351)
491 Return nil for empty path elements. (Bug#13296)
492
493 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
494
495 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
496 order to improve efficiency (Based on Daniel Colascione's
497 <dancol@dancol.org> patch). (Bug#13182)
498
499 2013-01-02 Glenn Morris <rgm@gnu.org>
500
501 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
502
503 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
504
505 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
506 neither DOCSTRING nor DECL was given. (Bug#13316)
507
508 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
509
510 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
511 `error' call.
512 (tramp-do-copy-or-rename-file): Ignore errors when calling
513 `set-file-extended-attributes'.
514
515 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
516 Add handler for `file-acl'.
517 (tramp-smb-handle-file-acl): New defun.
518
519 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
520
521 * calc/README: Mention ISO 8601 week-numbering dates.
522
523 2013-01-01 Martin Rudalics <rudalics@gmx.at>
524
525 * view.el (view-mode-enable): New argument run-view-mode-hook.
526 Run view-mode-hook only when it's non-nil (Bug#13315).
527 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
528 argument t.
529
530 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
531
532 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
533 (No device connected, invalid device name). (Bug #13299)
534
535 2012-12-31 Martin Rudalics <rudalics@gmx.at>
536
537 * window.el (window-resizable--p): Rename to window-resizable-p.
538 (window-resize-no-error): New function.
539
540 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
541 broken in fix from 2012-12-28.
542
543 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * subr.el (special-form-p): Don't signal errors on undef aliases.
546
547 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
548
549 * calc/calc-forms.el (math-parse-date): Try using
550 `math-parse-iso-date' when it looks like it might be needed.
551 Allow times of 24:00.
552 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
553 of 24:00.
554
555 2012-12-30 Glenn Morris <rgm@gnu.org>
556
557 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
558 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
559 (rmail-summary-displayed, rmail-summary): Declare.
560 (mairix-rmail-display): Just require rmail.
561
562 2012-12-30 Chong Yidong <cyd@gnu.org>
563
564 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
565 check for the tarball contents.
566
567 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
568
569 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
570 tarfile content listings (Bug#13136).
571
572 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
573
574 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
575 Insert the undecoded text of the message being forwarded. (Bug#9521)
576
577 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
578
579 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
580 integers, if they are real numbers. (Bug#13282)
581
582 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
583 Return `t' on success.
584
585 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
586 Add handler for `set-file-selinux-context'.
587
588 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
589
590 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
591 (tramp-sh-handle-set-file-acl): Return `t' on success.
592
593 2012-12-29 Eli Zaretskii <eliz@gnu.org>
594
595 * files.el (backup-buffer-copy, basic-save-buffer-2):
596 If set-file-extended-attributes fails, fall back on set-file-modes
597 instead of signaling an error. (Bug#13298)
598 (basic-save-buffer): Likewise.
599
600 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
601
602 * progmodes/python.el: Support other commands triggering
603 python-indent-line so indentation cycling continues to work.
604 (python-indent-trigger-commands): New defcustom.
605 (python-indent-line): Use it.
606
607 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
608
609 * progmodes/python.el (python-shell-send-region): Add blank lines
610 for non sent code so backtraces remain correct.
611
612 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
613
614 * progmodes/python.el: Remove cl dependency.
615 (python-syntax-count-quotes): Replace incf call.
616 (python-fill-string): Replace setf call.
617
618 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
619
620 * info.el (info-other-window): New arg, for consistency with info.
621
622 2012-12-28 Martin Rudalics <rudalics@gmx.at>
623
624 * mail/rmail.el (rmail-maybe-display-summary):
625 Rewrite (Bug#13066).
626
627 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
628
629 * epg.el (epg--start): Modify process-environment locally.
630
631 2012-12-28 Daiki Ueno <ueno@gnu.org>
632
633 * epg.el: Support pinentry-curses.
634 Suggested by Werner Koch in
635 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
636 (epg-agent-file, epg-agent-mtime): New variable.
637 (epg--start): Record the modified time of gpg-agent socket file,
638 to restore Emacs frame after pinentry-curses termination.
639 (epg-wait-for-completion): Restore Emacs frame here.
640
641 2012-12-27 Juri Linkov <juri@jurta.org>
642
643 * info.el (Info-file-completions): New variable.
644 (Info-read-node-name-1): Complete node names in the Info file
645 when a file name is given. Call `Info-build-node-completions'
646 with a file name.
647 (Info-build-node-completions): Add new arg `file'. When it is
648 non-nil, visit it in a temporary buffer and cache its completions in
649 `Info-current-file-completions'. Move most of the function body to
650 `Info-build-node-completions-1'.
651 (Info-build-node-completions-1): New function with the body from
652 `Info-build-node-completions'. (Bug#12456)
653
654 2012-12-27 Juri Linkov <juri@jurta.org>
655
656 * frame.el (frame-maximization-style): Remove user option.
657 (cycle-frame-maximized): Remove function.
658 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
659 (toggle-frame-fullscreen): New command bound to <f11> instead of
660 `toggle-frame-maximized'.
661 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
662
663 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
664
665 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
666
667 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
668 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
669 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
670 for `file-accessible-directory-p'. (Bug#13275)
671
672 2012-12-27 Sam Steingold <sds@gnu.org>
673
674 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
675 continuations, see <http://stackoverflow.com/questions/3582436>.
676
677 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
678
679 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
680 "module" and "def" to have indentation before them.
681 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
682
683 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
684
685 2012-12-27 Alan Mackenzie <acm@muc.de>
686
687 Speed up fontification where there's large brace blocks.
688 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
689 to a call of c-beginning-of-decl-1.
690
691 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
692
693 * comint.el (comint-adjust-window-point): New function.
694 (comint-postoutput-scroll-to-bottom):
695 Call comint-adjust-window-point (Bug#13248).
696
697 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
698
699 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
700 Rakefile regexp.
701 (auto-mode-alist): Associate .gemspec files with ruby-mode
702 (https://bugs.ruby-lang.org/issues/5453).
703
704 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
705
706 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
707 Suppress coloring, if possible (required for BusyBox based systems like
708 CyanogenMod).
709 (tramp-adb-handle-file-attributes)
710 (tramp-adb-handle-insert-directory)
711 (tramp-adb-handle-file-name-all-completions): Use it.
712 (tramp-adb-get-toolbox): New defun. Check for remote shell
713 implementation (BusyBox or Toolbox).
714
715 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
716
717 * startup.el (initial-buffer-choice): Allow function as value
718 (Bug#13251).
719 (command-line-1): Handle case where initial-buffer-choice
720 specifies a function.
721 * server.el (server-execute): Handle case where
722 initial-buffer-choice specifies a function.
723
724 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
725
726 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
727 its own function.
728 (smtpmail-try-auth-methods): Forget the user name/password if the
729 login is unsuccessful (bug#12424).
730
731 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
732
733 * notifications.el (notifications-notify): Protect body with
734 `with-demoted-errors'.
735
736 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
737 Check properties of remote device. Restart connection, if there is a
738 change.
739
740 2012-12-21 Chong Yidong <cyd@gnu.org>
741
742 * sort.el (sort-subr): Doc fix (Bug#13056).
743
744 2012-12-21 Bastien Guerry <bzg@gnu.org>
745
746 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
747
748 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
749
750 * simple.el (process-file): Overwrite stderr file, if exists.
751
752 2012-12-21 Daiki Ueno <ueno@gnu.org>
753
754 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
755 (epg-error): Set `error-message' property.
756
757 2012-12-21 Chong Yidong <cyd@gnu.org>
758
759 * international/mule-cmds.el (read-char-by-name): Signal an error
760 if the user does not supply a valid character (Bug#13177).
761
762 * simple.el (transpose-subr-1): Preserve marker positions by
763 changing the insertion sequence (Bug#13122).
764
765 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
766
767 * simple.el (kill-region): Deactivate mark even for empty regions
768 (Bug#13169).
769
770 2012-12-21 Chong Yidong <cyd@gnu.org>
771
772 * help-fns.el (describe-variable): Make sure we get the right
773 buffer name (Bug#13105). Suggested by Kelly Dean.
774
775 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
776
777 * comint.el (comint-redirect-previous-input-string): New variable.
778 (comint-redirect-setup, comint-redirect-cleanup)
779 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
780 (comint-redirect-preoutput-filter): Fix verbose message.
781
782 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
783
784 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
785 is too long for Tramp. See discussion in
786 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
787
788 * progmodes/compile.el (compilation-start): Remove line escape
789 template.
790
791 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
792
793 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
794 Adjust comment.
795
796 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
797
798 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
799 following non-comment text (bug#13207).
800 (lm-header-multiline): Continuation lines need to be indented more than
801 the first line.
802 (lm-homepage): New function.
803 (lm-with-file): Don't be confused if narrowing is in effect.
804
805 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
808 very beginning of a hunk (e.g. killing the first line).
809
810 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
811
812 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
813 and text properties from returned ACL string.
814 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
815 for "setfacl" command.
816
817 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
818
819 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
820 `tramp-cleanup-this-connection', when the process has died.
821 (Bug#13151)
822
823 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
826
827 2012-12-17 Kevin Ryde <user42@zip.com.au>
828
829 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
830
831 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
832
833 Add support for preserving ACL entries of files.
834
835 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
836 `set-file-acl' handlers.
837
838 * net/tramp-adb.el (tramp-adb-handle-copy-file):
839 Handle PRESERVE-EXTENDED-ATTRIBUTES.
840
841 * net/tramp-compat.el (tramp-compat-copy-file):
842 Handle PRESERVE-EXTENDED-ATTRIBUTES.
843
844 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
845 Add `file-acl' and `set-file-acl' handlers.
846 (tramp-gvfs-handle-copy-file):
847 Handle PRESERVE-EXTENDED-ATTRIBUTES.
848 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
849 New defuns.
850
851 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
852 Add `file-acl' and `set-file-acl' handlers.
853 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
854 (tramp-sh-handle-set-file-acl): New defuns.
855 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
856 Handle PRESERVE-EXTENDED-ATTRIBUTES.
857
858 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
859 Add `file-acl' and `set-file-acl' handlers.
860 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
861
862 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
863
864 * help-macro.el (make-help-screen): Instead of switch-to-buffer
865 use pop-to-buffer with NORECORD argument t. As buffer name, use
866 *Metahelp* with a leading space (Bug#13190).
867
868 2012-12-16 Romain Francoise <romain@orebokech.com>
869
870 * files.el (file-extended-attributes)
871 (set-file-extended-attributes): New functions.
872 (backup-buffer): Use them to handle both SELinux context and ACL
873 entries.
874 (backup-buffer-copy): Work with an alist of extended attributes,
875 rather than an SELinux context.
876 (basic-save-buffer-2): Ditto.
877
878 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
879
880 * battery.el (battery-bsd-apm): New function.
881
882 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
883
884 * calc/calc.el (calc-standard-date-formats): Adjust one of the
885 standard date formats.
886
887 2012-12-15 Juri Linkov <juri@jurta.org>
888
889 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
890 `isearch-insert-char-by-name'.
891 (with-isearch-suspended): New defmacro with body mostly from
892 `isearch-edit-string' except the part that sets
893 `isearch-new-string' and `isearch-new-message'.
894 (isearch-edit-string): Use new macro `with-isearch-suspended' with
895 body that sets `isearch-new-string' and `isearch-new-message'.
896 (isearch-insert-char-by-name): New command.
897 * international/mule-cmds.el (read-char-by-name): Let-bind
898 `enable-recursive-minibuffers' to t.
899 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
900
901 2012-12-15 Juri Linkov <juri@jurta.org>
902
903 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
904 (Bug#13175)
905
906 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
907
908 * dired-x.el (dired-guess-shell-command): Put colon at the end of
909 the prompt. (Bug#13045)
910
911 2012-12-14 Glenn Morris <rgm@gnu.org>
912
913 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
914 Try to include filename in non-bytecomp warning. (Bug#13132)
915
916 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
917
918 Fix permissions bugs with setgid directories etc. (Bug#13125)
919 * files.el (backup-buffer): Don't rely on 9th output of
920 file-attributes, as it's now a placeholder. Instead, use the new
921 optional arg of file-ownership-preserved-p.
922 (file-ownership-preserved-p): New optional arg GROUP.
923 Fix mishandling of setuid directories that would cause this
924 function to return t when it should have returned nil.
925 Document what happens if the file does not exist, and when
926 it's not known whether the ownership will be preserved.
927 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
928 Likewise.
929 (tramp-get-local-gid): Use group-gid for integer, as that's
930 faster and more reliable.
931
932 2012-12-14 Julien Danjou <julien@danjou.info>
933
934 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
935 Update keywords list, data type and PL/pgSQL.
936
937 2012-12-14 Dave Abrahams <dave@boostpro.com>
938
939 * vc/ediff-util.el (ediff-buffer-type): New function.
940 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
941 rather than taking it as as argument.
942 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
943
944 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
945
946 * json.el: Add pretty-print option (bug#12634).
947 (json-encoding-separator, json-encoding-default-indentation)
948 (json--encoding-current-indentation, json-encoding-pretty-print)
949 (json-encoding-lisp-style-closings): New vars.
950 (json--with-indentation): New macro.
951 (json-encode-hash-table, json-encode-alist, json-encode-plist)
952 (json-encode-array): Use it to obey json-encoding-pretty-print.
953 (json-pretty-print-buffer, json-pretty-print): New commands.
954
955 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
956
957 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
958 Extract `ruby-syntax-propertize-expansions'.
959 (ruby-syntax-propertize-expansions): Only change syntax on
960 certain string delimiters, to punctuation. This way the common
961 functions like forward-word and thing-at-point still work.
962 (ruby-match-expression-expansion): Improve readability.
963 (ruby-block-contains-point): New function.
964 (ruby-add-log-current-method): Handle several edge cases.
965
966 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
967
968 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
969 unload-feature finishes even when aborting an ongoing edebug session.
970 Also, do not worry about edebug-mode, unload-feature takes care of it.
971
972 2012-12-13 Andreas Schwab <schwab@suse.de>
973
974 * net/tls.el (tls-program): Update customize type.
975
976 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
977
978 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
979 (edebug-setup-hook, cl-read-load-hooks): Use it.
980 (edebug-unload-function): New function. (Bug#13163)
981
982 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
983
984 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
985 Otherwise, there could be errors in autoloading. (Bug#13151)
986
987 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
988
989 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
990 sequences.
991
992 2012-12-13 Alan Mackenzie <acm@muc.de>
993
994 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
995 * progmodes/cc-engine.el (c-backward-comments): Add code to work
996 around `forward-comment' not recognizing ^M as whitespace.
997
998 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
999
1000 * progmodes/python.el (python-skeleton-class)
1001 (python-skeleton-def): Do not add space after defun name.
1002
1003 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1006 (cl--symbol-function): Remove (now that funbound is like nil).
1007
1008 2012-12-12 Glenn Morris <rgm@gnu.org>
1009
1010 * button.el (button--area-button-p): Fix typo.
1011
1012 2012-12-12 Sam Steingold <sds@gnu.org>
1013
1014 * frame.el (frame-maximization-style): New user option.
1015 (toggle-frame-maximized): Toggle frame maximization according to
1016 `frame-maximization-style', bound to <f11>.
1017 (cycle-frame-maximized): Cycle between all maximization styles and
1018 non-maximized frame, bound to shift-<f11>.
1019
1020 2012-12-12 David Cadé <codename68@gmail.com>
1021
1022 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1023
1024 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1025
1026 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1027 (eieio-override-prin1): Don't quote kewords and booleans.
1028 (object-write) <eieio-default-superclass>: Don't put closing parens
1029 on new line, avoid needless empty lines, align values that are objects
1030 with the slot keyword (instead of beginning on the same line).
1031 (eieio-list-prin1): Align value with slot keyword; increase
1032 eieio-print-depth before printing members of the list.
1033
1034 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1037 a display text-property.
1038 (report-emacs-bug-hook): Don't bother deleting it any more.
1039
1040 * hilit-chg.el (highlight-save-buffer-state): Delete.
1041 Use with-silent-modifications instead.
1042 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1043
1044 * button.el: Handle buttons in display text-properties.
1045 (button--area-button-p, button--area-button-string):
1046 Use (STRING . STRING-POS) representation instead of just STRING.
1047
1048 2012-12-11 Eli Zaretskii <eliz@gnu.org>
1049
1050 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1051 subdirectory be skipped.
1052
1053 2012-12-11 Glenn Morris <rgm@gnu.org>
1054
1055 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1056
1057 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1058 Treat preprocessor lines embedded in continuations like comments.
1059 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1060
1061 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1062
1063 * calc/calc.el (calc-standard-date-formats): Add more date
1064 formats.
1065 * calc/calc-forms.el (math-parse-iso-date): New function.
1066 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1067 (math-parse-iso-date-validate): Add extra error checking.
1068 (calc-date-notation): Add ability to access new date formats.
1069
1070 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1071
1072 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1073 font-lock as well as when there's no text-property.
1074
1075 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
1076
1077 * hi-lock.el: Refine the choice of default face.
1078 (hi-lock-keyword->face): New function. Use it wherever we used
1079 cadadadr instead.
1080 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1081 (hi-lock--last-face): Remove var.
1082 (hi-lock--unused-faces): New var to replace it.
1083 (hi-lock-read-face-name): Use/maintain it.
1084 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1085 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1086 if it has another face.
1087
1088 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1089
1090 * subr.el (w32notify-handle-event): New function.
1091 (inotify-handle-event): Doc fix.
1092
1093 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1094
1095 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1096
1097 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
1098
1099 * simple.el (just-one-space): Doc fix.
1100
1101 2012-12-10 Eli Zaretskii <eliz@gnu.org>
1102
1103 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
1104
1105 2012-12-10 Le Wang <l26wang@gmail.com>
1106
1107 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1108 narrowed buffer (bug#12361).
1109
1110 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
1111
1112 * vc/vc-hooks.el (vc-state): Doc fix.
1113
1114 2012-12-10 Glenn Morris <rgm@gnu.org>
1115
1116 * mail/rmail.el (rmail-maybe-display-summary):
1117 Preserve buffer, in case select-window changes it. (Bug#13066)
1118
1119 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1122 cl-load-hook where they belong.
1123
1124 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1127
1128 2012-12-09 Eli Zaretskii <eliz@gnu.org>
1129
1130 Parallelize byte compilation on MS-Windows.
1131 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
1132 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
1133 (WINS_BASIC): Define as concatenation of the above.
1134 (compile): Subdivide into 4 separate and independent jobs that can
1135 be run in parallel.
1136 (compile0-CMD, compile0-SH): New targets for compiling
1137 COMPILE_FIRST files, which are prerequisites for the rest of the
1138 byte-compilation.
1139 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1140 New targets for parallel compilation with cmd.exe.
1141 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1142 compiling under a Unixy shell.
1143
1144 2012-12-09 Chong Yidong <cyd@gnu.org>
1145
1146 * simple.el (set-mark-default-inactive): Delete this
1147 accidentally-introduced option.
1148 (set-mark-command, exchange-point-and-mark): Remove calls.
1149
1150 2012-12-09 Glenn Morris <rgm@gnu.org>
1151
1152 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1153 Respect a defcustom's :set function, if appropriate. (Bug#109)
1154 (eval-defun): Doc fix.
1155
1156 2012-12-08 Juri Linkov <juri@jurta.org>
1157
1158 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1159 (Info-fontify-node, Info-bookmark-make-record): Remove the
1160 file extension from Info-current-file (Bug#13016).
1161
1162 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1165 point, still provide some default.
1166 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1167 names, since we don't use it right now. Actually return the list.
1168 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1169
1170 2012-12-07 Chong Yidong <cyd@gnu.org>
1171
1172 * novice.el (disabled-command-function): Remove a spurious help
1173 xref (Bug#13043). Suggested by Kelly Dean.
1174
1175 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1176 syntax is specified (Bug#13025).
1177
1178 * info.el (Info-set-mode-line): Remove the file extension from
1179 Info-current-file if there is one (Bug#13016).
1180
1181 2012-12-07 Glenn Morris <rgm@gnu.org>
1182
1183 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1184 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1185 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1186 and rmail-mime-decoded. (Bug#9841)
1187
1188 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1189 (batch-unrmail, unrmail): Doc fixes.
1190 (unrmail): Respect unrmail-mbox-format.
1191 * mail/rmail.el (rmail-mbox-format): New option.
1192 (rmail-show-message-1): Respect rmail-mbox-format.
1193
1194 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1197
1198 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1201 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1202 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1203 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1204 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1205 (cl-progv): Don't rely on dynamic scoping to find the body.
1206 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1207 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1208 (cl-declaim): Use backquotes.
1209 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1210 Use "cl--" prefix for the object's tag.
1211
1212 * ses.el: Use advice-add/remove.
1213 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1214 (copy-region-as-kill, yank): Use advice-add.
1215 (ses-unload-function): Use advice-remove.
1216
1217 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1218
1219 * button.el: Make them work in header-lines (bug#12817).
1220 (button-map): Add bindings for header-line and mode-line use.
1221 (button-get, button-put, button-label): `button' may now be a string.
1222 (button-activate): Don't make it a defsubst.
1223 (button--area-button-p, button--area-button-string): New functions.
1224 (make-text-button): Fix the return value when `beg' was a string.
1225 (push-button): Handle the mode-line case.
1226
1227 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1230 (sql-signum): Remove. Use `cl-signum' instead.
1231 (sql-read-passwd): Remove; use read-passwd instread.
1232 (sql-get-login-ext): Use read-string.
1233 (sql-get-login): Use dolist and pcase.
1234 (sql--completion-table): Rename from sql-try-completion.
1235 Use complete-with-action.
1236 (sql-mode): Don't change abbrev-all-caps globally.
1237 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1238 (sql-postgres-completion-object): Initialize vars in their `let'.
1239 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1240 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1241 (sql-comint-interbase): Use a single append, without setq.
1242 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1243
1244 * hi-lock.el: Rework the default face and the serialize regexp code.
1245 (hi-lock--auto-select-face-defaults): Remove.
1246 (hi-lock-string-serialize-serial): Remove.
1247 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1248 make weak.
1249 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1250 equal string.
1251 (hi-lock-set-pattern): Adjust accordingly.
1252 (hi-lock--regexps-at-point): Simplify accordingly.
1253 (hi-lock--auto-select-face-defaults): Remove.
1254 (hi-lock--last-face): New var to replace it.
1255 (hi-lock-read-face-name): Rewrite (bug#11095).
1256 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1257
1258 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/tramp.el (tramp-replace-environment-variables):
1261 Hide compiler warning.
1262 (tramp-file-name-for-operation): Remove `executable-find',
1263 `start-process', `call-process' and `call-process-region'.
1264
1265 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
1266
1267 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1268 compatibility.
1269
1270 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1271
1272 2012-12-06 Chong Yidong <cyd@gnu.org>
1273
1274 * ffap.el (ffap-replace-file-component): Fix typo.
1275
1276 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1279 fix open-paren-like token test (bug#12785).
1280
1281 2012-12-06 Glenn Morris <rgm@gnu.org>
1282
1283 * mail/rmailsum.el (rmail-new-summary): Tweak for
1284 rmail-maybe-display-summary changing buffer. (Bug#13066)
1285
1286 2012-12-06 Juri Linkov <juri@jurta.org>
1287
1288 * info.el (Info-fontify-node): Don't hide the last newline.
1289 (Bug#12272)
1290
1291 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1292
1293 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1294 so as to enable message-read-from-minibuffer to expand mail aliases.
1295
1296 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1299 the `intangible' property.
1300 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1301
1302 2012-12-05 Deniz Dogan <deniz@dogan.se>
1303
1304 * net/rcirc.el (rcirc-urls): Update documentation.
1305 (rcirc-condition-filter): New function.
1306 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1307 and exclude consecutive duplicate URLs (Bug#6082).
1308
1309 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
1310
1311 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1312 Check return code of copy command.
1313
1314 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1315 Use group `tramp'. Add version.
1316
1317 2012-12-05 Chong Yidong <cyd@gnu.org>
1318
1319 * ffap.el (ffap-url-regexp): Don't require matching at front of
1320 string (Bug#4952).
1321 (ffap-url-p): If only a substring matches, return that.
1322 (ffap-url-at-point): Use the return value of ffap-url-p.
1323 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1324 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1325 (ffap-guess-file-name-at-point): Likewise.
1326 (ffap-replace-file-component): Fix typo.
1327
1328 * info.el (info-display-manual): Add existing Info buffers, whose
1329 files may not be in Info-directory-list, to the completion.
1330 (info--manual-names): New helper function.
1331
1332 2012-12-05 Glenn Morris <rgm@gnu.org>
1333
1334 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1335 New functions, for detecting and resolving conflicts. (Bug#10709)
1336
1337 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
1338
1339 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1340 (hi-lock-auto-select-face-defaults): New buffer local variable.
1341 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1342 (hi-lock-unface-buffer): Prompt user with useful defaults.
1343 With prefix arg, unhighlight all hi-lock patterns in buffer.
1344
1345 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1348
1349 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
1350
1351 * Makefile.in (TRAMP_SRC):
1352 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1353
1354 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1355
1356 * net/tramp-adb.el: New package.
1357
1358 2012-12-04 Chong Yidong <cyd@gnu.org>
1359
1360 * terminal.el: Move to obsolete/.
1361
1362 * longlines.el: Move to obsolete/.
1363
1364 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1365 Remove code referring to longlines mode.
1366
1367 2012-12-03 Juri Linkov <juri@jurta.org>
1368
1369 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1370
1371 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1372
1373 * textmodes/ispell.el (ispell-init-process)
1374 (ispell-start-process, ispell-internal-change-dictionary):
1375 Make sure personal dictionary name is expanded after initial
1376 `default-directory' value. Use expanded strings for
1377 keep/restart checks and for value (Bug#13019).
1378
1379 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1380
1381 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1382
1383 2012-12-03 Leo Liu <sdl.web@gmail.com>
1384
1385 * files.el (dir-locals-read-from-file): Check file non-empty
1386 before reading. (Bug#13038)
1387
1388 2012-12-03 Glenn Morris <rgm@gnu.org>
1389
1390 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1391 Remove any version extension before checking filename. (Bug#13006)
1392 (jka-compr-compression-info-list): Belated :version bump.
1393
1394 2012-12-03 Chong Yidong <cyd@gnu.org>
1395
1396 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1397
1398 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1399 (buffer-menu): Doc fix (Bug#12294).
1400
1401 2012-12-03 Roland Winkler <winkler@gnu.org>
1402
1403 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1404 of diary-show-all-entries in the diary buffer (Bug#12994).
1405
1406 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
1407
1408 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1409 "<STDIN>". This is binary safe.
1410
1411 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1412
1413 * calc/calc-forms.el (math-absolute-from-iso-dt)
1414 (math-date-to-iso-dt, math-parse-iso-date-validate)
1415 (math-iso-dt-to-date): New functions.
1416 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1417 (math-fd-isoweekday): New variables.
1418 (calc-date-notation, math-parse-standard-date, math-format-date)
1419 (math-format-date-part): Add support for more formatting codes.
1420
1421 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1422
1423 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1424 current buffer's file name when called interactively (Bug#12488).
1425
1426 2012-12-02 Juri Linkov <juri@jurta.org>
1427
1428 * info.el (info-display-manual): Don't clobber an existing Info
1429 buffer (Bug#10770). Add completion (Bug#10771).
1430
1431 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1432
1433 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1434 before using it for comparison (Bug#5297).
1435
1436 2012-12-01 Jari Aalto <jari.aalto@cante.net>
1437
1438 * textmodes/css-mode.el (css-current-defun-name): New function.
1439 (css-mode): Use it.
1440
1441 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1442 (html-mode): Use it.
1443
1444 2012-12-01 Chong Yidong <cyd@gnu.org>
1445
1446 Modularize add-log-current-defun (Bug#2224).
1447 Suggested by Jari Aalto.
1448
1449 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1450 (add-log-current-defun): Move mode-specific code to other files.
1451 (add-log-lisp-like-modes, add-log-c-like-modes)
1452 (add-log-tex-like-modes): Variables deleted.
1453
1454 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1455 (lisp-mode-variables): Use it.
1456
1457 * progmodes/cc-mode.el (c-common-init):
1458 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1459 add-log-current-defun-function.
1460
1461 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1462 (m4-mode): Use it.
1463
1464 * progmodes/perl-mode.el (perl-current-defun-name): New.
1465 (perl-mode): Use it.
1466
1467 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1468 Use lisp-current-defun-name.
1469
1470 * textmodes/tex-mode.el (tex-current-defun-name): New.
1471 (tex-common-initialization): Use it.
1472
1473 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1474 (texinfo-mode): Use it.
1475
1476 2012-12-01 Chong Yidong <cyd@gnu.org>
1477
1478 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1479 * progmodes/autoconf.el (autoconf-mode):
1480 * progmodes/js.el (js-mode):
1481 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1482 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1483 * progmodes/perl-mode.el (perl-mode):
1484 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1485 * textmodes/css-mode.el (css-mode):
1486 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1487 (sgml-tags-invisible, sgml-guess-indent):
1488 * textmodes/tex-mode.el (tex-common-initialization)
1489 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1490 (doctex-mode, plain-tex-mode, latex-mode):
1491 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1492
1493 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1494
1495 * vc/vc-hg.el (vc-hg-next-revision):
1496 Ensure use of default "tip" output format. (Bug#6968)
1497
1498 2012-12-01 Kim F. Storm <storm@cua.dk>
1499
1500 * startup.el (fancy-startup-tail): Add a clickable link
1501 (Bug#2176).
1502
1503 2012-12-01 Chong Yidong <cyd@gnu.org>
1504
1505 * startup.el (fancy-startup-tail): Improve the message about
1506 auto-save files (Bug#2176).
1507
1508 * files.el (recover-session): Improve the descriptive message, and
1509 use substitute-command-keys.
1510
1511 2012-12-01 Glenn Morris <rgm@gnu.org>
1512
1513 * ido.el (ido-file-internal):
1514 Handle other-window, other-frame for dired. (Bug#13036)
1515
1516 2012-11-30 Glenn Morris <rgm@gnu.org>
1517
1518 * icomplete.el (icomplete-separator): Fix :version.
1519
1520 2012-11-30 Chong Yidong <cyd@gnu.org>
1521
1522 * shell.el (shell): For C-u M-x shell, use an inactive shell
1523 buffer as the default (Bug#1975).
1524 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1525 (shell-mode): Use them to reapply ansi colorization if Shell mode
1526 is re-enabled.
1527
1528 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1529
1530 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1531
1532 2012-11-30 Samuel Bronson <naesten@gmail.com>
1533
1534 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1535 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1536
1537 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1538
1539 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1540 by move-to-column (Bug#3234).
1541
1542 2012-11-30 Chong Yidong <cyd@gnu.org>
1543
1544 * longlines.el (longlines-wrap-line, longlines-encode-region):
1545 Preserve text properties (Bug#1425).
1546
1547 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1548
1549 * vc/vc.el (vc-register): Allow registering a file which is
1550 already registered with a different backend (Bug#10589).
1551
1552 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1553 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * icomplete.el: Change separator; add ido-style commands.
1556 (icomplete-show-key-bindings): Remove custom var.
1557 (icomplete-get-keys): Remove function.
1558 (icomplete-forward-completions, icomplete-backward-completions):
1559 New commands.
1560 (icomplete-minibuffer-map): New var.
1561 (icomplete-minibuffer-setup): Use it.
1562 (icomplete-exhibit): Don't delay if the list of completions is known.
1563 (icomplete-separator): New custom.
1564 (icomplete-completions): Use it.
1565 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1566 (minibuffer-force-complete-and-exit): New command.
1567 (minibuffer--complete-and-exit): New function extracted from
1568 minibuffer-complete-and-exit.
1569 (minibuffer-complete-and-exit): Use it.
1570
1571 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1572 error message when the file doesn't exist (bug#12974).
1573
1574 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1575
1576 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1577
1578 2012-11-29 Glenn Morris <rgm@gnu.org>
1579
1580 * files.el (hack-dir-local-variables): Warn if try to set
1581 coding via dir-locals, since it doesn't work. (Bug#7169)
1582
1583 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1584 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1585 Set buffer-local value of desktop-save-buffer.
1586 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1587 New functions.
1588 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1589 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1590
1591 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1592 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1593 Doc fix.
1594 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1595 Doc fixes.
1596
1597 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1598
1599 * calc/calc-forms.el (calc-date-notation): Fix regexp
1600 used to find time codes. Fix symbol for seconds.
1601
1602 2012-11-27 Glenn Morris <rgm@gnu.org>
1603
1604 * emacs-lisp/derived.el (derived-mode-make-docstring):
1605 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1606
1607 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1610 lexically scoped variables (bug#13005).
1611
1612 2012-11-27 Glenn Morris <rgm@gnu.org>
1613
1614 * vc/vc-hooks.el (vc-mistrust-permissions):
1615 Default to t, to avoid data-loss. (Bug#11490)
1616
1617 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1618
1619 * progmodes/python.el (python-indent-guess-indent-offset):
1620 If indentation is guessed make python-indent-offset buffer-local.
1621
1622 Fix Imenu regression.
1623 * progmodes/python.el (python-nav-beginning-of-defun):
1624 Fix forward movement when statement(s) separates point from defun.
1625 (python-imenu-prev-index-position): New function.
1626
1627 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1628
1629 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1630
1631 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1632 Don't set buffer-file-type. Return nil. (Bug#12989)
1633
1634 2012-11-27 Glenn Morris <rgm@gnu.org>
1635
1636 * hippie-exp.el (hippie-expand-try-functions-list):
1637 Re-autoload it. (Bug#12982)
1638
1639 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1640
1641 * descr-text.el (describe-char-padded-string):
1642 Call internal-char-font only on GUI frames. (Bug#11964)
1643
1644 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1645
1646 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1647 and obsoletion message.
1648
1649 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1652 the constructs to keep outside of the `cl-block' (bug#12977).
1653
1654 2012-11-27 Chong Yidong <cyd@gnu.org>
1655
1656 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1657 keep reading until we get the up-event anyway, in order to process
1658 the up-event for mouse-1-click-follows-link (Bug#12971).
1659
1660 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1661
1662 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1663 base function is not yet defined (bug#12965).
1664 (ad-activate-advised-definition): Use ad-compile-function.
1665 (ad-activate): Use cond.
1666
1667 2012-11-25 Leo Liu <sdl.web@gmail.com>
1668
1669 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1670 (Bug#12979)
1671
1672 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1673
1674 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1675 reftex-section-info-function in order to be compatible with
1676 Texinfo integration.
1677
1678 * textmodes/reftex.el (reftex-section-pre-regexp)
1679 (reftex-section-post-regexp, reftex-section-info-function):
1680 New variable.
1681 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1682 reftex-section-post-regexp, and reftex-section-info-function in order
1683 to be compatible with Texinfo integration.
1684
1685 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1686 use reftex-section-pre-regexp variable in order to be compatible with
1687 Texinfo integration.
1688
1689 2012-11-25 Chong Yidong <cyd@gnu.org>
1690
1691 * faces.el: Make face-spec-set more analogous to setq.
1692 (face-spec-set): Change the third arg to specify whether this
1693 function is being called via defface, customize, or a third party.
1694 Set the appropriate symbol properties. Clear the override spec if
1695 setting via Custom. Initialize face if necessary. (Bug#4988)
1696 (face-spec-recalc): Allow theme faces to completely replace the
1697 defface spec, in the same way as custom faces (Bug#8454).
1698
1699 * cus-face.el (custom-declare-face): Move face initialization to
1700 face-spec-set.
1701 (custom-theme-set-faces): Don't initialize the face name here, as
1702 that is now done in face-spec-set.
1703
1704 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1705 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1706 Simplify by using the new arg to face-spec-set.
1707
1708 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1709 reset face-override-spec too, and use custom-declare-face.
1710
1711 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1712
1713 * term/ns-win.el (ns-initialize-window-system): Move creation of
1714 fontsets here (Bug#11964).
1715
1716 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1717
1718 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1719 cell renaming.
1720
1721 2012-11-24 Chong Yidong <cyd@gnu.org>
1722
1723 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1724 obsolete.
1725
1726 * custom.el (custom-theme-set-variables): Use a topological sort
1727 for ordering by custom dependencies (Bug#12952).
1728 (custom--sort-vars, custom--sort-vars-1): New functions.
1729
1730 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1733 lexical-binding (bug#12938).
1734
1735 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1736
1737 * image-mode.el (image-transform-check-size): Use assertions only
1738 for images of type imagemagick.
1739
1740 Otherwise no error, image-transform-fit-to-{width,height} is
1741 silently ignored, as before. Doc fix.
1742
1743 2012-11-24 Chong Yidong <cyd@gnu.org>
1744
1745 * faces.el (color-defined-p): Doc fix (Bug#12853).
1746
1747 2012-11-24 Juri Linkov <juri@jurta.org>
1748
1749 * dired.el (dired-mark): Add optional arg `interactive'.
1750 Check for `use-region-p' if `interactive' is non-nil.
1751 (dired-unmark, dired-flag-file-deletion): Add optional arg
1752 `interactive'. Call `dired-mark' with the arg `interactive'.
1753 (Bug#10624)
1754
1755 * wdired.el: Revert 2012-10-17 change partly and replace it with
1756 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1757 (wdired-finish-edit): Add marks for new file names to
1758 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1759 after `revert-buffer'.
1760 (wdired-do-renames): Remove calls to `dired-remove-file',
1761 `dired-add-file', `dired-add-entry'. (Bug#11795)
1762
1763 2012-11-24 Alan Mackenzie <acm@muc.de>
1764
1765 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1766
1767 Fix bugs in the state cache. Enhance a debugging mechanism.
1768 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1769 "brace at column zero" strategy for C++.
1770 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1771 (c-parse-state-point): New variable.
1772 (c-record-parse-state-state): Record old parse state with
1773 `copy-tree'. Record previous value of point.
1774 (c-debug-parse-state-double-cons): New debugging function.
1775 (c-debug-parse-state): Call the above new function.
1776 (c-toggle-parse-state-debug): Output a confirmatory message.
1777
1778 * progmodes/cc-mode.el (c-before-change, c-after-change):
1779 Call c-invalidate-state-cache from `c-before-change' instead of
1780 `c-after-change'.
1781
1782 2012-11-23 Chong Yidong <cyd@gnu.org>
1783
1784 * find-cmd.el (find-constituents): Add executable, ipath,
1785 readable, samefile, writable, daystart, regextype (Bug#12856).
1786
1787 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1790
1791 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1792
1793 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1794 definition. This fixes a bootstrap failure.
1795 (calc-gregorian-switch): In menu, put dates before regions.
1796 This is easier to follow, lines up better in the menu, and lets us
1797 coalesce regions that switch at the same time. Give country
1798 names, not "Vatican", as that's better for non-expert users.
1799 Use names that are stable between the date of switch and now, e.g.,
1800 Bohemia and Moravia (which existed then and now) and not
1801 Czechoslovakia (which didn't exist then and doesn't exist now).
1802 What is now the U.S. mostly did not switch at the same time as
1803 Britain, so omit the U.S. Correct spelling of "Britain".
1804 Catholic Switzerland was too much of a mess, so omit it.
1805
1806 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1807
1808 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1809 after the variable is changed.
1810
1811 2012-11-21 Daniel Colascione <dancol@dancol.org>
1812
1813 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1814 in SQL declarations for font-lock.
1815 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1816
1817 2012-11-21 Glenn Morris <rgm@gnu.org>
1818
1819 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1820 (face-italic-p): Add optional argument "inherit".
1821
1822 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1823 Remove -p suffix from names, for consistency with other set-face-*.
1824 (set-face-inverse-video): Fix interactive spec.
1825 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1826 * textmodes/table.el (table--update-cell-face):
1827 Use set-face-inverse-video rather than now obsolete alias.
1828
1829 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1830
1831 * simple.el (line-move): Don't call line-move-partial if
1832 scroll-conservatively is in effect. (Bug#12927)
1833
1834 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1837 Fallback on completion-at-point rather than
1838 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1839 (eshell-cmpl-initialize): Setup completion-at-point.
1840
1841 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1842
1843 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1844
1845 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1846
1847 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1848 are remote, check out-of-band property for both.
1849
1850 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1853 code rewrite.
1854
1855 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1856
1857 More minor time fixes.
1858 * calendar/time-date.el: Commentary fix.
1859 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1860 too much other code depends on (0 0) time stamps.
1861 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1862 Add a couple of FIXME comments.
1863
1864 Minor cleanup for times as lists of four integers.
1865 * files.el (dir-locals-directory-cache):
1866 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1867 Doc fixes.
1868 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1869 * ps-bdf.el (bdf-file-newer-than-time):
1870 Process four-integers time stamps, not two. Doc fixes.
1871
1872 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * uniquify.el (uniquify-managed): Use defvar-local.
1875 (rename-buffer, create-file-buffer): Advise with advice-add.
1876 (uniquify-unload-function): Unadvise accordingly.
1877
1878 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1879 (trace-buffer): Don't purecopy.
1880 (trace-entry-message, trace-exit-message): Add `context' arg.
1881 (trace--timer): New var.
1882 (trace-make-advice): Adjust for use in nadvice.
1883 Add `context' argument. Delay `display-buffer' via a timer.
1884 (trace-function-internal): Use advice-add.
1885 (trace--read-args): New function.
1886 (trace-function-foreground, trace-function-background): Use it.
1887 (trace-function): Rename to trace-function-foreground and redefine as
1888 an alias to that new name.
1889 (untrace-function, untrace-all): Adjust to the use of nadvice.
1890
1891 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1892
1893 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1894
1895 * subr.el (called-interactively-p-functions): New var.
1896 (internal--called-interactively-p--get-frame): New macro.
1897 (called-interactively-p, interactive-p): Rewrite in Lisp.
1898 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1899 (called-interactively-p-functions): Use it.
1900 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1901 (called-interactively-p-functions): Use it.
1902 * allout.el (allout-called-interactively-p): Don't assume
1903 called-interactively-p is a subr.
1904
1905 2012-11-20 Glenn Morris <rgm@gnu.org>
1906
1907 * profiler.el (profiler-report-mode-map): Add a menu.
1908 No need to bind `q' because we derive from special-mode.
1909 (profiler-report-find-entry): Handle calls from the menu-bar.
1910
1911 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * emacs-lisp/byte-run.el (defun-declarations-alist):
1914 Allow a compiler-macro to be a lambda expression.
1915
1916 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1917 eval-when-compile.
1918 (python-syntax-context): Add compiler-macro.
1919 (python-font-lock-keywords): Simplify with De Morgan.
1920
1921 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1922
1923 * files.el (load-file): Require match in minibuffer selection, as was
1924 the case in Emacs-20 before we changed the spec to allow .elc files
1925 (bug#12935).
1926
1927 * json.el: Don't require cl since we don't use it.
1928 * color.el: Don't require cl.
1929 (color-complement): `caddr' -> `nth 2'.
1930
1931 * calendar/time-date.el (time-to-seconds): De-obsolete.
1932
1933 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1934
1935 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1936 year numbers.
1937 (math-date-to-julian-dt): Adjust the initial approximation for the
1938 year to deal with the new definition of the DATE.
1939
1940 2012-11-19 Daniel Colascione <dancol@dancol.org>
1941
1942 * term/w32-win.el (cygwin-convert-path-from-windows):
1943 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1944
1945 2012-11-18 Chong Yidong <cyd@gnu.org>
1946
1947 * filecache.el (file-cache--read-list): New function.
1948 (file-cache-add-directory-list, file-cache-add-file-list)
1949 (file-cache-delete-file-list, file-cache-delete-directory-list):
1950 Use it to read a list of files or directories (Bug#12846).
1951 (file-cache-add-file, file-cache-add-directory)
1952 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1953 (file-cache-delete-directory): Print an message.
1954
1955 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1956
1957 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1958 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1959
1960 2012-11-18 Glenn Morris <rgm@gnu.org>
1961
1962 * image.el (insert-image, insert-sliced-image): Doc fix.
1963
1964 2012-11-18 Chong Yidong <cyd@gnu.org>
1965
1966 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1967 (Bug#12810).
1968
1969 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1970
1971 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1972 response when the target file is in a subdirectory (Bug#12757).
1973
1974 2012-11-18 Chong Yidong <cyd@gnu.org>
1975
1976 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1977
1978 2012-11-18 Glenn Morris <rgm@gnu.org>
1979
1980 * emacs-lisp/cl-lib.el (face-underline-p):
1981 Use set-face-underline rather than the alias set-face-underline-p.
1982
1983 * window.el (with-temp-buffer-window): Doc fix.
1984 * subr.el (with-output-to-temp-buffer):
1985 Add doc xref to with-temp-buffer-window.
1986
1987 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1988
1989 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1990 * calc/calc.el (math-format-date-cache): Declare.
1991
1992 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1993
1994 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1995 It also uses January 1, 1 AD as its day number 1.
1996 * calc/calc-forms.el (math-julian-date-beginning)
1997 (math-julian-date-beginning-int): Implement this.
1998
1999 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
2000
2001 * descr-text.el (quail-find-key):
2002 * dired.el (desktop-file-name):
2003 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2004 * generic-x.el (comint-mode, comint-exec):
2005 * image-dired.el (widget-forward):
2006 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2007 (speedbar-change-expand-button-char)
2008 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2009 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2010 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2011 (widget-field-action, widget-value-set):
2012 * speedbar.el (imenu--make-index-alist):
2013 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2014 (ring-length, ring-insert):
2015 * vcursor.el (compare-windows-skip-whitespace):
2016 * woman.el (dired-get-filename):
2017 Declare functions.
2018
2019 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2020
2021 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2022
2023 * calc/calc.el (calc-gregorian-switch): New variable.
2024
2025 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2026 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2027 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2028 (math-leap-year-p): Add option to distinguish between Julian
2029 and Gregorian calendars.
2030 (math-day-number): Use `math-day-in-year' to do the computations.
2031 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2032 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2033 to do the computations.
2034 (math-date-to-dt): Use `math-date-to-julian-dt' and
2035 `math-date-to-gregorian-dt' to do the computations.
2036 (calcFunc-weekday, math-format-date-part): Use the new version of
2037 the DATE to determine the weekday.
2038 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2039 when necessary.
2040
2041 2012-11-17 Eli Zaretskii <eliz@gnu.org>
2042
2043 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2044 Cygwin; otherwise use 'file:'. (Bug#12914)
2045 (cygwin-convert-path-from-windows): Declare, to avoid
2046 byte-compiler warnings.
2047
2048 2012-11-17 Andreas Politz <politza@fh-trier.de>
2049
2050 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2051 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2052 prefix and negative numeric prefix args (Bug#12795).
2053
2054 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
2055
2056 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2057 Don't signal an error with a score that is too low to add to the
2058 list of top scores. (Bug#12779)
2059
2060 2012-11-17 Chong Yidong <cyd@gnu.org>
2061
2062 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2063
2064 * filecache.el (file-cache-add-file): Handle relative file name in
2065 the argument (Bug#12694).
2066
2067 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2068
2069 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2070
2071 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2074
2075 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2076
2077 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2078
2079 * window.el (enlarge-window, shrink-window): Don't mention return
2080 value in doc-string (Bug#12896).
2081 (window--display-buffer): Don't resize frames - it won't work
2082 with all window managers and defeat pop-up-frame-alist.
2083 (display-buffer-alist): In doc-string explain that CONDITION can
2084 be a function and which arguments are passed to it (Bug#12854).
2085 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2086 expressions (Bug#12854).
2087 (display-buffer): Pass ACTION argument to
2088 display-buffer-assq-regexp.
2089
2090 2012-11-16 Glenn Morris <rgm@gnu.org>
2091
2092 * window.el (fit-frame-to-buffer-bottom-margin)
2093 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2094
2095 * faces.el (face-underline-p): Use face-attribute-specified-or.
2096
2097 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
2098
2099 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2100
2101 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2104
2105 2012-11-16 Glenn Morris <rgm@gnu.org>
2106
2107 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2108 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2109
2110 * faces.el (face-underline-p): Doc fix. Handle :underline being
2111 things other than `t' (a string, a list).
2112 (face-inverse-video-p): Doc fix.
2113 (set-face-underline): Rename it back from set-face-underline-p.
2114 Doc fix. Allow interactive input of values other than t.
2115 (read-face-attribute): Apply formatting to :underline,
2116 since like :box and :stipple it can take list values.
2117
2118 * term.el (ansi-term): Don't let C-x escape-char binding
2119 clobber the more standard C-c binding. (Bug#12842)
2120
2121 * subr.el (set-temporary-overlay-map): Doc fix.
2122
2123 2012-11-16 Martin Rudalics <rudalics@gmx.at>
2124
2125 * window.el (record-window-buffer)
2126 (display-buffer-record-window): When copying the markers to
2127 window-point preserve window-point-insertion-type. (Bug#12588)
2128
2129 2012-11-16 Glenn Morris <rgm@gnu.org>
2130
2131 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2132 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2133 Use new names for hooks rather than obsolete aliases.
2134
2135 2012-11-15 Daniel Colascione <dancol@dancol.org>
2136
2137 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
2138 prefix instead of "file:" so that when FILE-NAME begins with "//",
2139 as it does when the target file is on a network share, url-handler
2140 isn't confused.
2141
2142 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2145 a preactivated advice from an old advice.el; they're not compatible!
2146
2147 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2148
2149 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2150 Fix string-spec case.
2151
2152 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2153
2154 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2157 (advice--buffer-local-function-sample): New var.
2158 (advice--set-buffer-local, advice--buffer-local): New functions.
2159 (add-function, remove-function): Use them.
2160
2161 2012-11-15 Drew Adams <drew.adams@oracle.com>
2162
2163 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2164
2165 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2168 potential binding of print-gensym to t, and prettify (back)quotes in
2169 case they appear in args's default values (bug#12884).
2170
2171 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2174 (advice-eval-interactive-spec): New function.
2175 (advice--make-interactive-form): Support around advice (bug#12844).
2176
2177 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2178
2179 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2180 more strict. Add docstring.
2181 (ruby-expression-expansion-re): Extract from
2182 `ruby-match-expression-expansion'.
2183 (ruby-syntax-propertize-function): After everything else, search
2184 for expansions in string literals, mark their insides as
2185 whitespace syntax and save match data for font-lock.
2186 (ruby-font-lock-keywords): Use the 2nd group from expression
2187 expansion matches.
2188 (ruby-match-expression-expansion): Use the match data saved to the
2189 text property in ruby-syntax-propertize-function.
2190
2191 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2194 (bug#12879).
2195
2196 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2197
2198 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2199 start/end keyword a bit harder. Works with different values of N.
2200 Add more comments.
2201 (ruby-end-of-block): Update accordingly.
2202
2203 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * woman.el (woman-file-name): Don't mess with unread-command-events
2206 (bug#12861).
2207
2208 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2209 Remove out of date self-require hack.
2210 (ad-do-advised-functions): Use simple `dolist'.
2211 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2212 (ad-advice-definition): Redefine as functions.
2213 (ad-advice-classes): Move before first use.
2214 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2215 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2216 (ad--defalias-fset): Remove functions.
2217 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2218 (ad-get-orig-definition): Rewrite.
2219 (ad-make-advised-definition-docstring): Change base docstring.
2220 (ad-real-orig-definition): Rewrite.
2221 (ad-map-arglists): Change name of called function.
2222 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2223 (ad-make-advised-definition): Simplify.
2224 (ad-assemble-advised-definition): Tweak for new calling context.
2225 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2226 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2227 function and call ad-activate if needed.
2228 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2229 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2230 (ad-compile-function): Compile ad-Advice-*.
2231 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2232 (ad-start-advice, ad-stop-advice): Remove.
2233
2234 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2237 period before class method names, not after. Remove handling of
2238 one impossible case. Add comments.
2239
2240 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * emacs-lisp/advice.el: Remove support for freezing.
2243 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2244 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2245 Remove support for `freeze'.
2246
2247 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2248 override the default.
2249 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2250 cl--dotimes/dolist.
2251 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2252 `cl' is loaded.
2253
2254 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2255 from add-advice.
2256 (advice--strip-macro): New function.
2257 (advice--defalias-fset): Use them to handle macros.
2258 (advice-add): Use them.
2259 (advice-member-p): Correctly handle macros.
2260
2261 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2262
2263 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2264 Never font-lock the beginning of singleton class as heredoc.
2265
2266 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2269
2270 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
2271
2272 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
2273 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2274 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2275
2276 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2277
2278 Fix end-of-defun misbehavior.
2279 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2280 python-beginning-of-defun-function. Handle nested defuns
2281 correctly.
2282 (python-nav-end-of-defun): Rename from
2283 python-end-of-defun-function. Ensure forward movement.
2284 (python-info-current-defun): Reimplement to work as intended
2285 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2286 parent defuns as soon as possible.
2287
2288 2012-11-13 Glenn Morris <rgm@gnu.org>
2289
2290 * progmodes/flymake.el (flymake-error-bitmap)
2291 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2292 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2293
2294 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2295
2296 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2297 backward, always stop at indentation. Reverts the change from
2298 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2299
2300 2012-11-13 Glenn Morris <rgm@gnu.org>
2301
2302 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2303 Add ibuffer-filter-by-derived-mode.
2304
2305 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2306 the same name shadowing each other.
2307
2308 * window.el (with-temp-buffer-window): Doc tweak.
2309
2310 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2311
2312 * help.el (temp-buffer-max-height):
2313 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2314 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2315
2316 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * emacs-lisp/nadvice.el: New package.
2319 * subr.el (special-form-p): New function.
2320 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2321 (elp-all-instrumented-list): Remove var.
2322 (elp-not-profilable): Remove elp-wrapper.
2323 (elp-profilable-p): Use autoloadp and special-form-p.
2324 (elp--advice-name): New const.
2325 (elp-instrument-function): Use advice-add.
2326 (elp--instrumented-p): New predicate.
2327 (elp-restore-function): Use advice-remove.
2328 (elp-restore-all, elp-reset-all): Use mapatoms.
2329 (elp-set-master): Use elp--instrumented-p.
2330 (elp--make-wrapper): Rename from elp-wrapper, return a function
2331 suitable for advice-add. Use cl-inf.
2332 (elp-results): Use mapatoms+elp--instrumented-p.
2333 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2334 (debug-function-list): Remove var.
2335 (debug): Rename arg, and then let-bind it explicitly inside.
2336 (debugger-setup-buffer): Rename arg.
2337 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2338 (debugger-frame-number): Adjust to new debug-on-entry setup.
2339 (debug--implement-debug-on-entry): Rename from
2340 implement-debug-on-entry, add argument.
2341 (debugger-special-form-p): Remove, use special-form-p instead.
2342 (debug-on-entry): Use advice-add.
2343 (debug--function-list): New function.
2344 (cancel-debug-on-entry): Use it, along with advice-remove.
2345 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2346 (debugger-list-functions): Use debug--function-list instead of
2347 debug-function-list.
2348 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2349 (ad-special-form-p): Remove, use special-form-p instead.
2350 (ad-set-advice-info): Use add-function and remove-function.
2351 (ad--defalias-fset): Adjust accordingly.
2352
2353 2012-11-10 Glenn Morris <rgm@gnu.org>
2354
2355 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2356 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2357 (report-emacs-bug-create-existing-bugs-buffer)
2358 (report-emacs-bug-parse-query-results)
2359 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2360
2361 * term.el (term-default-fg-color, term-default-bg-color):
2362 Make obsolete, rather than just saying "deprecated" in the doc.
2363
2364 * term.el (term): Rename from `term-face'.
2365 (term-current-face, ansi-term-color-vector)
2366 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2367 Update all users.
2368
2369 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
2370
2371 * server.el (server-create-window-system-frame): Handle Nextstep
2372 specially (Bug#12780).
2373
2374 2012-11-10 Glenn Morris <rgm@gnu.org>
2375
2376 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2377 Unautoload, and make obsolete. (Bug#7449)
2378
2379 2012-11-10 Chong Yidong <cyd@gnu.org>
2380
2381 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2382 rename from diff-remove-trailing-whitespace (Bug#12831).
2383
2384 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2387 miscompilation of trace.el.
2388
2389 2012-11-10 Glenn Morris <rgm@gnu.org>
2390
2391 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2392
2393 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2396 (bug#12812).
2397
2398 2012-11-10 Chong Yidong <cyd@gnu.org>
2399
2400 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2401 a defcustom with an appropriate :set function.
2402 (minibuffer-default--in-prompt-regexps): New function.
2403
2404 2012-11-10 Glenn Morris <rgm@gnu.org>
2405
2406 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2407 (define-modify-macro): Doc fixes.
2408
2409 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2410 (gv-define-simple-setter): Update doc of `fix-return'.
2411
2412 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2415 twice when `fix-return' is set (bug#12813).
2416
2417 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2418 gv-define-simple-setter (bug#12812).
2419
2420 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2421 (bug#12756).
2422
2423 2012-11-10 Glenn Morris <rgm@gnu.org>
2424
2425 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2426
2427 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2428 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2429 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2430 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2431
2432 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2433
2434 2012-11-10 Leo Liu <sdl.web@gmail.com>
2435
2436 * ido.el (ido-set-matches-1): Improve flex matching performance by
2437 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2438
2439 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2442 (ad--defalias-fset): New function.
2443 (ad-safe-fset): Remove.
2444 (ad-make-freeze-definition): Use cl-letf*.
2445
2446 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * subr.el (dolist): Don't bind VAR in RESULT.
2449
2450 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2451 (fset, documentation): Don't save real def since we don't advise.
2452 (ad-do-advised-functions): Remove problematic `result-form'.
2453 (ad-safe-fset): `ad-real-fset' => `fset'.
2454 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2455 uses CL's dolist internally.
2456 (ad-arglist): Remove unused arg `name'.
2457 (ad-docstring, ad-make-advised-docstring):
2458 `ad-real-documentation' => `documentation'.
2459 (warning-suppress-types): Declare.
2460 (ad-set-arguments): Simple CSE.
2461 (ad-recover-normality): Sanity check.
2462
2463 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2464 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2465
2466 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2467
2468 * ses.el: symbol to coordinate mapping is made by symbol property
2469 `ses-cell'. This means that the same mapping is done for all SES
2470 sheets. That is good enough for cells with standard A1 names, but
2471 not for named cell. So a hash map is added for the latter.
2472 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2473 (ses-sym-rowcol): Use hashmap for named cell.
2474 (ses-is-cell-sym-p): New defun.
2475 (ses-decode-cell-symbol): New defun.
2476 (ses-create-cell-variable): Add cell to hashmap when name is not
2477 A1-like.
2478 (ses-rename-cell): Check that cell new name is not already in
2479 spreadsheet with the use of ses-is-cell-sym-p
2480 (ses-rename-cell): Use hash map for named cells, but accept also
2481 renaming back to A1-like.
2482
2483 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/advice.el: Use new dynamic docstrings.
2486 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2487 Use dynamic-docstring-function instead of ad-advice-info.
2488 (ad--make-advised-docstring): New function extracted from
2489 ad-make-advised-docstring.
2490 (ad-make-advised-docstring): Use it.
2491 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2492 from sql-help.
2493 (sql-help): Use it with dynamic-docstring-function.
2494
2495 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2496
2497 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * files.el (hack-one-local-variable--obsolete): New function.
2500 (hack-one-local-variable): Use it for obsolete settings.
2501
2502 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2503 the new name.
2504
2505 * progmodes/js.el (js--filling-paragraph): New var.
2506 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2507 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2508 less sneaky.
2509
2510 2012-11-08 Julien Danjou <julien@danjou.info>
2511
2512 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2513 `auto-mode-alist' (Bug#12835).
2514
2515 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2518 (perl--prettify-symbols-alist): New const.
2519 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2520 New functions.
2521 (perl-font-lock-keywords-2): Use them.
2522 (perl-electric-noindent-p): New function.
2523 (perl-mode): Use it to set up electric-indent-mode.
2524 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2525 (perl-mode-map): Remove bindings for them.
2526 (perl-imenu-generic-expression, perl-outline-level):
2527 Match functions&packages in column>0.
2528
2529 * env.el (env--substitute-vars-regexp): New const.
2530 (substitute-env-vars): Use it. Add `only-defined' arg.
2531 * net/tramp.el (tramp-replace-environment-variables): Use it.
2532
2533 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2534 Byte-compile *before* eval in eval-and-compile.
2535 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2536 (byte-compile-file-form-autoload): Don't hide actual definition.
2537 (byte-compile-maybe-guarded): Accept `functionp' as well.
2538
2539 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2540
2541 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
2542
2543 * notifications.el (notifications-get-server-information-method):
2544 New defconst.
2545 (notifications-get-capabilities): Fix docstring.
2546 (notifications-get-server-information): New defun.
2547
2548 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2549
2550 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2551 readability.
2552
2553 * textmodes/ispell.el: Experimental support for support debugging.
2554 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2555 buffer for ispell.
2556 (ispell-print-if-debug): New function to print stuff to
2557 `ispell-debug-buffer' if debugging is enabled.
2558 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2559 show some debugging info.
2560 (ispell-buffer-with-debug): New function that creates a debugging
2561 buffer and calls `ispell-buffer' with debugging enabled.
2562
2563 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2564 comment in autoconf mode. (Bug#12768)
2565
2566 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2567
2568 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2569 frame-first-window, frame-root-window, frame-selected-window,
2570 minibuffer-selected-window, minibuffer-window,
2571 window-absolute-pixel-edges, window-at, window-body-height,
2572 window-body-width, window-display-table, window-combination-limit,
2573 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2574 window-inside-edges, window-inside-pixel-edges, window-left-child,
2575 window-left-column, window-margins, window-next-buffers,
2576 window-next-sibling, window-new-normal, window-new-total,
2577 window-normal-size, window-parameter, window-parameters, window-parent,
2578 window-pixel-edges, window-point, window-prev-buffers,
2579 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2580 window-start, window-text-height, window-top-child, window-top-line,
2581 window-total-height, window-total-width and window-use-time to the list
2582 of functions without side-effects.
2583 (toplevel): Add window-valid-p to the list of error-free functions
2584 without side-effects.
2585
2586 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2587
2588 * textmodes/ispell.el (ispell-program-name):
2589 Update spellchecker parameters when customized.
2590
2591 2012-11-04 Glenn Morris <rgm@gnu.org>
2592
2593 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2594
2595 2012-11-04 Chong Yidong <cyd@gnu.org>
2596
2597 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2598 same-window-* variables.
2599
2600 2012-11-04 Juri Linkov <juri@jurta.org>
2601
2602 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2603 (isearch-describe-key, isearch-describe-mode): Use a display
2604 action instead of binding same-window-* variables (Bug#10040).
2605
2606 2012-11-03 Glenn Morris <rgm@gnu.org>
2607
2608 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2609 Rename handler properties back from cl-- to cl-. (Bug#12788)
2610
2611 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2612
2613 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2614
2615 * term/pc-win.el: Don't load term/internal from here.
2616
2617 * loadup.el: Load term/internal from here.
2618
2619 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2620
2621 * progmodes/python.el (inferior-python-mode): Fix hang in
2622 jit-lock (Bug#12645).
2623
2624 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2625
2626 * window.el (switch-to-visible-buffer)
2627 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2628
2629 2012-11-03 Glenn Morris <rgm@gnu.org>
2630
2631 * emacs-lisp/cl-lib.el (cl--random-time):
2632 Rename from cl-random-time. (Bug#12773)
2633 (cl--gensym-counter, cl--random-state): Update callers.
2634 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2635
2636 2012-11-03 Chong Yidong <cyd@gnu.org>
2637
2638 * cus-start.el: Make cursor-type customizable (Bug#11633).
2639
2640 2012-11-02 Glenn Morris <rgm@gnu.org>
2641
2642 * filecache.el: No need to load find-lisp when compiling.
2643 (find-lisp-find-files): Autoload it.
2644 (file-cache-add-directory-recursively): Don't require find-lisp.
2645
2646 * image.el (image-type-from-file-name): Trivial simplification.
2647
2648 * emacs-lisp/bytecomp.el (byte-compile-eval):
2649 Decouple "noruntime" and "cl-functions" warnings.
2650
2651 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2652
2653 * play/gomoku.el (gomoku-display-statistics): Update mode line
2654 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2655
2656 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2657
2658 * window.el (quit-restore-window): If the window has been
2659 created on an existing frame and ended up as the sole window on
2660 that frame, do not delete it (Bug#12764).
2661
2662 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2665 Rename from sh--inside-arithmetic-expression, handle more cases
2666 (bug#11263).
2667
2668 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2669 (sh-font-lock-open-heredoc): Use it (bug#12770).
2670
2671 2012-10-30 Glenn Morris <rgm@gnu.org>
2672
2673 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2674
2675 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2676
2677 2012-10-29 Chong Yidong <cyd@gnu.org>
2678
2679 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2680 function key is stored in a keyboard macro (Bug#4894).
2681
2682 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2683
2684 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2687 header comments".
2688 (diff-unified->context, diff-context->unified)
2689 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2690
2691 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2692
2693 * files.el (find-alternate-file): Only ask one question (bug#12487).
2694
2695 2012-10-29 Chong Yidong <cyd@gnu.org>
2696
2697 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2698 Suggested by Dan Nicolaescu (Bug#6326).
2699
2700 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2701
2702 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2703
2704 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2705
2706 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2707
2708 * face-remap.el (face-remap-add-relative): Handle the case where a
2709 face-remapping-alist entry is a cons cell (Bug#12762).
2710
2711 2012-10-29 Kevin Ryde <user42@zip.com.au>
2712
2713 * woman.el (woman-parse-numeric-value): Handle picas correctly
2714 (Bug#12639).
2715
2716 2012-10-29 Glenn Morris <rgm@gnu.org>
2717
2718 * emacs-lisp/cl.el (defsetf): Doc fix.
2719
2720 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2723 syntax to the matching opener, if any (bug#12547).
2724 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2725 matching open as a "case-(".
2726 (sh-smie-rc-grammar): Add a corresponding rule for it.
2727
2728 2012-10-28 Daniel Hackney <dan@haxney.org>
2729
2730 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2731 "PKGNAME-autoloads.el" in case we created it.
2732
2733 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2736 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2737 (completion--twq-all): Disable too-strict assertions.
2738
2739 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2740
2741 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2742
2743 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2744 text to match the real keybindings.
2745
2746 2012-10-27 Juri Linkov <juri@jurta.org>
2747
2748 * wdired.el (wdired-keep-marker-rename): New defcustom.
2749 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2750 (Bug#11795)
2751
2752 * dired.el (dired-keep-marker-rename): Add reference to
2753 `wdired-keep-marker-rename' in the docstring.
2754 Add default character value ?R to display initially in
2755 Customization UI instead of ?@.
2756
2757 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2758
2759 * window.el (display-buffer): In doc-string describe
2760 window-height and window-width alist entries.
2761
2762 * time.el (display-time-world): Restore fit-window-to-buffer
2763 behavior.
2764
2765 2012-10-27 Chong Yidong <cyd@gnu.org>
2766
2767 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2768
2769 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2770
2771 * minibuffer.el (completion-category-overrides): New completion
2772 category `bookmark' (bug#11131).
2773
2774 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2777 Silence bogus compiler warnings for ad-do-it.
2778
2779 * bookmark.el (bookmark-completing-read): Set the completion category
2780 to `bookmark' (bug#11131).
2781
2782 2012-10-26 Bastien <bzg@altern.org>
2783 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * face-remap.el: Use lexical-binding.
2786 (text-scale-adjust): Improve docstring. Use itself for the temporary
2787 overlay-map bindings, so as to repeat the "Use..." message each time.
2788
2789 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * emacs-lisp/macroexp.el (macroexp--expand-all):
2792 Obey byte-compile-warning-enabled-p (bug#12486).
2793
2794 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2795 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2796
2797 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2798
2799 * mouse.el (mouse-drag-line): Move last form into preceding when
2800 clause (Bug#12731).
2801
2802 * help.el (resize-temp-buffer-window): Fix doc-string.
2803
2804 2012-10-25 David Engster <deng@randomsample.de>
2805
2806 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2807 Remove. This feature is already integrated in imenu.
2808
2809 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2810 always loaded. Require `speedbar' unconditionally.
2811
2812 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2815
2816 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2817
2818 * net/ldap.el (ldap-search-internal): The official ldif format starts
2819 with a "version: 1" header (bug#12724).
2820
2821 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2822 (bug#12721).
2823
2824 2012-10-25 Glenn Morris <rgm@gnu.org>
2825
2826 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2827
2828 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2829
2830 * minibuffer.el (minibuffer-force-complete): Use one more marker
2831 for the temporary-overlay-map command (bug#12619).
2832
2833 2012-10-24 Chong Yidong <cyd@gnu.org>
2834
2835 * time.el (display-time-world-mode): Derive from special-mode.
2836 (display-time-world): Use display-buffer (Bug#12708).
2837 (display-time-world-mode-map): Variable deleted.
2838 (display-time-world-display): Wrap the final delete-char inside
2839 inhibit-read-only.
2840
2841 2012-10-24 Chong Yidong <cyd@gnu.org>
2842
2843 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2844 Doc fix.
2845
2846 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2847
2848 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * minibuffer.el (completion--all-sorted-completions-location): New var.
2851 (completion--cache-all-sorted-completions)
2852 (completion--flush-all-sorted-completions): Use it.
2853 (completion-in-region, completion-in-region--postch)
2854 (completion-at-point, completion-help-at-point): Use markers in
2855 completion-in-region--data (bug#12619).
2856
2857 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * progmodes/compile.el (compilation-start): Try to handle common
2860 quoting of `cd' argument (bug#12640).
2861
2862 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2863 (bug#12671).
2864
2865 2012-10-23 Glenn Morris <rgm@gnu.org>
2866
2867 * progmodes/gud.el (gud-menu-map):
2868 Check gdb-active-process is bound. (Bug#12358)
2869
2870 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2871
2872 * repeat.el (repeat): Set real-this-command (bug#12232).
2873
2874 * htmlfontify.el (hfy-post-html-hook):
2875 * filesets.el (filesets-cache-fill-content-hook):
2876 * arc-mode.el (archive-extract-hook):
2877 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2878 * net/rcirc.el (rcirc-sentinel-functions)
2879 (rcirc-receive-message-functions, rcirc-activity-functions)
2880 (rcirc-print-functions):
2881 * net/dbus.el (dbus-event-error-functions):
2882 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2883 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2884 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2885 * term/sun.el (sun-raw-prefix-hooks):
2886 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2887
2888 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2889
2890 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2891 Set `tramp-chunksize' to 1. This improves the performance.
2892 (tramp-smb-wait-for-output): Add timeout to
2893 `tramp-accept-process-output' calls.
2894
2895 2012-10-23 Chong Yidong <cyd@gnu.org>
2896
2897 * faces.el (font-list-limit): Define as an obsolete variable.
2898
2899 * startup.el (command-line):
2900 * cus-start.el: Don't refer to font-list-limit.
2901
2902 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2903
2904 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * subr.el (internal-temp-output-buffer-show): Rename from
2907 temp-output-buffer-show, since previously compiled files expect this name.
2908
2909 2012-10-23 Glenn Morris <rgm@gnu.org>
2910
2911 * image.el (image-type-from-file-name): If multiple types match,
2912 return the first one that is supported. (Bug#9045)
2913
2914 2012-10-22 Glenn Morris <rgm@gnu.org>
2915
2916 * image.el (imagemagick-enabled-types): Doc fix.
2917
2918 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2919
2920 * progmodes/which-func.el (which-func-current): The hash-table may have
2921 an explicit nil (bug#12338).
2922
2923 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * electric.el (electric-pair-delete-selection-self-insert-function):
2926 Rename to electric-pair-will-use-region, return a boolean.
2927 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2928
2929 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2930 (delete-selection-pre-hook): Use use-region-p.
2931 (delete-selection-self-insert-function): Remove.
2932 (self-insert-command): Obey self-insert-uses-region-functions.
2933 (self-insert-iso): Revert to previous setting, since we don't actually
2934 know what that command does.
2935 (delete-selection-self-insert-hooks): Remove.
2936
2937 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2938
2939 * delsel.el (delete-selection-helper): New function, extracted from
2940 delete-selection-pre-hook.
2941 (delete-selection-pre-hook): Use it.
2942 (delete-selection-self-insert-function): New function.
2943 (delete-selection-self-insert-hooks): New hook.
2944 (self-insert-command, self-insert-iso): Use it.
2945 * electric.el (electric-pair-syntax): New function, extracted from
2946 electric-pair-post-self-insert-function.
2947 (electric-pair-post-self-insert-function): Use it.
2948 (electric-pair-delete-selection-self-insert-function): New function.
2949 (electric-pair-mode): Require delsel and setup
2950 delete-selection-self-insert-hooks (bug#11520).
2951
2952 2012-10-20 Chong Yidong <cyd@gnu.org>
2953
2954 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2955 no changes to show (Bug#12586).
2956
2957 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2958 list explicitly (Bug#12571).
2959
2960 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2961
2962 * progmodes/flymake.el (flymake-create-temp-inplace):
2963 Use file-truename.
2964
2965 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2966
2967 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2968
2969 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2970
2971 * calc/calc-units.el (math-extract-units): Properly extract powers
2972 of units.
2973
2974 2012-10-20 Daniel Colascione <dancol@dancol.org>
2975
2976 * frame.el (make-frame): Set x-display-name as we used to in order
2977 to unbreak creating an X11 frame from an Emacs daemon started
2978 without a display.
2979
2980 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2983 the same completion-field (bug#12221).
2984
2985 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2986
2987 * emacs-lisp/debug.el (debug): Record height of debugger window
2988 also when debugger will be back (Bug#8789).
2989
2990 2012-10-18 Chong Yidong <cyd@gnu.org>
2991
2992 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2993 Convert to defcustom.
2994 (gdb-get-source-file): Don't bind pop-up-windows.
2995
2996 * progmodes/gud.el (gud-display-line): Don't specially re-use
2997 other frames for the gdb-mi case (Bug#12648).
2998
2999 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * emacs-lisp/advice.el: Clean up commentary a bit.
3002 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3003 (byte-code-function-p): Never redefine.
3004
3005 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3006
3007 2012-10-18 Glenn Morris <rgm@gnu.org>
3008
3009 * dired.el (dired-sort-toggle): Some ls implementations only allow
3010 a single option string. (Bug#12666)
3011
3012 * minibuffer.el (completion-cycle-threshold): Doc fix.
3013
3014 2012-10-17 Kenichi Handa <handa@gnu.org>
3015
3016 * international/mule.el (set-keyboard-coding-system):
3017 Recover input meta mode when the new coding system doesn not use 8-bit.
3018 Supply TERMINAL arg to set-input-meta-mode.
3019
3020 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
3021
3022 * wdired.el (wdired-old-marks): New variable.
3023 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3024 (wdired-do-renames): Move point with renamed file and don't lose
3025 mark status (Bug#11795).
3026
3027 2012-10-16 Juri Linkov <juri@jurta.org>
3028
3029 * replace.el (query-replace-help): Mention multi-buffer replacement
3030 keys in the Help message. (Bug#12655)
3031
3032 2012-10-15 Chong Yidong <cyd@gnu.org>
3033
3034 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3035
3036 2012-10-14 Eli Zaretskii <eliz@gnu.org>
3037
3038 * window.el (display-buffer): Doc fix.
3039
3040 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3041 Adjust the msft regexp to the output of Studio 2010, and move msft
3042 before edg-1. See the discussion on emacs-devel,
3043 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3044 for the details.
3045
3046 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3049 (oset): Move uses of object-class-fast macro after its definition.
3050
3051 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3052
3053 2012-10-13 Chong Yidong <cyd@gnu.org>
3054
3055 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3056 enabled, re-enable it (Bug#11963).
3057
3058 2012-10-13 Martin Rudalics <rudalics@gmx.at>
3059
3060 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3061 non-nil, restore window configuration (Bug#12623).
3062
3063 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * help-fns.el (describe-variable, describe-function-1):
3066 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3067
3068 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3069
3070 2012-10-12 Glenn Morris <rgm@gnu.org>
3071
3072 * mail/rmailsum.el (rmail-header-summary):
3073 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3074
3075 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3076
3077 * progmodes/python.el (python-mode-map):
3078 Replace subtitute-key-definition with proper command remapping.
3079 (python-nav--up-list): Fix behavior for blocks on the same level.
3080
3081 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
3084
3085 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3086 changes to the format of load-history.
3087
3088 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3089 completion-ignore-case in case that var is buffer-local (bug#12615).
3090
3091 2012-10-11 Kenichi Handa <handa@gnu.org>
3092
3093 * international/eucjp-ms.el: Re-generated.
3094
3095 2012-10-10 Kenichi Handa <handa@gnu.org>
3096
3097 * select.el (xselect--encode-string): If a coding is specified for
3098 selection, and that is compatible with COMPOUND_TEXT, use it.
3099
3100 2012-10-10 Martin Rudalics <rudalics@gmx.at>
3101
3102 * window.el (switch-to-buffer-preserve-window-point): New option.
3103 (switch-to-buffer):
3104 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
3105
3106 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3109 Don't document nil as a useful value (bug#12583).
3110
3111 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
3112
3113 * net/tramp.el (tramp-debug-message):
3114 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
3115 (with-tramp-progress-reporter): Rename from
3116 `tramp-with-progress-reporter'.
3117 (with-tramp-file-property, with-tramp-connection-property):
3118 Move from tramp-cache.el, rename from `with-file-property' and
3119 `with-connection-property', respectively.
3120
3121 * net/tramp-cache.el: Remove `with-file-property' and
3122 `with-connection-property'.
3123
3124 * net/tramp.el:
3125 * net/tramp-gvfs.el:
3126 * net/tramp-sh.el:
3127 * net/tramp-smb.el: Adapt callees.
3128
3129 * net/trampver.el: Update release number.
3130
3131 2012-10-09 Glenn Morris <rgm@gnu.org>
3132
3133 * w32-fns.el (set-message-beep):
3134 * term/w32-win.el (set-message-beep): Update declarations.
3135
3136 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3139 (mode-line-widen, mode-line-input-method-map)
3140 (mode-line-coding-system-map, mode-line-remote)
3141 (mode-line-unbury-buffer, mode-line-bury-buffer)
3142 (mode-line-next-buffer, mode-line-previous-buffer):
3143 Replace save-selected-window+select-window => with-selected-window.
3144
3145 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3146 * progmodes/cc-vars.el (bq-process): Remove, unused.
3147
3148 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3149
3150 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3151
3152 Implemented `backward-up-list'-like navigation.
3153 * progmodes/python.el (python-nav-up-list)
3154 (python-nav-backward-up-list): New functions.
3155 (python-mode-map): Define substitute key for backward-up-list to
3156 python-nav-backward-up-list.
3157
3158 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3159
3160 * progmodes/python.el (python-fill-paragraph): Rename from
3161 python-fill-paragraph-function. Fixed fill-paragraph for
3162 decorators (Bug#12605).
3163
3164 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3165
3166 * progmodes/python.el (python-shell-output-filter): Handle extra
3167 carriage return in OSX (Bug#12409).
3168
3169 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3170
3171 Fix shell handling of unbalanced quotes and parens in output.
3172 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3173 (python-syntax-propertize-function): Use it.
3174 (python-shell-output-syntax-table): New var.
3175 (inferior-python-mode): Prevent unbalanced parens/quotes from
3176 previous output mess with current input context.
3177
3178 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3179
3180 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3181 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3182
3183 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3184
3185 * ffap.el (ffap-replace-file-component): Support Tramp file name
3186 syntax, not only ange-ftp's one.
3187
3188 2012-10-08 Glenn Morris <rgm@gnu.org>
3189
3190 * cus-start.el (message-log-max): Set :version.
3191
3192 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3193
3194 2012-10-08 Martin Rudalics <rudalics@gmx.at>
3195
3196 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3197 the minibuffer window (Bug#10851).
3198
3199 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3200
3201 Enhancements on forward-sexp movement.
3202 * progmodes/python.el (python-nav-beginning-of-statement)
3203 (python-nav-end-of-statement): Return point-marker.
3204 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3205 (python-info-current-symbol)
3206 (python-info-statement-starts-block-p): Rename from
3207 python-info-beginning-of-block-p.
3208 (python-info-statement-ends-block-p): Rename from
3209 python-info-end-of-block-p.
3210 (python-info-beginning-of-statement-p)
3211 (python-info-end-of-statement-p)
3212 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3213 New functions.
3214
3215 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3218 frame-selected-windows.
3219
3220 2012-10-08 Daniel Colascione <dancol@dancol.org>
3221
3222 * battery.el (battery-status-function): Check for
3223 w32-battery-status itself, not system-time windows-nt.
3224
3225 * frame.el: Require cl-lib.
3226 (display-format-alist): New variable mapping frame types to
3227 functions that initialize them.
3228 (window-system-for-display): New function: interprets
3229 display-format-alist.
3230 (make-frame-on-display): Remove existing display-selection logic
3231 and just forward to make-frame, which will now DTRT.
3232 (make-frame): Restructure to use window-system-for-display to
3233 figure out how to create a frame on a given display.
3234 (display-mouse-p): Look for frame-type w32, not a particular
3235 system-type.
3236
3237 * loadup.el: Load w32 lisp code when we have the w32 feature.
3238
3239 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3240 system-type windows-nt.
3241
3242 * server.el (server-create-window-system-frame): Look for window
3243 type.
3244 (server-proces-filter): Only force a window system when windows-nt
3245 _and_ w32. Explain why.
3246
3247 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3248 of window systems we configure for the mode.
3249
3250 * startup.el (command-line): Mark window system is initialized
3251 after we've done it.
3252
3253 * common-win.el (x-select-text): Look for w32, not windows-nt.
3254
3255 * ns-win.el: Require cl-lib. Add ourselves to
3256 display-format-alist.
3257 (ns-initialize-window-system): Assert we're not initialized twice.
3258
3259 * w32-win.el: Enable lexical binding; require cl-lib; add
3260 ourselves to display-format-alist.
3261 (w32-handle-dropped-file): Convert incoming dropped files from
3262 Windows paths to Cygwin ones before passing them on to the rest of
3263 Emacs.
3264 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3265 (w32-initialize-window-system): Assert we're not initialized twice.
3266
3267 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3268 (x-initialize-window-system): Assert we're not initialized twice.
3269
3270 * w32-common-fns.el: New File.
3271 (w32-version, w32-using-nt, w32-get-clipboard-data)
3272 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3273 (w32-charset-info-alist, x-last-selected, text)
3274 (x-get-selection-value, x-selection-value): Move here.
3275
3276 * w32-fns.el: Require w32-common-fns.
3277 (w32-version, w32-using-nt, w32-get-clipboard-data)
3278 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3279 (w32-charset-info-alist, x-last-selected, text)
3280 (x-get-selection-value, x-selection-value): Move to
3281 w32-common-fns.
3282
3283 * w32-vars.el:
3284 (w32-allow-system-shell, w32-system-shells): Define only in
3285 non-cygwin case.
3286
3287 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3290 (read-passwd): Remove a few more potential sources of leaks.
3291
3292 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3293
3294 * progmodes/python.el (inferior-python-mode)
3295 (python-shell-make-comint): Fix initialization of local
3296 variables copied from parent buffer.
3297
3298 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3299
3300 * term/ns-win.el (ns-read-file-name): Update declaration to match
3301 nsfns.m.
3302 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3303 it is set when font is acted upon.
3304
3305 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3306
3307 Enhancements to indentation.
3308 * progmodes/python.el (python-indent-context): Give priority to
3309 inside-string context. Make comments indentation markers.
3310 (python-indent-region): Do not mess with strings, unless it's the
3311 enclosing set of quotes.
3312
3313 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * window.el (internal--before-save-selected-window)
3316 (internal--after-save-selected-window): New functions extracted from
3317 save-selected-window. Make sure we return the `alist' we construct.
3318 (save-selected-window): Use them.
3319
3320 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3321 Use with-selected-window.
3322
3323 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3324 forms that define macros (bug#12593).
3325
3326 2012-10-07 Kenichi Handa <handa@gnu.org>
3327
3328 * international/mule-conf.el (compound-text-with-extensions):
3329 Add :mime-charset property as x-ctext.
3330
3331 2012-10-07 Stefan Merten <smerten@oekonux.de>
3332
3333 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3334 (rst-indent-literal-normal, rst-indent-literal-minimized)
3335 (rst-indent-comment): Correct :version tag.
3336 (rst-official-cvs-rev): Correct version string.
3337
3338 2012-10-07 Glenn Morris <rgm@gnu.org>
3339
3340 * mail/rmailmm.el (rmail-mime-process-multipart):
3341 Do not confuse a multipart message with an epilogue
3342 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3343
3344 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3345
3346 Fix shell output retrieval and comint-prompt-regexp init.
3347 * progmodes/python.el (inferior-python-mode):
3348 (python-shell-make-comint): Fix initialization of
3349 comint-prompt-regexp from copied file local variables.
3350 (python-shell-fetched-lines): Remove var.
3351 (python-shell-output-filter-in-progress): Rename from
3352 python-shell-fetch-lines-in-progress.
3353 (python-shell-output-filter-buffer): Rename from
3354 python-shell-fetch-lines-string.
3355 (python-shell-fetch-lines-filter): Delete function.
3356 (python-shell-output-filter): New function.
3357 (python-shell-send-string-no-output): Use them.
3358
3359 2012-10-07 Glenn Morris <rgm@gnu.org>
3360
3361 * hi-lock.el (hi-lock-process-phrase):
3362 Try to make it less fragile. (Bug#7161)
3363
3364 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3365
3366 2012-10-06 Glenn Morris <rgm@gnu.org>
3367
3368 * ehelp.el (electric-help-mode): Use help-mode rather than
3369 non-existent mode `help'.
3370 (electric-help-map): Use button-buffer-map. (Bug#10917)
3371
3372 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3373 (reftex-create-bibtex-footer): Fix custom types.
3374
3375 * progmodes/sh-script.el (sh-indent-after-continuation):
3376 Add explicit :group.
3377
3378 * textmodes/rst.el (rst-preferred-decorations)
3379 (rst-shift-basic-offset): Clarify obsolescence versions.
3380
3381 * profiler.el (profiler): Add missing group :version tag.
3382 * avoid.el (mouse-avoidance-banish-position):
3383 * proced.el (proced-renice-command):
3384 * calc/calc.el (calc-ensure-consistent-units):
3385 * calendar/icalendar.el (icalendar-import-format-uid):
3386 * net/tramp.el (tramp-save-ad-hoc-proxies):
3387 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3388 * progmodes/flymake.el (flymake-error-bitmap)
3389 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3390 * progmodes/sh-script.el (sh-indent-after-continuation):
3391 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3392 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3393 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3394 (vhdl-array-index-record-field-in-sensitivity-list)
3395 (vhdl-indent-comment-like-next-code-line):
3396 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3397 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3398 (reftex-cite-key-separator, reftex-create-bibtex-header)
3399 (reftex-create-bibtex-footer):
3400 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3401 (rst-indent-literal-normal, rst-indent-literal-minimized)
3402 (rst-indent-comment): Add missing custom :version tags.
3403
3404 * calendar/timeclock.el (timeclock-modeline-display):
3405 Add missing obsolete alias for renamed user option.
3406
3407 * strokes.el (strokes-modeline-string):
3408 * emulation/crisp.el (crisp-mode-modeline-string):
3409 * eshell/esh-mode.el (eshell-status-in-modeline):
3410 Aliases to defcustoms must come before the defcustom.
3411
3412 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3413 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3414 (cal-tex-cursor-week-monday): Doc fixes.
3415 (cal-tex-cursor-week2-summary): Doc fix.
3416 Rename from cal-tex-cursor-week-at-a-glance.
3417
3418 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3419 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3420
3421 * calendar/calendar.el (calendar-mode-map):
3422 Add cal-tex-cursor-week2-summary.
3423
3424 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3427
3428 * subr.el (read-passwd-map): New var.
3429 (read-passwd): Use `read-string' again.
3430 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3431
3432 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
3433
3434 * register.el (append-to-register, prepend-to-register):
3435 Deactivate mark, as does `copy-to-register' (bug#12389).
3436
3437 2012-10-06 Chong Yidong <cyd@gnu.org>
3438
3439 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3440
3441 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3442
3443 * international/characters.el: Fix simple mistake ((car chars) ->
3444 elt), delete duplicated code.
3445
3446 2012-10-06 Glenn Morris <rgm@gnu.org>
3447
3448 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3449
3450 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3451
3452 * color.el (color-hsl-to-rgb): Fix incorrect results for
3453 small and large hue values. (Bug#12559)
3454
3455 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3456
3457 Enhancements to docstring formatting when filling paragraphs.
3458 * progmodes/python.el (python-fill-docstring-style): Rename from
3459 python-fill-string-style. Added new style.
3460 (python-fill-string): Use new style. Better checks for
3461 docstrings.
3462
3463 2012-10-05 Glenn Morris <rgm@gnu.org>
3464
3465 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3466
3467 * color.el (color-name-to-rgb, color-rgb-to-hex)
3468 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3469 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3470 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3471 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3472
3473 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3474
3475 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
3476
3477 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3478 to get the correct size across symlinks.
3479
3480 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3481
3482 2012-10-04 Juri Linkov <juri@jurta.org>
3483
3484 * replace.el (query-replace-interactive): Declare obsolete.
3485 (query-replace-read-from): Add the last incremental search string
3486 to the list of default values accessible via M-n.
3487 (map-query-replace-regexp): Use `read-regexp'.
3488 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3489 (map-query-replace-regexp, replace-string, replace-regexp):
3490 Fix docstrings to replace mentions of `query-replace-interactive'
3491 with alternatives. (Bug#12526)
3492
3493 2012-10-04 Juri Linkov <juri@jurta.org>
3494
3495 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3496 (dired-pop-to-buffer): Declare obsolete.
3497 (dired-mark-pop-up): Doc fix.
3498
3499 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3500
3501 Allow user to set docstring style for fill-paragraph.
3502 * progmodes/python.el
3503 (python-fill-comment-function, python-fill-string-function)
3504 (python-fill-decorator-function, python-fill-paren-function):
3505 Remove :safe for defcustoms.
3506 (python-fill-string-style): New defcustom
3507 (python-fill-paragraph-function): Enhance context detection.
3508 (python-fill-string): Honor python-fill-string-style settings.
3509
3510 2012-10-04 Martin Rudalics <rudalics@gmx.at>
3511
3512 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3513 after setting its buffer (Bug#10805).
3514
3515 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3516
3517 Fix cornercase for string syntax.
3518 * progmodes/python.el (python-syntax-propertize-function):
3519 Simplify and enhance the regexp for unescaped quotes. Now it also
3520 matches quotes in weird situations like the single quote in
3521 "something\"'".
3522 (python-syntax-stringify): Simplify num-quotes detecting code.
3523
3524 2012-10-03 Glenn Morris <rgm@gnu.org>
3525
3526 * help-macro.el (three-step-help):
3527 Revert 2012-09-29 change. (Bug#12567)
3528
3529 2012-10-03 Martin Rudalics <rudalics@gmx.at>
3530
3531 * menu-bar.el (kill-this-buffer): Don't do anything when
3532 `menu-frame' is not alive or visible (Bug#8184).
3533
3534 * emacs-lisp/debug.el (debug): When quitting the debugger window
3535 restore current buffer (Bug#12502).
3536
3537 2012-10-02 Chong Yidong <cyd@gnu.org>
3538
3539 * progmodes/hideif.el (hif-lookup, hif-defined):
3540 Handle semantic-c-takeover-hideif.
3541
3542 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3543
3544 Change sampling interval units from ms to ns.
3545 * profiler.el (profiler-sampling-interval): Change units
3546 from ms to ns, multiplying the default by 1000000 so that
3547 it remains 1 ms.
3548 (profiler-report-cpu-line-format): Give enough room for
3549 the maximum counters on 64-bit hosts.
3550 (profiler-report-render-calltree-1): Call them "CPU samples",
3551 not "Time (ms)", since they are not milliseconds now (and
3552 never really were).
3553
3554 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3555
3556 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3557 Fix querying BBDB for entries without a last name (Bug#11580).
3558
3559 2012-10-02 Chong Yidong <cyd@gnu.org>
3560
3561 * emacs-lisp/eieio.el: Restore Version header.
3562
3563 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * vc/diff-mode.el (diff--auto-refine-data): New var.
3566 (diff-hunk): Use it to delay refinement.
3567 (diff-mode): Remove overlays when we turn off font-lock.
3568
3569 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3570 (table-initialize-table-fixed-width-mode)
3571 (table-set-table-fixed-width-mode): Remove functions.
3572 (table-command-list): Move initialization into declaration.
3573 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3574 (table-with-cache-buffer): Use `declare'.
3575 (table-span-cell): Simplify via CSE.
3576 (table-fixed-width-mode): Use define-minor-mode.
3577 (table-call-interactively, table-funcall, table-apply): Remove.
3578 (table-function): New function, to replace them.
3579
3580 * bookmark.el (bookmark-search-pattern): Remove var.
3581 (bookmark-read-search-input): Remove function.
3582 (bookmark-bmenu-search): Reimplement using a minibuffer.
3583
3584 * faces.el (modeline): Remove obsolete face name.
3585
3586 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3587 and give a non-nil default value.
3588 (add-change-log-entry): Simplify accordingly.
3589
3590 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3591
3592 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3593 (vc-git-log-edit-toggle-amend): New function.
3594 (vc-git-log-edit-toggle-signoff): New function.
3595 (vc-git-log-edit-mode): New major mode.
3596 (vc-git-log-edit-mode-map): Keymap for it.
3597 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3598
3599 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3600 header names.
3601 (log-edit-toggle-header): New function.
3602 (log-edit-extract-headers): Accept function values in HEADERS alist.
3603
3604 2012-10-01 David Engster <deng@randomsample.de>
3605
3606 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3607 from symbol property and change message to be more consistent with
3608 Emacs proper.
3609 (eieio-describe-generic): Add filename for each implementation.
3610 Fix indices for generic and normal methods.
3611 (eieio-method-def, eieio-class-def): New buttons.
3612 (eieio-help-find-method-definition)
3613 (eieio-help-find-class-definition): New functions.
3614 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3615 class, constructor and method definitions.
3616
3617 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3618 information in symbol property.
3619 (scoped-class): Remove.
3620 (eieio-slot-name-index, call-next-method): Check if it is bound.
3621
3622 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3623
3624 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3625 (eieio-custom-mode): New major mode.
3626 (eieio-customize-object): Use it.
3627
3628 2012-10-01 Eric Ludlam <zappo@gnu.org>
3629
3630 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3631 specifying the expected class, and whether subclassing is allowed.
3632 (eieio-persistent-convert-list-to-object):
3633 (eieio-persistent-validate/fix-slot-value)
3634 (eieio-persistent-slot-type-is-class-p): New functions.
3635 (eieio-named::slot-missing): Doc fix.
3636
3637 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3638 Stop using unused publd variable.
3639
3640 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3641 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3642 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3643 (eieio-speedbar-handle-click): Do not specify a class for the
3644 method. Fixes method invocation order problems with EDE.
3645
3646 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3649 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3650
3651 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3652
3653 * bookmark.el (bookmark-version-control): Give tags in the
3654 :type choices (Bug#12309), and improve doc string.
3655 (bookmark-write-file): Bind `print-circle' to `t' to allow
3656 circular custom bookmark types. (Bug#12503)
3657
3658 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3659
3660 Revert the FOLLOW-SYMLINKS change for file-attributes.
3661 * files.el (remote-file-name-inhibit-cache, after-find-file):
3662 * time.el (display-time-file-nonempty-p): Undo last change.
3663
3664 * profiler.el (profiler-sampling-interval): Change default back to 1.
3665 See Stefan Monnier in
3666 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3667
3668 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3669
3670 Shell output catching a la gud-gdb.
3671 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3672 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3673 New Vars.
3674 (python-shell-fetch-lines-filter): New function.
3675 (python-shell-send-string-no-output): Use them.
3676
3677 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3678
3679 * profiler.el (profiler-sampling-interval): Rename from
3680 profiler-sample-interval.
3681 (profiler-sampling-interval): Default to 10.
3682 (profiler-find-profile): New command (was profiler-find-log).
3683 (profiler-find-profile-other-window): New command.
3684 (profiler-find-profile-other-frame): New command.
3685 (profiler-profile): Introduce API-level data structure.
3686
3687 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3688
3689 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3690 * files.el (remote-file-name-inhibit-cache):
3691 * time.el (display-time-file-nonempty-p): Use it.
3692 * files.el (after-find-file): Don't chase links before calling
3693 file-exists-p, as file-exists-p already does the right thing.
3694
3695 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3696
3697 Merge from standalone RefTeX repository.
3698
3699 The following ChangeLog entries are shortened versions of the
3700 original ones with file paths adapted. A not so strongly edited
3701 version of the original ChangeLog can be found in the commit log.
3702
3703 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3704 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3705 Correctly handle new value type returned by `reftex-citation'.
3706
3707 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3708 that entries with whitespace at various places are found.
3709 Doc fix. Include entries that are cross-referenced from cited entries.
3710 Include @String definitions in the resulting bib file. Add header
3711 and footer defined in `reftex-create-bibtex-header' and
3712 `reftex-create-bibtex-footer'.
3713 (reftex-do-citation): Make it possible again to insert
3714 non-existent entries. Save match data when asking for optional
3715 arguments. Return all keys, not just the first one.
3716 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3717 all citations in the same line.
3718 (reftex-parse-bibtex-entry): Accept additional optional argument
3719 `raw' and keep quotes or braces if it is non-nil. Match fields
3720 containing hyphens besides word constituents.
3721 (reftex-get-string-refs): New function.
3722 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3723 and ask if it should be reread in case it did.
3724 (reftex-pop-to-bibtex-entry)
3725 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3726 entries with spaces or tabs in front of arguments.
3727 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3728 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3729 Match entries containing numbers and symbol constituents.
3730 (reftex-do-citation, reftex-figure-out-cite-format):
3731 Use `reftex-cite-key-separator'.
3732
3733 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3734 (reftex-mouse-view-crossref): Explain why point is set.
3735
3736 * textmodes/reftex-global.el: Whitespace changes.
3737
3738 * textmodes/reftex-index.el: Move provide statement to end of
3739 file.
3740 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3741 (reftex-index-visit-phrases-buffer): Set marker when visiting
3742 buffer. This allows for returning from the phrases file to the
3743 file one was just editing instead of the file where the last
3744 phrases was added from.
3745 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3746 punctuation syntax as it usually is not used as string quote in
3747 TeX-related modes and may occur unmatched. The change also
3748 prevents fontification of quoted content.
3749 (reftex-index-phrases-mode): Use it.
3750
3751 * textmodes/reftex-parse.el (reftex-parse-from-file):
3752 Move backward one char if a `\' was matched after a section macro.
3753 (reftex-parse-from-file): Use beginning of match instead of end as
3754 bound.
3755
3756 * textmodes/reftex-ref.el: Adapt creation of
3757 `reftex-<package>-<macro>' functions to new structure of
3758 `reftex-ref-style-alist'.
3759 (reftex-reference): Use `reftex-ref-style-list' function.
3760 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3761 reference macro if `reftex-ref-macro-prompt' is non-nil.
3762 (reftex-reference): Pass refstyle to `reftex-format-special'.
3763 Determine reference macro by looking at
3764 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3765 Use only one special format function.
3766 (reftex-varioref-vref, reftex-fancyref-fref)
3767 (reftex-fancyref-Fref): Remove definitions. The functions are now
3768 generated from `reftex-ref-style-alist'.
3769 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3770 Remove.
3771 (reftex-format-special): New function.
3772
3773 * textmodes/reftex-sel.el
3774 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3775 of `reftex-ref-style-alist'. Remove code for testing macro type.
3776 (reftex-select-toggle-varioref)
3777 (reftex-select-toggle-fancyref): Remove.
3778 (reftex-select-cycle-ref-style-internal)
3779 (reftex-select-cycle-ref-style-forward)
3780 (reftex-select-cycle-ref-style-backward): New functions.
3781 (reftex-select-label-map): Use `v' and `V' for general cycling
3782 through reference styles. Add `p' for switching between number
3783 and page reference types.
3784
3785 * textmodes/reftex-toc.el (reftex-re-enlarge):
3786 Call `enlarge-window' only if there is something to do because in Emacs
3787 the horizontal version throws an error even if the parameter is 0.
3788
3789 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3790 (reftex-plug-into-AUCTeX): Doc fix.
3791 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3792 string. Adapt to new name.
3793 (reftex-ref-style-alist): Change structure so that it is not
3794 possible to use multiple different package names within a style.
3795 Remove the symbols for symbols for macro type distinction.
3796 Add characters for macro selection.
3797 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3798 (reftex-create-bibtex-footer): New variables.
3799 (reftex-format-ref-function): Mention third argument of special
3800 format function.
3801 (reftex-ref-style-alist, reftex-ref-style-default-list):
3802 New variables.
3803 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3804 to new implementation. Mark as obsolete. Add compatibility code
3805 for honoring the variable values in case they are set.
3806 (reftex-cite-format-builtin, reftex-bibliography-commands):
3807 Add support for ConTeXt.
3808 (reftex-format-ref-function, reftex-format-cite-function):
3809 Fix custom type.
3810 (reftex-cite-key-separator): New variable.
3811
3812 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3813 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3814 `reftex-syntax-table' because parens have to retain their paren
3815 syntax in order for parsing of BibTeX entries like @book(...) to
3816 work.
3817 (reftex-in-comment): Do not error out if `comment-start-skip' is
3818 not set. Deal correctly with escaped comment characters.
3819 (reftex-tie-multifile-symbols): Add doc string.
3820 Initialize `reftex-ref-style-list'.
3821 (reftex-untie-multifile-symbols): Add doc string.
3822 (reftex-add-index-macros): Doc fix.
3823 (reftex-ref-style-activate, reftex-ref-style-toggle)
3824 (reftex-ref-style-list): New functions.
3825 (reftex-mode-menu): Use them. Adapt to new structure of
3826 `reftex-ref-style-alist'.
3827 (reftex-select-with-char): Kill the RefTeX Select buffer when
3828 done.
3829 (reftex-remove-if): New function.
3830 (reftex-erase-all-selection-and-index-buffers)
3831 (reftex-mode-menu): Reference styles are now computed from
3832 `reftex-ref-style-alist'. Fix typo.
3833 (reftex-report-bug): New function.
3834 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3835 algorithms with O(n log n). Introduce optional argument SORT (not
3836 yet used).
3837
3838 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3839
3840 Enhancements for triple-quote string syntax.
3841 * progmodes/python.el (python-syntax-propertize-function):
3842 Match both quote cases in one regexp.
3843 (python-syntax-stringify): Handle matches properly.
3844
3845 2012-09-30 Juri Linkov <juri@jurta.org>
3846
3847 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3848 to nil around the call to `insert' to prevent
3849 directory time modification by lock_file. (Bug#2295)
3850 * tar-mode.el (tar-summarize-buffer): Idem.
3851
3852 2012-09-30 Juri Linkov <juri@jurta.org>
3853
3854 * facemenu.el (list-colors-sort): Add option "Luminance".
3855 (list-colors-sort-key): Implement it.
3856
3857 * vc/diff-mode.el (diff-refine-removed):
3858 * vc/ediff-init.el (ediff-fine-diff-A):
3859 * vc/smerge-mode.el (smerge-refined-removed):
3860 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3861
3862 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3863
3864 * term/ns-win.el (x-file-dialog): New function.
3865
3866 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3867
3868 * ido.el (ido-max-directory-size): Default to nil; the current
3869 default is small for POSIX systems, and impractical on Windows 7
3870 now that lstat returns directory sizes for NTFS.
3871
3872 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3873
3874 In buffer display functions handle window-height/window-width
3875 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3876 * window.el (window--display-buffer): New argument ALIST.
3877 Obey window-height and window-width alist entries.
3878 (window--try-to-split-window): New argument ALIST.
3879 Bind window-combination-limit to t when the window's size shall be
3880 changed and window-combination-limit equals `window-size'.
3881 (display-buffer-in-atom-window)
3882 (display-buffer-in-major-side-window)
3883 (display-buffer-in-side-window, display-buffer-same-window)
3884 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3885 (display-buffer-pop-up-window, display-buffer-below-selected)
3886 (display-buffer-at-bottom, display-buffer-in-previous-window)
3887 (display-buffer-use-some-window): Adjust all callers of
3888 window--display-buffer and window--try-to-split-window.
3889 (fit-frame-to-buffer): New option.
3890 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3891 is non-nil.
3892 (display-buffer-in-major-side-window): Evaluate window-height /
3893 window-width alist entries.
3894
3895 * help.el (temp-buffer-resize-frames)
3896 (temp-buffer-resize-regexps): Remove options.
3897 (temp-buffer-resize-mode): Adjust doc-string.
3898 (resize-temp-buffer-window): Don't consult
3899 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3900 temp-buffer-resize-frames.
3901
3902 * dired.el (dired-mark-pop-up):
3903 Call display-buffer-below-selected with a fit-window-to-buffer alist
3904 entry.
3905
3906 2012-09-30 Chong Yidong <cyd@gnu.org>
3907
3908 * server.el (server-host): Document the security implications.
3909 (server-auth-key): Doc fix.
3910
3911 * startup.el (initial-buffer-choice): Doc fix.
3912
3913 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3914
3915 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3916 restriction change.
3917
3918 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3919
3920 * help-fns.el (help-fns--obsolete): Fix last change.
3921
3922 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3923
3924 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3925 (minor-mode-map-alist): Remove redundant code.
3926
3927 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3928 visited in a buffer.
3929 (cvs-insert-visited-file): New function.
3930 (find-file-hook): Use it.
3931
3932 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3933
3934 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3935 chose face.
3936 (log-edit-empty-buffer-p): Don't require a space after a header.
3937
3938 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3939
3940 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3941
3942 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3943 a proper minor-mode.
3944
3945 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3946
3947 2012-09-29 Glenn Morris <rgm@gnu.org>
3948
3949 * winner.el (winner-mode): Remove variable (let define-minor-mode
3950 handle it).
3951 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3952 Doc fixes.
3953 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3954 (winner-mode): Use define-minor-mode.
3955
3956 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3957 the full definition in loaddefs, rather than duplicating it.
3958
3959 * help-macro.el (three-step-help): No need to autoload defcustom.
3960
3961 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3962 (inferior-lisp-program, inferior-lisp-load-command)
3963 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3964 No need to autoload defcustoms.
3965
3966 * hippie-exp.el (hippie-expand-try-functions-list)
3967 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3968 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3969 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3970 (hippie-expand-only-buffers): No need to autoload defcustoms.
3971 * progmodes/vhdl-mode.el (vhdl-line-expand):
3972 Explicitly load hippie-exp, so it does not get autoloaded
3973 while hippie-expand-try-functions-list is let-bound.
3974
3975 2012-09-28 Glenn Morris <rgm@gnu.org>
3976
3977 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3978
3979 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3980 Only "cl.el" counts as cl these days.
3981
3982 2012-09-28 Juri Linkov <juri@jurta.org>
3983
3984 Display archive errors in the echo area instead of inserting
3985 to the file buffer.
3986
3987 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3988 to STDERR-TEST that can be a regexp matching a successful output.
3989 Create a temporary file and redirect stderr to it. Search for
3990 STDERR-TEST in the stderr output and display it in the echo area
3991 if no match is found.
3992 (archive-extract-by-file): New function like
3993 `archive-extract-by-stdout' but extracting archives to files
3994 and looking for successful matches in stdout. Function body is
3995 mostly copied from `archive-rar-extract'.
3996 (archive-rar-extract): Use `archive-extract-by-file'.
3997 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3998
3999 2012-09-28 Leo Liu <sdl.web@gmail.com>
4000
4001 * pcomplete.el (pcomplete-show-completions):
4002 Use minibuffer-message to make pcomplete usable in minibuffer.
4003
4004 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4005
4006 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * type-break.el: Use lexical-binding.
4009 (type-break-mode): Use define-minor-mode.
4010
4011 * emacs-lisp/pcase.el (pcase--mark-used): New.
4012 (pcase--u1): Use it (bug#12512).
4013
4014 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4015 in load-history with the right file name.
4016
4017 2012-09-28 Tassilo Horn <tsdh@gnu.org>
4018
4019 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4020 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4021 (doc-view-get-bounding-box): Make bounding box slicing work for
4022 ODF and DVI documents.
4023
4024 2012-09-28 Glenn Morris <rgm@gnu.org>
4025
4026 * type-break.el (type-break-mode, type-break-interval)
4027 (type-break-good-rest-interval, type-break-keystroke-threshold):
4028 No need to autoload.
4029 (type-break-good-rest-interval, type-break-keystroke-threshold):
4030 Add :set-after.
4031
4032 2012-09-28 Chong Yidong <cyd@gnu.org>
4033
4034 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4035 Add :version tag.
4036
4037 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4038
4039 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
4040
4041 2012-09-27 Glenn Morris <rgm@gnu.org>
4042
4043 * faces.el (x-display-name): Declare (for without-x builds).
4044
4045 * linum.el (linum-format): Don't autoload it. Improve :type.
4046
4047 * progmodes/tcl.el: Don't require outline when compiling.
4048 (outline-regexp, outline-level): Declare.
4049 * textmodes/sgml-mode.el: Don't require outline when compiling.
4050 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4051
4052 * term.el (term-ansi-reset):
4053 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4054
4055 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4056 files for RCS and SCCS. (Bug#9781)
4057
4058 2012-09-27 Chong Yidong <cyd@gnu.org>
4059
4060 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4061 change; value should be t.
4062
4063 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * image-mode.el: Use lexical-binding.
4066 (image-mode-winprops): Use t to stand for the window of
4067 a buffer that's not displayed.
4068 * doc-view.el (doc-view-new-window-function): Handle the new
4069 t in winprops.
4070 (doc-view-enlarge): Make it a real nop if the size is not changed.
4071 (doc-view-display): Handle the case where the buffer is not (yet?)
4072 displayed in any window.
4073 (doc-view-saved-settings): New var.
4074 (doc-view-mode): Use it.
4075 (doc-view-fallback-mode): Set it.
4076
4077 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4078 Set lexical-binding.
4079 (minibuffer-eldef-shorten-default): New var.
4080 (minibuffer-default-in-prompt-regexps): Use it for new default.
4081 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4082
4083 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4084
4085 * international/uni-bidi.el:
4086 * international/uni-category.el:
4087 * international/uni-name.el:
4088 * international/uni-numeric.el: Regenerate.
4089
4090 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4091 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * profiler.el: New file.
4094
4095 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4098 (testcover-reinstrument): Simplify with CSE.
4099
4100 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
4101
4102 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4103
4104 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4105
4106 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4107 (verilog-auto-input, verilog-auto-insert-lisp)
4108 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4109 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4110 (verilog-auto-unused, verilog-auto-wire)
4111 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4112 newline. Reported by Andrew Jones.
4113 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4114 Reported by Brad Dobbie.
4115 (verilog-batch-delete-trailing-whitespace):
4116 Create verilog-batch-delete-trailing-whitespace.
4117 Reported by Brad Dobbie.
4118 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4119 parameters from another module. Reported by Dan Katz.
4120 (verilog-auto, verilog-auto-assign-modport)
4121 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4122 AUTOINOUTMODPORT for UVM interface module shell generation.
4123 Reported by Brad Dobbie.
4124 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4125 standard behavior.
4126 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4127 Reported by Matt Martin.
4128
4129 2012-09-25 Martin Rudalics <rudalics@gmx.at>
4130
4131 * window.el (window--resize-child-windows): When resizing child
4132 windows proportionally, process them in reverse order to
4133 preserve the "when splitting a window the new one gets the odd
4134 line" behavior.
4135 (window--resize-root-window-vertically): When resizing the
4136 minibuffer window try to affect only windows at the bottom of the
4137 frame. (Bug#12419)
4138
4139 2012-09-25 Chong Yidong <cyd@gnu.org>
4140
4141 * subr.el (declare): Doc fix.
4142
4143 * help-fns.el (help-fns--obsolete): Handle macros properly.
4144
4145 2012-09-25 Chong Yidong <cyd@gnu.org>
4146
4147 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4148 this function obsolete.
4149
4150 * calendar/cal-x.el (calendar-two-frame-setup)
4151 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4152 * calendar/calendar.el (american-calendar, european-calendar)
4153 (calendar-for-loop):
4154 * comint.el (comint-dynamic-simple-complete)
4155 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4156 * desktop.el (desktop-load-default):
4157 * dired-x.el (dired-omit-here-always)
4158 (dired-hack-local-variables, dired-default-directory):
4159 * emacs-lisp/derived.el (derived-mode-class):
4160 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4161 * emacs-lock.el (toggle-emacs-lock):
4162 * epa.el (epa-display-verify-result):
4163 * epg.el (epg-sign-keys, epg-start-sign-keys)
4164 (epg-passphrase-callback-function):
4165 * eshell/esh-util.el (eshell-for):
4166 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4167 (eshell-add-to-window-buffer-names):
4168 * files.el (locate-file-completion):
4169 * imenu.el (imenu-example--create-c-index)
4170 (imenu-example--create-lisp-index)
4171 (imenu-example--lisp-extract-index-name)
4172 (imenu-example--name-and-position):
4173 * international/mule-cmds.el (princ-list):
4174 * international/mule-diag.el (decode-codepage-char):
4175 * international/mule-util.el (detect-coding-with-priority):
4176 * iswitchb.el (iswitchb-read-buffer):
4177 * mail/mailalias.el (mail-complete):
4178 * mail/sendmail.el (mail-sent-via):
4179 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4180 (mouse-major-mode-menu):
4181 * password-cache.el (password-read-and-add):
4182 * pcomplete.el (pcomplete-parse-comint-arguments):
4183 * progmodes/sh-script.el (sh-maybe-here-document):
4184 * replace.el (query-replace-regexp-eval):
4185 * savehist.el (savehist-load):
4186 * simple.el (choose-completion-delete-max-match):
4187 * term.el (term-dynamic-simple-complete):
4188 * vc/ediff-init.el (ediff-check-version):
4189 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4190 * vc/vc.el (vc-diff-switches-list):
4191 * view.el (view-return-to-alist-update): Likewise.
4192
4193 * subr.el (eval-next-after-load, makehash, insert-string)
4194 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4195 mark obsolete.
4196 (mode-line-inverse-video): Variable deleted.
4197
4198 * international/mule-util.el (string-to-sequence): Remove.
4199
4200 * calendar/calendar.el (calendar-version):
4201 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4202 (icalendar-convert-diary-to-ical):
4203 * cus-edit.el (custom-mode):
4204 * ansi-color.el (ansi-color-unfontify-region):
4205 * international/latin1-disp.el (latin1-char-displayable-p):
4206 * progmodes/cwarn.el (turn-on-cwarn-mode):
4207 * progmodes/which-func.el (which-func-update-1):
4208 Use define-obsolete-function-alias.
4209
4210 * net/newst-backend.el (newsticker-cache-filename):
4211 * net/newst-treeview.el (newsticker-groups-filename):
4212 Fix incorrect obsolescence declaration.
4213
4214 * allout.el (allout-passphrase-hint-string): Likewise.
4215 (allout-init): Use a declare form to mark obsolete.
4216
4217 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4218 this applies to functions.
4219
4220 * iswitchb.el (iswitchb-read-buffer): Move code of
4221 iswitchb-define-mode-map here, and delete that obsolete function.
4222
4223 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4224 font-lock-reference-face.
4225
4226 2012-09-25 Glenn Morris <rgm@gnu.org>
4227
4228 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4229 Doc fixes.
4230
4231 * eshell/em-term.el (eshell-term-name):
4232 Default to term-term-name. (Bug#12485)
4233
4234 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4235
4236 * progmodes/python.el (python-shell-send-buffer): Better handling
4237 of "if __name__ == '__main__':" conditionals when sending the buffer.
4238
4239 2012-09-24 Glenn Morris <rgm@gnu.org>
4240
4241 * eshell/esh-cmd.el (eshell-find-alias-function):
4242 Tighten up file-name regexp. (Bug#12499)
4243
4244 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4245
4246 Enhancements for triple-quote string syntax.
4247 * progmodes/python.el (python-quote-syntax): Remove.
4248 (python-syntax-propertize-function): New value.
4249 (python-syntax-count-quotes, python-syntax-stringify):
4250 New functions.
4251
4252 2012-09-24 Chong Yidong <cyd@gnu.org>
4253
4254 * mail/supercite.el (sc-version): Remove obsolete function.
4255 (sc-describe): Don't mark as obsolete, since it is bound.
4256 (sc-submit-bug-report): Remove.
4257
4258 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4259 (cvs-commit-buffer-require-final-newline): Remove.
4260 (log-edit-require-final-newline)
4261 (log-edit-changelog-full-paragraphs): Default to t.
4262
4263 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4264 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4265 * vc/vc.el (vc-checkout-carefully): Likewise.
4266
4267 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4268 (emerge-version): Remove.
4269
4270 * progmodes/compile.el (compile-internal): Remove.
4271 (compilation-parse-errors-function): Fix typo.
4272
4273 * international/mule.el (set-char-table-default): Remove.
4274 (set-coding-priority, make-coding-system, generic-char-p)
4275 (charset-list, charset-bytes, charset-id): Use declare to mark
4276 functions as obsolete.
4277
4278 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4279 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4280 * vc/vc-hooks.el (vc-default-registered): Don't use
4281 vc-master-templates.
4282
4283 * font-lock.el (font-lock-reference-face):
4284 Use define-obsolete-variable-alias.
4285
4286 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4287 * calendar/calendar.el (calendar-font-lock-keywords):
4288 * calendar/diary-lib.el (diary-font-lock-keywords)
4289 (diary-fancy-font-lock-keywords):
4290 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4291 * textmodes/reftex-index.el (reftex-insert-index):
4292 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4293 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4294 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4295 * progmodes/prolog.el (prolog-font-lock-keywords):
4296 * progmodes/idlwave.el (idlwave-idl-keywords):
4297 * progmodes/ada-mode.el (ada-font-lock-keywords):
4298 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4299
4300 2012-09-24 Glenn Morris <rgm@gnu.org>
4301
4302 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4303
4304 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4305
4306 * progmodes/python.el (python-indent-line): More consistent cursor
4307 movement behavior.
4308
4309 2012-09-23 Stefan Merten <smerten@oekonux.de>
4310
4311 * textmodes/rst.el: Fix compiler warning.
4312
4313 2012-09-23 Roland Winkler <winkler@gnu.org>
4314
4315 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4316 Transcribe also LaTeX hyphenation.
4317 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4318 bibtex-reformat-previous-options.
4319
4320 2012-09-23 Roland Winkler <winkler@gnu.org>
4321
4322 * proced.el (proced-renice-command): New variable.
4323 (proced-marked-processes): New function.
4324 (proced-with-processes-buffer): New macro.
4325 (proced-send-signal): Use them.
4326 (proced-renice): New command bound to r.
4327
4328 2012-09-23 Roland Winkler <winkler@gnu.org>
4329
4330 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4331 ibuffer-saved-filter-groups has one element, shortcut the call of
4332 completing-read. (Bug#12331)
4333
4334 2012-09-23 Chong Yidong <cyd@gnu.org>
4335
4336 * bindings.el (mode-line-toggle-read-only):
4337 * bs.el (bs-toggle-readonly):
4338 * buff-menu.el (Buffer-menu-toggle-read-only):
4339 * dired.el (dired-toggle-read-only):
4340 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4341
4342 2012-09-23 Chong Yidong <cyd@gnu.org>
4343
4344 * image.el (image-type-available-p): Adapt to init-image-library
4345 argument changes.
4346
4347 2012-09-22 Juri Linkov <juri@jurta.org>
4348
4349 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4350 `dired-toggle-read-only'. (Bug#12462)
4351
4352 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4353
4354 * subr.el (temp-output-buffer-show): New function.
4355 (with-output-to-temp-buffer): Call temp-output-buffer-show
4356 instead of internal-temp-output-buffer-show.
4357
4358 2012-09-22 Chong Yidong <cyd@gnu.org>
4359
4360 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4361 (Bug#12462).
4362
4363 * repeat.el (repeat): Doc fix (Bug#12348).
4364
4365 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4366 (Bug#10909).
4367
4368 * simple.el (shell-command-on-region): Doc fix.
4369 (read-only-mode): Doc fix.
4370
4371 2012-09-22 Eli Zaretskii <eliz@gnu.org>
4372
4373 * emacs-lisp/timer.el (run-with-idle-timer)
4374 (timer-activate-when-idle): Warn against reinvoking an idle timer
4375 from within its own timer action. (Bug#12447)
4376
4377 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4378
4379 * cus-start.el (window-combination-limit): Add new optional
4380 values.
4381 * window.el (temp-buffer-window-show)
4382 (window--try-to-split-window): Handle new values of
4383 window-combination-limit (Bug#1806).
4384 (split-window): Test window-combination-limit for t instead of
4385 non-nil.
4386 (display-buffer-at-bottom): New buffer display action function.
4387 * help.el (temp-buffer-resize-regexps): New option.
4388 (temp-buffer-resize-mode): Rewrite doc-string.
4389 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4390 Don't resize reused window. Suggested by Glenn Morris.
4391
4392 2012-09-22 Stefan Merten <smerten@oekonux.de>
4393
4394 * textmodes/rst.el: Revamp section title faces.
4395 (rst-official-version)
4396 (rst-package-emacs-version-alist): Sync with official version
4397 V1.4.0.
4398 (rst-faces-defaults, rst-set-level-default)
4399 (rst-level-face-max, rst-level-face-base-color)
4400 (rst-level-face-base-light, rst-level-face-format-light)
4401 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4402 (rst-adornment-faces-alist): Match new setup.
4403 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4404 (rst-level-5, rst-level-6): New faces.
4405
4406 2012-09-22 Chong Yidong <cyd@gnu.org>
4407
4408 * simple.el (undo): Handle indirect buffers (Bug#8207).
4409
4410 2012-09-21 Leo Liu <sdl.web@gmail.com>
4411
4412 IDO: Disable match re-ordering for buffer switching.
4413 * ido.el (ido-buffer-disable-smart-matches): New variable.
4414 (ido-set-matches-1): Use it. (Bug#2042)
4415
4416 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
4417
4418 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4419 Fix 2011-05-17 change. (Bug#12418)
4420
4421 2012-09-21 Leo Liu <sdl.web@gmail.com>
4422
4423 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4424
4425 2012-09-21 Glenn Morris <rgm@gnu.org>
4426
4427 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4428 Be more robust about locating simple.el.
4429
4430 2012-09-21 Glenn Morris <rgm@gnu.org>
4431
4432 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4433
4434 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4435
4436 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4437
4438 2012-09-20 Juri Linkov <juri@jurta.org>
4439
4440 * replace.el (query-replace-read-from): Use `read-regexp' instead
4441 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4442 (occur-read-primary-args): Use `read-regexp' instead of
4443 `read-string'.
4444 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4445 `read-from-minibuffer'.
4446 * isearch.el (isearch-occur): Use `read-regexp' instead of
4447 `read-string'.
4448 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4449 `read-from-minibuffer'.
4450 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4451 of `read-string'. (Bug#7567)
4452
4453 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4454 and allow accepting a list of strings prepended to a list of
4455 standard default values. Doc fix. (Bug#12321)
4456
4457 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4458
4459 * replace.el (read-regexp): Don't add ": " when PROMPT already
4460 ends with a colon and space. (Bug#12321)
4461
4462 2012-09-20 Tassilo Horn <tsdh@gnu.org>
4463
4464 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4465 error.
4466
4467 2012-09-20 Stefan Merten <smerten@oekonux.de>
4468
4469 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4470 Fixes feature request bug#11711.
4471 (rst-mode): Create `imenu-create-index-function'.
4472 (rst-get-stripped-line): Delete after refactoring.
4473 (rst-section-tree, rst-section-tree-rec)
4474 (rst-section-tree-point): Refactor and document properly.
4475 (rst-imenu-find-adornments-for-position)
4476 (rst-imenu-convert-cell, rst-imenu-create-index):
4477 New function.
4478
4479 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4482 (macroexp--expand-all): Use it.
4483 (macroexp--funcall-and-return): Remove by folding it into its sole
4484 caller (macroexp--warn-and-return).
4485 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4486 Use macroexp--obsolete-warning.
4487
4488 * calc/calc.el: Fix last change by removing the whole chunk, since it
4489 was only needed back when Calc was not bundled.
4490
4491 2012-09-20 Martin Rudalics <rudalics@gmx.at>
4492
4493 * emacs-lisp/debug.el (debug): Restore assignment to
4494 debugger-old-buffer removed on 2012-09-08.
4495
4496 2012-09-20 Juri Linkov <juri@jurta.org>
4497
4498 * dired-aux.el (dired-diff): Remove (require 'diff) since
4499 `diff-latest-backup-file' is now autoloaded.
4500
4501 2012-09-20 Chong Yidong <cyd@gnu.org>
4502
4503 * vc/diff.el (diff-latest-backup-file): Autoload.
4504
4505 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * calc/calc.el: Remove redundant autoload shape check.
4508 (sel-mode): Don't defvar.
4509 (calc-get-stack-element): Add `sel-mode' arg instead.
4510 (calc-top, calc-top-list): Pass it this additional argument.
4511 * calc/calc-store.el (calc-store-map):
4512 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4513 (calc-map-equation, calc-outer-product, calc-inner-product):
4514 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4515
4516 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4517
4518 2012-09-19 Juri Linkov <juri@jurta.org>
4519
4520 * dired-aux.el (dired-diff): Add (require 'diff) because
4521 `diff-latest-backup-file' is not autoloaded.
4522 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4523 of `dired-get-filename' to t to not report error when there is
4524 no default file on the current line.
4525
4526 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4529 macroexp--eval-if-compile.
4530 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4531 (macroexp--expand-all): Use them (bug#12371).
4532
4533 * doc-view.el (doc-view-guess-paper-size)
4534 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4535
4536 2012-09-19 Tassilo Horn <tsdh@gnu.org>
4537
4538 New feature: set optimal slice from BoundingBox information.
4539 * doc-view.el (doc-view-mode-map): Add keybinding.
4540 (doc-view-menu): Add menu entry.
4541 (doc-view-set-slice): Adapt docstring.
4542 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4543 (doc-view-scale-bounding-box)
4544 (doc-view-set-slice-from-bounding-box): New functions.
4545 (doc-view-paper-sizes): New defvar.
4546
4547 2012-09-19 Glenn Morris <rgm@gnu.org>
4548
4549 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4550 (byte-compile-log-warning): Autoload. (Bug#12371)
4551
4552 * calendar/calendar.el (calendar-american-month-header)
4553 (calendar-european-month-header, calendar-iso-month-header)
4554 (calendar-month-header): New options.
4555 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4556 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4557
4558 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4559
4560 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4561
4562 2012-09-18 Juri Linkov <juri@jurta.org>
4563
4564 * dired-aux.el (dired-diff): Restore original functionality of
4565 getting the default value, but keep new feature of using the
4566 latest existing backup file (`diff-latest-backup-file').
4567
4568 2012-09-18 Juri Linkov <juri@jurta.org>
4569
4570 * dired.el (dired-mark): If the region is active in Transient Mark
4571 mode, mark all files in the active region. Doc fix.
4572 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4573 Doc fix. (Bug#10624)
4574
4575 2012-09-18 Juri Linkov <juri@jurta.org>
4576
4577 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4578 attributes for M-n are pulled from the file at point.
4579 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4580 Suggested by Drew Adams. (Bug#10624)
4581
4582 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4583
4584 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4585 whitespace after "end".
4586 (ruby-do-end-to-brace): Collapse block to one line if it fits
4587 within fill-column.
4588
4589 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4590
4591 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4592 value.
4593 (debug): Don't remove debugger window when debugger is expected
4594 to be back.
4595
4596 2012-09-18 Chong Yidong <cyd@gnu.org>
4597
4598 * custom.el (defface): Doc fix.
4599
4600 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4601
4602 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4603
4604 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4605 to initialize query-on-exit; then test that instead (bug#12288).
4606
4607 2012-09-17 Stefan Merten <smerten@oekonux.de>
4608
4609 * textmodes/rst.el: Add support for `testcover'.
4610 (rst-defcustom-testcover, rst-testcover-add-compose)
4611 (rst-testcover-add-1value): New functions.
4612 (rst-portable-mark-active-p): Replace by `use-region-p'.
4613 (rst-update-section, rst-classify-adornment)
4614 (rst-find-title-line): Mark `1value' forms.
4615 (rst-classify-adornment): Remove superfluous form.
4616 (rst-update-section, rst-get-adornments-around)
4617 (rst-adornment-complete-p, rst-get-next-adornment)
4618 (rst-adjust, rst-promote-region)
4619 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4620 (rst-find-pfx-in-region, rst-section-tree-rec)
4621 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4622 (rst-toc-node, rst-toc, rst-forward-section)
4623 (rst-iterate-leftmost-paragraphs)
4624 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4625 (rst-bullet-list-region)
4626 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4627 (rst-compile-find-conf, rst-compile)
4628 (rst-repeat-last-character): Fix style.
4629
4630 2012-09-17 Chong Yidong <cyd@gnu.org>
4631
4632 * comint.el (comint--complete-file-name-data): Don't add a space
4633 if the status is `sole'; that adds a gratuitous space in the
4634 completion-cycling case (Bug#12092).
4635
4636 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4637
4638 2012-09-17 Richard Stallman <rms@gnu.org>
4639
4640 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4641 only in the mime-shown mode, not in raw mode.
4642 (rmail-mime): Toggle off mime by displaying the message without
4643 mime processing. (Bug#12305)
4644
4645 * mail/rmail.el (rmail-retry-failure):
4646 Turn off mime processing first. (Bug#12037)
4647
4648 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4649
4650 2012-09-17 Chong Yidong <cyd@gnu.org>
4651
4652 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4653 (shell-dynamic-complete-functions): Convert to defcustom.
4654 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4655
4656 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4657 * comint.el (comint-prompt-read-only):
4658 * custom.el (defcustom):
4659 * hi-lock.el (hi-lock-mode):
4660 * ibuffer.el (ibuffer-formats):
4661 * ielm.el (ielm-prompt-read-only):
4662 * novice.el (disable-command):
4663 * saveplace.el (toggle-save-place):
4664 * speedbar.el (speedbar-supported-extension-expressions):
4665 * startup.el (auto-save-list-file-prefix, init-file-user)
4666 (after-init-hook, inhibit-startup-echo-area-message):
4667 * strokes.el (strokes-help):
4668 * time-stamp.el (time-stamp):
4669 * calendar/calendar.el (calendar, diary-file):
4670 * calendar/diary-lib.el (diary-mail-entries, diary)
4671 (diary-list-entries-hook):
4672 * calendar/holidays.el (holidays, calendar-holidays):
4673 * calendar/lunar.el (lunar-phases):
4674 * calendar/solar.el (sunrise-sunset):
4675 * emulation/edt.el (edt-load-keys):
4676 * emulation/viper.el (viper-mode):
4677 * eshell/em-alias.el (eshell-command-aliases-list):
4678 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4679 * international/ogonek.el (ogonek-information):
4680 * net/tramp-cmds.el (tramp-bug):
4681 * net/quickurl.el (quickurl-reread-hook-postfix):
4682 * play/decipher.el (decipher-font-lock-keywords):
4683 * progmodes/cc-styles.el (c-set-style):
4684 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4685 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4686 * progmodes/octave-mod.el (octave-mode):
4687 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4688 * progmodes/verilog-mode.el (verilog-read-defines):
4689 * textmodes/two-column.el (2C-mode): Likewise.
4690
4691 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4692
4693 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4694 that holds many addresses.
4695
4696 2012-09-16 Chong Yidong <cyd@gnu.org>
4697
4698 * align.el (align-areas): Call the indication function with
4699 positions instead of markers for arguments (Bug#12343).
4700
4701 * files.el (parse-colon-path): Use split-string (Bug#12351).
4702
4703 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4704 (display-buffer-function): Mark as obsolete.
4705
4706 * progmodes/compile.el (compilation-parse-errors): Accept list
4707 values similar to font-lock-keywords (Bug#12136).
4708 Suggested by Oleksandr Manzyuk.
4709 (compilation-error-regexp-alist): Doc fix.
4710
4711 2012-09-15 Glenn Morris <rgm@gnu.org>
4712
4713 * version.el (emacs-bzr-version-bzr): New function.
4714 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4715
4716 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4717 checkouts, check the parent dirstate matches the branch.
4718 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4719 empty string.
4720
4721 * version.el (emacs-bzr-version): Doc fix.
4722 (emacs-bzr-version-dirstate): New function.
4723 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4724 is local try and check that it matches the branch. If not, just
4725 use dirstate information. (Bug#12441)
4726
4727 2012-09-14 Juri Linkov <juri@jurta.org>
4728
4729 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4730 (Bug#12399)
4731
4732 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4735
4736 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4737 Remove obsolete byte-compiler hack that tried to silence some warnings.
4738 (edebug-submit-bug-report): Remove.
4739 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4740 Remove aliases, use the un-prefixed name instead.
4741 (edebug-pop-to-buffer): Consider other frames.
4742 (edebug-original-read):: Make it more obvious that it's always defined.
4743 (edebug--make-form-data-entry, edebug--form-data-name)
4744 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4745 single-dashed name, and implement with cl-defstruct.
4746 (edebug-set-form-data-entry): Use the standard accessors.
4747 (edebug-make-top-form-data-entry): Use push.
4748 (edebug-no-match): Drop useless `funcall'.
4749 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4750 to functions.
4751 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4752 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4753 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4754 (easy-menu-define, with-custom-print): Remove redundant specs.
4755 (edebug-outside-overriding-local-map)
4756 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4757 (edebug--display): Bind unread-command-events directly to nil rather
4758 than binding it to unread-command-events and later setting it to nil.
4759 (edebug--display): Kill edebug-eval-buffer here...
4760 (edebug--recursive-edit): ...rather than here.
4761 Bind standard-output and standard-input.
4762 (edebug-eval): Check cl-macroexpand-all is fboundp.
4763 (edebug-temp-display-freq-count): Fix last change.
4764
4765 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4766 * subr.el (noreturn, 1value): Add `debug' spec.
4767 * emacs-lisp/advice.el: Require cl-lib.
4768 (ad-copy-tree): Remove, use copy-tree instead.
4769 (ad-dolist): Remove use dolist or cl-dolist instead.
4770 (ad-do-return): Remove, use cl-return instead.
4771 (defadvice): Add `debug' spec.
4772
4773 2012-09-13 Juri Linkov <juri@jurta.org>
4774
4775 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4776 (Bug#12399)
4777
4778 2012-09-13 Glenn Morris <rgm@gnu.org>
4779
4780 * calc/calc.el (math-compose-expr):
4781 * calc/calc-ext.el (math-compose-expr):
4782 * progmodes/cc-defs.el (cl-macroexpand-all):
4783 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4784 (cl-macroexpand-all): Update declarations.
4785
4786 * vc/vc.el: No need to require ediff.
4787 (ediff-load-version-control): Declare.
4788 (ediff-vc-internal): Fix declaration.
4789 (vc-version-ediff): Require ediff.
4790
4791 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4792
4793 Use a more backwards-compatible timer format (Bug#12430).
4794 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4795 being right after USECS, as that better supports old code that
4796 inadvisedly looked directly at the timer vector.
4797
4798 2012-09-13 Kenichi Handa <handa@gnu.org>
4799
4800 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4801 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4802 `coding-priority' property of these language environment.
4803
4804 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4805
4806 Fix glitches caused by addition of psec to timers (Bug#12430).
4807 * image.el (image-animate-timer):
4808 * time.el (display-time-world-timer):
4809 Use timer--function and timer--args rather than raw access to
4810 timer vector.
4811
4812 2012-09-13 Glenn Morris <rgm@gnu.org>
4813
4814 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4815 If not compiling a file, try using load-file-name.
4816
4817 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4820 Fix last change.
4821 (edebug-update-eval-list): Use `push'.
4822
4823 * emacs-lisp/edebug.el: Use lexical-binding.
4824 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4825 Mark unused args with underscore.
4826 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4827 (edebug-form-data): Use defvar-local.
4828 (edebug-make-before-and-after-form, edebug-make-after-form):
4829 Use backquote.
4830 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4831 Not dynamically scoped any more.
4832 (edebug--enter-trace): Add arguments `function' and `args'.
4833 Rename from edebug-enter-trace.
4834 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4835 (edebug--update-coverage): Add `after-index' and `value' args.
4836 Rename from edebug-update-coverage.
4837 (edebug-slow-after): Call it accordingly.
4838 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4839 edebug-recursive-edit.
4840 (edebug--display): Call it accordingly. Add args `value',
4841 `offset-index', and `arg-mode'. Rename from edebug-display.
4842 (edebug-debugger, edebug): Call it accordingly.
4843 (edebug-eval-display-list): Use dolist.
4844
4845 2012-09-12 Juri Linkov <juri@jurta.org>
4846
4847 * info.el (Info-search): Don't check for isearch-mode and
4848 isearch-regexp before let-binding search-spaces-regexp to
4849 Info-search-whitespace-regexp.
4850 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4851 search-whitespace-regexp if isearch-lax-whitespace or
4852 isearch-regexp-lax-whitespace is non-nil.
4853 (Info-mode): Don't set local variable search-whitespace-regexp.
4854 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4855
4856 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4857
4858 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4859 (debugger-env-macro): Remove support for unread-command-char.
4860
4861 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4862 the temporary map re-appearing on emulation-mode-map-alists.
4863
4864 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4865 since 22.1.
4866
4867 * ehelp.el (with-electric-help): Accept functions in
4868 electric-help-form-to-execute.
4869 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4870 And replace unread-command-char -> unread-command-events.
4871
4872 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4873
4874 Sync with Tramp 2.2.6.
4875
4876 * net/tramp.el (tramp-accept-process-output): Don't use
4877 JUST-THIS-ONE in the XEmacs case.
4878
4879 * net/trampver.el: Update release number.
4880
4881 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4882
4883 * emacs-lisp/debug.el (debugger-previous-window-height):
4884 New variable.
4885 (debug): When debugger-jumping-flag is non-nil try to restore
4886 height of debugger window. (Bug#8789)
4887
4888 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4891 overriding-local-map and pre/post-command-hook here.
4892 (edebug-recursive-edit): Do it here instead (bug#12345).
4893 (edebug-outside-unread-command-char): Remove all uses of
4894 unread-command-char.
4895
4896 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4897 inhibit-debugger is bound instead.
4898
4899 2012-09-11 Bastien Guerry <bzg@gnu.org>
4900
4901 * subr.el (set-temporary-overlay-map): Add a docstring.
4902 (Bug#12346)
4903
4904 2012-09-11 Bastien Guerry <bzg@gnu.org>
4905
4906 * minibuffer.el (completion-table-subvert): Fix docstring.
4907 (Bug#12347)
4908
4909 2012-09-11 Bastien Guerry <bzg@gnu.org>
4910
4911 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4912
4913 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4914
4915 * progmodes/sql.el: Version 3.1
4916 (sql-db2-escape-newlines): New variable.
4917 (sql-escape-newlines-filter): Use it.
4918
4919 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4920
4921 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4922
4923 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4924
4925 * vc/diff-mode.el (diff-mode-menu):
4926 Bind diff-remove-trailing-whitespace.
4927
4928 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4929
4930 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4931 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4932 (emacs-lisp-byte-code-mode): New functions.
4933 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4934 (eval-defun-2): Remove bogus interactive spec.
4935 (lisp-indent-line): Remove redundant whole-exp code, now done in
4936 indent-according-to-mode.
4937 (save-match-data): Remove redundant indent data.
4938
4939 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4940 Use `declare'.
4941
4942 2012-09-09 Juri Linkov <juri@jurta.org>
4943
4944 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4945 (replace-lax-whitespace, query-replace-regexp)
4946 (query-replace-regexp-eval, replace-regexp): Doc fix.
4947 (perform-replace, replace-highlight): Let-bind
4948 isearch-lax-whitespace to replace-lax-whitespace and
4949 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4950
4951 * isearch.el (isearch-query-replace): Let-bind
4952 replace-lax-whitespace to isearch-lax-whitespace and
4953 replace-regexp-lax-whitespace to
4954 isearch-regexp-lax-whitespace. (Bug#10885)
4955
4956 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4959
4960 2012-09-09 Alan Mackenzie <acm@muc.de>
4961
4962 * progmodes/cc-engine.el (c-state-cache-init):
4963 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4964 (c-record-parse-state-state):
4965 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4966
4967 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4968
4969 * register.el (register-separator): Rename from
4970 separator-register. All uses changed. Doc fix.
4971 (register): Fix version.
4972
4973 2012-09-09 Chong Yidong <cyd@gnu.org>
4974
4975 * replace.el (query-replace-map): Bind four new symbols for
4976 requesting window scrolling.
4977
4978 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4979 query-replace-map (Bug#8948).
4980
4981 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4982
4983 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4984 since they are now in query-replace-map.
4985
4986 * window.el (scroll-other-window-down): Make the arg optional.
4987
4988 2012-09-09 Chong Yidong <cyd@gnu.org>
4989
4990 * files.el (hack-local-variables-confirm): Use quit-window to kill
4991 the *Local Variables* buffer.
4992
4993 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4994
4995 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4996 not just expect to be at its beginning. Adjust callees.
4997 Succeed when do-end block has no space before the pipe character.
4998 (ruby-brace-to-do-end): When the original block is one-liner,
4999 convert to multiline. Reindent the result.
5000
5001 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
5002
5003 * register.el (register): New group.
5004 (separator-register): New user option.
5005 (increment-register): Route it to `append-to-register', if
5006 register contains text. Implication is that `C-x r +' can now be
5007 used for appending to a text register (bug#12217).
5008 (append-to-register, prepend-to-register): Add separator based on
5009 `separator-register'.
5010
5011 2012-09-08 Alan Mackenzie <acm@muc.de>
5012
5013 AWK Mode: make auto-newline work when there's "==" in the pattern.
5014 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5015 correctly.
5016 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5017 Test more rigorously for "=" token.
5018
5019 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5020
5021 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5022 Only fail when reached LIMIT.
5023
5024 2012-09-08 Chong Yidong <cyd@gnu.org>
5025
5026 * dired.el (dired-mode-map): Don't bind M-=.
5027
5028 * dired-aux.el (dired-diff): Use backup file as default.
5029
5030 2012-09-08 Drew Adams <drew.adams@oracle.com>
5031
5032 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5033
5034 2012-09-08 Chong Yidong <cyd@gnu.org>
5035
5036 * subr.el (syntax-after, syntax-class): Doc fix.
5037
5038 2012-09-08 Martin Rudalics <rudalics@gmx.at>
5039
5040 * window.el (display-buffer-in-previous-window): New buffer
5041 display action function.
5042
5043 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5044 (debugger-previous-window): New variable.
5045 (debug): Rewrite using display-buffer-in-previous-window,
5046 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5047
5048 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5051
5052 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5053
5054 * progmodes/python.el (python-shell-send-string):
5055 When default-directory is remote, create temp file on remote
5056 filesystem.
5057 (python-shell-send-file): When file is remote, pass local view of
5058 file paths to remote Python interpreter. (Bug#12340)
5059
5060 2012-09-07 Chong Yidong <cyd@gnu.org>
5061
5062 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5063
5064 * files.el (after-find-file): Don't fail on a read-only buffer if
5065 require-final-newline is `visit' or `visit-save' (Bug#11156).
5066
5067 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5068
5069 * userlock.el (ask-user-about-supersession-threat):
5070 Use read-char-choice (Bug#12093).
5071
5072 2012-09-07 Chong Yidong <cyd@gnu.org>
5073
5074 * subr.el (buffer-narrowed-p): New function.
5075
5076 * ses.el (ses-widen):
5077 * simple.el (count-words--buffer-message):
5078 * net/browse-url.el (browse-url-of-buffer): Use it.
5079
5080 * simple.el (count-words-region): Don't signal an error if there
5081 is a non-nil prefix arg and the mark is not set.
5082
5083 * help.el (describe-key-briefly): Allow the message to be seen
5084 when invoked from the minibuffer (Bug#7014).
5085
5086 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5087
5088 * progmodes/ruby-mode.el (ruby-end-of-defun)
5089 (ruby-beginning-of-defun): Simplify, allow indentation before
5090 block beginning and end keywords.
5091 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5092 (ruby-end-of-defun): Expect that the point is at the beginning of
5093 the defun.
5094
5095 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5098 (bug#12367).
5099 (cl--make-usage-args): Strip _ from argument names.
5100
5101 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5102
5103 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5104 obsolete alias speedbar-key-map.
5105 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5106 (vhdl-index-menu-init): Don't use obsolete variable
5107 font-lock-maximum-size.
5108
5109 2012-09-06 Chong Yidong <cyd@gnu.org>
5110
5111 * frame.el (window-system-version): Mark as obsolete.
5112
5113 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5114 of obsolete variable speedbar-key-map.
5115
5116 2012-09-06 Juri Linkov <juri@jurta.org>
5117
5118 * replace.el (replace-lax-whitespace): New defcustom.
5119 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5120 (replace-string, replace-regexp): Mention it in docstrings.
5121 (perform-replace, replace-highlight): Let-bind
5122 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5123 to the values of replace-lax-whitespace and regexp-flag.
5124 Don't let-bind search-whitespace-regexp. (Bug#10885)
5125
5126 * isearch.el (isearch-query-replace): Let-bind
5127 replace-lax-whitespace instead of let-binding
5128 replace-search-function and replace-re-search-function.
5129 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5130 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5131 (isearch-toggle-symbol): Set isearch-regexp to nil
5132 in isearch-word mode (like in isearch-toggle-word).
5133
5134 2012-09-06 Juri Linkov <juri@jurta.org>
5135
5136 * replace.el (replace-search-function)
5137 (replace-re-search-function): Set default values to nil.
5138 (perform-replace): Let-bind isearch-related variables based on
5139 replace-related values, call `isearch-search-fun' and let-bind
5140 the result to `search-function'. Remove code that sets
5141 `search-function' and `search-string' separately for
5142 `delimited-flag'.
5143 (replace-highlight): Add new argument `delimited-flag' and
5144 rename other arguments to the names used in `perform-replace'.
5145 Let-bind `isearch-word' to the argument `delimited-flag'.
5146 (Bug#10885, bug#10887)
5147
5148 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5149
5150 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5151 ruby-beginning-of-indent, simplify, allow all keywords to have
5152 indentation before them.
5153 (ruby-beginning-of-indent): Adjust for above. Search until the
5154 found point is not inside a string or comment.
5155 (ruby-font-lock-keywords): Allow symbols to start with "@"
5156 character, give them higher priority than variables.
5157 (ruby-syntax-propertize-function)
5158 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5159 matchers. Expression expansions are not comments when inside a
5160 string, and there comment syntax status is irrelevant.
5161 (ruby-match-expression-expansion): New function. Check that
5162 expression expansion is inside a string, and it's not escaped.
5163 (ruby-font-lock-keywords): Use it.
5164
5165 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5166
5167 * help.el (temp-buffer-max-height): New default value.
5168 (temp-buffer-resize-frames): New option.
5169 (resize-temp-buffer-window): Optionally resize frame.
5170
5171 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5172 (fit-frame-to-buffer): New function.
5173
5174 2012-09-05 Glenn Morris <rgm@gnu.org>
5175
5176 * emulation/cua-rect.el (cua--init-rectangles):
5177 * textmodes/picture.el (picture-mode-map):
5178 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5179 like forward-char and backward-char. (Bug#12317)
5180
5181 2012-09-05 Leo Liu <sdl.web@gmail.com>
5182
5183 * progmodes/flymake.el (flymake-warning-re): New variable.
5184 (flymake-parse-line): Use it.
5185
5186 2012-09-05 Glenn Morris <rgm@gnu.org>
5187
5188 * calendar/holidays.el (holiday-christian-holidays):
5189 Rename an entry. (Bug#12289)
5190
5191 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5192
5193 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5194 (bug#12222).
5195
5196 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * loadup.el: Load macroexp. Remove hack.
5199 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5200 (macroexp--expand-all): Use it to get better warnings.
5201 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5202 (internal-macroexpand-for-load): New functions.
5203 (macroexp--pending-eager-loads): New var.
5204 (emacs-startup-hook): New hack to replace one in loadup.el.
5205 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5206 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5207 (cl-psetf): Simplify.
5208 (cl-defstruct): Add indent rule.
5209
5210 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5211
5212 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5213 over `user-mail-address' for the SMTP MAIL FROM envelope.
5214 (smtpmail-via-smtp): Ditto.
5215
5216 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5217
5218 * progmodes/ruby-mode.el: Clean up keybindings.
5219 (ruby-mode-map): Don't bind ruby-electric-brace,
5220 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5221 backward-kill-word, reindent-then-newline-and-indent.
5222 (ruby-mark-defun): Remove.
5223 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5224 (ruby-mode): Set local beginning-of-defun-function and
5225 end-of-defun-function values.
5226
5227 2012-09-03 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (temp-buffer-window-setup-hook)
5230 (temp-buffer-window-show-hook): New hooks.
5231 (temp-buffer-window-setup, temp-buffer-window-show)
5232 (with-temp-buffer-window): New functions.
5233 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5234 (special-display-popup-frame): Make sure the window used shows BUFFER.
5235
5236 * help.el (temp-buffer-resize-mode): Fix doc-string.
5237 (resize-temp-buffer-window): New optional argument WINDOW.
5238
5239 * files.el (recover-file, save-buffers-kill-emacs):
5240 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5241
5242 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5245 remote definition of `default-directory', ensure we can connect.
5246
5247 2012-09-02 Juri Linkov <juri@jurta.org>
5248
5249 Toggle whitespace matching mode with M-s SPC.
5250 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5251
5252 * isearch.el (search-whitespace-regexp): Doc fix.
5253 Remove cons cell customization.
5254 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5255 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5256 New variables.
5257 (isearch-forward, isearch-forward-regexp): Doc fix.
5258 (isearch-toggle-lax-whitespace): New command.
5259 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5260 (re-search-forward-lax-whitespace)
5261 (re-search-backward-lax-whitespace): New functions.
5262 (isearch-whitespace-regexp): Remove function.
5263 (isearch-query-replace): Let-bind replace-search-function and
5264 replace-re-search-function.
5265 (isearch-occur): Let-bind search-spaces-regexp according to the
5266 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5267 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5268 condition for C-q SPC.
5269 (isearch-search-fun-default): Use new functions mentioned above.
5270 (isearch-search-forward, isearch-search-backward): Remove functions.
5271 (isearch-search): Don't let-bind search-spaces-regexp.
5272 (isearch-lazy-highlight-space-regexp): Remove variable.
5273 (isearch-lazy-highlight-lax-whitespace)
5274 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5275 (isearch-lazy-highlight-new-loop): Use them.
5276 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5277
5278 2012-09-02 Chong Yidong <cyd@gnu.org>
5279
5280 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5281
5282 2012-09-02 Glenn Morris <rgm@gnu.org>
5283
5284 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5285
5286 2012-09-01 Glenn Morris <rgm@gnu.org>
5287
5288 * term.el: Tidy up menu definitions.
5289 (term-mode-map): Use easymenu for In/Out, Complete menus.
5290 (term-pager-break-map): Initialize in the defvar.
5291 (term-terminal-menu, term-signals-menu): Define with easymenu.
5292 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5293 (term-pager-menu): New, extracted from term-process-pager.
5294 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5295 (term-update-mode-line): Propertize line/char and page items.
5296 (term-process-pager): Move keymap initialization elsewhere.
5297
5298 2012-09-01 Martin Rudalics <rudalics@gmx.at>
5299
5300 * window.el (switch-to-prev-buffer): Handle additional values of
5301 BURY-OR-KILL argument. Don't switch in minibuffer window.
5302 (switch-to-next-buffer): Don't switch in minibuffer window.
5303 (quit-restore-window): New function based on quit-window.
5304 Handle additional values of former KILL argument.
5305 (quit-window): Call quit-restore-window with appropriate
5306 interpretation of KILL argument.
5307 (display-buffer-below-selected): New buffer display action
5308 function.
5309
5310 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * minibuffer.el (completion-at-point-functions): Complete docstring
5313 (bug#12254).
5314
5315 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5316
5317 Better seed support for (random).
5318 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5319 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5320 * play/mpuz.el, play/tetris.el, play/zone.el:
5321 * calc/calc-comb.el (math-init-random-base):
5322 * play/blackbox.el (bb-init-board):
5323 * play/life.el (life):
5324 * server.el (server-use-tcp):
5325 * type-break.el (type-break):
5326 Remove unnecessary call to (random t).
5327 * net/sasl.el (sasl-unique-id-function):
5328 Change (random t) to (random), now that the latter is more random.
5329 * play/life.el (life-initialized): Remove no-longer-needed var.
5330
5331 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5332
5333 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5334 Consider frame's buffer predicate when choosing the buffer.
5335 (Bug#12081)
5336
5337 2012-08-30 Richard Stallman <rms@gnu.org>
5338
5339 * simple.el (special-mode-map): Delete binding for `z'.
5340
5341 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5342
5343 * progmodes/compile.el (compilation-always-kill): Doc fix.
5344
5345 2012-08-30 Chong Yidong <cyd@gnu.org>
5346
5347 * window.el (display-buffer-reuse-frames): Make the obsolescence
5348 message more informative.
5349
5350 2012-08-30 Glenn Morris <rgm@gnu.org>
5351
5352 * paren.el (show-paren-delay):
5353 Add a :set function. Doc fix. (Bug#12297)
5354
5355 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5356
5357 * progmodes/compile.el (compilation-always-kill): New var.
5358 (compilation-start): Use it.
5359
5360 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5363 * files.el (read-only-mode): Move to simple.el.
5364
5365 * files.el (read-only-mode): New minor mode.
5366 (toggle-read-only): Use it and mark obsolete.
5367 (find-file--read-only):
5368 * vc/vc.el (vc-next-action, vc-checkout):
5369 * vc/vc-cvs.el (vc-cvs-checkout):
5370 * obsolete/vc-mcvs.el (vc-mcvs-update):
5371 * ffap.el (ffap--toggle-read-only): Update callers.
5372
5373 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
5374
5375 * eshell/esh-ext.el (eshell-external-command): Do not examine
5376 remote shell scripts.
5377 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5378
5379 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5380 "/usr/local/sbin".
5381
5382 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5385
5386 2012-08-28 Leo Liu <sdl.web@gmail.com>
5387
5388 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5389 completion-at-point. (Bug#12220)
5390
5391 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5392
5393 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5394
5395 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5398 be buffer-local; add delete-trailing-whitespace (bug#12259).
5399
5400 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
5401
5402 * progmodes/hideif.el (hif-compress-define-list):
5403 Fix typo. (Bug#11951)
5404
5405 2012-08-28 Dan Nicolaescu <dann@gnu.org>
5406
5407 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5408 buffer local setting.
5409
5410 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5411 rcirc-encode-coding-system.
5412
5413 2012-08-28 Leo Liu <sdl.web@gmail.com>
5414
5415 * net/rcirc.el (rcirc-split-message): New function.
5416 (rcirc-send-message): Use it. (Bug#12051)
5417
5418 2012-08-28 Juri Linkov <juri@jurta.org>
5419
5420 * info.el (Info-fontify-node): Hide empty lines at the end of
5421 the node. (Bug#12272)
5422
5423 2012-08-27 Drew Adams <drew.adams@oracle.com>
5424
5425 * dired.el (dired-pop-to-buffer): Make window start at beginning
5426 of buffer (Bug#12281).
5427
5428 2012-08-26 Chong Yidong <cyd@gnu.org>
5429
5430 * window.el (special-display-regexps, special-display-frame-alist)
5431 (special-display-buffer-names, special-display-function)
5432 (display-buffer-reuse-frames): Mark as obsolete.
5433
5434 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5435
5436 * help.el (help-print-return-message): Don't treat
5437 display-buffer-reuse-frames specially.
5438
5439 2012-08-26 Chong Yidong <cyd@gnu.org>
5440
5441 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5442 New variable, replacing gdb-frame-parameters.
5443 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5444 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5445 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5446 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5447 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5448 the functions directly with gdb-display-buffer-other-frame-action.
5449 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5450 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5451 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5452 (gdb-display-registers-buffer): Define directly.
5453 (def-gdb-display-buffer): Macro deleted.
5454 (gdb-display-buffer): Remove second and third args, callers don't
5455 use them. Defer to the default display-buffer behavior, apart
5456 from making windows dedicated.
5457 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5458
5459 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5460
5461 * window.el (display-buffer-pop-up-frame): Handle a
5462 pop-up-frame-parameters alist entry.
5463 (display-buffer): Document it.
5464
5465 2012-08-26 Chong Yidong <cyd@gnu.org>
5466
5467 * isearch.el (search-whitespace-regexp): Make string and nil
5468 values apply to both ordinary and regexp search. Allow a cons
5469 cell value to distinguish between the two.
5470 (isearch-whitespace-regexp, isearch-search-forward)
5471 (isearch-search-backward): New functions.
5472 (isearch-occur, isearch-search-fun-default, isearch-search)
5473 (isearch-lazy-highlight-new-loop): Use them.
5474 (isearch-forward, isearch-forward-regexp): Doc fix.
5475
5476 2012-08-26 Chong Yidong <cyd@gnu.org>
5477
5478 * faces.el (help-argument-name): Always inherit from italic
5479 (Bug#12213).
5480
5481 2012-08-25 Martin Rudalics <rudalics@gmx.at>
5482
5483 * window.el (window--even-window-heights): Even heights when
5484 WINDOW and the selected window form a vertical combination.
5485 (display-buffer-use-some-window): Provide that window used gets
5486 sized back by quit-window. (Bug#11880) and (Bug#12091)
5487
5488 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5489
5490 Fix file time stamp problem with bzr and CVS (Bug#12001).
5491 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5492 in the file's time stamp, since the version control system loses
5493 that information.
5494
5495 2012-08-22 Juri Linkov <juri@jurta.org>
5496
5497 * info.el (Info-fontify-node): Hide the suffix of the
5498 Info file name in the header line. (Bug#12187)
5499
5500 2012-08-22 Glenn Morris <rgm@gnu.org>
5501
5502 * calendar/cal-tex.el (cal-tex-weekly-common):
5503 Restore leading blank page.
5504
5505 2012-08-22 Le Wang <l26wang@gmail.com>
5506
5507 * misc.el (forward-to-word, backward-to-word): Activate or extend
5508 the region under `shift-select-mode'. (Bug#12231)
5509
5510 2012-08-22 Bastien Guerry <bzg@gnu.org>
5511
5512 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5513 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5514 gives details on why the space is never needed.
5515
5516 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (walk-window-tree, window-with-parameter):
5519 New optional argument MINIBUF to control whether these functions
5520 should run on the minibuffer window.
5521 (window-at-side-list): Don't operate on minibuffer window.
5522 (window-in-direction): Simplify and rewrite doc-string.
5523 (window--size-ignore): Rename to window--size-ignore-p.
5524 Update callers.
5525 (display-buffer-in-atom-window, window--major-non-side-window)
5526 (window--major-side-window, display-buffer-in-major-side-window)
5527 (delete-side-window, display-buffer-in-side-window):
5528 New functions.
5529 (window--side-check, window-deletable-p, delete-window)
5530 (delete-other-windows, split-window): Handle side windows and
5531 atomic windows appropriately.
5532 (window--display-buffer): Call display-buffer-record-window also
5533 when the window buffer did not change.
5534
5535 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5536
5537 * help-fns.el (help-fns--key-bindings):
5538 Abbreviate non-symbol remap targets. (Bug#12174)
5539
5540 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5541
5542 * dired.el (dired-mark-remembered): Don't clobber point.
5543 (Bug#11795)
5544
5545 2012-08-22 Glenn Morris <rgm@gnu.org>
5546
5547 * progmodes/bug-reference.el (bug-reference): New custom group.
5548 (bug-reference-bug-regexp): Make it a defcustom.
5549
5550 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5551
5552 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5553 (js-paren-indent-offset, js-square-indent-offset)
5554 (js-curly-indent-offset): Add :safe (Bug#12257).
5555
5556 2012-08-22 Edward O'Connor <hober0@gmail.com>
5557
5558 * json.el (json-key-format): Add error properties.
5559 (json-encode-key): New function.
5560 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5561 Use json-encode-key.
5562
5563 2012-08-22 Glenn Morris <rgm@gnu.org>
5564
5565 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5566 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5567 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5568 Update for above change.
5569
5570 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5571
5572 * cus-face.el (custom-face-attributes): Fix customize type for the
5573 :underline attribute. (Bug#11805)
5574
5575 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5576
5577 * window.el (window-point-1, set-window-point-1): Remove.
5578 (window-in-direction, record-window-buffer)
5579 (set-window-buffer-start-and-point, split-window-below)
5580 (window--state-get-1, display-buffer-record-window):
5581 Replace calls to window-point-1 and set-window-point-1 by calls to
5582 window-point and set-window-point respectively.
5583
5584 2012-08-21 Glenn Morris <rgm@gnu.org>
5585
5586 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5587 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5588 Use it.
5589
5590 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5591 (cal-tex-shortday): New function.
5592 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5593 (cal-tex-cursor-filofax-daily): Use the above.
5594
5595 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5596 New functions.
5597 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5598 (cal-tex-cursor-filofax-week): Use them.
5599
5600 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5601 New constants.
5602 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5603 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5604
5605 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5606 (cal-tex-end-document): Don't rely on buffer name.
5607
5608 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5609 Use cal-tex-vspace.
5610 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5611 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5612 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5613 Use cal-tex-arg.
5614
5615 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5616 (cal-tex-cursor-week, cal-tex-cursor-week2)
5617 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5618 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5619 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5620 (cal-tex-insert-preamble, cal-tex-b-document)
5621 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5622 Improve cal-tex-cmd usage.
5623
5624 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5625 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5626 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5627 (cal-tex-weekly-paper): New function.
5628 (cal-tex-cursor-week, cal-tex-cursor-week2)
5629 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5630 (cal-tex-cursor-day): Use it.
5631
5632 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5633 (cal-tex-cursor-filofax-week): Remove leading blank page.
5634
5635 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5636 Add autoload cookie. For now at least, don't use color, since
5637 no other cal-tex function does.
5638
5639 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5640 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5641 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5642
5643 2012-08-21 Juri Linkov <juri@jurta.org>
5644
5645 * info.el (Info-file-attributes): New variable.
5646 (info-insert-file-contents): Add file attributes to
5647 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5648 `Info-toc-nodes' when previous modtime of the Info file is less
5649 than new modtime.
5650 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5651 of info.el. (Bug#12230)
5652
5653 2012-08-20 Glenn Morris <rgm@gnu.org>
5654
5655 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5656 * calendar/holidays.el (calendar-holiday-list):
5657 Report errors with display-warning rather than beep'n'sleep.
5658
5659 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5660
5661 * net/tramp.el (tramp-accept-process-output): Accept only output
5662 from PROC. Otherwise, process filters and sentinels might be
5663 confused. (Bug#12145)
5664
5665 2012-08-20 Chong Yidong <cyd@gnu.org>
5666
5667 * descr-text.el (describe-text-properties-1): Use overlays-in to
5668 report on empty overlays (Bug#3322).
5669
5670 2012-08-20 Glenn Morris <rgm@gnu.org>
5671
5672 * mail/rmailout.el (rmail-output-read-file-name):
5673 Trap and report errors in rmail-output-file-alist elements.
5674
5675 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5676 since most non-font-lock faces are not also variables).
5677
5678 2012-08-20 Edward Reingold <reingold@iit.edu>
5679
5680 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5681 New function. (Bug12160)
5682
5683 2012-08-19 Glenn Morris <rgm@gnu.org>
5684
5685 * mail/rmailout.el (rmail-output-read-file-name):
5686 Fix previous change (when the alist is nil or does not match).
5687
5688 2012-08-19 Chong Yidong <cyd@gnu.org>
5689
5690 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5691 (Bug#12228).
5692
5693 2012-08-18 Chong Yidong <cyd@gnu.org>
5694
5695 * simple.el (yank-handled-properties): New defcustom.
5696 (yank-excluded-properties): Add font-lock-face and category.
5697 (yank): Doc fix.
5698
5699 * subr.el (remove-yank-excluded-properties):
5700 Obey yank-handled-properties. The special handling of font-lock-face
5701 and category is now done this way, instead of being hard-coded.
5702 (insert-for-yank-1): Remove font-lock-face handling.
5703 (yank-handle-font-lock-face-property)
5704 (yank-handle-category-property): New function.
5705
5706 2012-08-17 Glenn Morris <rgm@gnu.org>
5707
5708 * mail/rmailout.el (rmail-output-read-file-name):
5709 Check rmail-output-file-alist against the full message body
5710 in the correct rmail buffer. (Bug#12214)
5711
5712 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5713
5714 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5715 Eliminate superfluous prompt. (Bug#12203)
5716
5717 2012-08-17 Chong Yidong <cyd@gnu.org>
5718
5719 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5720 font spec, set the font directly (Bug#3228).
5721
5722 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5723
5724 * window.el (delete-window): Fix last fix.
5725
5726 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5727
5728 * window.el (window-valid-p): Move to window.c.
5729 (window-child, window-child-count, window-last-child)
5730 (window-normalize-window, window-combined-p)
5731 (window-combinations, window-atom-root, window-min-size)
5732 (window-sizable, window-sizable-p, window-size-fixed-p)
5733 (window-min-delta, window-max-delta, window--resizable)
5734 (window--resizable-p, window-resizable, window-total-size)
5735 (window-full-height-p, window-full-width-p, window-body-size)
5736 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5737 (minimize-window, window-deletable-p, delete-window)
5738 (delete-other-windows, set-window-buffer-start-and-point)
5739 (next-buffer, previous-buffer, split-window, balance-windows-2)
5740 (set-window-text-height, window-buffer-height)
5741 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5742 (truncated-partial-width-window-p): Minor code adjustments.
5743 In doc-strings state whether the argument window has to denote a
5744 live, valid or any window.
5745
5746 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5747
5748 * progmodes/subword.el (subword-forward-function)
5749 (subword-backward-function, subword-forward-regexp)
5750 (subword-backward-regexp): New variables.
5751 (subword-forward, subword-forward-internal, subword-backward-internal):
5752 Use new variables, eg so that different "word" definitions
5753 can be easily used. (Bug#11411)
5754
5755 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5758 for composite selectors.
5759 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5760 operation just because we can't find a previous revision.
5761
5762 2012-08-15 Chong Yidong <cyd@gnu.org>
5763
5764 * frame.el (set-frame-font): Accept font objects.
5765
5766 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5769
5770 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5771
5772 * man.el (Man-overstrike-face, Man-underline-face)
5773 (Man-reverse-face): Remove variables.
5774 (Man-overstrike, Man-underline, Man-reverse): New faces.
5775 (Man-fontify-manpage): Use them instead of the variables.
5776 (Man-cleanup-manpage): Comment change.
5777 (Man-ansi-color-map): New variable.
5778 (Man-fontify-manpage): Use it.
5779 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5780
5781 Implement ANSI SGR parameters 22-27 (bug#12146).
5782 * ansi-color.el (ansi-colors): Doc fix.
5783 (ansi-color-context, ansi-color-context-region): Doc fix.
5784 (ansi-color--find-face): New function.
5785 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5786 Rename the local variable `face' to `codes' since it is now a list of
5787 ansi codes. Doc fix.
5788 (ansi-color-get-face): Remove.
5789 (ansi-color-parse-sequence): New function, derived from
5790 ansi-color-get-face.
5791 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5792 codes 22-27.
5793
5794 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * subr.el (read-passwd): Allow use from a minibuffer.
5797
5798 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5799
5800 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5801 inside comments and strings as identifiers.
5802
5803 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5804 expression to evaluate. This allows to evaluate expressions with
5805 embedded whitespace.
5806 (gud-tooltip-tips): Add a blank before the newline in the
5807 message-box text, for the benefit of message-box emulation on
5808 MS-Windows.
5809
5810 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5811 messages from GDB, pop them up in a tooltip to give feedback to
5812 user.
5813 (gdb-tooltip-print-1): Quote the expression to evaluate.
5814 This allows to evaluate expressions with embedded whitespace.
5815 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5816 if the TTY name is nil or empty (which happens when communicating
5817 with the inferior via pipes, e.g. on MS-Windows).
5818 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5819 don't send that to the GUD buffer.
5820
5821 2012-08-14 Glenn Morris <rgm@gnu.org>
5822
5823 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5824 Optimize away setq-default with no args, as for setq. (Bug#12195)
5825
5826 2012-08-14 Chong Yidong <cyd@gnu.org>
5827
5828 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5829
5830 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5831 (Bug#12085).
5832
5833 2012-08-14 Glenn Morris <rgm@gnu.org>
5834
5835 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5836
5837 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5840 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5841 Use cached shell name.
5842
5843 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5844
5845 * progmodes/python.el (python-shell-send-string):
5846 (python-shell-send-setup-code): Do not use `format' with `message'.
5847
5848 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5849
5850 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5851 (ruby-percent-literal-beg-re): New constant.
5852 (ruby-syntax-general-delimiters-goto-beg): Rename to
5853 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5854 (ruby-syntax-propertize-general-delimiters): Rename to
5855 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5856 popular term. Adjust comments everywhere.
5857 (ruby-syntax-propertize-percent-literal): Only propertize when not
5858 inside a simple string or comment. When the literal is unclosed,
5859 leave the text after it unpropertized.
5860 (ruby-syntax-methods-before-regexp): New constant.
5861 (ruby-syntax-propertize-function): Use it to recognize regexps.
5862 Don't look at the text after regexp, just use the whitelist.
5863
5864 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5865
5866 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5867 non-nil always load the compiled file if it exists. (Bug#12197)
5868
5869 2012-08-14 Chong Yidong <cyd@gnu.org>
5870
5871 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5872 (hi-lock-set-pattern): When deciding whether to use font lock or
5873 overlays, look at font-lock-mode instead of font-lock-fontified
5874 (Bug#12168).
5875 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5876 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5877
5878 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5879
5880 * subr.el (internal--after-with-selected-window): Fix typo
5881 (Bug#12193).
5882
5883 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5884
5885 Use `completion-table-dynamic' for completion functions.
5886 * progmodes/python.el
5887 (python-shell-completion--do-completion-at-point)
5888 (python-shell-completion--get-completions):
5889 Remove functions.
5890 (python-shell-completion-complete-at-point): New function.
5891 (python-completion-complete-at-point): Use it.
5892
5893 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5894
5895 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5896 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5897
5898 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * subr.el (function-get): Refine `autoload' arg so it can also
5901 autoload functions for gv.el (bug#12191).
5902 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5903 autoloads macros.
5904
5905 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5906 Prefer pcase-let over destructuring-bind.
5907 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5908 Also, remove whitespace as we go, rather than after accumulating the
5909 various places.
5910
5911 * subr.el (internal--before-with-selected-window)
5912 (internal--after-with-selected-window): Fix typo seleted->selected.
5913 (with-selected-window): Adjust callers.
5914 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5915
5916 2012-08-13 Bastien Guerry <bzg@gnu.org>
5917
5918 * window.el (special-display-popup-frame): Minor docstring
5919 enhancement. (Bug#12172)
5920
5921 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5922
5923 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5924 type 1-6.
5925 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5926 extended headers.
5927
5928 * files.el (hack-local-variables-filter): Remove useless eval.
5929
5930 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5931
5932 * subr.el (with-selected-window): Fix last change.
5933
5934 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * subr.el (internal--before-with-seleted-window)
5937 (internal--after-with-seleted-window): New functions.
5938 (with-selected-window): Use them, to replace dependency on
5939 tty-top-frame.
5940
5941 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5942
5943 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5944 binding for `newline'.
5945 (ruby-move-to-block): When moving backward, stop at block opening,
5946 not indentation.
5947 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5948 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5949 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5950 `ruby-toggle-block'.
5951
5952 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * ibuffer.el (ibuffer-do-toggle-read-only):
5955 * dired.el (dired-toggle-read-only):
5956 * buff-menu.el (Buffer-menu-toggle-read-only):
5957 * bindings.el (mode-line-toggle-read-only):
5958 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5959
5960 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5961
5962 * descr-text.el (describe-char): Put the overlays over the
5963 "displayed as" character.
5964
5965 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5966
5967 * calc/calc-units.el (math-default-units-table): Give an
5968 initial value.
5969 (math-put-default-units): Add options to put composite units and
5970 unit systems in the default units table.
5971 (calc-convert-units): Send composite units to
5972 `math-put-default-units' when appropriate.
5973
5974 2012-08-11 Glenn Morris <rgm@gnu.org>
5975
5976 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5977
5978 * tutorial.el (help-with-tutorial):
5979 * emacs-lisp/copyright.el (copyright-update-directory):
5980 * emacs-lisp/autoload.el (autoload-find-generated-file)
5981 (autoload-find-file): Disable local eval: (for insurance).
5982
5983 * files.el (hack-local-variables-filter): If an eval: form is not
5984 known to be safe, and enable-local-variables is :safe, then ignore
5985 the form totally, as is done for non-eval forms. (Bug#12155)
5986 This is CVE-2012-3479.
5987
5988 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5991 (rx-form): Simplify.
5992
5993 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5994
5995 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5996 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5997 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5998 (ruby-syntax-propertize-function): Adjust for changes in
5999 `ruby-syntax-propertize-heredoc'.
6000
6001 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6002
6003 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6004 binding (use `M-;' instead).
6005 (ruby-singleton-class-p): New function.
6006 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
6007
6008 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6011
6012 2012-08-10 Chong Yidong <cyd@gnu.org>
6013
6014 * progmodes/python.el (python-shell-get-process-name): Don't mess
6015 with same-window-buffer-names.
6016
6017 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6018 (eshell-remove-from-window-buffer-names): Make obsolete.
6019 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6020 (eshell): Just use pop-to-buffer-same-window instead.
6021
6022 2012-08-10 Chong Yidong <cyd@gnu.org>
6023
6024 * bindings.el: Bind M-= back to count-words-region.
6025
6026 * simple.el (count-words-region): Accept a prefix arg for acting
6027 on the entire buffer.
6028 (count-words--buffer-message): New helper function.
6029
6030 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6033 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6034 (event-start, event-end): Use posn-at-point to return a more
6035 informative posn.
6036 (posnp): New function.
6037 * mouse.el (popup-menu-normalize-position): Use it.
6038
6039 2012-08-10 Masatake YAMATO <yamato@redhat.com>
6040
6041 * mouse.el (popup-menu-normalize-position): New function.
6042 (popup-menu): Use `popup-menu-normalize-position' to normalize
6043 the form for POSITION argument.
6044
6045 * term/x-win.el (x-menu-bar-open):
6046 Use the value returend from (posn-at-point) as position
6047 passed to `popup-menu'.
6048
6049 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6050
6051 * calc/calccomp.el (math-compose-expr): Add extra argument
6052 indicating that parentheses should be put around products in
6053 denominators. Give multiplication precedence over division during
6054 composition.
6055
6056 2012-08-09 Chong Yidong <cyd@gnu.org>
6057
6058 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6059 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6060 (Man-untabify-command, manual-program): Convert to defcustom
6061 (Bug#10429).
6062
6063 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6064
6065 * descr-text.el (describe-char): Don't insert extra newlines
6066 (Bug#10127).
6067
6068 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6069 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6070
6071 * align.el (align-region): Delete temporary markers (Bug#10047).
6072 Plus some code cleanups.
6073
6074 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6075
6076 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6077 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6078 (python-shell-internal-last-output): Use make-local-variable
6079 instead of make-variable-buffer-local.
6080
6081 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6082
6083 * progmodes/python.el: Enhancements to forward-sexp.
6084 (python-nav-forward-sexp): Rename from
6085 python-nav-forward-sexp-function.
6086 (python-nav--forward-sexp, python-nav--backward-sexp):
6087 New functions.
6088
6089 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6090
6091 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6092 modes and simplification modes.
6093
6094 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * delsel.el (delete-selection-pre-hook): Don't propagate the
6097 file-supersession signals (bug#12161).
6098
6099 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6102 (cl-map-extents): Add compatibility aliases (bug#12135).
6103
6104 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
6105
6106 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6107 tests by `ignore-error'.
6108 (tramp-find-shell): Open also a new shell, when cache is already
6109 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6110
6111 2012-08-08 Juri Linkov <juri@jurta.org>
6112
6113 * bookmark.el: Add `defaults' property to the bookmark record.
6114 (bookmark-current-buffer): Doc fix.
6115 (bookmark-make-record): Add `defaults' property with default values
6116 to the bookmark record.
6117 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6118 with `bookmark-insert-current-bookmark'.
6119 (bookmark-set): Get `defaults' property from the bookmark record
6120 and use it in `read-from-minibuffer'.
6121 (bookmark-insert-current-bookmark): Remove function.
6122
6123 * info.el (Info-bookmark-make-record): Add `defaults' property
6124 with values of canonical Info node name, the current Info file
6125 name and the current Info node name. (Bug#12107)
6126
6127 2012-08-08 Juri Linkov <juri@jurta.org>
6128
6129 * files.el (basic-save-buffer): Use `buffer-name' as the default
6130 of `read-file-name' when buffer is not visiting a file (bug#12128).
6131
6132 2012-08-08 Juri Linkov <juri@jurta.org>
6133
6134 * info.el (Info-isearch-search): Doc fix.
6135 (Info-search): Change search-failed message from "initial node" to
6136 "end of node" (bug#12078).
6137 (Info-isearch-search): Change `isearch-string-state' to
6138 `isearch--state-string'.
6139
6140 2012-08-08 Glenn Morris <rgm@gnu.org>
6141
6142 * language/persian.el: Remove file.
6143 * language/misc-lang.el: Move unique part of persian.el here.
6144 * loadup.el: Remove language/persian.
6145
6146 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6147
6148 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6149
6150 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6151
6152 * progmodes/python.el: Fix defsubst warning.
6153 (python-syntax-context) Rename from python-info-ppss-context.
6154 (python-syntax-context-type): Rename from
6155 python-info-ppss-context-type.
6156 (python-syntax-comment-or-string-p): Rename from
6157 python-info-ppss-comment-or-string-p.
6158
6159 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6160
6161 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6162
6163 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6164
6165 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6166 a defcustom that is quoted with backquote.
6167
6168 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6169 Fix handling of interactive spec when the body uses return.
6170 (math-do-arg-check, math-define-function-body): Use backquote forms.
6171 * calc/calc-ext.el (math-defcache): Likewise.
6172 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6173 * allout.el (allout-new-exposure): Likewise.
6174 * calc/calcalg2.el (math-tracing-integral): Likewise.
6175 * info.el (Info-last-menu-item): Likewise.
6176 * emulation/vip.el (vip-loop): Likewise.
6177 * textmodes/artist.el (artist-funcall): Likewise.
6178 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6179 Construct menu-item directly.
6180
6181 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6182 Don't declare.
6183
6184 2012-08-07 Chong Yidong <cyd@gnu.org>
6185
6186 * simple.el (deactivate-mark): Preserve text properties when
6187 saving the primary selection (Bug#8384).
6188
6189 2012-08-07 Kevin Ryde <user42@zip.com.au>
6190
6191 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6192 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6193 and continue processing (Bug#12110).
6194
6195 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6198 syntax-propertize-function (bug#10095).
6199
6200 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6203 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6204 describe-function-1.
6205 (describe-function-1): Use them. Move compiler macro after sig.
6206 (help-fns--compiler-macro): Use function-get. Assume we're already in
6207 standard-output. Adjust layout to new call order.
6208
6209 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6210 re-binding a symbol that has a symbol-macro (bug#12119).
6211
6212 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6213
6214 * language/persian.el: New file. (Bug#11812)
6215 * loadup.el: Add language/persian.el.
6216
6217 2012-08-06 Chong Yidong <cyd@gnu.org>
6218
6219 * window.el (window--maybe-raise-frame): New function.
6220 (window--display-buffer): Split off from here.
6221 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6222 (display-buffer-pop-up-window, display-buffer-use-some-window):
6223 Obey an inhibit-switch-frame action alist entry.
6224 (display-buffer): Update doc.
6225
6226 * replace.el (occur-after-change-function): Avoid losing focus by
6227 using the inhibit-switch-frame display parameter (Bug#12139).
6228
6229 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6230
6231 Make internal shell process buffer names start with space.
6232 * progmodes/python.el (python-shell-make-comint): Add optional
6233 argument INTERNAL.
6234 (run-python-internal): Use it.
6235 (python-shell-internal-get-or-create-process): Check for new
6236 internal buffer names.
6237
6238 2012-08-06 Glenn Morris <rgm@gnu.org>
6239
6240 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6241 Do less getting and setting of environment variables.
6242
6243 2012-08-05 Chong Yidong <cyd@gnu.org>
6244
6245 * proced.el (proced): Add substitution string to docstring to
6246 trigger autoloading of the proced library on C-h f (Bug#1768).
6247
6248 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6249 Don't show defvars which have no second argument (Bug#8638).
6250
6251 * imenu.el (imenu-generic-expression): Move documentation here
6252 from imenu--generic-function.
6253 (imenu--generic-function): Refer to imenu-generic-expression.
6254
6255 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
6256
6257 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6258 indentation declaration.
6259 (viper-loop): Add indentation declaration (Bug#7025).
6260
6261 2012-08-05 Chong Yidong <cyd@gnu.org>
6262
6263 * help-fns.el (describe-variable): Add hyperlink for
6264 directory-local variables files. Improve buffer-local and
6265 permanent-local reporting; suggested by MON KEY (Bug#6644).
6266
6267 * help-mode.el (help-dir-local-var-def): New button type.
6268
6269 * files.el (kill-buffer-hook): Provide a defvar.
6270
6271 2012-08-05 Glenn Morris <rgm@gnu.org>
6272
6273 * eshell/esh-ext.el (eshell/addpath):
6274 Also update eshell-path-env. (Bug#12013)
6275
6276 2012-08-05 Chong Yidong <cyd@gnu.org>
6277
6278 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
6279
6280 * fringe.el (fringe-styles): Add docstring.
6281 (fringe--check-mode): New function.
6282 (set-fringe-mode, set-fringe-style): Use it.
6283 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6284
6285 * files.el (set-auto-mode): Fix invalid setq call.
6286
6287 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * isearch.el: Misc simplification; use defstruct.
6290 (isearch-mode-map): Dense maps now work like sparse ones.
6291 (isearch--state): New defstruct.
6292 (isearch-string-state, isearch-message-state, isearch-point-state)
6293 (isearch-success-state, isearch-forward-state)
6294 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6295 (isearch-wrapped-state, isearch-barrier-state)
6296 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6297 replaced by defstruct's accessors.
6298 (isearch--set-state): Rename from isearch-top-state and change
6299 calling convention.
6300 (isearch-push-state): Use new isearch--get-state.
6301 (isearch-toggle-word): Disable regexp when enabling word.
6302 (isearch-message-prefix): Remove unused arg _c-q-hack.
6303 (isearch-message-suffix): Remove unused arg _ellipsis.
6304
6305 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6306
6307 * simple.el (list-processes--refresh): For a server use :host or
6308 :local as the address.
6309 (list-processes): Doc fix.
6310
6311 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
6312
6313 * lisp/mpc.el: Support password in host argument.
6314 (mpc--proc-connect): Parse and use new password element.
6315 Set mpc-proc variable instead of returning process.
6316 (mpc-proc): Adjust accordingly.
6317
6318 2012-08-03 Eli Zaretskii <eliz@gnu.org>
6319
6320 * whitespace.el (whitespace-display-mappings): Use Unicode
6321 codepoints, instead of emacs-mule codepoints. See
6322 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6323 for the details.
6324
6325 * files.el (file-truename): Don't skip symlink-chasing part on
6326 windows-nt. Incorporate the resolution of 8+3 short aliases on
6327 Windows into the loop that recursively chases symlinks.
6328 Compare directory and its parent case-insensitively on MS-Windows and
6329 MS-DOS.
6330
6331 2012-08-03 Chong Yidong <cyd@gnu.org>
6332
6333 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6334
6335 * sort.el (sort-regexp-fields): Doc fix.
6336
6337 2012-08-03 Tassilo Horn <tsdh@gnu.org>
6338
6339 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6340 labels regex position point at the expected place.
6341
6342 2012-08-03 MON KEY <monkey@sandpframing.com>
6343
6344 * net/imap.el (imap-interactive-login, imap-authenticate)
6345 (imap-mailbox-lsub, imap-mailbox-list)
6346 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6347 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6348 (imap-parse-response): Doc fix.
6349
6350 2012-08-03 João Távora <joaotavora@gmail.com>
6351
6352 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6353 if sexp scanning does not move point (Bug#5734).
6354
6355 2012-08-02 Tassilo Horn <tsdh@gnu.org>
6356
6357 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6358 Add listings, minted, and ctable packages.
6359 (reftex-label-alist-builtin): Move listings, minted, and ctable
6360 entries before LaTeX.
6361 (reftex-label-alist): Docfix.
6362
6363 2012-08-02 Bastien Guerry <bzg@gnu.org>
6364
6365 * replace.el (occur): Fix docstring (bug#12122).
6366
6367 2012-08-02 Glenn Morris <rgm@gnu.org>
6368
6369 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6370
6371 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6372
6373 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6374 * international/mule-cmds.el: Create
6375 inactivate-current-input-method-function as an obsolete alias for
6376 deactivate-current-input-method-function. See Katsumi Yamaoka in
6377 <http://bugs.gnu.org/10150#46>.
6378
6379 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6380
6381 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6382 of nested `if's.
6383
6384 2012-08-01 Glenn Morris <rgm@gnu.org>
6385
6386 * progmodes/autoconf.el (autoconf-definition-regexp):
6387 Add AH_TEMPLATE, adjust submatch numbering.
6388 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6389 (autoconf-current-defun-function): Update for above change.
6390 (autoconf-current-defun-function): First skip to end of current word.
6391
6392 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6393
6394 * calendar/cal-html.el (cal-html-insert-agenda-days):
6395 Fix typo. (Bug#12018)
6396
6397 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6398
6399 Shell processes: enhancements to startup and CEDET compatibility.
6400 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6401 (python-shell-make-comint): accept-process-output at startup.
6402 (run-python-internal): Set inferior-python-mode-hook to nil.
6403 (python-shell-internal-get-or-create-process): call sit-for.
6404 (python-preoutput-result): Add obsolete alias.
6405 (python-shell-internal-send-string): Use it.
6406 (python-shell-send-setup-code): Remove call to
6407 accept-process-output.
6408
6409 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6410
6411 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6412 (Bug#12108)
6413
6414 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6415
6416 * calc-mode.el (calc-basic-simplification-mode): Rename from
6417 `calc-limited-simplification-mode'.
6418 (calc-alg-simplification-mode): New function.
6419 (calc-set-simplify-mode): Adjust message.
6420
6421 * calc.el (calc-set-mode-line): Adjust mode line display for
6422 basic simplification mode.
6423
6424 * calc-help.el (calc-m-prefix-help): Update help message.
6425
6426 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6427 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6428
6429 2012-07-31 Bastien Guerry <bzg@gnu.org>
6430
6431 * man.el (man): Fix comment. (bug#12101)
6432
6433 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6434
6435 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6436 Don't return a non-nil value when no suitable buffer was found.
6437
6438 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6439
6440 * progmodes/python.el (run-python-internal): Disable font lock for
6441 internal shells.
6442
6443 2012-07-30 Stefan Merten <smerten@oekonux.de>
6444
6445 * textmodes/rst.el: Silence `checkdoc-ispell'.
6446 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6447 (rst-official-version, rst-official-cvs-rev)
6448 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6449 (rst-mode-map): New key binding.
6450
6451 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6452
6453 Update .PHONY listings in makefiles.
6454 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6455 autoloads, update-subdirs, updates, bzr-update, update-authors,
6456 compile-onefile, compile-calc, backup-compiled-files,
6457 compile-after-backup, compile-one-process, mh-autoloads,
6458 bootstrap-clean, distclean, maintainer-clean.
6459
6460 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6461
6462 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6463 (calc-set-mode-line): Don't display "AlgSimp ".
6464
6465 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6466 (calc-lim-simplify-mode): New function.
6467 (calc-set-simplify-mode): Default to 'alg.
6468 (calc-default-simplify-mode): Make algebraic simplifications
6469 the default.
6470
6471 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6472 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6473
6474 * calc/calc-help.el (calc-m-prefix-help): Change messages to
6475 indicate new simplification modes.
6476
6477 * calc/README: Mention new default simplification mode.
6478
6479 * calc/calc.el (math-normalize-error): New variable.
6480 (math-normalize): Set `math-normalize-error' to t
6481 when there's an error.
6482
6483 * calc/calc-alg.el (math-simplify): Don't simplify when
6484 `math-normalize' returns an error.
6485
6486 2012-07-29 Eli Zaretskii <eliz@gnu.org>
6487
6488 * international/mule-cmds.el (set-locale-environment): Revert last
6489 change, since display-graphic-p returns nil when this function is
6490 called during startup. Instead...
6491
6492 * term/w32console.el (terminal-init-w32console): ...setup the
6493 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6494
6495 2012-07-29 Juri Linkov <juri@jurta.org>
6496
6497 * simple.el (goto-line): Don't display default line number in the
6498 prompt because it should be displayed by `read-number' (bug#9952).
6499 Add the current line number to the defaults of `goto-line' to
6500 allow its easier modification by users with `M-n' (bug#9201).
6501
6502 * subr.el (read-number): Support multiple default values like in
6503 other minibuffer reading functions. Replace `read' with
6504 `string-to-number' for consistency with `number-to-string'.
6505
6506 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6507
6508 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6509 * emulation/viper-init.el (viper-deactivate-input-method-action):
6510 Rename from viper-inactivate-input-method-action.
6511 (viper-deactivate-input-method):
6512 Rename from viper-inactivate-input-method.
6513 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6514 * international/mule-cmds.el (deactivate-input-method):
6515 Rename from inactivate-input-method.
6516 Also run input-method-deactivate-hook.
6517 (deactivate-current-input-method-function):
6518 Rename from inactivate-current-input-method-function.
6519 (input-method-deactivate-hook): New hook.
6520 (input-method-inactivate-hook): Mark obsolete.
6521 (inactivate-input-method): Mark obsolete.
6522
6523 * international/quail.el (quail-activate):
6524 Also run quail-deactivate-hook.
6525 (quail-deactivate): Rename from quail-inactivate.
6526 * international/robin.el (robin-activate):
6527 Also run robin-deactivate-hook.
6528 (robin-deactivate): Rename from robin-inactivate.
6529
6530 2012-07-29 Chong Yidong <cyd@gnu.org>
6531
6532 * simple.el (indicate-copied-region): New function.
6533 (kill-ring-save): Split off from here.
6534
6535 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6536 (kill-rectangle): Set deactivate-mark to t on read-only error.
6537
6538 * register.el (copy-to-register, copy-rectangle-to-register):
6539 Deactivate the mark, and use indicate-copied-region (Bug#10056).
6540 (append-to-register, prepend-to-register): Call indicate-copied-region.
6541
6542 2012-07-29 Juri Linkov <juri@jurta.org>
6543
6544 * simple.el (async-shell-command-buffer): New defcustom.
6545 (shell-command): Use it. (Bug#4719)
6546
6547 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6548
6549 * international/mule-cmds.el (set-locale-environment): In a
6550 console session on MS-Windows, set up keyboard and terminal
6551 encoding from the OEM codepage, not the ANSI codepage.
6552 (Bug#12055)
6553
6554 2012-07-28 Chong Yidong <cyd@gnu.org>
6555
6556 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6557 gdb-get-location.
6558
6559 2012-07-28 Leo Liu <sdl.web@gmail.com>
6560
6561 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6562 the alist (bug#12029).
6563
6564 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6565
6566 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6567 (compile-always, compile-first)
6568 ($(lisp)/calendar/cal-loaddefs.el)
6569 ($(lisp)/calendar/diary-loaddefs.el)
6570 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6571 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6572 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6573 instead of on update-subdirs.
6574 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6575
6576 2012-07-28 Chong Yidong <cyd@gnu.org>
6577
6578 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6579 directory if vc-deduce-backend returns nil (Bug#7350).
6580
6581 * simple.el (delete-trailing-lines): New option.
6582 (delete-trailing-whitespace): Obey it (Bug#11879).
6583
6584 2012-07-28 David Engster <deng@randomsample.de>
6585
6586 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6587 Explanation of new 'symbol-qnames feature in doc-strings.
6588 (xml-maybe-do-ns): Return expanded names as plain symbols if
6589 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6590 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6591
6592 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6593
6594 Consistent completion in inferior python with emacs -nw.
6595 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6596 binding in inferior-python-mode-map with "\t".
6597 (python-shell-completion-complete-at-point)
6598 (python-completion-complete-at-point): Remove interactive spec.
6599
6600 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6601
6602 * calc/calccomp.el (math-compose-expr): Undo previous change.
6603
6604 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6605
6606 * progmodes/python.el (python-mode-map): Add keybinding for
6607 run-python.
6608 (python-shell-make-comint): Fix pop-to-buffer call.
6609 (run-python): Autoload. New arg SHOW.
6610 (python-shell-get-or-create-process): Do not pop python process
6611 buffer.
6612
6613 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6614
6615 * notifications.el (notifications-on-action-signal)
6616 (notifications-on-closed-signal): Use also the bus address for the map.
6617 (notifications-notify, notifications-close-notification)
6618 (notifications-get-capabilities): Add optional argument BUS.
6619
6620 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6621
6622 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6623 Add support for the lstlisting and minted environments, and for the
6624 ctable macro.
6625 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6626 labels written in keyvals syntax.
6627
6628 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6629
6630 * calc/calccomp.el (math-compose-expr): Use parentheses when
6631 there is a product in the denominator of a fraction.
6632
6633 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6634
6635 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6636 ($(lisp)/calendar/diary-loaddefs.el)
6637 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6638 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6639 Fixes failures in parallel bootstrap because subdirs.el is being
6640 rewritten while the autoload files are built at the same time,
6641 which needs to load subdirs.el.
6642
6643 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6644
6645 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6646 (mouse-drag-line): Don't exit tracking when a switch-frame or
6647 switch-window event occurs (Bug#12006).
6648
6649 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * mouse.el (popup-menu): Fix last change.
6652
6653 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 Autoload from Lisp with more care. Follow aliases when looking for
6656 function properties.
6657 * subr.el (autoloadp): New function.
6658 (symbol-file): Use it.
6659 (function-get): New function.
6660 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6661 autoload-do-load.
6662 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6663 (lisp-indent-function):
6664 * emacs-lisp/gv.el (gv-get):
6665 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6666 * emacs-lisp/byte-opt.el (byte-optimize-form):
6667 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6668 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6669 Use function-get.
6670 * emacs-lisp/cl.el: Don't propagate function properties any more.
6671
6672 * speedbar.el (speedbar-add-localized-speedbar-support):
6673 * emacs-lisp/disass.el (disassemble-internal):
6674 * desktop.el (desktop-load-file):
6675 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6676 (describe-function-1):
6677 * emacs-lisp/find-func.el (find-function-noselect):
6678 * emacs-lisp/elp.el (elp-instrument-function):
6679 * emacs-lisp/advice.el (ad-has-proper-definition):
6680 * apropos.el (apropos-safe-documentation, apropos-macrop):
6681 * emacs-lisp/debug.el (debug-on-entry):
6682 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6683 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6684 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6685
6686 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6687
6688 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6689 function, not an obsolete variable (Bug#12046).
6690
6691 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6692
6693 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6694
6695 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6696
6697 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6698 window only if it is still live (Bug#12034).
6699
6700 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6701
6702 * subr.el (redirect-frame-focus): Add advertised calling
6703 convention (Bug#12030).
6704
6705 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6706
6707 Prefer typical American spelling for "acknowledgment".
6708 * vc/add-log.el (change-log-acknowledgment): Rename from
6709 change-log-acknowledgement, with an alias for the old name.
6710
6711 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6712
6713 * calc-alg.el (math-simplify-divide): Don't cross multiply
6714 in an equation when the lhs is a variable.
6715
6716 2012-07-24 Julien Danjou <julien@danjou.info>
6717
6718 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6719 Remove, unused.
6720
6721 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6722
6723 * startup.el (command-line): Don't display an empty user name in
6724 the error message about non-existent home directory, when
6725 init-file-user was set to an empty string. See
6726 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6727 for the details and context.
6728
6729 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6730
6731 * ses.el (ses-cell-formula-aset): New macro.
6732 (ses-cell-references-aset): New macro.
6733 (ses-cell-p): New function.
6734 (ses-rename-cell): Do no longer rely on complex operations like
6735 ses-cell-set-formula or ses-set-cell to change the cell and handle
6736 the undo at the same time, but rather use lower level new macros
6737 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6738 the undo directly. Refresh the mode line.
6739
6740 2012-07-21 Leo Liu <sdl.web@gmail.com>
6741
6742 * progmodes/cc-cmds.el (c-defun-name):
6743 Use match-string-no-properties instead for consistency.
6744
6745 2012-07-20 Leo Liu <sdl.web@gmail.com>
6746
6747 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6748 (Bug#7879)
6749
6750 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6751
6752 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6755 * progmodes/bug-reference.el, misearch.el: Provide themselves
6756 (bug#11915).
6757
6758 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6759 of narrowed buffer (bug#11966).
6760
6761 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6762
6763 * ses.el (ses-rename-cell): Set new name also in reference list of
6764 cells of which the renamed cell depends.
6765
6766 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6767
6768 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6769 to check whether menu-bar is shown or not. If not shown,
6770 show the menu-bar as a popup menu instead of using tmm.
6771 * mouse.el (popup-menu): Accept `point' as `position' argument.
6772
6773 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6774
6775 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6776 up inside string symbol literal (bug#11923).
6777
6778 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6779
6780 * startup.el (fancy-startup-text): Read the whole tutorial, not
6781 just its first 256 bytes. Prevents gibberish in display of the
6782 tutorial title.
6783
6784 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6785
6786 Drop idle buffer compaction due to an absence of the
6787 proved efficiency.
6788 * compact.el: Remove.
6789
6790 2012-07-19 Sam Steingold <sds@gnu.org>
6791
6792 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6793 vc-bzr-pull & vc-bzr-merge-branch.
6794 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6795 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6796 for consistency with compilation-error-regexp-alist.
6797 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6798 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6799 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6800 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6801
6802 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * emacs-lisp/chart.el: Use lexical-binding.
6805 (chart-emacs-storage): Don't hardcode the list of entries.
6806
6807 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6808
6809 Next round of tweaks caused by Fgarbage_collect changes.
6810 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6811
6812 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6813
6814 Compact buffers when idle.
6815 * compact.el: New file.
6816
6817 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6818
6819 * subr.el (eventp): Presume that if it looks vaguely like an event,
6820 it's an event (bug#10190).
6821
6822 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6823
6824 Enhancements to ppss related code (thanks Stefan).
6825 * progmodes/python.el (python-indent-context)
6826 (python-indent-calculate-indentation, python-indent-dedent-line)
6827 (python-indent-electric-colon, python-nav-forward-block)
6828 (python-mode-abbrev-table)
6829 (python-info-assignment-continuation-line-p): Simplify checks
6830 for ppss context.
6831 (python-info-continuation-line-p): Cleanup.
6832 (python-info-ppss-context): Do not catch 'quote.
6833 (python-info-ppss-context-type)
6834 (python-info-ppss-comment-or-string-p): Simplify.
6835
6836 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6837
6838 * progmodes/python.el: Enhancements to eldoc support.
6839 (python-info-current-symbol): New function.
6840 (python-eldoc-at-point): Use python-info-current-symbol.
6841 (python-info-current-defun): Fix cornercase on first defun scan.
6842 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6843 and signal error when no inferior python process is available.
6844
6845 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6846
6847 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6848 assume it's always t.
6849 (vc-git-registered): Remove caching, the function is only called
6850 once.
6851 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6852
6853 2012-07-18 Chong Yidong <cyd@gnu.org>
6854
6855 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6856
6857 * simple.el (count-words): Report on narrowing (Bug#9959).
6858
6859 * bindings.el: Bind M-= to count-words.
6860
6861 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6862
6863 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6864
6865 * progmodes/sh-script.el (sh-imenu-generic-expression):
6866 Capture a function with `function' keyword and without parentheses
6867 like "function FOO" (bug#11856).
6868
6869 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6870
6871 * window.el (split-window-sensibly): Make WINDOW argument
6872 optional.
6873
6874 2012-07-18 Chong Yidong <cyd@gnu.org>
6875
6876 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6877
6878 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6879 and make C-x 8 RET exit isearch (Bug#11439).
6880
6881 * international/iso-transl.el: Move isearch-mode-map key
6882 definitions to isearch.el.
6883
6884 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6887 (eieio-defclass): Use gv-define-setter when possible.
6888
6889 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6890
6891 Reflect recent changes in Fgarbage_collect.
6892 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6893 reflect new format of data returned by Fgarbage_collect.
6894
6895 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6896
6897 New utility functions + python-info-ppss-context fix (Bug#11910).
6898 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6899 (python-info-ppss-comment-or-string-p): New functions.
6900 (python-info-ppss-context): Small fix for string check.
6901
6902 2012-07-17 Juri Linkov <juri@jurta.org>
6903
6904 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6905 (dired-do-async-shell-command): Don't add `*' at the end of the
6906 command (Bug#11815).
6907 (dired-do-shell-command): Doc fix.
6908 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6909 Join the individual commands using either "&" or ";" as the
6910 separator depending on the values of these trailing characters.
6911 At the end re-add the trailing "&". (Bug#10598)
6912
6913 * simple.el (async-shell-command): Sync the interactive spec with
6914 `shell-command'. Doc fix.
6915 (shell-command): Doc fix.
6916
6917 2012-07-17 Juri Linkov <juri@jurta.org>
6918
6919 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6920
6921 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6922
6923 Final renames and doc fixes for movement commands (bug#11899).
6924 * progmodes/python.el (python-nav-beginning-of-statement):
6925 Rename from python-nav-statement-start.
6926 (python-nav-end-of-statement): Rename from
6927 python-nav-statement-end.
6928 (python-nav-beginning-of-block): Rename from
6929 python-nav-block-start.
6930 (python-nav-end-of-block): Rename from python-nav-block-end.
6931
6932 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6933
6934 * progmodes/python.el (python-shell-send-string-no-output):
6935 Allow accept-process-output to quit, keeping shell process ready for
6936 future interactions (Bug#11868).
6937
6938 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6941
6942 * emacs-lisp/elint.el (elint-find-args-in-code):
6943 Use help-function-arglist, so as to handle lexical byte-code.
6944
6945 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6946 change (bug#11826).
6947
6948 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6951 Avoid spuriously marking the buffer as modified because of c-is-sws.
6952
6953 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6954 as not-a-comment (bug#11946).
6955
6956 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6957 for uninterned vars.
6958
6959 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6960 Use read-event since we don't really want to read chars but bytes.
6961
6962 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6963 $$..$$ but also $..$ using regexps (bug#11953).
6964 Use tex-verbatim for \url and \path.
6965 (tex-font-lock-keywords): Define as defconst like the others.
6966 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6967
6968 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6969
6970 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6971 alias for insert-char.
6972
6973 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6974
6975 * progmodes/python.el: Simplified imenu implementation.
6976 (python-nav-jump-to-defun): Remove command.
6977 (python-mode-map): Use `imenu' instead.
6978 (python-nav-list-defun-positions-cache)
6979 (python-imenu-include-defun-type, python-imenu-make-tree)
6980 (python-imenu-subtree-root-label, python-imenu-index-alist):
6981 Remove vars.
6982 (python-nav-list-defun-positions, python-nav-read-defun)
6983 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6984 (python-imenu-make-tree, python-imenu-create-index):
6985 Remove functions.
6986 (python-mode): Update to interact with imenu by setting
6987 `imenu-extract-index-name-function' only.
6988
6989 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6990
6991 * progmodes/python.el: Enhancements to navigation commands.
6992 (python-nav-backward-sentence)
6993 (python-nav-forward-sentence): Remove.
6994 (python-nav-backward-statement, python-nav-forward-statement)
6995 (python-nav-statement-start, python-nav-statement-end)
6996 (python-nav-backward-block, python-nav-forward-block)
6997 (python-nav-block-start, python-nav-block-end)
6998 (python-nav-forward-sexp-function)
6999 (python-info-current-line-comment-p)
7000 (python-info-current-line-empty-p): New functions.
7001 (python-indent-context): Use `python-nav-statement-start'.
7002
7003 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * eshell/em-ls.el (eshell/ls): Use `apply'.
7006
7007 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7008 multi-hops, instead of Tramp internals.
7009
7010 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7011
7012 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7013 when F1 and F2 are located on different hosts.
7014
7015 2012-07-14 Chong Yidong <cyd@gnu.org>
7016
7017 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7018 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7019 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7020 (xterm-mouse--read-event-sequence-1000)
7021 (xterm-mouse--read-event-sequence-1006): New functions. For old
7022 mouse protocol, handle M-mouse-X events correctly.
7023 (xterm-mouse-event): New arg specifying mouse protocol.
7024 (turn-on-xterm-mouse-tracking-on-terminal)
7025 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
7026 sequence to toggle extended coordinates on newer XTerms.
7027 This appears to be harmless on terminals which do not support this.
7028
7029 2012-07-14 Leo Liu <sdl.web@gmail.com>
7030
7031 Add fringe bitmap indicators for flymake. (Bug#11253)
7032 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7033 (flymake-make-overlay): New arg BITMAP.
7034 (flymake-error-bitmap, flymake-warning-bitmap)
7035 (flymake-fringe-indicator-position): New user variables.
7036
7037 * fringe.el: New bitmap exclamation-mark.
7038
7039 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7040
7041 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7042 also (Bug#7879).
7043
7044 2012-07-14 Chong Yidong <cyd@gnu.org>
7045
7046 * electric.el (electric-pair-post-self-insert-function): Fix pair
7047 insertion in empty-region case (Bug#11520).
7048
7049 2012-07-14 Chong Yidong <cyd@gnu.org>
7050
7051 * bindings.el: Consolidate ctl-x-r-map bindings.
7052 Bind copy-rectangle-as-kill to C-x r w.
7053
7054 * rect.el, register.el: Move bindings to bindings.el.
7055
7056 2012-07-14 Reuben Thomas <rrt@sc3d.org>
7057
7058 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7059
7060 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7061
7062 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7063
7064 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
7065
7066 * bindings.el (top): Use `mapc' instead of `mapcar'.
7067
7068 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7069
7070 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
7071
7072 * progmodes/sql.el (sql-comint): Suppress the check for program on
7073 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7074 (Bug#11908)
7075
7076 2012-07-13 Chong Yidong <cyd@gnu.org>
7077
7078 * bindings.el: Assign a non-nil permanent-local property to
7079 per-buffer variables which lack a default value (Bug#11930).
7080
7081 * help-fns.el (describe-variable): In the "automatically becomes
7082 local" notice, take note of permanent-local variables.
7083
7084 2012-07-13 Chong Yidong <cyd@gnu.org>
7085
7086 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7087 to allow printing the message when called from Lisp.
7088
7089 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7090 Remove toggle-read-only.
7091
7092 * bs.el (bs-toggle-readonly):
7093 * buff-menu.el (Buffer-menu-toggle-read-only):
7094 Remove with-no-warnings around toggle-read-only.
7095
7096 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7097 Remove with-no-warnings around toggle-read-only.
7098 (ffap-read-only, ffap-read-only-other-window)
7099 (ffap-read-only-other-frame): Callers changed.
7100
7101 * help-mode.el: Don't require view package.
7102 (help-mode-finish): Set buffer-read-only instead of calling
7103 toggle-read-only.
7104
7105 * bindings.el (mode-line-toggle-read-only):
7106 * dired.el (dired-toggle-read-only):
7107 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7108 with non-nil second arg.
7109
7110 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7111 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7112 directly.
7113
7114 2012-07-12 Eli Zaretskii <eliz@gnu.org>
7115
7116 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7117 not incf.
7118
7119 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 More CL cleanups and reduction of use of cl.el.
7122 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7123 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7124 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7125 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7126 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7127 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7128 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7129 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7130 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7131 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7132 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7133 * eshell/em-cmpl.el, eshell/em-banner.el:
7134 * calendar/parse-time.el: Use cl-lib.
7135 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7136 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7137 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7138 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7139 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7140 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7141 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7142 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7143 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7144 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7145 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7146 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7147 `lambda' rather than with `quote'.
7148 (eshell-do-opt): Adjust accordingly.
7149 (eshell-process-option): Simplify.
7150 * eshell/esh-var.el:
7151 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7152 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7153 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7154 to `pcase--dontcare'.
7155 * emacs-lisp/cl.el (labels): Mark obsolete.
7156 (cl--letf, letf): Move to cl-lib.
7157 (cl--letf*, letf*): Remove.
7158 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7159 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7160 (cl-progv): Rewrite.
7161 (cl--letf, cl-letf): Move from cl.el.
7162 (cl-letf*): New macro.
7163 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7164
7165 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7166
7167 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7168
7169 2012-07-11 Chong Yidong <cyd@gnu.org>
7170
7171 * vc/log-edit.el (log-edit-vc-backend): New variable.
7172 (log-edit): Doc fix.
7173
7174 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7175 argument of log-edit to set up all local variables.
7176 (vc-start-logentry): New optional arg specifying VC backend.
7177
7178 * vc/vc.el (vc-checkin): Use it.
7179 (vc-deduce-fileset): Handle Log Edit buffers.
7180 (vc-diff): Make first argument optional too.
7181
7182 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7183
7184 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
7185
7186 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7187 command, just in case. The function is not needed anymore.
7188 (eshell-external-command): Do not call `eshell-remote-command'.
7189
7190 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 Reduce use of (require 'cl).
7193 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7194 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7195 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7196 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7197 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7198 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7199 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7200 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7201 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7202 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7203 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7204 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7205 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7206 (byte-compile-unfold-bcf, byte-compile-check-variable):
7207 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7208 (byte-compile-nilconstp):
7209 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7210 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7211
7212 * emacs-lisp/gv.el (cond): Make it a valid place.
7213 (if): Simplify slightly.
7214
7215 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7216 (pcase--self-quoting-p): New function.
7217 (pcase--u1): Use it.
7218
7219 2012-07-10 Glenn Morris <rgm@gnu.org>
7220
7221 * emacs-lisp/authors.el (authors-fixed-entries):
7222 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7223
7224 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7225
7226 Rename configure.in to configure.ac (Bug#11603).
7227 * emacs-lisp/authors.el (authors-canonical-file-name):
7228 * progmodes/autoconf.el (autoconf-mode):
7229 Prefer configure.ac to configure.in.
7230
7231 2012-07-08 Chong Yidong <cyd@gnu.org>
7232
7233 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7234 Implement the mouse-1-click-follows-link handling properly.
7235
7236 * info.el (Info-link-keymap): Use follow-link mechanism for
7237 header-line links (Bug#374).
7238
7239 * simple.el (deactivate-mark): Do not set the primary selection
7240 if another program has acquired it (Bug#11772).
7241
7242 2012-07-07 Kevin Ryde <user42@zip.com.au>
7243
7244 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7245 (woman-decode-region): Replace escaped-escapes without destroying
7246 bold or underline (Bug#11552).
7247 (woman2-process-escapes): Handle nofill regions (Bug#11591).
7248
7249 2012-07-07 Chong Yidong <cyd@gnu.org>
7250
7251 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
7252 (interprogram-cut-function, interprogram-paste-function):
7253 Mention that we typically mean the clipboard.
7254
7255 2012-07-06 Glenn Morris <rgm@gnu.org>
7256
7257 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7258
7259 * files.el (toggle-read-only): Restrict message to interactive use.
7260
7261 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
7262
7263 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7264
7265 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7266
7267 2012-07-06 Glenn Morris <rgm@gnu.org>
7268
7269 * Makefile.in (compile-one-process): Rename from "recompile".
7270
7271 * Makefile.in (bzr-update): "compile" is the same as "recompile
7272 autoloads", but parallelizable, so use that instead.
7273
7274 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7275
7276 * window.el (quit-window): Always restore window height when
7277 it's saved in quit-restore parameter (Bug#11810).
7278
7279 2012-07-06 Glenn Morris <rgm@gnu.org>
7280
7281 * simple.el (kill-whole-line): Doc tweak.
7282
7283 2012-07-06 Eli Zaretskii <eliz@gnu.org>
7284
7285 * files.el (file-relative-name): Compare file names
7286 case-insensitively if on MS-Windows or MS-DOS, or if
7287 read-file-name-completion-ignore-case is non-nil. Don't use
7288 case-fold-search for this purpose. (Bug#11827)
7289
7290 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7291
7292 * calendar/cal-dst.el (calendar-current-time-zone):
7293 Return calendar-current-time-zone-cache if non-nil.
7294
7295 2012-07-17 Masatake YAMATO <yamato@redhat.com>
7296 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7297
7298 * calendar/cal-dst.el (calendar-current-time-zone):
7299 Return calendar-current-time-zone-cache if non-nil.
7300
7301 2012-07-06 Glenn Morris <rgm@gnu.org>
7302
7303 * Makefile.in (cvs-update): Remove old alias.
7304
7305 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
7306
7307 Sync with Tramp 2.2.6-pre.
7308
7309 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7310 compatible declaration.
7311
7312 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7313 Protect `list-load-path-shadows' call.
7314
7315 * net/tramp-compat.el (top): Require packages, which aren't
7316 autoloaded anymore for XEmacs. Protect call of
7317 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7318 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7319 it hurts at least for SXEmacs.
7320 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7321 standard-value for `temporary-file-directory'.
7322
7323 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7324 Redirect stderr to /dev/null.
7325 (tramp-sh-handle-write-region): uid and gid can be floats.
7326 Reported by Russell Sim <russell.sim@gmail.com>.
7327 (tramp-sh-handle-vc-registered): Hide errors.
7328 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7329 and `start-file-process'.
7330 (tramp-maybe-open-connection): Check also whether `non-essential'
7331 is bound.
7332
7333 2012-07-04 Chong Yidong <cyd@gnu.org>
7334
7335 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7336 (xml-parse-tag): Likewise, and avoid changing entity tables.
7337 (xml-syntax-table): Define from scratch, making sure not to give
7338 x2000 and other Unicode spaces whitespace syntax, since those are
7339 not spaces in XML.
7340 (xml-parse-fragment): Delete unused function.
7341 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7342 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7343 (xml-entity-ref, xml-pe-reference-re)
7344 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7345 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7346 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7347 (xml-entity-value-re): Use syntax references in regexps where
7348 possible; no need to define inside a let-binding.
7349 (xml-parse-dtd): Use xml-pe-reference-re.
7350 (xml-entity-or-char-ref-re): New defconst.
7351 (xml-parse-string, xml-substitute-special): Use it.
7352
7353 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7356 (find-file--read-only): New function.
7357 (find-file-read-only, find-file-read-only-other-window)
7358 (find-file-read-only-other-frame): Use it.
7359 (insert-file-contents-literally): Don't `fset'.
7360 (get-free-disk-space): Use locate-dominating-file.
7361
7362 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7363 function is already compiled.
7364
7365 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7366
7367 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
7368
7369 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7370 files on the same host.
7371
7372 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7373
7374 * help-fns.el (describe-function-1): Only call
7375 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7376
7377 2012-07-03 Chong Yidong <cyd@gnu.org>
7378
7379 * xml.el: Protect parser against XML bombs.
7380 (xml-entity-expansion-limit): New variable.
7381 (xml-parse-string, xml-substitute-special): Use it.
7382 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7383
7384 2012-07-03 Glenn Morris <rgm@gnu.org>
7385
7386 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7387 Allow linking to specific messages in debbugs reports (eg 123#5).
7388
7389 2012-07-02 Chong Yidong <cyd@gnu.org>
7390
7391 * xml.el: Fix entity and character reference expansion, allowing
7392 them to expand into markup as per XML spec.
7393 (xml-default-ns): New variable.
7394 (xml-entity-alist): Use XML spec definitions for lt and amp.
7395 (xml-parse-region): Make first two arguments optional.
7396 Discard text properties.
7397 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7398 All callers changed.
7399 (xml-parse-tag): Call xml-parse-tag-1. For backward
7400 compatibility, this function should not modify buffer contents.
7401 (xml-parse-tag-1): Fix opening-tag regexp.
7402 (xml-parse-string): Rewrite, handling entity and character
7403 references properly.
7404 (xml--entity-replacement-text): Signal an error if a parameter
7405 entity is undefined.
7406
7407 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7408
7409 * comint.el (comint-output-filter): Filter out repeated prompts.
7410
7411 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7412 and file-name-absolute-p.
7413 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7414 internal calls.
7415
7416 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7417
7418 Spelling fixes.
7419 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7420 Rename from byte-compile--refiy-function. All uses changed.
7421
7422 2012-07-01 Chong Yidong <cyd@gnu.org>
7423
7424 * xml.el (xml--parse-buffer): New function. Move most of
7425 xml-parse-region here.
7426 (xml-parse-region): Copy region into a temporary buffer, since
7427 parameter entity substitution requires changing buffer contents.
7428 Use xml--parse-buffer.
7429 (xml-parse-file): Use xml--parse-buffer.
7430 (xml-parse-dtd): Make parameter entity substitution work right.
7431 Use proper regexps for ELEMENT declarations (Bug#7172).
7432
7433 2012-06-30 Glenn Morris <rgm@gnu.org>
7434
7435 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7436
7437 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7438 Remove outdated and unnecessary dbus declarations.
7439
7440 2012-06-30 Eli Zaretskii <eliz@gnu.org>
7441
7442 * emacs-lisp/timer.el (timer-until): Subtract results of
7443 float-time, instead of taking float-time of the result of
7444 time-subtract, since float-time signals an error for negative time
7445 arguments.
7446
7447 2012-06-30 Chong Yidong <cyd@gnu.org>
7448
7449 * xml.el (xml-*-re): Convert defvars into defconsts, and
7450 eval-and-compile them so eval-and-compile works on derivatives.
7451 (xml--entity-replacement-text): Use eval-and-comple.
7452
7453 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
7454
7455 * vc/vc-git.el (vc-git-registered): Use cache property
7456 `git-registered'.
7457 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7458 `vc-git-working-revision' in order to benefit from the cache.
7459 (vc-git-root): Use cache property `git-root'. (Bug#11757)
7460
7461 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7462
7463 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7464 removed (likely outside Emacs). (Bug#11757)
7465
7466 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * emacs-lisp/cl-lib.el: Require macroexp.
7469
7470 2012-06-30 Chong Yidong <cyd@gnu.org>
7471
7472 * xml.el: Implement XML parameter entities.
7473 (xml-parameter-entity-alist): New variable.
7474 (xml-parse-region, xml-parse-fragment): Preserve previous values
7475 of xml-entity-alist and xml-parameter-entity-alist, so that
7476 repeated calls on different documents do not change them.
7477 (xml-parse-tag): Fix doctype regexp.
7478 (xml--entity-replacement-text): New function.
7479 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7480 properly requires url retrieval which is unimplemented.
7481 (xml-escape-string): Doc fix.
7482
7483 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7486
7487 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7488
7489 * fringe.el (fringe-mode): Doc fix.
7490
7491 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
7492
7493 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7494 is non-nil.
7495 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7496 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7497
7498 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
7499
7500 * calendar/cal-dst.el (calendar-current-time-zone):
7501 Return calendar-current-time-zone-cache if non-nil.
7502
7503 2012-06-29 Masatake YAMATO <yamato@redhat.com>
7504
7505 * progmodes/which-func.el (which-func-format):
7506 Add mouse-face. (Bug#11698)
7507
7508 2012-06-29 Leo Liu <sdl.web@gmail.com>
7509
7510 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7511
7512 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * minibuffer.el (minibuffer-confirm-exit-commands):
7515 Add completion-at-point (bug#11725).
7516
7517 2012-06-29 Glenn Morris <rgm@gnu.org>
7518
7519 * progmodes/f90.el (f90-font-lock-keywords-2):
7520 Add some preprocessor elements. (Bug#10499)
7521
7522 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7525 Use syntax-propertize (bug#11739).
7526
7527 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
7528
7529 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7530
7531 2012-06-28 Julien Danjou <julien@danjou.info>
7532
7533 * term.el (term-handle-colors-array): Use a set of new faces to
7534 color the terminal. Also uses :inverse-video property.
7535 (term-default-fg-color): Set to nil by default, deprecate in favor
7536 of `term-face'.
7537 (term-default-bg-color): Set to nil by default, deprecate in favor
7538 of `term-face'.
7539 (term-current-face): Use `term-face' by default.
7540 (term-bold-attribute): Variable deleted.
7541
7542 2012-06-28 Glenn Morris <rgm@gnu.org>
7543
7544 * simple.el (completion-list-mode-finish):
7545 Don't use toggle-read-only. (Since completion-list-mode has
7546 a special mode-class, it wasn't doing anything extra anyway.)
7547
7548 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 Make inlining of other-mode interpreted functions work (bug#11799).
7551 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7552 (byte-compile): Use it to fix compilation of lexical-binding closures.
7553 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7554 function, if needed.
7555
7556 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * help-mode.el (help-make-xrefs): Don't just withstand
7559 cyclic-variable-indirection but any error in documentation-property.
7560
7561 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7562 memory use.
7563 * bindings.el (bindings--define-key): New function.
7564 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7565 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7566 * bindings.el: Use it to purecopy define-key bindings.
7567
7568 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7569
7570 * emacs-lisp/cl.el (flet): Mark obsolete.
7571 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7572 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7573 * progmodes/js.el (js-c-fill-paragraph):
7574 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7575 (ebrowse-switch-member-buffer-to-derived-class):
7576 * play/5x5.el (5x5-solver): Use cl-flet.
7577
7578 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7579 (cl--symbol-function): New macro.
7580 (cl--letf, cl--letf*): Use it.
7581
7582 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7583 Strip "toggle-" if any.
7584
7585 2012-06-27 Glenn Morris <rgm@gnu.org>
7586
7587 * info.el (Info-default-directory-list): Move here from paths.el.
7588 * paths.el: Remove file, which is now empty.
7589 * loadup.el: No longer load "paths".
7590
7591 * custom.el (custom-initialize-delay): Doc fix.
7592
7593 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7594 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7595 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7596 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7597 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7598 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7599 * eshell/eshell.el (eshell-defgroup): Remove alias.
7600
7601 2012-06-27 Chong Yidong <cyd@gnu.org>
7602
7603 * help.el (help-enable-auto-load): New variable.
7604
7605 * help-fns.el (help-fns--autoloaded-p): New function.
7606 (describe-function-1): Refer to a function as "autoloaded" if it
7607 was autoloaded at any time in the past. Perform autoloading if
7608 help-enable-auto-load is non-nil.
7609
7610 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7611
7612 * makefile.w32-in (compile, compile-always): Depend on
7613 update-subdirs, not on subdirs.el. Otherwise, several different
7614 sub-targets of 'bootstrap' running in parallel could
7615 simultaneously write to subdirs.el, producing a garbled file.
7616
7617 2012-06-26 Sam Steingold <sds@gnu.org>
7618
7619 * files.el (file-name-base): New convenience function.
7620 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7621 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7622 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7623 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7624 * textmodes/ispell.el, textmodes/reftex-ref.el:
7625 * textmodes/tex-mode.el: Use it.
7626 Did not touch cedet and org because they are maintained elsewhere.
7627
7628 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7629
7630 * calendar/calendar.el (calendar-exit): Don't try to delete or
7631 iconify last frame. See:
7632 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7633
7634 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7635
7636 * server.el (server-process-filter): Remember dir in the
7637 process's `server-client-directory' properties.
7638
7639 2012-06-24 Chong Yidong <cyd@gnu.org>
7640
7641 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7642 non-tag text.
7643
7644 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7645
7646 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7647
7648 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * help-fns.el (describe-variable): Don't croak when doc is not found.
7651 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7652 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7653 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7654 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7655 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7656 ((lambda ..) ..).
7657 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7658
7659 2012-06-23 Chong Yidong <cyd@gnu.org>
7660
7661 * info.el (Info-mouse-follow-link): Accept symbol values of
7662 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7663 (Info-fontify-node): Use Info-link-keymap for all navigation
7664 buttons, with link-args property to perform the desired action.
7665 (Info-link-keymap): Doc fix.
7666 (Info-next-link-keymap, Info-prev-link-keymap)
7667 (Info-up-link-keymap): Delete now-unused keymaps.
7668
7669 2012-06-23 Chong Yidong <cyd@gnu.org>
7670
7671 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7672
7673 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7674 system abbrevs.
7675
7676 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7677
7678 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7681 (bug#11719).
7682
7683 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7684 the requote function doesn't work properly (bug#11714).
7685
7686 2012-06-23 Glenn Morris <rgm@gnu.org>
7687
7688 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7689
7690 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 Further GV/CL cleanups.
7693 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7694 gv-expander.
7695 (gv--defun-declaration): New function.
7696 (defun-declarations-alist): Use it.
7697 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7698 (gv-place): Autoload.
7699 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7700 original definition of dotimes and dolist.
7701 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7702 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7703 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7704 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7705 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7706 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7707 to the function's definition.
7708 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7709 * window.el:
7710 * files.el:
7711 * faces.el:
7712 * env.el: Don't use CL.
7713
7714 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7715
7716 Support higher-resolution time stamps (Bug#9000).
7717
7718 * calendar/time-date.el (with-decoded-time-value): New arg
7719 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7720 (encode-time-value): New optional arg PICO. New type 3.
7721 (time-to-seconds) [!float-time]: Support the new picoseconds
7722 component if it's used.
7723 (seconds-to-time, time-subtract, time-add):
7724 Support ps-resolution time stamps as well.
7725
7726 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7727 (timerp): Timer vectors now have length 9, not 8.
7728 (timer--time): Support new-style (4-part) time stamps.
7729 (timer-next-integral-multiple-of-time): Time stamps now have
7730 picosecond resolution, so take a bit more care about rounding.
7731 (timer-relative-time, timer-inc-time): New optional arg psecs.
7732 (timer-set-time-with-usecs): Set psecs to 0.
7733 (timer--activate): Check psecs component, too.
7734
7735 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7736
7737 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7740 Move the non-essential binding to the post/pre-command-hook where it is
7741 more obviously correct.
7742
7743 * subr.el (read-passwd): Don't use a history at all.
7744 * savehist.el (savehist-save): Remove password saved accidentally
7745 because of the above bug.
7746
7747 2012-06-22 Bastien Guerry <bzg@gnu.org>
7748
7749 * files.el (toggle-read-only): Display a message telling whether
7750 the buffer is read-only or not (bug#11726).
7751
7752 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * emacs-lisp/gv.el: New file.
7755 * subr.el (push, pop): Extend to generalized variables.
7756 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7757 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7758 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7759 gv-define-simple-setter, and gv-define-expander.
7760 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7761 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7762 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7763 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7764 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7765 gv-letplace.
7766 (cl-defstruct): Don't define setf-method any more.
7767 * emacs-lisp/cl.el (flet): Don't autoload.
7768 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7769 (define-setf-expander, defsetf, define-modify-macro)
7770 (cl-struct-setf-expander): Move from cl-lib.el.
7771 * emacs-lisp/syntax.el:
7772 * emacs-lisp/ewoc.el:
7773 * emacs-lisp/smie.el:
7774 * emacs-lisp/cconv.el:
7775 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7776 (timer--time): Use gv-define-simple-setter.
7777 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7778 to avoid coding-system problems in subr.el. Adjust all users.
7779 (macroexp--maxsize, macroexp-small-p): New functions.
7780 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7781 * scroll-bar.el (scroll-bar-mode):
7782 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7783 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7784 * winner.el (winner-configuration, winner-make-point-alist)
7785 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7786 * files.el (locate-file-completion-table): Avoid list*.
7787
7788 2012-06-22 Chong Yidong <cyd@gnu.org>
7789
7790 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7791 (dired-create-files): Doc fix (Bug#11329).
7792 (dired-do-copy): Doc fix (Bug#11334).
7793 (dired-mark-read-string): Doc fix (Bug#11553).
7794
7795 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7796 Doc fix (Bug#11326).
7797 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7798 (dired-dwim-target): Doc fix.
7799
7800 * wdired.el (wdired-mode): Doc fix.
7801
7802 2012-06-22 Glenn Morris <rgm@gnu.org>
7803
7804 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7805 (pcmpl-rpm-cache-stamp-file): New constant.
7806 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7807 (pcmpl-rpm-packages): Optionally cache list of packages.
7808
7809 * pcmpl-rpm.el (pcmpl-rpm): New group.
7810 (pcmpl-rpm-query-options): New option.
7811 (pcmpl-rpm-packages): No need to inline it.
7812 Use pcmpl-rpm-query-options.
7813
7814 * calendar/calendar.el (calendar-in-read-only-buffer):
7815 Avoid some needless mode changes.
7816
7817 2012-06-21 Chong Yidong <cyd@gnu.org>
7818
7819 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7820 (desktop-path): Remove . from the default value (Bug#10977).
7821 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7822
7823 2012-06-20 Chong Yidong <cyd@gnu.org>
7824
7825 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7826
7827 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7828
7829 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7830 (bug#11201).
7831
7832 2012-06-20 Chong Yidong <cyd@gnu.org>
7833
7834 * term.el (term-window-width): Handle the case of a missing right
7835 fringe (Bug#8837).
7836 (term-check-size): Use window-text-height (Bug#5445).
7837 (term-mode): Use define-derived-mode. Minor cleanups.
7838 Set font-lock-defaults (Bug#7692).
7839 (term-move-columns, term-insert-char, term-emulate-terminal)
7840 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7841
7842 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7843
7844 * net/ange-ftp.el (ange-ftp-get-passwd):
7845 Bind `enable-recursive-minibuffers'.
7846 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7847
7848 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7849
7850 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7851
7852 2012-06-19 Glenn Morris <rgm@gnu.org>
7853
7854 * progmodes/python.el (python-mode): Derive from prog-mode.
7855
7856 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7857
7858 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7859 (edt-user-menu-bar-update-buffers): New functions.
7860 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7861
7862 2012-06-19 Chong Yidong <cyd@gnu.org>
7863
7864 * subr.el (with-selected-window): Preserve the selected window's
7865 terminal's top-frame (Bug#4702).
7866
7867 * window.el (save-selected-window): Likewise.
7868
7869 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * progmodes/python.el (python-rx-constituents): Move backquote.
7872 (python-skeleton-define, python-define-auxiliary-skeleton):
7873 Use `declare'.
7874
7875 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7876
7877 * minibuffer.el (read-file-name-default): Revert the patch from
7878 2012-06-17.
7879
7880 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7883 (pcase--u1, pcase--q1): Don't use apply-partially.
7884
7885 2012-06-18 Glenn Morris <rgm@gnu.org>
7886
7887 * progmodes/python.el (python-proc, python-buffer)
7888 (python-send-receive, python-send-string): Fix obsolete versions.
7889
7890 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7891
7892 * window.el (special-display-p): Completely remove stringp
7893 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7894
7895 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7896
7897 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7898
7899 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7900
7901 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7902 * net/tramp-sh.el (tramp-maybe-open-connection):
7903 Throw if `non-essential' is non-nil.
7904
7905 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7906
7907 * window.el (special-display-p): Signal an error if BUFFER-NAME
7908 is not a string (Bug#11713).
7909
7910 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7911
7912 * progmodes/python.el (python-info-beginning-of-backslash):
7913 Rename from python-info-beginning-of-backlash, as a spelling fix.
7914
7915 2012-06-17 Chong Yidong <cyd@gnu.org>
7916
7917 * term.el (term-emulate-terminal): If term-check-size is called,
7918 move point to the process mark without resetting point (Bug#4635).
7919
7920 2012-06-17 Glenn Morris <rgm@gnu.org>
7921
7922 * international/mule-cmds.el (mule-menu-keymap)
7923 (set-language-environment, set-locale-environment): Doc tweaks.
7924
7925 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7926
7927 * cus-face.el (custom-face-attributes): Add wave-style underline
7928 attribute.
7929 * faces.el (set-face-attribute): Update docstring to describe
7930 wave-style underline attribute.
7931
7932 2012-06-16 Chong Yidong <cyd@gnu.org>
7933
7934 * term/xterm.el (terminal-init-xterm): Discard input before
7935 querying background mode (Bug#10959).
7936
7937 2012-06-16 Stefan Merten <smerten@oekonux.de>
7938
7939 * textmodes/rst.el: Added and corrected some comments.
7940 (rst-re-alist-def): Improve symbol syntax.
7941 (rst-mode-syntax-table): Correct syntax entries.
7942 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7943 (rst-official-version, rst-official-cvs-rev): Update version
7944 information.
7945
7946 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7947
7948 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7949 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7950
7951 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7952
7953 * progmodes/python.el: New python.el merge.
7954 (python-guess-indent): Obsolete var.
7955 (python-indent-guess-indent-offset): New defcustom.
7956 (python-indent): Obsolete var.
7957 (python-indent-offset): New defcustom.
7958 (python-python-command, python-jython-command): Delete var.
7959 (python-shell-interpreter): New defcustom.
7960 (python-pdbtrack-do-tracking-p): Delete var.
7961 (python-pdbtrack-activate): New defcustom.
7962 (python-use-skeletons): Obsolete var.
7963 (python-skeleton-autoinsert): New defcustom.
7964 (inferior-python-filter-regexp, python-continuation-offset)
7965 (python-honour-comment-indentation, python-indent-string-contents)
7966 (python-jython-packages, python-mode-hook)
7967 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7968 (python-shell-prompt-alist)
7969 (python-source-modes): Delete defcustoms.
7970 (python-check-buffer-name, python-eldoc-setup-code)
7971 (python-eldoc-string-code, python-ffap-setup-code)
7972 (python-ffap-string-code, python-fill-comment-function)
7973 (python-fill-decorator-function, python-fill-paren-function)
7974 (python-fill-string-function, python-imenu-include-defun-type)
7975 (python-imenu-make-tree, python-imenu-subtree-root-label)
7976 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7977 (python-shell-compilation-regexp-alist)
7978 (python-shell-completion-module-string-code)
7979 (python-shell-completion-pdb-string-code)
7980 (python-shell-completion-setup-code)
7981 (python-shell-completion-string-code)
7982 (python-shell-enable-font-lock, python-shell-exec-path)
7983 (python-shell-extra-pythonpaths)
7984 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7985 (python-shell-process-environment)
7986 (python-shell-prompt-block-regexp)
7987 (python-shell-prompt-output-regexp)
7988 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7989 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7990 (python-shell-virtualenv-path): New defcustoms.
7991 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7992 (inferior-python-mode-syntax-table, python--prompt-regexp)
7993 (python-buffer, python-command python-python-command)
7994 (python-default-template, python-imports, python-indent-index)
7995 (python-indent-list, python-indent-list-length)
7996 (python-mode-running, python-pdbtrack-is-tracking-p)
7997 (python-preoutput-continuation, python-preoutput-leftover)
7998 (python-preoutput-result, python-preoutput-skip-next-prompt)
7999 (python-prev-dir/file, python-recursing)
8000 (python-saved-check-command, python-version-checked)
8001 (python-which-func-length-limit)
8002 (view-return-to-alist): Delete vars.
8003 (python-check-custom-command, python-dotty-syntax-table)
8004 (python-imenu-index-alist, python-indent-current-level)
8005 (python-indent-dedenters, python-indent-levels)
8006 (python-nav-beginning-of-defun-regexp)
8007 (python-nav-list-defun-positions-cache)
8008 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8009 (python-shell-internal-buffer)
8010 (python-skeleton-available): New vars.
8011 (def-python-skeleton): Delete macro.
8012 (python-skeleton-define): New macro.
8013 (python-define-auxiliary-skeleton, python-rx): New macros.
8014 (python-insert-class): Delete command.
8015 (python-skeleton-class): New command.
8016 (python-insert-def): Delete command.
8017 (python-skeleton-def): New command.
8018 (python-insert-for): Delete command.
8019 (python-skeleton-for): New command.
8020 (python-insert-if): Delete command.
8021 (python-skeleton-if): New command.
8022 (python-insert-try/except, python-insert-try/finally): Delete commands.
8023 (python-skeleton-try): New command.
8024 (python-insert-while): Delete command.
8025 (python-skeleton-while): New command.
8026 (python-backspace): Delete command.
8027 (python-indent-dedent-line-backspace): New command.
8028 (python-electric-colon): Delete command.
8029 (python-indent-electric-colon): New command.
8030 (python-guess-indent): Delete command.
8031 (python-indent-guess-indent-offset): New command.
8032 (python-shift-left): Delete command.
8033 (python-indent-shift-left): New command.
8034 (python-shift-right): Delete command.
8035 (python-indent-shift-right): New command.
8036 (python-find-function): Delete command.
8037 (python-nav-jump-to-defun): New command.
8038 (python-next-statement): Delete command.
8039 (python-nav-forward-sentence): New command.
8040 (python-previous-statement): Delete command.
8041 (python-nav-backward-sentence): New command.
8042 (python-fill-paragraph): Delete command.
8043 (python-fill-paragraph-function): New command.
8044 (python-send-buffer): Delete command.
8045 (python-shell-send-buffer): New command.
8046 (python-send-defun): Delete command.
8047 (python-shell-send-defun): New command.
8048 (python-send-region, python-send-region-and-go): Delete commands.
8049 (python-shell-send-region)
8050 (python-shell-switch-to-shell): New commands.
8051 (python-send-string): Delete command.
8052 (python-shell-send-string): New command.
8053 (python-switch-to-python): Delete command.
8054 (python-shell-switch-to-shell): New command.
8055 (python-describe-symbol): Delete command.
8056 (python-eldoc-at-point): New command.
8057 (python--set-prompt-regexp, python-args-to-list)
8058 (python-after-info-look, python-check-version)
8059 (python-check-comint-prompt, python-find-imports)
8060 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8061 (python-unload-function, python-expand-template)
8062 (python-maybe-jython, python-preoutput-filter)
8063 (python-pdbtrack-get-source-buffer)
8064 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8065 (python-pdbtrack-toggle-stack-tracking)
8066 (python-pdbtrack-track-stack-file, python-initial-text)
8067 (python-first-word, python-comment-line-p, python-send-command)
8068 (python-setup-brm, python-sentinel, python-set-proc)
8069 (python-skip-out, python-input-filter, python-outdent-p)
8070 (python-outline-level, python-backslash-continuation-line-p)
8071 (python-end-of-block, python-end-of-statement, python-mark-block)
8072 (python-beginning-of-block, python-beginning-of-statement)
8073 (python-blank-line-p, python-beginning-of-string)
8074 (python-open-block-statement-p): Delete functions.
8075 (python-indent-line, python-indent-line-1): Delete functions.
8076 (python-indent-line): New function.
8077 (python-indentation-levels): Delete function.
8078 (python-indent-calculate-levels): New function.
8079 (python-proc): Delete function.
8080 (python-shell-get-process): New function.
8081 (python-send-receive): Delete function.
8082 (python-shell-send-string-no-output): New function.
8083 (python-module-path): Delete function.
8084 (python-ffap-module-path): New function.
8085 (python-completion-at-point)
8086 (python-symbol-completions): Delete functions.
8087 (python-completion-complete-at-point): New function.
8088 (python-load-file): Delete function.
8089 (python-shell-send-file): New function.
8090 (python-calculate-indentation): Delete function.
8091 (python-indent-calculate-indentation): New function.
8092 (python-skip-comments/blanks): Delete function.
8093 (python-util-forward-comment): New function.
8094 (python-continuation-line-p): Delete function.
8095 (python-info-continuation-line-p): New function.
8096 (python-which-func, python-current-defun): Delete function.
8097 (python-info-current-defun): New function.
8098 (python-beginning-of-defun): Delete function.
8099 (python-nav-beginning-of-defun): New function.
8100 (python-close-block-statement-p)
8101 (python-block-end-p): Delete function.
8102 (python-info-closing-block): New function.
8103 (python-comint-output-filter-function)
8104 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8105 (python-fill-comment, python-fill-decorator, python-fill-paren)
8106 (python-fill-string, python-imenu-make-element-tree)
8107 (python-imenu-make-tree, python-imenu-tree-assoc)
8108 (python-indent-context, python-indent-dedent-line)
8109 (python-indent-line-function)
8110 (python-indent-post-self-insert-function)
8111 (python-indent-toggle-levels)
8112 (python-info-assignment-continuation-line-p)
8113 (python-info-beginning-of-backlash)
8114 (python-info-block-continuation-line-p)
8115 (python-info-closing-block-message)
8116 (python-info-line-ends-backslash-p)
8117 (python-info-looking-at-beginning-of-defun)
8118 (python-info-ppss-context, python-info-ppss-context-type)
8119 (python-nav-list-defun-positions, python-nav-read-defun)
8120 (python-nav-sentence-end, python-nav-sentence-start)
8121 (python-pdbtrack-comint-output-filter-function)
8122 (python-pdbtrack-set-tracked-buffer)
8123 (python-shell-calculate-exec-path)
8124 (python-shell-calculate-process-environment)
8125 (python-shell-completion--do-completion-at-point)
8126 (python-shell-completion--get-completions)
8127 (python-shell-completion-complete-at-point)
8128 (python-shell-completion-complete-or-indent)
8129 (python-shell-get-or-create-process)
8130 (python-shell-get-process-name)
8131 (python-shell-internal-get-or-create-process)
8132 (python-shell-internal-get-process-name)
8133 (python-shell-internal-send-string, python-shell-make-comint)
8134 (python-shell-parse-command, python-shell-send-setup-code)
8135 (python-skeleton-add-menu-items)
8136 (python-util-clone-local-variables, python-util-position)
8137 (run-python-internal, python-indentation-levels)
8138 (python-nav-beginning-of-defun)
8139 (python-completion-complete-at-point): New functions.
8140 (run-python): Change arguments. New API requirements.
8141
8142 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8145 (bug#11649).
8146
8147 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8148 (macroexp--expand-all): Use it.
8149
8150 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8151 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8152 Use `cl-function' instead.
8153
8154 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8155
8156 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8157 Suggested by Stefan Monnier while discussing bug#11657.
8158
8159 2012-06-14 Sam Steingold <sds@gnu.org>
8160
8161 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8162
8163 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8164
8165 * play/doctor.el (doctor-doc): Remove parameter and use
8166 doctor-sent instead of sent.
8167 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8168
8169 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * files.el: Require cl-lib.
8172 (file-name-non-special): Replace case -> cl-case.
8173
8174 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8175
8176 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8177 mapping from #' to function*.
8178
8179 2012-06-13 Chong Yidong <cyd@gnu.org>
8180
8181 * mouse.el (mouse-drag-track): Do not set the mark if the user
8182 releases the mouse without selecting anything (Bug#11588).
8183
8184 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8187 as well (bug#11646).
8188
8189 * loadup.el: Count byte-code functions as well.
8190
8191 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8192 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8193
8194 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8195 (bug#11649). Add cl-defun and cl-defmacro.
8196
8197 2012-06-13 Drew Adams <drew.adams@oracle.com>
8198
8199 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8200 Fix last change.
8201
8202 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
8203
8204 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8205 Otherwise, it blocks in batch mode.
8206
8207 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
8208
8209 * help-mode.el (bookmark-make-record-default): Declare.
8210
8211 2012-06-13 Chong Yidong <cyd@gnu.org>
8212
8213 * emacs-lisp/package.el (list-packages): Compute a list of
8214 packages that are newly-available since the last list-packages
8215 invocation.
8216 (package-menu--new-package-list): New var.
8217 (package-menu--generate, package-menu--print-info)
8218 (package-menu--status-predicate, package-menu-mark-install):
8219 Handle new status label "new".
8220
8221 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8224 conversion to backquotes.
8225
8226 2012-06-12 Chong Yidong <cyd@gnu.org>
8227
8228 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8229 Rename from gud-inhibit-global-bindings.
8230
8231 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8232
8233 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8234 hook from nxml-glyph-set-hook.
8235
8236 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8237 declaration.
8238
8239 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8240
8241 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8242 Convert to defcustom.
8243
8244 2012-06-12 Drew Adams <drew.adams@oracle.com>
8245
8246 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8247 New functions.
8248 (help-mode): Use them.
8249
8250 2012-06-11 Glenn Morris <rgm@gnu.org>
8251
8252 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8253 Use preprocessor face for directives.
8254 (fortran-directive-re): Doc fix.
8255
8256 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8259 conversion to backquotes (bug#11652).
8260
8261 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8262 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8263 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8264 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8265 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8266 (cl-ninth, cl-tenth): Mark them as inlinable.
8267 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8268 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8269 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8270 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8271 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8272 (cl-list*, cl-adjoin): Don't put an autoload manually.
8273 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8274 (cl--compiler-macro-list*): Add autoload cookie.
8275 (cl--compiler-macro-cXXr): New function.
8276
8277 * help-fns.el (help-fns--compiler-macro): New function extracted from
8278 describe-function-1; follow aliases and use `compiler-macro' property.
8279 (describe-function-1): Use it.
8280
8281 2012-06-11 Chong Yidong <cyd@gnu.org>
8282
8283 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8284 is uninstalled, if imagemagick is installed.
8285
8286 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * emacs-lisp/cl-lib.el: Use lexical-binding.
8289 (cl-map-extents, cl-maclisp-member): Remove.
8290 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8291 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8292 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8293 * emacs-lisp/cl-extra.el: Use lexical-binding.
8294 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8295 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8296 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8297 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8298 * emacs-lisp/cl-seq.el: Use lexical-binding.
8299 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8300 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8301 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8302 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8303 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8304 CL's internals.
8305
8306 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
8307
8308 Sync with Tramp 2.2.6-pre.
8309
8310 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8311 `print-length' and `print-level' to nil, in order to avoid
8312 truncation. Reported by Christopher Schmidt
8313 <christopher@ristopher.com>.
8314
8315 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8316
8317 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8318 New defmacro.
8319 (tramp-compat-copy-directory): Add optional argument
8320 COPY-CONTENTS. It is not handled yet.
8321
8322 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8323 (tramp-ftp-file-name-p): Simplify.
8324
8325 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8326 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8327 connection vector.
8328
8329 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8330 (tramp-methods): Do not use `tramp-password-end-of-line'.
8331 (tramp-completion-function-alist-putty): Handle UNIX case.
8332 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8333 (tramp-do-file-attributes-with-stat)
8334 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8335 gid as real numbers. They could run out of integer range on cygwin.
8336 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8337 (tramp-sh-handle-expand-file-name): Handle hops.
8338 (tramp-open-connection-setup-interactive-shell):
8339 Use `tramp-cleanup'. Move check for busyboxes ...
8340 (tramp-find-shell): ... here. Simplify implementation.
8341 Set "remote-shell" property also for alternative shells.
8342 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8343 If failing, a regular file would be written otherwise.
8344 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8345 (tramp-find-inline-encoding): Cache the coding commands in the
8346 process cache. Apply test command on the remote side, if defined.
8347 (tramp-find-inline-compress): Cache the compress commands in the
8348 process cache.
8349 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8350 when requested. Handle hops.
8351 (tramp-current-connection): New defvar.
8352 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8353 Throw `suppress', if there was a failed connection shortly before.
8354 Handle user interrupt. (Bug#10187)
8355 (tramp-get-inline-compress, tramp-get-inline-coding):
8356 Read connection properties from the process cache.
8357
8358 * net/tramp-smb.el (tramp-smb-server-version)
8359 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8360 New defconsts.
8361 (tramp-smb-prompt): Extend for powershell prompt.
8362 (tramp-smb-file-name-handler-alist): Add handlers for
8363 `process-file', `shell-command' and `start-file-process'.
8364 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8365 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8366 (tramp-smb-file-name-p): Simplify.
8367 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8368 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8369 (tramp-smb-shell-quote-argument): New defuns.
8370 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8371 Implement using "tar". By this, time-stamps are preserved.
8372 (tramp-smb-handle-copy-file): Handle also the case of directories.
8373 (tramp-smb-do-file-attributes-with-stat)
8374 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8375 Use `tramp-get-connection-buffer').
8376 (tramp-smb-handle-rename-file): Use "rename", when source and
8377 target are on the same share.
8378 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8379 Use `tramp-smb-server-version'.
8380 (tramp-smb-wait-for-output): Remove prompt.
8381
8382 * net/tramp.el (top): Require 'cl.
8383 (tramp-methods, tramp-rsh-end-of-line):
8384 Remove `tramp-password-end-of-line' from docstring.
8385 (tramp-save-ad-hoc-proxies): New defcustom.
8386 (tramp-completion-function-alist): Adapt docstring.
8387 (tramp-default-password-end-of-line): Remove defcustom.
8388 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8389 (tramp-user-regexp, tramp-file-name-regexp-unified)
8390 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8391 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8392 (tramp-remote-file-name-spec-regexp): New defconst.
8393 (tramp-file-name-structure): Extend structure for hops.
8394 (tramp-get-method-parameter): Move up.
8395 (tramp-file-name-p, tramp-dissect-file-name)
8396 (with-parsed-tramp-file-name): Handle hops.
8397 (tramp-file-name-hop): New defun.
8398 (tramp-make-tramp-file-name): New optional arg HOP.
8399 (tramp-message-show-progress-reporter-message): New defvar.
8400 (tramp-with-progress-reporter): Use it. We cannot use
8401 `tramp-message-show-message' here, because this suppresses also
8402 error buffers.
8403 (tramp-error-with-buffer): Suppress buffer view, if
8404 `tramp-message-show-message' is nil.
8405 Use `tramp-get-connection-buffer'.
8406 (tramp-cleanup): New defun.
8407 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8408 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8409 an error unchanged.
8410 (tramp-completion-handle-file-name-all-completions): Handle hops.
8411 Fix an error when called from ido.
8412 (tramp-completion-dissect-file-name): Use better local variable
8413 name. Add hop to the vector.
8414 (tramp-handle-insert-file-contents): Use progress-reporter for the
8415 whole scenario.
8416 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8417 to `t'.
8418 (tramp-check-for-regexp): Simplify search.
8419 (tramp-enter-password): Remove it. Move implementation ...
8420 (tramp-action-password): ... here.
8421 (tramp-mode-string-to-int, tramp-local-host-p)
8422 (tramp-make-tramp-temp-file, tramp-read-passwd)
8423 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8424 Set tramp-autoload cookie.
8425
8426 * net/trampver.el: Update release number.
8427
8428 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8429 Michael Albinus <michael.albinus@gmx.de>
8430
8431 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8432 (tramp-parse-group, tramp-parse-file)
8433 (tramp-parse-shostkeys-sknownhosts): New defuns.
8434 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8435 (tramp-parse-shosts-group, tramp-parse-sconfig)
8436 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8437 (tramp-parse-sknownhosts, tramp-parse-hosts)
8438 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8439 Use them.
8440 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8441 (tramp-parse-putty-group): Don't narrow.
8442 (tramp-parse-putty): Make a loop.
8443 (tramp-file-name-handler): Catch the `suppress' signal.
8444
8445 2012-06-11 Chong Yidong <cyd@gnu.org>
8446
8447 * image.el (imagemagick-register-types): Put the ImageMagick entry
8448 at the end of image-type-file-name-regexps.
8449
8450 2012-06-11 Johan Bockgård <bojohan@gnu.org>
8451
8452 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8453 (pcase, pcase-let*, pcase-dolist): Use them.
8454
8455 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * emacs-lisp/pcase.el (pcase--let*): New function.
8458 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8459 (pcase--expand): Use macroexp-let².
8460
8461 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8464 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8465 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8466 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8467 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8468 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8469
8470 2012-06-10 Glenn Morris <rgm@gnu.org>
8471
8472 * mail/rmail.el (rmail-yank-current-message): Leave point at
8473 correct position. (Bug#11660)
8474
8475 2012-06-10 Chong Yidong <cyd@gnu.org>
8476
8477 * allout-widgets.el: Fix code header.
8478
8479 2012-06-10 Chong Yidong <cyd@gnu.org>
8480
8481 * cus-edit.el (customize-changed-options-previous-release):
8482 Bump to 24.1.
8483
8484 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8485
8486 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8487
8488 2012-06-09 Chong Yidong <cyd@gnu.org>
8489
8490 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8491
8492 2012-06-09 Martin Rudalics <rudalics@gmx.at>
8493
8494 * window.el (special-display-popup-frame): Don't use
8495 window--display-buffer (Bug#11651).
8496
8497 2012-06-09 Eli Zaretskii <eliz@gnu.org>
8498
8499 Fix parallel builds: make sure loaddefs.el is not being written
8500 while Lisp files are compiled.
8501 (compile): Don't depend on 'mh-autoloads'.
8502 (compile-CMD, compile-SH): Depend on 'autoloads'.
8503 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8504
8505 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8506
8507 2012-06-09 Chong Yidong <cyd@gnu.org>
8508
8509 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8510 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8511 Doc fixes (Bug#11225).
8512
8513 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8516 a function if there's a clear indication that it has a compiler-macro.
8517 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8518 (macro-declarations-alist): Add arglist to declaration functions.
8519 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8520 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8521 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8522 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8523 Also add autoload to find the compiler macro.
8524 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8525 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8526 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8527 (cl--compiler-macro-get): New functions, replacing calls to
8528 cl-define-compiler-macro.
8529 (cl-typep) [compiler-macro]: Use macroexp-let².
8530
8531 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
8532
8533 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8534 string properly, fixes Bug#11473.
8535
8536 2012-06-08 Chong Yidong <cyd@gnu.org>
8537
8538 * faces.el (set-face-attribute): Doc fix.
8539 (modify-face): Don't use :bold and :italic.
8540 (error, warning, success): Tweak definitions.
8541
8542 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8543 (custom-modified, custom-set, custom-changed, custom-themed)
8544 (custom-saved, custom-button, custom-button-mouse)
8545 (custom-button-pressed, custom-state, custom-comment-tag)
8546 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8547 (custom-group-subtitle): Use new-style face specs.
8548 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8549 (custom-set-face, custom-changed-face, custom-saved-face)
8550 (custom-button-face, custom-button-pressed-face)
8551 (custom-documentation-face, custom-state-face)
8552 (custom-comment-face, custom-comment-tag-face)
8553 (custom-variable-tag-face, custom-variable-button-face)
8554 (custom-face-tag-face, custom-group-tag-face-1)
8555 (custom-group-tag-face): Remove obsolete face alias.
8556
8557 * epa.el (epa-validity-high, epa-validity-medium)
8558 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8559 (epa-field-name, epa-field-body):
8560 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8561 (font-lock-keyword-face, font-lock-builtin-face)
8562 (font-lock-function-name-face, font-lock-variable-name-face)
8563 (font-lock-type-face, font-lock-constant-face):
8564 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8565 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8566 * speedbar.el (speedbar-button-face, speedbar-file-face)
8567 (speedbar-directory-face, speedbar-tag-face)
8568 (speedbar-selected-face, speedbar-highlight-face)
8569 (speedbar-separator-face):
8570 * whitespace.el (whitespace-newline, whitespace-space)
8571 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8572 (whitespace-line, whitespace-space-before-tab)
8573 (whitespace-space-after-tab, whitespace-indentation)
8574 (whitespace-empty):
8575 * emulation/cua-base.el (cua-global-mark):
8576 * eshell/em-prompt.el (eshell-prompt):
8577 * net/newst-plainview.el (newsticker-new-item-face)
8578 (newsticker-old-item-face, newsticker-immortal-item-face)
8579 (newsticker-obsolete-item-face, newsticker-date-face)
8580 (newsticker-statistics-face, newsticker-default-face):
8581 * net/newst-reader.el (newsticker-feed-face)
8582 (newsticker-extra-face, newsticker-enclosure-face):
8583 * net/newst-treeview.el (newsticker-treeview-face)
8584 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8585 (newsticker-treeview-immortal-face)
8586 (newsticker-treeview-obsolete-face)
8587 (newsticker-treeview-selection-face):
8588 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8589 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8590 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8591 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8592 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8593 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8594 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8595 (mpuz-text):
8596 * progmodes/vera-mode.el (vera-font-lock-number)
8597 (vera-font-lock-function, vera-font-lock-interface):
8598 * textmodes/table.el (table-cell): Use new-style face specs, and
8599 don't use the old :bold and :italic attributes.
8600
8601 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8602 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8603 (ebrowse-member-class, ebrowse-progress): Likewise.
8604 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8605 (ebrowse-file-name-face, ebrowse-default-face)
8606 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8607 (ebrowse-progress-face): Remove obsolete faces.
8608
8609 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8610 Inherit from error and warning faces respectively.
8611
8612 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8613 Likewise.
8614 (flyspell-incorrect-face, flyspell-duplicate-face):
8615 Remove obsolete aliases.
8616
8617 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8618
8619 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8620 Avoid infloop.
8621
8622 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8623
8624 * startup.el (argv, argi): Make lexically scoped.
8625 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8626 * emacs-lisp/cl-macs.el: Use lexical-binding.
8627 Rename cl-bind-* to cl--bind-*.
8628 * files.el: Don't require `cl' since it doesn't use it.
8629 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8630
8631 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8632
8633 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8634 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8635 instead of calling external sort utility.
8636 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8637
8638 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8639
8640 * descr-text.el (describe-char): Mention how to insert the
8641 character, if the current input method doesn't support it.
8642 See the discussion in this thread for the details:
8643 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8644
8645 2012-06-08 Sam Steingold <sds@gnu.org>
8646
8647 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8648 XF86Back to previous-buffer.
8649 (minibuffer-local-map): Bind them to next-history-element and
8650 previous-history-element respectively.
8651 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8652 help-go-back respectively.
8653 * info.el (Info-mode-map): Bind them to Info-history-forward and
8654 Info-history-back respectively.
8655 These are the keys next to Up on the ThinkPad keyboard.
8656
8657 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8660 * emacs-lisp/cl-macs.el: Provide itself.
8661 (cl--labels-convert-cache): New var.
8662 (cl--labels-convert): New function.
8663 (cl-flet, cl-labels): New implementation with new semantics, relying on
8664 lexical-binding.
8665 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8666 (cl-closure-vars, cl--function-convert-cache)
8667 (cl--function-convert): Move from cl-macs.el.
8668 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8669 rename by removing the "cl-" prefix.
8670 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8671
8672 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8675 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8676 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8677 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8678 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8679 (cl-hash-table-count): Add old compatibility aliases.
8680
8681 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8682 Use macroexpand-all-environment instead.
8683 (cl--old-macroexpand): New var.
8684 (cl--sm-macroexpand): New function.
8685 (cl-symbol-macrolet): Use it during macro expansion.
8686 (cl--function-convert-cache): New var.
8687 (cl--function-convert): New function, extracted from
8688 cl-macroexpand-all.
8689 (cl-lexical-let): Use it.
8690
8691 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8692 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8693 (cl-member): Remove old alias.
8694
8695 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8696 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8697 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8698 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8699 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8700 (cl-macroexpand-cmacs): Remove var.
8701 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8702 Use macroexpand-all instead.
8703
8704 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8707 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8708 (macroexp-copyable-p): New functions and macros.
8709 * emacs-lisp/edebug.el (edebug-unwrap):
8710 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8711 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8712 (pcase--let*): Remove.
8713 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8714 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8715 macroexp-const-p instead.
8716 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8717
8718 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8719 instead of "cl-" for internal definitions. Use macroexp-const-p.
8720 (cl-old-bc-file-form): Remove var.
8721 (cl-const-exprs-p): Remove fun.
8722 (cl-labels, cl-macrolet): Use backquote.
8723 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8724 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8725 (cl-define-setf-expander): Rename from cl-define-setf-method.
8726 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8727
8728 * international/mule-cmds.el: Don't require CL.
8729 (view-hello-file): Don't use `letf'.
8730
8731 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * tmm.el (tmm-prompt): Use string-prefix-p.
8734 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8735 (tmm-add-prompt): Use minibuffer-completion-help.
8736 (tmm-delete-map): Remove.
8737
8738 * subr.el (kbd): Make it its own function.
8739
8740 2012-06-07 Stefan Merten <smerten@oekonux.de>
8741
8742 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8743 Silence compiler warnings. Fix versions.
8744 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8745 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8746 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8747 (rst-package-emacs-version-alist): Correct Emacs version to
8748 represent major merge with upstream.
8749 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8750
8751 2012-06-06 Glenn Morris <rgm@gnu.org>
8752
8753 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8754 Only print environment variables if set.
8755
8756 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8759 (macroexp--cons): Rename from maybe-cons.
8760 (macroexp--accumulate): Rename from macroexp-accumulate.
8761 (macroexp--all-forms): Rename from macroexpand-all-forms.
8762 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8763 (macroexp--expand-all): Rename from macroexpand-all-1.
8764
8765 2012-06-06 Sam Steingold <sds@gnu.org>
8766
8767 * calendar/calendar.el (calendar-in-read-only-buffer):
8768 Call `special-mode' to enable the standard read-only keybindings.
8769
8770 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8773 with "loading" messages (bug#11635).
8774
8775 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8776
8777 * files.el (enable-remote-dir-locals): New option.
8778 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8779
8780 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8781 Ensure, that the temp directory is local.
8782
8783 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8784 `temporary-file-directory'.
8785
8786 * progmodes/python.el (python-send-region): Ensure, that the
8787 temporary file is created also in the remote case.
8788
8789 2012-06-06 Glenn Morris <rgm@gnu.org>
8790
8791 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8792 (vc-rcs-update-changelog): Use it.
8793
8794 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8795
8796 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8797 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8798 (vc-sccs-diff): Replace use of the external vcdiff script.
8799
8800 2012-06-05 Glenn Morris <rgm@gnu.org>
8801
8802 * ledit.el: Move to obsolete/.
8803
8804 2012-06-05 Sam Steingold <sds@gnu.org>
8805
8806 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8807 patch (Bug#11140).
8808
8809 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * emacs-lisp/cust-print.el: Move to obsolete.
8812
8813 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8814 compiler-macro expansion.
8815
8816 Add native compiler-macro support.
8817 * emacs-lisp/macroexp.el (macroexpand-all-1):
8818 Support compiler-macros directly. Properly follow aliases and apply
8819 the compiler macros more thoroughly.
8820 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8821 macroexpand now properly follows aliases.
8822 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8823 (cl-compiler-macroexpand): Use new prop.
8824 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8825
8826 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8827
8828 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8829
8830 * window.el (get-lru-window, get-mru-window, get-largest-window):
8831 New argument NOT-SELECTED to avoid picking the selected window.
8832 (window--display-buffer-1, window--display-buffer-2): Replace by
8833 new function window--display-buffer
8834 (display-buffer-same-window, display-buffer-reuse-window)
8835 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8836 Use window--display-buffer.
8837 (display-buffer-use-some-window): Remove temporary dedication
8838 hack by calling get-lru-window and get-largest-window with
8839 NOT-SELECTED argument non-nil. Call window--display-buffer.
8840
8841 2012-06-05 Glenn Morris <rgm@gnu.org>
8842
8843 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8844 Replace external vcdiff script.
8845
8846 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8849
8850 2012-06-04 Chong Yidong <cyd@gnu.org>
8851
8852 * image.el (imagemagick-types-inhibit): Revert last change.
8853 Add INFO and M.
8854 (imagemagick-enabled-types): Remove CIN and EPS*.
8855
8856 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * emacs-lisp/cl-lib.el: Rename from cl.el.
8859 * emacs-lisp/cl.el: New compatibility file.
8860 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8861 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8862 to obey the "cl-" prefix.
8863 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8864
8865 2012-06-03 Glenn Morris <rgm@gnu.org>
8866
8867 * emacs-lisp/authors.el (authors-aliases): Addition.
8868
8869 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8870 Fix :version.
8871
8872 2012-06-03 Stefan Merten <smerten@oekonux.de>
8873
8874 * textmodes/rst.el: Add comments.
8875 (rst-transition, rst-adornment): New faces.
8876 (rst-adornment-faces-alist): Make default safe to reevaluate.
8877 Fixes
8878 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8879 Improve customization tags.
8880 (rst-define-level-faces): Clarify meaning.
8881
8882 2012-06-03 Chong Yidong <cyd@gnu.org>
8883
8884 * progmodes/compile.el (compilation-mode-line-fail)
8885 (compilation-mode-line-run, compilation-mode-line-exit):
8886 New faces.
8887 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8888
8889 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8890
8891 * progmodes/which-func.el (which-func-update-ediff-windows):
8892 New function. Use it in ediff-select-hook (Bug#11478).
8893
8894 2012-06-03 Chong Yidong <cyd@gnu.org>
8895
8896 * bindings.el: Remove explicit help text from format-mode-line.
8897 It is now supplied by mode-line-default-help-echo.
8898 (mode-line-front-space, mode-line-end-spaces)
8899 (mode-line-misc-info): New variables.
8900 (mode-line-modes, mode-line-position): Move the default value to
8901 the variable definition.
8902 (mode-line-default-help-echo): New defcustom.
8903 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8904 (mode-line-modified-help-echo): New functions.
8905 (mode-line-mule-info, mode-line-modified): Use them.
8906 (mode-line-eol-desc, propertized-buffer-identification):
8907 Consistency fixes for help text.
8908 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8909 set-buffer-file-coding-system (Bug#289).
8910 (mode-line-mule-info-help-echo): Update help text.
8911
8912 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * simple.el (execute-extended-command): Set real-this-command
8915 (bug#11506).
8916
8917 2012-06-02 Chong Yidong <cyd@gnu.org>
8918
8919 Remove incorrect uses of "modeline" in comments, docstrings, and
8920 function/variable names (Bug#10329).
8921
8922 * cus-edit.el (mode-line):
8923 * dframe.el (dframe-mouse-hscroll):
8924 * emacs-lisp/re-builder.el:
8925 * emacs-lisp/easy-mmode.el (define-minor-mode):
8926 * frame.el (set-frame-name):
8927 * help.el (lookup-minor-mode-from-indicator):
8928 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8929 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8930 (c-toggle-hungry-state):
8931 * progmodes/antlr-mode.el (antlr-language-alist):
8932 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8933 * progmodes/vhdl-mode.el (vhdl-mode):
8934 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8935 * term/ns-win.el (ns-face-at-pos):
8936 * term/sup-mouse.el (sup-mouse-report):
8937 * textmodes/flyspell.el (flyspell-mode-line-string):
8938 * textmodes/ispell.el (ispell-highlight-face):
8939 * textmodes/reftex-global.el:
8940 * vc/vc-arch.el (vc-arch-mode-line-string):
8941 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8942 * vc/vc-git.el (vc-git-mode-line-string):
8943 * vc/vc-hooks.el (vc-display-status)
8944 (vc-default-mode-line-string):
8945 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8946
8947 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8948
8949 * dired.el (dired-sort-set-mode-line): Rename from
8950 dired-sort-set-modeline. All callers changed.
8951
8952 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8953 eshell-status-in-modeline.
8954
8955 * foldout.el (foldout-mode-line-string): Rename from
8956 foldout-modeline-string. All callers changed.
8957 (foldout-update-mode-line): Rename from foldout-update-modeline.
8958
8959 * subr.el (redraw-modeline): Make into obsolete alias.
8960
8961 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8962 timeclock-modeline-display. Make old name an alias.
8963 (timeclock-update-mode-line): Likewise. All callers changed.
8964 (timeclock-mode-line-display): No need to check before using
8965 add-hook.
8966 (timeclock-relative, timeclock-day-over-hook)
8967 (timeclock-use-elapsed, timeclock-mode-string)
8968 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8969
8970 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8971 crisp-mode-modeline-string.
8972
8973 * play/solitaire.el (solitaire-build-mode-line): Rename from
8974 solitaire-build-modeline. All callers changed.
8975
8976 * play/zone.el (zone-hiding-mode-line): Rename from
8977 zone-hiding-modeline. All callers changed.
8978 (zone): Remove unusued `modeline-hidden-level' property.
8979
8980 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8981 xscheme-modeline-initialize. All callers changed.
8982
8983 * strokes.el (strokes-lighter): Rename from
8984 strokes-modeline-string.
8985
8986 * textmodes/sgml-mode.el (html-face-tag-alist)
8987 (html-tag-face-alist): Use mode-line face instead of obsolete
8988 alias modeline.
8989
8990 2012-06-02 Stefan Merten <smerten@oekonux.de>
8991
8992 * textmodes/rst.el: Always require `cl'.
8993 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8994
8995 2012-06-02 Chong Yidong <cyd@gnu.org>
8996
8997 * image.el (imagemagick-enabled-types): Rename from
8998 imagemagick-types-enable. Add many more types.
8999 (imagemagick-types-inhibit): Change default to nil.
9000 (imagemagick-filter-types): Caller changed.
9001
9002 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * emacs-lisp/cl-macs.el: Use backquotes.
9005 (cl-transform-function-property): Use eval-and-compile rather than
9006 abusing `require'.
9007 (defstruct): Use declare-function instead of with-no-warnings.
9008
9009 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9010 (byte-compile-output-docform): Re-add the print-circle bindings.
9011 (byte-compile-fix-header): Use #$ just because it's shorter.
9012 (byte-compile-output-file-form): Remove defun/defmacro.
9013
9014 2012-06-01 Martin Rudalics <rudalics@gmx.at>
9015
9016 * simple.el (choose-completion): Remove now obsolete binding for
9017 owindow.
9018
9019 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
9020
9021 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9022 in order to avoid "Stack overflow in regexp matcher".
9023
9024 2012-05-31 Glenn Morris <rgm@gnu.org>
9025
9026 * image.el: For clarity, call imagemagick-register-types at
9027 top-level, rather than relying on a custom :initialize.
9028 (imagemagick-types-enable): New option. (Bug#11557)
9029 (imagemagick-filter-types): New function. (Bug#7406)
9030 (imagemagick-register-types): Use imagemagick-filter-types.
9031 If disabling support, remove elements altogether rather
9032 than using an impossible regexp.
9033 (imagemagick-types-inhibit): Give it the default init function.
9034
9035 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9038 Handle arbitrary file name lengths (Bug#11585).
9039
9040 2012-05-31 Martin Rudalics <rudalics@gmx.at>
9041
9042 * desktop.el (desktop-read): Clear previous and next buffers for
9043 all windows and bury *Messages* buffer (bug#11556).
9044
9045 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 Add `declare' for `defun'. Align `defmacro's with it.
9048 * emacs-lisp/easy-mmode.el (define-minor-mode)
9049 (define-globalized-minor-mode): Don't autoload the var definitions.
9050 * emacs-lisp/byte-run.el: Use lexical-binding.
9051 (defun-declarations-alist, macro-declarations-alist): New vars.
9052 (defmacro, defun): Use them.
9053 (make-obsolete, define-obsolete-function-alias)
9054 (make-obsolete-variable, define-obsolete-variable-alias):
9055 Use `declare'.
9056 (macro-declaration-function): Mark obsolete.
9057 * emacs-lisp/autoload.el: Use lexical-binding.
9058 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9059
9060 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9061
9062 * textmodes/ispell.el (ispell-with-no-warnings):
9063 Define as a macro.
9064 (ispell-kill-ispell, ispell-change-dictionary):
9065 Use `called-interactively-p' for Emacs instead of obsolete
9066 `interactive-p'.
9067
9068 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9071 (macro-declaration-function): Move var from C code.
9072 (macro-declaration-function): Define function with defalias.
9073 * emacs-lisp/macroexp.el (macroexpand-all-1):
9074 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9075 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9076 defun/defmacro any more.
9077 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9078 Provide fallback for unknown arglist.
9079 (byte-compile-arglist-warn): Change calling convention.
9080 (byte-compile-output-file-form): Move print-vars binding.
9081 (byte-compile-output-docform): Simplify accordingly.
9082 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9083 (byte-compile-defmacro-declaration): Remove.
9084 (byte-compile-file-form-defmumble): Generalize to defalias.
9085 (byte-compile-output-as-comment): Return byte-positions.
9086 Simplify callers accordingly.
9087 (byte-compile-lambda): Use `assert'.
9088 (byte-compile-defun, byte-compile-defmacro): Remove.
9089 (byte-compile-file-form-defalias):
9090 Use byte-compile-file-form-defmumble.
9091 (byte-compile-defalias-warn): Remove.
9092
9093 2012-05-29 Stefan Merten <smerten@oekonux.de>
9094
9095 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
9096 possible. Fix authors. Improve comments. Improve loading of `cl'.
9097
9098 (rst-mode-abbrev-table): Merge definition.
9099 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9100 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9101
9102 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
9103
9104 * calendar/icalendar.el
9105 (icalendar-export-region): Export UID properly.
9106
9107 2012-05-29 Leo Liu <sdl.web@gmail.com>
9108 * calendar/icalendar.el (icalendar-import-format):
9109 Add `icalendar-import-format-uid' (Bug#11525).
9110 (icalendar-import-format-uid): New.
9111 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9112 Export UID.
9113
9114 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9117 different alternative patterns.
9118 (pcase-codegen): Be more careful to preserve identity.
9119 (pcase--u1): Don't forget to mark vars as used.
9120
9121 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9122 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9123 (byte-compile-from-buffer): ...rather than here.
9124
9125 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9126 functions from byte-compile-function-environment.
9127
9128 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
9129
9130 * window.el (window-deletable-p): Avoid deleting the root window
9131 of a frame with an active minibuffer.
9132
9133 2012-05-29 Martin Rudalics <rudalics@gmx.at>
9134
9135 * simple.el (choose-completion): Use quit-window (Bug#11567).
9136
9137 2012-05-29 Chong Yidong <cyd@gnu.org>
9138
9139 * whitespace.el (whitespace-cleanup): Fix usage of
9140 whitespace-empty-at-bob-regexp (Bug#11492).
9141
9142 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9143
9144 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9145 revert (Bug#11488).
9146
9147 2012-05-29 Juri Linkov <juri@jurta.org>
9148
9149 * isearch.el (isearch-mode-map): Bind `M-s _' to
9150 `isearch-toggle-symbol'. Bind `M-s c' to
9151 `isearch-toggle-case-fold'.
9152 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9153 (isearch-forward): Add `M-s _' to the docstring.
9154 (isearch-forward-symbol, isearch-toggle-case-fold)
9155 (isearch-symbol-regexp): New functions. (Bug#11381)
9156
9157 2012-05-29 Juri Linkov <juri@jurta.org>
9158
9159 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9160 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9161 a function, call it to get the regexp.
9162 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9163 property `isearch-message-prefix' instead of the string "word ".
9164 (isearch-search-fun-default): For the case of `isearch-word',
9165 return a lambda that calls re-search-forward/re-search-backward
9166 with a regexp returned by `word-search-regexp' or by the function
9167 in `isearch-word'.
9168
9169 2012-05-29 Juri Linkov <juri@jurta.org>
9170
9171 * isearch.el (isearch-search-fun-default): New function.
9172 (isearch-search-fun): Move default part to the new function
9173 `isearch-search-fun-default'.
9174 (isearch-search-fun-function): Set the default value to
9175 `isearch-search-fun-default'. (Bug#11381)
9176
9177 * comint.el (comint-history-isearch-end):
9178 Use `isearch-search-fun-default'.
9179 (comint-history-isearch-search): Use `isearch-search-fun-default'
9180 and remove spacial case for `isearch-word'.
9181 (comint-history-isearch-wrap): Remove spacial case for
9182 `isearch-word'.
9183
9184 * hexl.el (hexl-isearch-search-function):
9185 Use `isearch-search-fun-default'.
9186
9187 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9188 Use `word-search-regexp' for `isearch-word'.
9189
9190 * misearch.el (multi-isearch-search-fun):
9191 Use `isearch-search-fun-default'.
9192
9193 * simple.el (minibuffer-history-isearch-search):
9194 Use `isearch-search-fun-default' and remove spacial case for
9195 `isearch-word'.
9196 (minibuffer-history-isearch-wrap): Remove spacial case for
9197 `isearch-word'.
9198
9199 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9200 Remove spacial case for `isearch-word'.
9201 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9202
9203 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9204
9205 Decrease XEmacs incompatibilities.
9206 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9207 Use `string-match'.
9208 (flyspell-delete-region-overlays): Use alternative definition for
9209 XEmacs.
9210 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9211 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9212 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9213 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9214 `define-obsolete-face-alias' under XEmacs, but old method.
9215
9216 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9217 `with-no-warnings' definition or Emacs alias.
9218 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9219 (ispell-word): Do not use `region-p' if XEmacs.
9220
9221 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9222
9223 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9224 Check for `ispell-dictionary-base-alist' instead of full
9225 `ispell-dictionary-alist'.
9226 (ispell-init-process): Show spellchecker when starting new Ispell
9227 process.
9228
9229 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9232 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9233
9234 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * version.el (motif-version-string, gtk-version-string)
9237 (ns-version-string): Declare.
9238
9239 2012-05-27 Juri Linkov <juri@jurta.org>
9240
9241 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9242 after the `eval-defun-1' specialcaseing
9243 like in `edebug-eval-defun' (bug#10181).
9244
9245 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9246 like in `eval-defun-1'.
9247
9248 2012-05-27 Eli Zaretskii <eliz@gnu.org>
9249
9250 * mail/sendmail.el (mail-yank-region):
9251 Recognize rmail-yank-current-message in addition to insert-buffer.
9252 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
9253 a *mail* buffer created through rmail-start-mail with sendmail as
9254 mail-user-agent.
9255
9256 2012-05-27 Chong Yidong <cyd@gnu.org>
9257
9258 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9259 Default to 256 (Bug#11267).
9260
9261 * help.el (describe-mode): Doc fix.
9262
9263 2012-05-26 Glenn Morris <rgm@gnu.org>
9264
9265 * w32-fns.el (w32-init-info): Remove.
9266 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9267
9268 * info.el (info-initialize): For self-contained NS builds, put the
9269 included info/ directory at the front. (Bug#2791)
9270
9271 * paths.el (Info-default-directory-list): Make it a defcustom,
9272 mainly so that we can use custom-initialize-delay.
9273
9274 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9275
9276 * subr.el (buffer-has-markers-at): Mark obsolete.
9277
9278 * subr.el (lambda): Use declare.
9279
9280 * emacs-lisp/lisp-mode.el (lambda):
9281 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9282
9283 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9284
9285 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9286
9287 2012-05-26 Glenn Morris <rgm@gnu.org>
9288
9289 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9290
9291 2012-05-25 Glenn Morris <rgm@gnu.org>
9292
9293 * paths.el: Remove no-byte-compile.
9294 * loadup.el: No need to load paths.el uncompiled.
9295
9296 * image.el (imagemagick-types-inhibit): Doc fix.
9297
9298 * version.el: Remove no-byte-compile and associated formatting.
9299 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9300 is ancient code from when there was an "inc-vers.el".
9301
9302 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * progmodes/gdb-mi.el: Minor style changes.
9305 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9306 Turn into minor modes.
9307 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9308 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9309 (gdb-shell): Remove unneeded let-binding.
9310 (gdb-get-many-fields): Eliminate O(n²) behavior.
9311
9312 2012-05-25 Eli Zaretskii <eliz@gnu.org>
9313
9314 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9315 platforms that don't link in fontset.c.
9316
9317 2012-05-25 Juri Linkov <juri@jurta.org>
9318
9319 Use the same diff color scheme as in modern VCSes (bug#10181).
9320
9321 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9322 to avoid confusion with `diff-added' that now uses green colors.
9323 (diff-removed): Use shades of red.
9324 (diff-added): Use shades of green.
9325 (diff-changed): Leave just the yellow color.
9326 (diff-use-changed-face): New variable.
9327 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9328 how to highlight context diff changes.
9329 (diff-refine-change): Use shades of yellow.
9330 (diff-refine-removed): New face that uses shades of red.
9331 (diff-refine-added): New face that uses shades of green.
9332 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9333 `diff-refine-removed' in the call to `smerge-refine-subst'
9334 depending on the value of `diff-use-changed-face'.
9335
9336 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9337 (smerge-other): Use shades of green.
9338 (smerge-base): Use shades of yellow.
9339 (smerge-refined-change): Empty face.
9340 (smerge-refined-removed): New face that uses shades of red.
9341 (smerge-refined-added): New face that uses shades of green.
9342 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9343 args `props-r' and `props-a', and use them. Doc fix.
9344 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9345 on its value use different faces `smerge-refined-change',
9346 `smerge-refined-removed', `smerge-refined-added' in the call to
9347 `smerge-refine-subst'.
9348
9349 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9350 Add face condition `min-colors 88' with shades of red.
9351 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9352 `min-colors 88' with shades of green.
9353 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9354 `min-colors 88' with shades of yellow.
9355
9356 2012-05-24 Glenn Morris <rgm@gnu.org>
9357
9358 * paths.el (prune-directory-list, remote-shell-program): Move to...
9359 * files.el (prune-directory-list, remote-shell-program): ...here.
9360 For the latter, delay initialization, prefer ssh, just search PATH.
9361
9362 * paths.el (term-file-prefix): Move to faces.el (the only user).
9363 * faces.el (term-file-prefix): Move here, make it a defcustom.
9364
9365 * paths.el (news-directory, news-path, news-inews-program):
9366 Move to gnus/nnspool.el.
9367
9368 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9369
9370 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9371 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9372 Make the latter a defcustom, with a delayed initialization.
9373
9374 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9375 These were deleted from Gnus itself late 2010.
9376
9377 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
9378
9379 * progmodes/which-func.el (which-func-ff-hook):
9380 Check against user-error, not error.
9381
9382 * emacs-lisp/edebug.el (top): Do not load or set up loading of
9383 cl-specs.el, which no longer exists.
9384
9385 2012-05-22 Glenn Morris <rgm@gnu.org>
9386
9387 * info.el (info-emacs-bug): New command.
9388 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9389 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9390
9391 2012-05-21 Glenn Morris <rgm@gnu.org>
9392
9393 * makefile.w32-in (update-subdirs-SH):
9394 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9395
9396 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9399
9400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9401 Simplify Maven regexp, and make sure the file can't start with a space
9402 (bug#11517).
9403
9404 2012-05-21 Glenn Morris <rgm@gnu.org>
9405
9406 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9407 Scrap superfluous subshells.
9408
9409 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9412 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9413
9414 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9415
9416 * calc/calc.el (calc-ensure-consistent-units): New variable.
9417
9418 * calc/calc-units.el (math-consistent-units-p)
9419 (math-check-unit-consistency): New functions.
9420 (calc-quick-units, calc-convert-units):
9421 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9422 is non-nil.
9423 (calc-extract-units): Fix typo.
9424
9425 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9428
9429 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9430 (flyspell-default-deplacement-commands): Don't spell check after
9431 repeated window/frame switches (e.g. triggered by mouse-movement).
9432 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9433 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9434 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9435 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9436 Remove unused vars.
9437 (flyspell-get-casechars, flyspell-get-not-casechars):
9438 Simplify; Don't bother removing a ] just to add it back.
9439 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9440
9441 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9442
9443 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9444 New functions.
9445 (math-function-table): Add support for more C functions.
9446
9447 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9448
9449 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9450 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9451 Protect delay handling for otherchars against empty otherchars.
9452
9453 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9456 their respective macro declarations.
9457 * skeleton.el (define-skeleton):
9458 * progmodes/compile.el (define-compilation-mode):
9459 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9460 (define-ibuffer-filter):
9461 * emacs-lisp/generic.el (define-generic-mode):
9462 * emacs-lisp/easy-mmode.el (define-minor-mode)
9463 (define-globalized-minor-mode):
9464 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9465 * emacs-lisp/byte-run.el (defsubst):
9466 * custom.el (deftheme): Add doc-string metadata.
9467
9468 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9471
9472 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9475
9476 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9477 * emacs-lisp/cl-macs.el: Idem.
9478 * emacs-lisp/cl-specs.el: Remove.
9479
9480 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 Minor renaming of internal CL functions and variables.
9483 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9484 (cl--position): Rename from cl-position.
9485 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9486 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9487 (cl--random-state): Rename from *random-state*.
9488
9489 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9492 parens around the arg list (bug#11499).
9493
9494 2012-05-17 Juri Linkov <juri@jurta.org>
9495
9496 * isearch.el (word-search-regexp, word-search-backward)
9497 (word-search-forward, word-search-backward-lax)
9498 (word-search-forward-lax): Move functions from search.c
9499 (bug#10145, bug#11381).
9500
9501 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9502
9503 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9504 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9505 Delay for otherchars as for normal word components.
9506
9507 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * minibuffer.el (completion--sifn-requote): Fix last change.
9510 (minibuffer-local-must-match-filename-map):
9511 Move define-obsolete-variable-alias before its var.
9512
9513 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9516
9517 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9518 behavior.
9519 (completion--string-equal-p): New function.
9520 (completion--twq-all): Use it to get better assertion failure data.
9521
9522 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9523 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9524 (shell--requote-argument): New functions.
9525 (shell-completion-vars): Use them.
9526 (shell--parse-pcomplete-arguments): Rename from
9527 shell-parse-pcomplete-arguments.
9528 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9529 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9530 Obey comint-file-name-quote-list.
9531
9532 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9533 (smie-indent-keyword): Use it.
9534
9535 2012-05-14 Stefan Merten <smerten@oekonux.de>
9536
9537 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9538
9539 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * net/rlogin.el (rlogin-mode-map): Fix last change.
9542
9543 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9544
9545 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9546 the following \r\n using a single `process-send-string', since the
9547 Lotus SMTP server refuses to accept any commands if they are sent
9548 with two `process-send-string's (Bug#11444).
9549
9550 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9551
9552 * shell.el (shell-parse-pcomplete-arguments):
9553 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9554
9555 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9556
9557 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9558 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9559 (image-transform-width, image-transform-fit-width): New functions.
9560 (image-transform-properties): Use them.
9561 (image-transform-check-size): New function.
9562 (image-toggle-display-image): Use it (for testing).
9563 (image-transform-set-rotation): Reduce angle mod 360.
9564 Delete obsolete comment.
9565
9566 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9567
9568 * image-mode.el: Fix scaling (bug#11399).
9569 (image-transform-resize): Doc fix.
9570 (image-transform-properties): Default scale is 1 and height should
9571 be an integer.
9572
9573 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9574
9575 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9576 than hard-coding `car', to fix misbehavior when moving forward.
9577
9578 2012-05-13 Chong Yidong <cyd@gnu.org>
9579
9580 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9581 (tabulated-list-entries, tabulated-list-padding)
9582 (tabulated-list-sort-key): Make permanent-local.
9583
9584 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9585 (electric-buffer-list): Put electric buffer menu
9586 command descriptions in this docstring, instead of the docstring
9587 of electric-buffer-menu-mode. Code cleanups.
9588 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9589 Electric-buffer-menu-mode.
9590 (electric-buffer-update-highlight): Minor code cleanup.
9591
9592 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9593
9594 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9595 (Bug#11447)
9596
9597 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 Move define-obsolete-variable-alias before the var's definition.
9600 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9601 * tooltip.el (tooltip-hook):
9602 * textmodes/reftex-toc.el (reftex-toc-map):
9603 * textmodes/reftex-sel.el (reftex-select-label-map)
9604 (reftex-select-bib-map):
9605 * textmodes/reftex-index.el (reftex-index-map)
9606 (reftex-index-phrases-map):
9607 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9608 * progmodes/meta-mode.el (meta-mode-map):
9609 * novice.el (disabled-command-hook):
9610 * loadhist.el (unload-hook-features-list):
9611 * frame.el (blink-cursor):
9612 * files.el (find-file-not-found-hooks, write-file-hooks)
9613 (write-contents-hooks):
9614 * emulation/tpu-edt.el (GOLD-map):
9615 * emacs-lock.el (emacs-lock-from-exiting):
9616 * emacs-lisp/generic.el (generic-font-lock-defaults):
9617 * emacs-lisp/chart.el (chart-map):
9618 * dos-fns.el (register-name-alist):
9619 * dired-x.el (dired-omit-files-p):
9620 * desktop.el (desktop-enable):
9621 * cus-edit.el (custom-mode-hook):
9622 * buff-menu.el (buffer-menu-mode-hook):
9623 * bookmark.el (bookmark-read-annotation-text-func)
9624 (bookmark-exit-hooks):
9625 * allout.el (allout-mode-deactivate-hook)
9626 (allout-exposure-change-hook, allout-structure-added-hook)
9627 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9628 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9629 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9630 comes before the corresponding variable's definition.
9631
9632 2012-05-12 Chong Yidong <cyd@gnu.org>
9633
9634 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9635 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9636 (Buffer-menu-mode-map): Bind it.
9637 (Buffer-menu--pretty-name): Add a mouse-face property.
9638
9639 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9642 (prolog-upper-case-string, prolog-lower-case-string)
9643 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9644 (prolog-use-smie, prolog-smie-grammar): New vars.
9645 (prolog-smie-forward-token, prolog-smie-backward-token)
9646 (prolog-smie-rules): New funs.
9647 (prolog-comment-indent): Remove.
9648 (prolog-mode-variables): Use default comment indentation instead.
9649 Setup SMIE.
9650 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9651 (prolog-mode): Don't call them any more.
9652 (prolog-electric-colon, prolog-electric-dash)
9653 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9654
9655 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9656
9657 * minibuffer.el (completion--twq-all): Again, allow case differences.
9658
9659 * term.el: Move keymap initialization code to be more idiomatic.
9660 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9661 (term-terminal-menu): Move initialization into declaration.
9662 (term-escape-char): Let the user set it in her .emacs.
9663
9664 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9665 Provide SMIE-based indentation (not enabled by default yet).
9666 (sh-mode-map): Don't bind electric keys.
9667 Use electric-pair-mode instead of skeleton-pair.
9668 (sh-assignment-regexp): Fit within 80 columns.
9669 (sh-indent-supported): Specify actual shell name instead of boolean.
9670 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9671 (sh-maybe-here-document): Use it. Make obsolete.
9672 (sh-electric-here-document-mode) New minor mode.
9673 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9674 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9675 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9676 (sh-smie-rc-grammar, sh-use-smie): New vars.
9677 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9678 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9679 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9680 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9681 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9682 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9683 (sh-set-shell): Use smie-setup if requested.
9684
9685 * term.el (term-set-escape-char): Properly set term-escape-char.
9686 See http://stackoverflow.com/questions/10524656.
9687
9688 2012-05-10 Chong Yidong <cyd@gnu.org>
9689
9690 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9691 Use url-generic-parse-url, and handle host names and Windows
9692 filenames properly.
9693 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9694 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9695 URL schemes to work on.
9696 (ffap--toggle-read-only): New function.
9697 (ffap-read-only, ffap-read-only-other-window)
9698 (ffap-read-only-other-frame): Use it.
9699 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9700 necessary for ffap-url-unwrap-remote.
9701
9702 2012-05-10 Dave Abrahams <dave@boostpro.com>
9703
9704 * cus-start.el (create-lockfiles): Add it.
9705
9706 2012-05-09 Chong Yidong <cyd@gnu.org>
9707
9708 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9709 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9710
9711 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9714
9715 2012-05-09 Chong Yidong <cyd@gnu.org>
9716
9717 * ansi-color.el (ansi-color-process-output): Check for validity of
9718 comint-last-output-start before using it. This avoids a bad
9719 interaction with gdb-mi's input/output buffer.
9720
9721 2012-05-09 Glenn Morris <rgm@gnu.org>
9722
9723 * files.el (dir-locals-read-from-file):
9724 Mention dir-locals in any error message.
9725
9726 2012-05-09 Chong Yidong <cyd@gnu.org>
9727
9728 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9729 package (Bug#11410).
9730
9731 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9732 variables into description.
9733
9734 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9737 shell-delimiter-argument-list (bug#11348).
9738 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9739
9740 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9741
9742 * textmodes/rst.el: Silence byte-compiler warnings.
9743 (rst-re-alist, rst-reset-section-caches): Move around.
9744 (rst-re): Use `characterp', not `char-valid-p'.
9745 (font-lock-beg, font-lock-end): Declare.
9746
9747 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9748 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9749
9750 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9751
9752 2012-05-08 Glenn Morris <rgm@gnu.org>
9753
9754 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9755
9756 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * vc/log-edit.el: Add GNU coding standards highlighting.
9759 (log-edit-font-lock-gnu-style)
9760 (log-edit-font-lock-gnu-keywords): New vars.
9761 (log-edit-font-lock-keywords): New fun.
9762 (log-edit-mode): Don't fold case in font-lock.
9763 (log-edit-font-lock-keywords): Do not assume case-folding.
9764
9765 * imenu.el: Misc cleanup. Make docstrings out of comments.
9766 Use lexical-binding.
9767 (imenu--index-alist, imenu--last-menubar-index-alist)
9768 (imenu-menubar-modified-tick): Use defvar-local.
9769 (imenu--split-menu): Remove unused var.
9770 (imenu--cleanup-seen): Declare as global.
9771 (imenu--cleanup): Use dolist.
9772
9773 * subr.el (defvar-local): Add debug spec and doc-string position.
9774
9775 2012-05-08 Glenn Morris <rgm@gnu.org>
9776
9777 * language/burmese.el, language/cham.el, language/czech.el:
9778 * language/english.el, language/georgian.el, language/greek.el:
9779 * language/japanese.el, language/khmer.el, language/korean.el:
9780 * language/lao.el, language/misc-lang.el, language/romanian.el:
9781 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9782 * language/thai.el, language/utf-8-lang.el:
9783 Remove no-byte-compile setting.
9784
9785 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9786
9787 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9788
9789 * progmodes/make-mode.el (makefile-browse):
9790 Remove unnecessary interactive. (Bug#11324)
9791
9792 2012-05-07 Glenn Morris <rgm@gnu.org>
9793
9794 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9795
9796 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9797
9798 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * loadup.el: Preload newcomment.el.
9801 * newcomment.el: Move autoload-only code to toplevel.
9802
9803 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9804 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9805 Handle new :right-align column property.
9806 (tabulated-list-print-col): Idem, plus use `display' text-property to
9807 try and preserve alignment for variable pitch fonts.
9808
9809 2012-05-07 Chong Yidong <cyd@gnu.org>
9810
9811 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9812 (tabulated-list-use-header-line): New var.
9813 (tabulated-list-init-header): Use it.
9814 (tabulated-list-print-fake-header): New function.
9815 (tabulated-list-print): Use it.
9816 (tabulated-list-sort-button-map): Add non-header-line commands.
9817 (tabulated-list-init-header): Add column name property to basic
9818 labels as well.
9819 (tabulated-list-col-sort): Handle non-header-line button case.
9820 (tabulated-list--sort-by-column-name): Fix a corner case.
9821
9822 * buff-menu.el (list-buffers--refresh):
9823 Handle Buffer-menu-use-header-line.
9824
9825 2012-05-06 Chong Yidong <cyd@gnu.org>
9826
9827 * buff-menu.el: Convert to Tabulated List mode.
9828 (Buffer-menu-buffer+size-width): Make obsolete.
9829 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9830 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9831 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9832 documentation into docstring of buffer-menu.
9833 (Buffer-menu-toggle-files-only): Add an informative message.
9834 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9835 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9836 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9837 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9838 (Buffer-menu-execute, Buffer-menu-select)
9839 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9840 (Buffer-menu-bury): Use Tabulated List machinery.
9841 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9842 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9843 Delete.
9844 (list-buffers--refresh): New function.
9845 (list-buffers-noselect): Use it.
9846 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9847 (Buffer-menu--pretty-file-name): New helper functions.
9848
9849 * loadup.el: Preload tabulated-list.
9850
9851 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9852 tabulated-list-sort-column.
9853 (tabulated-list-init-header): Add the initial aligning space even
9854 if tabulated-list-padding is zero.
9855
9856 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9857
9858 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9859 whose cdr is not a cons cell correctly (bug#11038).
9860
9861 2012-05-06 Chong Yidong <cyd@gnu.org>
9862
9863 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9864 Accept additional plist in column descriptors.
9865 (tabulated-list-init-header): Obey it.
9866 (tabulated-list-get-entry): New function.
9867 (tabulated-list-put-tag): Use it. Use string-width instead of
9868 length.
9869 (tabulated-list--column-number): New function.
9870 (tabulated-list-print): Use it.
9871 (tabulated-list-print-col): New function.
9872 Set `tabulated-list-column-name' property on each column's text.
9873 (tabulated-list-print-entry): Use it.
9874 (tabulated-list-delete-entry, tabulated-list-set-col):
9875 New functions.
9876 (tabulated-list-sort-column): New command (Bug#11337).
9877
9878 * buff-menu.el (list-buffers): Move C-x C-b binding from
9879 buff-menu.el to bindings.el.
9880
9881 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9882 :advertised-binding feature.
9883
9884 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9885
9886 * progmodes/compile.el (compilation-internal-error-properties):
9887 Calculate start position correctly when end-col is set but
9888 end-line is not (Bug#11382).
9889
9890 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9891
9892 * man.el (Man-unindent): Use text-property-default-nonsticky to
9893 prevent untabify from inheriting face properties (Bug#11408).
9894
9895 2012-05-05 Stefan Merten <smerten@oekonux.de>
9896
9897 * textmodes/rst.el: Major merge with upstream development up to
9898 Docutils SVN r7399 / rst.el V1.2.1.
9899
9900 Clarify maintainership and authors.
9901
9902 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9903 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9904 (rst-official-version, rst-official-cvs-rev, rst-version)
9905 (rst-package-emacs-version-alist): New functions and variables
9906 for version information.
9907
9908 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9909 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9910 (rst-mode-syntax-table, rst-mode): New and corrected functions
9911 and variables representing reStructuredText features.
9912
9913 (rst-re): New function for reStructuredText regexes. Use in
9914 many places.
9915
9916 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9917 (rst-mode-map): Rebind keys.
9918
9919 (rst-mode-lazy, rst-font-lock-keywords)
9920 (rst-font-lock-extend-region)
9921 (rst-font-lock-extend-region-internal)
9922 (rst-font-lock-extend-region-extend)
9923 (rst-font-lock-find-unindented-line-limit)
9924 (rst-font-lock-find-unindented-line-match)
9925 (rst-adornment-level, rst-font-lock-adornment-level)
9926 (rst-font-lock-adornment-match)
9927 (rst-font-lock-handle-adornment-pre-match-form)
9928 (rst-font-lock-handle-adornment-matcher): Major revision of
9929 font-locking. Integrate with other code. Use `jit-lock-mode'.
9930
9931 (rst-preferred-adornments, rst-adjust-hook)
9932 (rst-new-adornment-down, rst-preferred-bullets)
9933 (rst-preferred-bullets, rst-indent, rst-indent-width)
9934 (rst-indent-field, rst-indent-literal-normal)
9935 (rst-indent-literal-minimized, rst-indent-comment): Change,
9936 extend and improve customization.
9937
9938 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9939 (rst-normalize-cursor-position, rst-get-decoration)
9940 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9941 (rst-rstrip, rst-toc-insert-find-delete-contents)
9942 (rst-shift-fill-region, rst-compute-bullet-tabs)
9943 (rst-debug-print-tabs, rst-debug-mark-found)
9944 (rst-shift-region-guts, rst-shift-region-right)
9945 (rst-shift-region-left, rst-use-char-classes)
9946 (rst-font-lock-keywords-function)
9947 (rst-font-lock-indentation-point)
9948 (rst-font-lock-find-unindented-line-begin)
9949 (rst-font-lock-find-unindented-line-end)
9950 (rst-font-lock-find-unindented-line)
9951 (rst-font-lock-adornment-point, rst-font-lock-level)
9952 (rst-adornment-level-alist): Remove functions and variables.
9953
9954 (rst-compare-adornments, rst-get-adornment-match)
9955 (rst-suggest-new-adornment, rst-get-adornments-around)
9956 (rst-adornment-complete-p, rst-get-next-adornment)
9957 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9958 (rst-straighten-adornments): Standardize function names to
9959 use "adornment" instead of "decoration". Correct callers.
9960 Similar standardizing in many places.
9961
9962 (rst-update-section, rst-adjust, rst-promote-region)
9963 (rst-enumerate-region, rst-bullet-list-region)
9964 (rst-repeat-last-character): Correct use of `interactive'.
9965
9966 (rst-classify-adornment, rst-find-all-adornments)
9967 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9968 (rst-find-leftmost-column, rst-repeat-last-character):
9969 Refactor functions.
9970
9971 (rst-find-title-line, rst-reset-section-caches)
9972 (rst-get-adornments-around, rst-adjust-adornment-work)
9973 (rst-arabic-to-roman, rst-roman-to-arabic)
9974 (rst-insert-list-pos, rst-insert-list-new-item)
9975 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9976 New functions.
9977
9978 (rst-all-sections, rst-section-hierarchy)
9979 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9980 New variables.
9981
9982 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9983 configuration instead of only buffer. Change where necessary.
9984
9985 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9986 (rst-shift-region, rst-adaptive-fill): New functions for
9987 indentation and filling.
9988
9989 (rst-comment-line-break, rst-comment-indent)
9990 (rst-comment-insert-comment, rst-comment-region)
9991 (rst-uncomment-region): New functions for handling comments.
9992
9993 (rst-compile): Quote shell arguments.
9994
9995 (rst-compile-pdf-preview, rst-compile-slides-preview):
9996 Delete temporary files after use.
9997
9998 2012-05-05 Glenn Morris <rgm@gnu.org>
9999
10000 * calendar/cal-html.el: Optionally include holidays in the output.
10001 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10002 (cal-html-holidays): New option.
10003 (cal-html-css-default): Add holiday entry.
10004 (holiday-in-range): Autoload it.
10005 (cal-html-htmlify-entry): Add optional class argument.
10006 (cal-html-htmlify-list): Add optional holidays argument.
10007 (cal-html-insert-agenda-days): Include holidays in the output.
10008 (cal-html-one-month): Maybe include holidays.
10009
10010 * calendar/holidays.el (holiday-in-range):
10011 Move here from cal-tex-list-holidays.
10012 * calendar/cal-tex.el (cal-tex-list-holidays):
10013 Make it an obsolete alias for holiday-in-range. Update all callers.
10014
10015 2012-05-05 Chong Yidong <cyd@gnu.org>
10016
10017 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10018 Nextstep.
10019
10020 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10021
10022 * files.el (file-auto-mode-skip): New var.
10023 (set-auto-mode-1): Use it.
10024
10025 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10026
10027 * repeat.el: Use lexical-binding.
10028 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10029 (repeat-undo-count): Remove.
10030 (repeat):
10031 * progmodes/octave-mod.el (octave-abbrev-start):
10032 * progmodes/f90.el (f90-abbrev-start):
10033 * face-remap.el (text-scale-adjust):
10034 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10035
10036 * emacs-lisp/pcase.el (pcase--let*): New function.
10037 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10038 a bit more.
10039 (pcase--split-pred): Be more clever about ruling out overlap between
10040 a predicate and some constant pattern.
10041 (pcase--q1): Use `null' instead of (eq foo nil).
10042
10043 * subr.el (setq-local, defvar-local): New macros.
10044 (kbd): Redefine as an alias.
10045 (with-selected-window): Leave unrelated frames alone.
10046 (set-temporary-overlay-map): New function.
10047
10048 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * subr.el (user-error): New function.
10051 * window.el (switch-to-buffer):
10052 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10053 (smerge-match-conflict):
10054 * simple.el (previous-matching-history-element)
10055 (next-matching-history-element, goto-history-element, undo-more)
10056 (undo-start):
10057 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10058 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10059 (next-file, tags-loop-scan, list-tags, complete-tag):
10060 * progmodes/compile.el (compilation-loop):
10061 * mouse.el (mouse-minibuffer-check):
10062 * man.el (Man-bgproc-sentinel, Man-goto-page):
10063 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10064 (Info-history-forward, Info-follow-reference, Info-menu)
10065 (Info-extract-menu-item, Info-extract-menu-counting)
10066 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10067 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10068 (Info-next-reference, Info-prev-reference, Info-index)
10069 (Info-index-next, Info-follow-nearest-node)
10070 (Info-copy-current-node-name):
10071 * imenu.el (imenu--make-index-alist)
10072 (imenu-default-create-index-function, imenu-add-to-menubar):
10073 * files.el (basic-save-buffer, recover-file):
10074 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10075 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10076 (checkdoc-message-text, checkdoc-defun):
10077 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10078 * cus-edit.el (customize-changed-options, customize-rogue)
10079 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10080 (custom-variable-mark-to-reset-standard)
10081 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10082 (custom-file):
10083 * completion.el (check-completion-length):
10084 * comint.el (comint-search-arg)
10085 (comint-previous-matching-input-string-position)
10086 (comint-previous-matching-input)
10087 (comint-replace-by-expanded-history-before-point, comint-send-input)
10088 (comint-copy-old-input, comint-backward-matching-input)
10089 (comint-goto-process-mark, comint-set-process-mark):
10090 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10091 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10092
10093 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * dabbrev.el (dabbrev--ignore-case-p): New function.
10096 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10097 Use it.
10098
10099 * files.el (automount-dir-prefix): Mark as obsolete.
10100
10101 2012-05-04 Glenn Morris <rgm@gnu.org>
10102
10103 * patcomp.el, play/bruce.el: Move to obsolete/.
10104
10105 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10106
10107 Fix minor Y10k bugs.
10108 * arc-mode.el (archive-unixdate):
10109 * autoinsert.el (auto-insert-alist):
10110 * calc/calc-forms.el (math-this-year):
10111 * emacs-lisp/copyright.el (copyright-current-year)
10112 (copyright-update-year, copyright):
10113 * tar-mode.el (tar-clip-time-string):
10114 * time.el (display-time-update):
10115 Don't assume years have 4 digits.
10116
10117 2012-05-04 Chong Yidong <cyd@gnu.org>
10118
10119 * dos-w32.el (file-name-buffer-file-type-alist)
10120 (direct-print-region-use-command-dot-com):
10121 * ffap.el (ffap-menu-regexp):
10122 * find-file.el (ff-special-constructs):
10123 * follow.el (follow-debug):
10124 * forms.el (forms--debug):
10125 * iswitchb.el (iswitchb-all-frames):
10126 * ido.el (ido-all-frames):
10127 * emacs-lisp/timer.el (timer-max-repeats):
10128 * mail/feedmail.el (feedmail-mail-send-hook)
10129 (feedmail-mail-send-hook-queued):
10130 * mail/footnote.el (footnote-signature-separator):
10131 * mail/mailabbrev.el (mail-alias-separator-string)
10132 (mail-abbrev-mode-regexp):
10133 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10134 * progmodes/idlwave.el (idlwave-libinfo-file)
10135 (idlwave-default-completion-case-is-down)
10136 (idlwave-library-routines): Convert defvars to defcustoms.
10137
10138 * mail/rmail.el (rmail-decode-mime-charset):
10139 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10140 (idlwave-shell-fix-inserted-breaks)
10141 (idlwave-shell-activate-alt-keybindings)
10142 (idlwave-shell-use-breakpoint-glyph):
10143 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10144
10145 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10148
10149 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10150
10151 * progmodes/verilog-mode.el (font-lock-keywords):
10152 Fix mis-highligting auto. Reported by Craig Barner.
10153 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10154 defines from global name space. Reported by Dan Dever.
10155 (verilog-auto-reset, verilog-auto-reset-widths)
10156 (verilog-auto-tieoff): Support using unbased numbers for
10157 AUTORESET and AUTOTIEOFF.
10158 (verilog-submit-bug-report): Update variable list.
10159 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10160 parenthesis from not matching. Reported by Michael Rytting.
10161 (verilog-auto-template-lint): Fix hash error when linting modules
10162 with no used templates.
10163 (verilog-warn, verilog-warn-error)
10164 (verilog-warn-fatal): When non-interactive report multiple
10165 warnings before exiting. Suggested by Brad Dobbie.
10166 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10167 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10168 to report unused template errors. Reported by Brad Dobbie.
10169 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10170 nets, bug438. Reported by Vns Blore.
10171 (verilog-auto-inout-module, verilog-auto-reg)
10172 (verilog-read-decls, verilog-read-sub-decls-sig)
10173 (verilog-signals-edit-wire-reg, verilog-signals-with):
10174 Fix passing of Verilog data types in ANSI input/output ports
10175 such as "output logic" into the AUTOs. Special case "wire" and
10176 "reg" for backwards compatibility presuming Verilog 2001.
10177 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10178 (verilog-preprocess): Fix replication of preprocess output.
10179 Reported by Brad Dobbie.
10180 (verilog-auto-inst-interfaced-ports):
10181 Create verilog-auto-inst-interfaced-ports, bug429.
10182 Reported by Julian Gorfajn.
10183 (verilog-after-save-font-hook)
10184 (verilog-before-save-font-hook): New variable.
10185 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10186 (verilog-save-font-mods): Wrap disabling fontification, reported
10187 by David Rogoff.
10188 (verilog-do-indent, verilog-pretty-declarations-auto)
10189 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10190 Reported by Pierre-David Pfister.
10191 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10192 of class declarations, bug292. Reported by Kevin Heilman.
10193 (verilog-read-decls): Fix 'parameter type' not appearing in
10194 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10195 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10196 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
10197 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10198 Reported by David Kravitz.
10199
10200 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
10201
10202 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10203 assignment with tests in ifs and for loops.
10204 (verilog-extended-complete-re, verilog-complete-reg): Change so
10205 that DPI inport functions don't look like fuction declarations.
10206 (verilog-pretty-expr): Don't line up assignment
10207 operations to the test and increment in if and for loops
10208 (verilog-extended-complete-re, verilog-complete-reg): Change so
10209 that DPI inport functions don't look like fuction declarations.
10210
10211 2012-05-03 Kenichi Handa <handa@m17n.org>
10212
10213 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10214 decoding, and show a warning message without signaling an error
10215 (Bug#11282).
10216
10217 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * emacs-lisp/bytecomp.el
10220 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10221 since cconv.el might have introduced :fun-body, internal-make-closure,
10222 and friends for bytecomp to handle (bug#11391).
10223 * custom.el (defcustom): Avoid ((λ ..) ..).
10224
10225 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10228
10229 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
10230
10231 * notifications.el (dbus-debug):
10232 * term/linux.el (gpm-mouse-enable):
10233 * term/screen.el (xterm-register-default-colors): Declare.
10234
10235 2012-05-02 Chong Yidong <cyd@gnu.org>
10236
10237 * cus-start.el (gc-cons-percentage, exec-suffixes)
10238 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10239 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10240 (make-cursor-line-fully-visible, void-text-area-pointer)
10241 (font-list-limit): Add customization data.
10242
10243 * allout.el (allout-exposure-change-functions)
10244 (allout-structure-added-functions)
10245 (allout-structure-deleted-functions)
10246 (allout-structure-shifted-functions): Rename abnormal hooks from
10247 *-hook, and convert to defcustoms.
10248 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10249 Convert to defcustoms.
10250 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10251
10252 * allout-widgets.el: Hook callers changed.
10253
10254 2012-05-02 Eli Zaretskii <eliz@gnu.org>
10255
10256 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10257 the yanked message in preference to the default value of
10258 buffer-file-coding-system.
10259
10260 2012-05-02 Martin Rudalics <rudalics@gmx.at>
10261
10262 * window.el (display-buffer--action-function-custom-type):
10263 Fix entry.
10264
10265 2012-05-02 Alan Mackenzie <acm@muc.de>
10266
10267 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10268
10269 2012-05-01 Glenn Morris <rgm@gnu.org>
10270
10271 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10272
10273 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10274
10275 * cus-edit.el (custom-variable-documentation): Simplify with format.
10276
10277 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10278 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * simple.el (suggest-key-bindings, execute-extended-command):
10281 Move from keyboard.c.
10282
10283 2012-05-01 Chong Yidong <cyd@gnu.org>
10284
10285 * follow.el: Eliminate advice.
10286 (set-process-filter, process-filter, sit-for): Advice deleted.
10287 (follow-mode-off-hook): Obsolete hook removed.
10288 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10289 Vars deleted.
10290 (follow-auto): Use a :set function.
10291 (follow-mode): Rewritten. Don't advise process filters.
10292 (follow-switch-to-current-buffer-all, follow-scroll-up)
10293 (follow-scroll-down): Assume follow-mode is bound.
10294 (follow-comint-scroll-to-bottom)
10295 (follow-align-compilation-windows): New functions.
10296 (follow--window-sorter): New function.
10297 (follow-all-followers): Use it to explicitly sort windows by their
10298 positions; don't make assumptions about next-window order.
10299 (follow-windows-start-end, follow-delete-other-windows-and-split)
10300 (follow-calc-win-start): Doc fix.
10301 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10302 vertical-motion unnecessarily.
10303 (follow-adjust-window): New function.
10304 (follow-post-command-hook): Use it.
10305 (follow-call-set-process-filter, follow-call-process-filter)
10306 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10307 (follow-stop-intercept-process-output, follow-generic-filter):
10308 Functions deleted.
10309 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10310 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10311 New functions, replacing advice on scroll-bar-* commands.
10312 (follow-mwheel-scroll): New function (Bug#4112).
10313
10314 * comint.el (comint-adjust-point): New function.
10315 (comint-postoutput-scroll-to-bottom): Use it.
10316 Call follow-comint-scroll-to-bottom for Follow mode buffers.
10317
10318 2012-05-01 Glenn Morris <rgm@gnu.org>
10319
10320 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10321 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10322 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10323 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10324 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10325 Remove no-byte-compile setting.
10326
10327 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10330 all-completions code to not return a number in the last cdr.
10331
10332 2012-04-30 Leo Liu <sdl.web@gmail.com>
10333
10334 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10335 read-only error.
10336
10337 2012-04-29 Chong Yidong <cyd@gnu.org>
10338
10339 * follow.el (follow-calc-win-end): Rewrite to handle partial
10340 screen lines correctly (Bug#8390).
10341 (follow-avoid-tail-recenter): Minor cleanup.
10342
10343 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10344
10345 Avoid the obsolete `assoc' package.
10346 * speedbar.el (speedbar-refresh): Avoid adelete.
10347 (speedbar-file-lists): Simplify and avoid aput.
10348 * man.el (Man--sections, Man--refpages): New vars, replacing
10349 Man-sections-alist and Man-refpages-alist.
10350 (Man-build-section-alist, Man-build-references-alist):
10351 Use them; avoid aput.
10352 (Man--last-section, Man--last-refpage): New vars.
10353 (Man-follow-manual-reference): Use them.
10354 Use the `default' arg of completing-read.
10355 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10356
10357 2012-04-27 Chong Yidong <cyd@gnu.org>
10358
10359 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10360
10361 * startup.el (x-apply-session-resources): New function.
10362
10363 * term/ns-win.el (ns-initialize-window-system):
10364 * term/w32-win.el (w32-initialize-window-system):
10365 * term/x-win.el (x-initialize-window-system): Use it to properly
10366 set menu-bar-mode and other vars from X resources, even if the
10367 initial frame is not a window-system frame (Bug#2299).
10368
10369 * subr.el (read-key): Avoid running filter function when setting
10370 up temporary tool bar entries (Bug#9922).
10371
10372 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10373
10374 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10375 (Bug#11344)
10376
10377 2012-04-27 Chong Yidong <cyd@gnu.org>
10378
10379 * select.el (xselect--encode-string): New function, split from
10380 xselect-convert-to-string.
10381 (xselect-convert-to-string): Use it.
10382 (xselect-convert-to-filename, xselect-convert-to-os)
10383 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10384 returned strings are properly encoded (Bug#11315).
10385
10386 2012-04-27 Chong Yidong <cyd@gnu.org>
10387
10388 * simple.el (delete-active-region): Move to killing custom group.
10389
10390 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10391
10392 * progmodes/which-func.el (which-func-current): Quote %
10393 characters for mode-line processing.
10394
10395 2012-04-27 Chong Yidong <cyd@gnu.org>
10396
10397 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10398 reaching eob (Bug#11286).
10399
10400 2012-04-27 Eli Zaretskii <eliz@gnu.org>
10401
10402 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10403 (gdb): Make it buffer-local and init to zero.
10404 (gdb-control-commands-regexp): New variable.
10405 (gdb-send): Don't wrap in "-interpreter-exec console" if
10406 gdb-control-level is positive. Increment gdb-control-level
10407 whenever the command matches gdb-control-commands-regexp, and
10408 decrement it each time the command is "end". (Bug#11279)
10409
10410 2012-04-27 Martin Rudalics <rudalics@gmx.at>
10411
10412 * window.el (adjust-window-trailing-edge, enlarge-window)
10413 (shrink-window, window-resize):
10414 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10415 windows (Bug#11276).
10416
10417 2012-04-27 Chong Yidong <cyd@gnu.org>
10418
10419 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10420 fix "missing prefix" warning. All callers changed.
10421
10422 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * emacs-lisp/assoc.el: Move to obsolete/.
10425
10426 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10429
10430 * term/ns-win.el (ns-define-service):
10431 * progmodes/pascal.el (pascal-goto-defun):
10432 * progmodes/js.el (js--read-tab):
10433 * progmodes/etags.el (tags-lazy-completion-table):
10434 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10435 * emacs-lisp/ewoc.el (ewoc--wrap):
10436 * emacs-lisp/assoc.el (aput, adelete, amake):
10437 * doc-view.el (doc-view-convert-current-doc):
10438 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10439
10440 2012-04-26 Chong Yidong <cyd@gnu.org>
10441
10442 * image.el (image-type-from-buffer): Only return supported image
10443 type (Bug#9045).
10444
10445 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10446 value, for symmetry with diff-end-of-hunk.
10447 (diff-split-hunk, diff-find-source-location)
10448 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10449 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10450 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10451 compute the relevant hunk or file properly (Bug#6005).
10452 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10453
10454 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * vc/vc-mtn.el:
10457 * vc/vc-hg.el:
10458 * vc/vc-git.el:
10459 * vc/vc-dir.el:
10460 * vc/vc-cvs.el:
10461 * vc/vc-bzr.el:
10462 * vc/vc-arch.el:
10463 * vc/vc.el: Replace lexical-let by lexical-binding.
10464 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10465 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10466 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10467
10468 2012-04-26 Chong Yidong <cyd@gnu.org>
10469
10470 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10471 (diff-mode-shared-map): Bind it to / and [remap undo].
10472
10473 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10474 (ediff-window-setup-function): Use it as the default, to set up
10475 windows based on whether the current frame is graphical (Bug#2138).
10476 (ediff-choose-window-setup-function-automatically): Make obsolete.
10477
10478 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10479
10480 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * ffap.el: Remove old code for obsolete package.
10483 (ffap-complete-as-file-p): Remove.
10484
10485 Use completion-table-with-quoting for comint and pcomplete.
10486 * comint.el (comint--unquote&requote-argument)
10487 (comint--unquote-argument, comint--requote-argument): New functions.
10488 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10489 (comint-quote-filename): Use regexp-opt-charset.
10490 (comint--common-suffix, comint--common-quoted-suffix)
10491 (comint--table-subvert): Remove.
10492 (comint-unquote-function, comint-requote-function): New vars.
10493 (comint--complete-file-name-data): Use them with
10494 completion-table-with-quoting.
10495 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10496 * pcomplete.el (pcomplete-arg-quote-list)
10497 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10498 (pcomplete-unquote-argument-function): Default to non-nil.
10499 (pcomplete-unquote-argument): Simplify.
10500 (pcomplete--common-quoted-suffix): Remove.
10501 (pcomplete-requote-argument-function): New var.
10502 (pcomplete--common-suffix): New function.
10503 (pcomplete-completions-at-point): Use completion-table-with-quoting
10504 and completion-table-subvert.
10505
10506 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10507 (minibuffer--double-dollars): Preserve properties.
10508 (completion--sifn-requote): New function.
10509 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10510
10511 * minibuffer.el: Add support for completion of quoted/escaped data.
10512 (completion-table-with-quoting, completion-table-subvert): New funs.
10513 (completion--twq-try, completion--twq-all): New functions.
10514 (completion--nth-completion): New function.
10515 (completion-try-completion, completion-all-completions): Use it.
10516
10517 2012-04-25 Leo Liu <sdl.web@gmail.com>
10518
10519 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10520 Use compilation-message if available to find real filename.
10521
10522 2012-04-25 Chong Yidong <cyd@gnu.org>
10523
10524 * vc/diff-mode.el (diff-setup-whitespace): New function.
10525 (diff-mode): Use it.
10526
10527 * vc/diff.el (diff-sentinel):
10528 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10529 Whitespace mode variables based on diff style (Bug#8612).
10530
10531 2012-04-25 Leo Liu <sdl.web@gmail.com>
10532
10533 * progmodes/python.el (python-send-region): Add suffix .py to the
10534 temp file.
10535
10536 * files.el (auto-mode-alist): Use javascript-mode instead.
10537
10538 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10539
10540 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
10541
10542 * net/soap-client.el (soap-resolve-references-for-sequence-type)
10543 (soap-resolve-references-for-array-type): Hack to prevent self
10544 references, see Bug#9.
10545 (soap-parse-envelope): Report the contents of the 'detail' node
10546 when receiving a fault reply.
10547 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10548
10549 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10550 (soap-inspect-simple-type): New function.
10551
10552 * net/soap-client.el (soap-simple-type): New struct.
10553 (soap-default-xsd-types, soap-default-soapenc-types)
10554 (soap-decode-basic-type, soap-encode-basic-type):
10555 support unsignedInt and double basic types.
10556 (soap-resolve-references-for-simple-type)
10557 (soap-parse-simple-type, soap-encode-simple-type): New function.
10558 (soap-parse-schema): Parse xsd:simpleType declarations.
10559
10560 * net/soap-client.el (soap-default-xsd-types)
10561 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10562 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10563 the local name of "soapenc:Array".
10564 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10565 decoding integer, byte and anyURI xsd types.
10566
10567 2012-04-25 Chong Yidong <cyd@gnu.org>
10568
10569 * cus-edit.el (custom-buffer-create-internal): Update header text.
10570
10571 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10572
10573 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10574 settings on 'system-type', not on 'window-system'. On MS-Windows,
10575 set interactive-mode on in GDB.
10576
10577 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10580 (ruby-syntax-propertize-regexp): Remove.
10581 (ruby-syntax-propertize-function): Split regexp into chunks.
10582 Match following code directly.
10583
10584 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10585
10586 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10587 (ruby-syntax-propertize-regexp): New function.
10588 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10589 by a special keyword.
10590
10591 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10592 (ruby-syntax-general-delimiters-goto-beg)
10593 (ruby-syntax-propertize-general-delimiters): New functions.
10594 (ruby-syntax-propertize-function): Use them to handle GDL.
10595 (ruby-font-lock-keywords): Move old handling of GDL...
10596 (ruby-font-lock-syntactic-keywords): .. to here.
10597 (ruby-calculate-indent): Adjust indentation for GDL.
10598
10599 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10600
10601 * notifications.el (top): Remove unneeded declarations.
10602 (notifications-specification-version): Change to "1.2".
10603 (notifications-interface, notifications-notify-method)
10604 (notifications-close-notification-method): Fix docstring.
10605 (notifications-get-capabilities-method): New defconst.
10606 (notifications-notify): Add :action-items, :resident and
10607 :transient hints. Change "image_data" to "image-data" and
10608 "image_path" to "image-path".
10609 (notifications-get-capabilities): New defun.
10610
10611 2012-04-24 Leo Liu <sdl.web@gmail.com>
10612
10613 * progmodes/python.el: Move hideshow setup to the end.
10614
10615 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10616
10617 * window.el (handle-select-window): Clear echo area since this is
10618 no more done by read_char (Bug#11304).
10619
10620 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10623 and `/ M' to filter-derived-mode.
10624 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10625 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10626 (ibuffer-mark-by-mode): Use default rather than initial-input.
10627 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10628
10629 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10630
10631 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10632 (ibuffer-filter-by-derived-mode): New filter.
10633 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10634
10635 2012-04-23 Andreas Politz <politza@fh-trier.de>
10636
10637 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10638
10639 2012-04-23 Chong Yidong <cyd@gnu.org>
10640
10641 * cus-edit.el (customize-apropos, customize-apropos-options):
10642 Disable matching of non-option variables (Bug#11176).
10643 (customize-option, customize-option-other-window)
10644 (customize-changed-options): Doc fix.
10645 (customize-apropos-options, customize-apropos-faces)
10646 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10647
10648 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10649 Fix word list splitting (Bug#11132).
10650 (apropos-symbol, apropos-keybinding, apropos-label)
10651 (apropos-property, apropos-function-button)
10652 (apropos-variable-button, apropos-misc-button): New faces.
10653 (apropos-symbol-face, apropos-keybinding-face)
10654 (apropos-label-face, apropos-property-face, apropos-match-face):
10655 Variables removed (Bug#8396).
10656 (apropos-library-button, apropos-format-plist, apropos-print)
10657 (apropos-print-doc, apropos-describe-plist): Callers changed.
10658
10659 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10660
10661 * net/xesam.el (xesam-mode-map): Use let-bound map in
10662 initialization. (Bug#11292)
10663
10664 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10665
10666 Preserve ispell session localwords when switching back to
10667 original buffer.
10668
10669 * textmodes/ispell.el (ispell-buffer-session-localwords):
10670 New buffer-local variable to hold buffer session localwords.
10671 (ispell-kill-ispell): Add option 'clear to delete session
10672 localwords.
10673 (ispell-command-loop, ispell-change-dictionary)
10674 (ispell-buffer-local-words): Preserve session localwords when
10675 needed.
10676
10677 * textmodes/flyspell.el (flyspell-process-localwords)
10678 (flyspell-do-correct): Preserve session localwords when needed.
10679
10680 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10681
10682 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10683 using obsolete `translation-table-for-input'.
10684 (ispell-word, ispell-process-line, ispell-complete-word):
10685 Use plain `insert' instead of removed `ispell-insert-word'.
10686
10687 2012-04-22 Chong Yidong <cyd@gnu.org>
10688
10689 * cus-edit.el (custom-variable-menu)
10690 (custom-variable-reset-saved, custom-face-menu)
10691 (custom-face-reset-saved): If there is no saved value, make the
10692 "reset-saved" operation bring back the default (Bug#9509).
10693 (custom-face-state): Properly detect themed faces.
10694
10695 * faces.el (face-spec-set): Stop supporting deprecated form of
10696 third arg.
10697
10698 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10699
10700 Move functions from C to Lisp. Make non-blocking method calls
10701 the default. Implement further D-Bus standard interfaces.
10702
10703 * net/dbus.el (dbus-message-internal): Declare function.
10704 Remove unneeded function declarations.
10705 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10706 (dbus-message-type-method-return, dbus-message-type-error)
10707 (dbus-message-type-signal): Declare variables. Remove local
10708 definitions.
10709 (dbus-interface-dbus, dbus-interface-peer)
10710 (dbus-interface-introspectable, dbus-interface-properties)
10711 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10712 Adapt docstring.
10713 (dbus-interface-objectmanager): New defconst.
10714 (dbus-call-method, dbus-call-method-asynchronously)
10715 (dbus-send-signal, dbus-method-return-internal)
10716 (dbus-method-error-internal, dbus-register-service)
10717 (dbus-register-signal, dbus-register-method): New defuns, moved
10718 from dbusbind.c
10719 (dbus-call-method-handler, dbus-setenv)
10720 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10721 New defuns.
10722 (dbus-call-method-non-blocking): Make it an obsolete function.
10723 (dbus-unregister-object, dbus-unregister-service)
10724 (dbus-handle-event, dbus-register-property)
10725 (dbus-property-handler): Obey the new structure of
10726 `bus-registered-objects'.
10727 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10728 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10729 Use `dbus-call-method'.
10730
10731 2012-04-22 Chong Yidong <cyd@gnu.org>
10732
10733 * cus-edit.el (custom-commands, custom-reset-menu)
10734 (Custom-reset-standard): Tweak labels.
10735 (custom-reset-button-menu): Change default to t.
10736 (custom-buffer-create-internal): For the custom-reset-button-menu
10737 case, put the revert button first.
10738 (custom-group-subtitle): New face.
10739 (custom-group-value-create): Align docstring to a specific column.
10740
10741 * wid-edit.el (widget-documentation-link-add): Don't handle
10742 indentation in this function.
10743 (widget-documentation-string-indent-to): New function.
10744 (widget-documentation-string-value-create): Use it.
10745
10746 * autorevert.el (auto-revert):
10747 * epg-config.el (epg):
10748 * ibuffer.el (ibuffer):
10749 * mpc.el (mpc):
10750 * ses.el (ses):
10751 * eshell/eshell.el (eshell):
10752 * net/ange-ftp.el (ange-ftp):
10753 * progmodes/ebnf2ps.el (postscript):
10754 * progmodes/flymake.el (flymake):
10755 * progmodes/prolog.el (prolog):
10756 * progmodes/verilog-mode.el (verilog-mode):
10757 * progmodes/which-func.el (which-func):
10758 * term/xterm.el (xterm):
10759 * textmodes/picture.el (picture):
10760 * textmodes/tildify.el (tildify):
10761 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10762 customization buffers.
10763
10764 2012-04-22 Alan Mackenzie <acm@muc.de>
10765
10766 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10767 Adding a ) can hide the resulting (..) from searches. Fix it.
10768 Bound the backward search to the position of the existing (.
10769
10770 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10771
10772 * progmodes/verilog-mode.el (verilog-mode): Check whether
10773 which-func-modes is t before adding verilog-mode.
10774 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10775
10776 2012-04-21 Leo Liu <sdl.web@gmail.com>
10777
10778 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10779
10780 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10781
10782 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10783 filling of the last column of a table (Bug#5635).
10784 (woman-find-next-control-line): New arg, specifying an additional
10785 regexp component for the control line.
10786 (woman2-roff-buffer): Use it.
10787 (woman-break-table): New function.
10788 (woman2-TS): Use it.
10789
10790 2012-04-21 Chong Yidong <cyd@gnu.org>
10791
10792 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10793 (woman-horizontal-escapes, woman-negative-vertical-space)
10794 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10795 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10796
10797 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * minibuffer.el (completion-file-name-table): Complete user names.
10800
10801 2012-04-20 Leo Liu <sdl.web@gmail.com>
10802
10803 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10804 and pcase-let*.
10805
10806 2012-04-20 Chong Yidong <cyd@gnu.org>
10807
10808 * server.el (server-execute): Respect initial-buffer-choice if it
10809 is a string and there are no files to open (Bug#2825).
10810 (server-create-window-system-frame, server-create-tty-frame):
10811 Don't switch buffers here.
10812 (server-process-filter): Only try to open a window system frame if
10813 compiled with graphical support (Bug#8314).
10814
10815 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10816
10817 * battery.el (battery-echo-area-format): Display remaining time
10818 for sysfs backend too (Bug#11269).
10819 (battery-linux-sysfs): Fix conditional for the charge.
10820
10821 2012-04-20 Chong Yidong <cyd@gnu.org>
10822
10823 * progmodes/gdb-mi.el (gdb): Revert previous change.
10824 (gdb-inferior-io--init-proc): New function.
10825 (gdb-init-1): Use it.
10826 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10827 responsible for allocating a new pty and hooking it to gdb when
10828 the old pty gets an EIO due to process exit.
10829 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10830 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10831 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10832
10833 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10834
10835 * window.el (window-min-size, window-sizable, window-min-delta)
10836 (window-max-delta, window--resizable, window-resizable)
10837 (window-total-size, window-full-height-p, window-full-width-p)
10838 (window-in-direction, window--resize-mini-window, window-resize)
10839 (window--resize-child-windows-normal)
10840 (window--resize-child-windows, window--resize-siblings)
10841 (window--resize-this-window, adjust-window-trailing-edge)
10842 (enlarge-window, shrink-window): Doc fixes.
10843
10844 2012-04-20 Chong Yidong <cyd@gnu.org>
10845
10846 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10847 New function to call delete-process on the gdb-inferior buffer's pty.
10848 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10849 pty process (Bug#11273).
10850 (gdb-update): New arg to suppress talking to the gdb process.
10851 (gdb-done-or-error): Use it.
10852 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10853 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10854 sentinel not being called.
10855
10856 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10857
10858 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10859
10860 2012-04-20 Glenn Morris <rgm@gnu.org>
10861
10862 * net/network-stream.el (open-network-stream): Doc fix.
10863
10864 2012-04-20 Chong Yidong <cyd@gnu.org>
10865
10866 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10867
10868 2012-04-20 Alan Mackenzie <acm@muc.de>
10869
10870 Ensure searching for keywords is case sensitive.
10871
10872 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10873 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10874 (c-defun-name, c-mark-function, c-cpp-define-name)
10875 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10876 (c-context-line-break): Bind case-fold-search to nil.
10877
10878 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10879 Bind case-fold-search to nil.
10880
10881 2012-04-20 Chong Yidong <cyd@gnu.org>
10882
10883 * mail/sendmail.el (mail-bury): Call return action with the right
10884 Rmail buffer (Bug#11242).
10885
10886 * server.el (server-process-filter): Handle corner case where both
10887 tty and nowait options are present (Bug#11102).
10888
10889 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10890
10891 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10892 (top level): Put into the executable the ident-style '$Id:' tag on
10893 windows-nt as well.
10894
10895 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * electric.el (electric-indent-post-self-insert-function): Check that
10898 electric-indent-mode is enabled in current buffer.
10899
10900 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10901
10902 * imenu.el (imenu-progress-message): Restore; it is "used" in
10903 erc/erc-imenu.el and net/snmp-mode.el.
10904
10905 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10906
10907 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10908 (mouse-avoidance-nudge-mouse): Remove unused binding.
10909
10910 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10911
10912 * descr-text.el (describe-char):
10913 * progmodes/python.el (python-describe-symbol):
10914 Don't call `toggle-read-only', set `buffer-read-only'.
10915
10916 * imenu.el (imenu-default-goto-function): Mark unused args.
10917 (imenu-progress-message): Remove obsolete macro; all callers changed.
10918
10919 * subr.el (keymap-canonicalize): Remove unused binding.
10920 (read-passwd): Mark unused arg.
10921
10922 * tutorial.el (tutorial--display-changes): Remove unused binding.
10923 (tutorial--save-tutorial-to): Remove unused variable.
10924
10925 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10926 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10927 (package-generate-autoloads, package-menu--generate)
10928 (package-menu--find-upgrades): Remove unused bindings.
10929
10930 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10931 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10932 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10933 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10934 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10935 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10936 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10937 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10938 (cua-delete-char-rectangle): Mark unused args.
10939 (cua-align-rectangle): Remove unused binding.
10940
10941 * mail/rmail.el (compilation--message->loc)
10942 (epa--find-coding-system-for-mime-charset): Declare.
10943
10944 * net/dbus.el (dbus-register-service): Declare.
10945 (dbus-name-owner-changed-handler): Remove unused binding.
10946
10947 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10948 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10949 (nxml-scan-backward-within): Mark unused arg.
10950 (nxml-dynamic-markup-word): Remove unused binding.
10951
10952 * mouse.el (mouse-menu-major-mode-map):
10953 * emacs-lisp/authors.el (authors-scan-change-log)
10954 (authors-add-to-author-list):
10955 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10956 * emacs-lisp/smie.el (smie-auto-fill):
10957 * mail/sendmail.el (mail-bury):
10958 * mail/unrmail.el (unrmail):
10959 * net/tls.el (open-tls-stream):
10960 * textmodes/picture.el (picture-mouse-set-point):
10961 Remove unused bindings.
10962
10963 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10964
10965 * net/tramp.el (tramp-action-password): Let-bind
10966 `enable-recursive-minibuffers' to t.
10967
10968 2012-04-18 Sam Steingold <sds@gnu.org>
10969
10970 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10971 instead of 'string to accommodate values like [f11].
10972 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10973 * progmodes/gdb-mi.el: Likewise.
10974
10975 2012-04-18 Leo Liu <sdl.web@gmail.com>
10976
10977 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10978 current buffer.
10979 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10980 LOCAL is nil.
10981
10982 2012-04-18 Chong Yidong <cyd@gnu.org>
10983
10984 * simple.el (line-move): Use forward-line if in batch mode
10985 (Bug#11053).
10986
10987 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10988
10989 * files.el (after-find-file): Do not try to add a final newline if
10990 the buffer is read-only (Bug#11156).
10991
10992 2012-04-17 Richard Stallman <rms@gnu.org>
10993
10994 * mail/rmail.el (rmail-start-mail):
10995 Pass (rmail-mail-return...) for the return-action.
10996 Pass (rmail-yank-current-message...) for the yank-action.
10997 (rmail-yank-current-message): New function.
10998 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10999 (rmail-reply): Likewise.
11000 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11001
11002 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
11003 buffer, not the last. Reject temp buffers. Use the rmail-mode
11004 buffer, not newbuf.
11005
11006 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
11007
11008 * server.el (server-ensure-safe-dir): Simplify.
11009
11010 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * emacs-lisp/smie.el: Provide smarter auto-filling.
11013 (smie-auto-fill): New function.
11014 (smie-setup): Use it.
11015
11016 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11017
11018 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
11019
11020 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11021 (comment-indent): Use it.
11022
11023 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
11024
11025 * ses.el: The overall change is to add cell renaming, that is
11026 setting fancy names for cell symbols other than name matching
11027 "\\`[A-Z]+[0-9]+\\'" regexp .
11028 (ses-localvars): Add ses--renamed-cell-symb-list.
11029 (ses-create-cell-variable): New defun.
11030 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
11031 (ses-relocate-formula): Relocate formulas only for cells the
11032 symbols of which are not renamed, i.e. symbols whose names do not
11033 match regexp "\\`[A-Z]+[0-9]+\\'".
11034 (ses-relocate-all): Relocate values only for cells the symbols of
11035 which are not renamed.
11036 (ses-load): Create cells variables as the (ses-cell ...) are read,
11037 in order to check row col consistency with cell symbol name only
11038 for cells that are not renamed.
11039 (ses-replace-name-in-formula): New defun.
11040 (ses-rename-cell): New defun.
11041
11042 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11043
11044 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11045 New option (bug#11118).
11046 (perl-calculate-indent): Respect it.
11047
11048 2012-04-17 Glenn Morris <rgm@gnu.org>
11049
11050 * dired-aux.el (dired-mark-read-string): Doc fix.
11051
11052 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11053
11054 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11055 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11056
11057 2012-04-17 Glenn Morris <rgm@gnu.org>
11058
11059 * mouse.el (mouse-drag-track):
11060 * speedbar.el (speedbar-frame-mode):
11061 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11062
11063 2012-04-16 Leo Liu <sdl.web@gmail.com>
11064
11065 * progmodes/python.el: Trivial cleanup.
11066
11067 2012-04-16 Glenn Morris <rgm@gnu.org>
11068
11069 * vc/vc.el (vc-string-prefix-p):
11070 * vc/pcvs-util.el (cvs-string-prefix-p):
11071 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11072 * mpc.el (mpc-string-prefix-p):
11073 Make all of these into obsolete aliases for string-prefix-p.
11074 Update callers.
11075 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11076
11077 * textmodes/two-column.el: Move custom options to the start.
11078 (frame-width): Remove compat definition.
11079 (2C-associate-buffer, 2C-dissociate):
11080 Use with-current-buffer rather than save-excursion.
11081 (2C-dissociate): Force a mode-line update.
11082 (2C-autoscroll): Use ignore-errors.
11083
11084 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11085 Autoload trivia.
11086
11087 * emacs-lisp/cl-extra.el (*random-state*):
11088 Remove unnecessary declaration.
11089
11090 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11091
11092 * play/cookie1.el (cookie-snarf):
11093 Give an explicit error if input file cannot be read.
11094
11095 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11096
11097 * progmodes/perl-mode.el (c-macro-expand):
11098 Remove unnecessary autoload (it is in loaddefs.el).
11099
11100 * textmodes/picture.el (picture-desired-column)
11101 (picture-update-desired-column): Convert comments to doc-strings.
11102 (picture-substitute): Remove function.
11103 (picture-mode-map): Initialize in the defvar.
11104
11105 * woman.el: Remove eval-after-load for tar-mode.
11106 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11107 (woman-tar-extract-file): Autoload it.
11108
11109 * frame.el (automatic-hscrolling): Make this alias obsolete.
11110
11111 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11112
11113 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
11114 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
11115 (ispell-dictionary-base-alist): Revert to original XEmacs
11116 friendly version for default. [:alpha:] will be added in
11117 `ispell-set-spellchecker-params' if needed.
11118
11119 2012-04-16 Chong Yidong <cyd@gnu.org>
11120
11121 * image.el (imagemagick--file-regexp): New variable.
11122 (imagemagick-register-types): Use it.
11123 (imagemagick-types-inhibit): Add :set function. Allow new value
11124 of t to inhibit all types.
11125
11126 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11127 so we can preload it.
11128
11129 * loadup.el (fboundp): Preload regexp-opt, needed by
11130 imagemagick-register-types.
11131
11132 2012-04-15 Chong Yidong <cyd@gnu.org>
11133
11134 * frame.el (scrolling): Remove nearly unused customization group.
11135
11136 * scroll-all.el (scroll-all-mode): Move to windows group.
11137
11138 2012-04-15 Chong Yidong <cyd@gnu.org>
11139
11140 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11141
11142 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11145 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11146
11147 2012-04-15 Glenn Morris <rgm@gnu.org>
11148
11149 * simple.el (process-file-side-effects): Doc fix.
11150
11151 2012-04-15 Glenn Morris <rgm@gnu.org>
11152
11153 * international/mule-cmds.el (set-language-environment): Doc fix.
11154
11155 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11156
11157 * server.el (server-auth-key, server-generate-key): Doc fixes.
11158 (server-get-auth-key): Doc fix. Use `string-match-p'.
11159 (server-start): Reflow docstring.
11160
11161 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11162
11163 * server.el (server-generate-key): `called-interactively-p'
11164 requires a parameter.
11165
11166 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11167
11168 * server.el (server-auth-key): New variable.
11169 (server-generate-key, server-get-auth-key): New function.
11170 (server-start): Use the new variable and functions to allow
11171 setting a permanent server key (bug#9423).
11172
11173 2012-04-14 Leo Liu <sdl.web@gmail.com>
11174
11175 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11176
11177 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11178
11179 Spelling fixes.
11180 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11181 Emacs uses American spelling.
11182
11183 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11184
11185 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11186 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11187 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11188 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11189
11190 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 * progmodes/which-func.el (which-func-modes): Change default.
11193
11194 2012-04-14 Kim F. Storm <storm@cua.dk>
11195
11196 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11197 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11198
11199 2012-04-14 Chong Yidong <cyd@gnu.org>
11200
11201 * custom.el (custom-theme-set-variables): Doc fix.
11202
11203 2012-04-14 Glenn Morris <rgm@gnu.org>
11204
11205 * international/mule.el (set-auto-coding-for-load): Doc fix.
11206
11207 2012-04-14 Alan Mackenzie <acm@muc.de>
11208
11209 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11210 imenu work again for Objective C Mode. Correct the *-index values,
11211 these having been disturbed by a previous change in 2011-08.
11212
11213 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11214 Correct two search limits.
11215
11216 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11219
11220 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
11221
11222 * international/characters.el: Fix sorting.
11223
11224 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11225
11226 * international/characters.el: Add more missing Latin case pairs.
11227
11228 2012-04-14 Glenn Morris <rgm@gnu.org>
11229
11230 * files.el (dir-locals-set-class-variables): Doc fix.
11231
11232 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11233
11234 * international/characters.el: Add set-case-syntax-pair call for
11235 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11236 counterpart. (Bug#11209)
11237
11238 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11239
11240 2012-04-14 Glenn Morris <rgm@gnu.org>
11241
11242 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11243
11244 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11245
11246 * textmodes/ispell.el (ispell-dictionary-base-alist):
11247 Add data for Hebrew.
11248
11249 2012-04-14 Chong Yidong <cyd@gnu.org>
11250
11251 * net/rcirc.el (rcirc-cmd-quit):
11252 Revert 2012-03-18 change (Bug#11192).
11253
11254 2012-04-14 Glenn Morris <rgm@gnu.org>
11255
11256 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11257
11258 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11259
11260 * minibuffer.el (completion-in-region-mode-map):
11261 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
11262
11263 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11264
11265 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11266
11267 2012-04-13 Masatake YAMATO <yamato@redhat.com>
11268
11269 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11270 to allow `C-M-f' and `C-M-b' to move to the nearest path
11271 separator (bug#9511).
11272
11273 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11274
11275 * avoid.el: Require cl when compiling. And also move the
11276 `provide' to the end.
11277
11278 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11279
11280 * avoid.el (mouse-avoidance-banish-position): New variable.
11281 (mouse-avoidance-banish-destination): Use it (bug#10165).
11282
11283 2012-04-13 Leo Liu <sdl.web@gmail.com>
11284
11285 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11286
11287 2012-04-13 Ken Brown <kbrown@cornell.edu>
11288
11289 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
11290 this is no longer needed now that cygstart understands file:// URLs.
11291 (browse-url-filename-alist): For the same reason, don't modify
11292 file:// URLs on Cygwin.
11293
11294 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11297 the region on shift if the binding is already shifted (bug#11221).
11298
11299 2012-04-12 Glenn Morris <rgm@gnu.org>
11300
11301 * mail/mailpost.el: Move to obsolete/.
11302
11303 2012-04-12 Drew Adams <drew.adams@oracle.com>
11304
11305 * imenu.el (imenu--generic-function): Ignore invisible definitions
11306 (bug#10123).
11307
11308 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11309
11310 * hexl.el (hexl-bits): New variable.
11311 (hexl-options): Mention the variable in the doc string.
11312 (hexl-rulerise, hexl-line-displen): New functions.
11313 (hexl-mode): Mention the new variable.
11314 (hexl-mode, hexl-current-address, hexl-current-address):
11315 Use the displen.
11316 (hexl-ascii-start-column): New function.
11317 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11318 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11319
11320 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11321
11322 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11323 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11324 the encoding, as expected by hunspell.
11325
11326 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * battery.el (battery--linux-sysfs-regexp): New const.
11329 (battery-status-function): Use it. Remove yeeloong special case.
11330 (battery-yeeloong-sysfs): Remove.
11331 (battery-echo-area-format): Remove yeeloong special case.
11332
11333 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11336 Reported by Noah Friedman.
11337
11338 * subr.el (read-passwd): Use read-string.
11339
11340 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11341
11342 * vcursor.el (vcursor-move): Increase the priority of the overlay
11343 (bug#9663).
11344
11345 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11346
11347 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11348 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11349
11350 2012-04-11 William Stevenson <yhvh2000@gmail.com>
11351
11352 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11353 define-minor-mode (bug#10760).
11354
11355 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11356
11357 * progmodes/grep.el (rgrep): Tweak the find command line so
11358 that directories matching `grep-find-ignored-files' won't be
11359 pruned (bug#10351).
11360
11361 2012-04-11 Chong Yidong <cyd@gnu.org>
11362
11363 * startup.el (command-line): Remove support for long-obsolete
11364 variable font-lock-face-attributes.
11365
11366 2012-04-11 Glenn Morris <rgm@gnu.org>
11367
11368 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11369
11370 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * window.el (window--state-get-1): Obey window-point-insertion-type.
11373
11374 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11375
11376 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11377 to previous function when point is on the first character of a
11378 function. Take care of that in `narrow-to-defun' (bug#6157).
11379
11380 2012-04-11 Glenn Morris <rgm@gnu.org>
11381
11382 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11383 not just file-errors.
11384
11385 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11386 (vc-bzr-sha1): Use internal sha1.
11387
11388 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11391
11392 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11393
11394 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11395 that start in the middle of the line (bug#10496).
11396
11397 2012-04-10 Dan Nicolaescu <dann@gnu.org>
11398
11399 * battery.el (battery-linux-proc-acpi): Only one battery is
11400 discharged at a time, but that seems to confuse battery.el when
11401 computing `rate-type' for the battery not being discharged
11402 (bug#10332).
11403
11404 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11407
11408 * international/quail.el: Use dolist and simplify.
11409 (quail-define-package, quail-update-keyboard-layout)
11410 (quail-define-rules): Use dolist.
11411 (quail-insert-kbd-layout, quail-get-translation): CSE.
11412
11413 * tmm.el: Use dolist, remove left over hook.
11414 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11415 Use dolist.
11416 (calendar-load-hook): Don't mess with it.
11417
11418 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11419 Use derived-mode-p. Run the diff asynchronously.
11420
11421 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11422
11423 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11424
11425 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
11426
11427 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11428 (list-dynamic-libraries--loaded): New function.
11429 (list-dynamic-libraries--refresh): Use it.
11430
11431 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
11432
11433 * progmodes/python.el (python-fill-paragraph):
11434 Make python-fill-region in a multiline string work when font-lock is
11435 disabled (bug#7018).
11436
11437 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11438
11439 * language/european.el (cp775): Add oem/legacy (en)coding on
11440 DOS/MS Windows for the Baltic languages. There are still plenty
11441 of texts written in this encoding/codepage (bug#6519).
11442
11443 2012-04-10 Glenn Morris <rgm@gnu.org>
11444
11445 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11446 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11447
11448 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11449
11450 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11451 next-line "n" and previous-line "p" in order to make recentf more
11452 consistent with ibuffer, dired or org-mode (bug#9387).
11453
11454 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11455
11456 * image.el (put-image): Return the overlay created instead of the
11457 optional input string (bug#7834). Note that this may break code
11458 that is (for some reason or other) depending on `put-image'
11459 returning the string.
11460
11461 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11462
11463 * simple.el (zap-to-char): Allow zapping using input methods
11464 (bug#1580).
11465
11466 * textmodes/fill.el (fill-region): Leave point and mark where they
11467 were before filling (bug#5399).
11468
11469 2012-04-09 Glenn Morris <rgm@gnu.org>
11470
11471 * version.el (emacs-bzr-get-version):
11472 Handle lightweight checkouts of local branches.
11473
11474 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11475
11476 * international/characters.el: Recover lost case pairs. (Bug#11209)
11477
11478 2012-04-09 Chong Yidong <cyd@gnu.org>
11479
11480 * custom.el (custom-variable-p): Return nil for non-symbol
11481 arguments instead of signaling an error.
11482 (user-variable-p): Obsolete alias for custom-variable-p.
11483
11484 * apropos.el (apropos-variable):
11485 * files-x.el (read-file-local-variable):
11486 * simple.el (set-variable):
11487 * woman.el (woman-mini-help):
11488 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11489
11490 2012-04-09 Glenn Morris <rgm@gnu.org>
11491
11492 * startup.el (normal-top-level): Don't look for leim-list.el
11493 in places where it will not be found. (Bug#910)
11494
11495 * international/mule-cmds.el (set-default-coding-systems):
11496 * files.el (normal-mode):
11497 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11498 This function was removed with ucs-tables.el in 2008.
11499
11500 2012-04-08 Eli Zaretskii <eliz@gnu.org>
11501
11502 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11503 ispell-encoding8-command to "-i", without a trailing space.
11504 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11505 separate command-line arguments, to specify the encoding, since
11506 that's how hunspell expects it.
11507
11508 2012-04-08 Glenn Morris <rgm@gnu.org>
11509
11510 * loadup.el: Load bindings before cus-start.
11511 This reduces somewhat the number of "rogue" settings in emacs -Q.
11512
11513 2012-04-07 Glenn Morris <rgm@gnu.org>
11514
11515 * version.el (emacs-bzr-get-version): New function.
11516 (emacs-bzr-version): New variable.
11517 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11518 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11519
11520 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11521
11522 * international/uni-bidi.el, international/uni-category.el:
11523 * international/uni-combining.el, international/uni-decimal.el:
11524 * international/uni-decomposition.el, international/uni-digit.el:
11525 * international/uni-lowercase.el, international/uni-mirrored.el:
11526 * international/uni-name.el, international/uni-numeric.el:
11527 * international/uni-titlecase.el, international/uni-uppercase.el:
11528 Update for Unicode 6.1.
11529
11530 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11531
11532 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11533
11534 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11535
11536 * window.el (shrink-window): Mention the `window-min-height'
11537 variable in the doc string.
11538
11539 2012-04-05 Bastien Guerry <bzg@altern.org>
11540
11541 * color.el (color-lighten-name): Fix typo.
11542
11543 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * server.el (server--on-display-p): New function.
11546 (server--on-display-p): Use it.
11547
11548 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11549
11550 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11551 (bug#11145).
11552
11553 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11554
11555 * comint.el (comint--common-quoted-suffix): Check string boundary
11556 before comparing (bug#11158).
11557 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11558
11559 2012-04-04 Chong Yidong <cyd@gnu.org>
11560
11561 * minibuffer.el (completion-extra-properties): Doc fix.
11562
11563 * subr.el (delayed-warnings-hook): Doc fix.
11564
11565 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11566
11567 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11568 selection (Bug#11159).
11569 (epa-insert-keys): Inform that the default public key will be
11570 exported if no key is selected.
11571
11572 2012-04-04 Richard Stallman <rms@gnu.org>
11573
11574 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11575
11576 2012-04-03 Chong Yidong <cyd@gnu.org>
11577
11578 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11579 mail-insert-file, not its obsolete alias mail-attach-file.
11580
11581 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11582
11583 * notifications.el (notifications-notify): Fix docstring.
11584
11585 2012-04-02 Glenn Morris <rgm@gnu.org>
11586
11587 * emacs-lisp/authors.el (authors-aliases): Another addition.
11588
11589 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11590
11591 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11592 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11593 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11594
11595 2012-04-01 Chong Yidong <cyd@gnu.org>
11596
11597 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11598 Handle root directory properly.
11599 (copy-directory): Caller changed.
11600
11601 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11602 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11603
11604 2012-03-31 Glenn Morris <rgm@gnu.org>
11605
11606 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11607
11608 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11609
11610 * calendar/calendar.el (calendar-window-list)
11611 (calendar-hide-window): Restore. (Bug#11140)
11612 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11613
11614 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11615
11616 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11617
11618 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11619 Check if file is a symlink (Bug#10489).
11620
11621 * files.el (copy-directory): Likewise.
11622
11623 2012-03-30 Chong Yidong <cyd@gnu.org>
11624
11625 * image.el (imagemagick-types-inhibit)
11626 (imagemagick-register-types): Doc fix.
11627
11628 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11629
11630 * textmodes/ispell.el (ispell-get-extended-character-mode):
11631 Disable extended-char-mode for hunspell. hunspell does not support it
11632 and treats ~word as ordinary words in pipe mode.
11633
11634 2012-03-30 Glenn Morris <rgm@gnu.org>
11635
11636 * tutorial.el (help-with-tutorial): Ensure local variables don't
11637 happen to make the buffer read-only. (Bug#11127)
11638
11639 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11642 (perl-calculate-indent): Return `noindent' in strings.
11643
11644 2012-03-28 Sam Steingold <sds@gnu.org>
11645
11646 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11647 instead of the broken adhockery which does not prevent calendar
11648 buffers from being displayed at random after exit.
11649 (calendar-window-list, calendar-hide-window): Remove the broken
11650 adhockery.
11651
11652 2012-03-28 Glenn Morris <rgm@gnu.org>
11653
11654 * replace.el (query-replace-map): Doc fix.
11655
11656 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11657
11658 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11659 contents. (Bug#11109)
11660
11661 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11664 (bug#11077).
11665 (avl-tree--check, avl-tree--check-node): New funs.
11666
11667 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11668
11669 * window.el (switch-to-visible-buffer): New option.
11670 (switch-to-prev-buffer, switch-to-next-buffer):
11671 Observe switch-to-visible-buffer. Make sure that checking for a window
11672 showing a buffer already is done on the same frame.
11673
11674 2012-03-27 Glenn Morris <rgm@gnu.org>
11675
11676 * startup.el (mail-host-address): Doc fix.
11677
11678 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11681 than 197 variables.
11682
11683 2012-03-26 Ami Fischman <ami@fischman.org>
11684
11685 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11686
11687 2012-03-26 Glenn Morris <rgm@gnu.org>
11688
11689 * files.el (save-buffers-kill-emacs): Doc fix.
11690
11691 * startup.el (normal-top-level, command-line, command-line-1):
11692 Give them doc strings.
11693
11694 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11695
11696 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11697 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11698
11699 2012-03-25 Chong Yidong <cyd@gnu.org>
11700
11701 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11702 theme if it was previously enabled before (Bug#11031).
11703
11704 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11705 spec with custom-face-get-current-spec if its :shown-value is not
11706 determined yet (Bug#9337).
11707 (customize-create-theme, custom-theme-revert): Doc fixes.
11708
11709 * button.el (button-at): Minor addition to docstring.
11710
11711 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11712
11713 * vc/vc.el (vc-merge): Fix a prompt.
11714
11715 2012-03-24 Chong Yidong <cyd@gnu.org>
11716
11717 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11718 point (Bug#9623).
11719
11720 * button.el (button-at): Minor addition to docstring.
11721
11722 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * newcomment.el (comment-choose-indent): No space after BOL.
11725
11726 2012-03-22 Sam Steingold <sds@gnu.org>
11727
11728 * window.el (switch-to-prev-buffer): Revert last patch because the
11729 bug turned out to be an advertised feature (Elisp manual 28.14).
11730
11731 2012-03-22 Glenn Morris <rgm@gnu.org>
11732
11733 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11734 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11735
11736 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11737
11738 * net/network-stream.el (network-stream-open-starttls): Make error
11739 message under Windows be less misleading.
11740
11741 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11742
11743 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11744 understands (bug#9942).
11745
11746 2012-03-22 Chong Yidong <cyd@gnu.org>
11747
11748 * simple.el (end-of-visible-line): Handle return value of
11749 next-single-property-change properly (Bug#9371).
11750
11751 2012-03-22 Kenichi Handa <handa@m17n.org>
11752
11753 * international/quail.el (quail-insert-kbd-layout): Fix previous
11754 change. To avoid unwanted bidi reordering, use
11755 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11756
11757 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11758
11759 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11760 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11761 (ruby-beginning-of-indent): Be more careful with the difference
11762 between word-boundary and symbol boundary.
11763 (ruby-mode-syntax-table): Make : a symbol constituent.
11764
11765 2012-03-21 Andreas Politz <politza@fh-trier.de>
11766
11767 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11768
11769 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11770
11771 * progmodes/etags.el (tags-completion-at-point-function):
11772 Improve last fix.
11773
11774 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11775
11776 2012-03-21 Sam Steingold <sds@gnu.org>
11777
11778 * progmodes/etags.el (tags-completion-at-point-function):
11779 Avoid the error when point is inside the pattern.
11780
11781 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11782
11783 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11784 line (Bug#10855).
11785
11786 2012-03-21 Drew Adams <drew.adams@oracle.com>
11787
11788 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11789
11790 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11791
11792 * ido.el (ido-set-current-directory, ido-read-internal)
11793 (ido-choose-completion-string, ido-completion-help): Handle nil
11794 value of ido-completion-buffer (Bug#11008).
11795
11796 2012-03-21 Sam Steingold <sds@gnu.org>
11797
11798 * window.el (switch-to-prev-buffer): Do not switch to a visible
11799 window previous buffer, just like with the frame previous buffers.
11800
11801 2012-03-21 Chong Yidong <cyd@gnu.org>
11802
11803 * faces.el (make-face, make-empty-face, copy-face):
11804 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11805 Doc fixes.
11806
11807 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11808
11809 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11810 (widget-complete): Remove broken use of it.
11811
11812 2012-03-20 Chong Yidong <cyd@gnu.org>
11813
11814 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11815 Use string-width and truncate-string-width to handle arbitrary
11816 characters.
11817
11818 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11819
11820 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11821 to draw rectangles, not squares. (Regression introduced by revno
11822 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11823
11824 2012-03-18 Chong Yidong <cyd@gnu.org>
11825
11826 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11827 it is not yet defined (for temacs).
11828
11829 2012-03-18 Leo Liu <sdl.web@gmail.com>
11830
11831 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11832 prefix.
11833
11834 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11835
11836 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11837 (ispell-choices-win-default-height, ispell-silently-savep)
11838 (ispell-dictionary-alist, ispell-encoding8-command)
11839 (ispell-check-version, ispell-aspell-find-dictionary)
11840 (ispell-valid-dictionary-list, ispell-words-keyword)
11841 (ispell-get-word, ispell-internal-change-dictionary)
11842 (ispell-region, ispell-skip-region-list)
11843 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11844 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11845 (ispell-message-text-end, ispell-message)
11846 (ispell-buffer-local-parsing): Doc fix.
11847
11848 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11849
11850 * htmlfontify.el: Add support for code block fontification for ODT
11851 export (Bug #9914).
11852 (hfy-optimisations): Define new option
11853 `body-text-only'
11854 (hfy-fontify-buffer): Honor above setting.
11855 (hfy-begin-span, hfy-end-span): New routines factored out form
11856 `hfy-fontify-buffer'.
11857 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11858 that permit insertion of custom tags.
11859 (hfy-fontify-buffer): Use above handlers.
11860 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11861 (hfy-face-to-css): Re-defined to be a variable.
11862 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11863 over multiple runs. This is made possible by having the caller let
11864 bind a special variable `hfy-user-sheet-assoc'.
11865 (htmlfontify-string): New defun.
11866 (hfy-compile-face-map): Make sure that the last char in the
11867 buffer is correctly fontified.
11868 (hfy-face-resolve-face): Whitespace only change.
11869
11870 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11871
11872 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11873 message more clear.
11874
11875 2012-03-16 Leo Liu <sdl.web@gmail.com>
11876
11877 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11878
11879 2012-03-16 Alan Mackenzie <acm@muc.de>
11880
11881 Further optimize the handling of large macros.
11882
11883 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11884 limit to a call of `c-literal-limits'.
11885 (c-determine-+ve-limit): New function.
11886 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11887 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11888 In CASE 5B, restrict a search limit to 500.
11889 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11890
11891 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11892 Restrict macro bounds to +-500 from after-change's BEG END.
11893
11894 2012-03-16 Leo Liu <sdl.web@gmail.com>
11895
11896 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11897
11898 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11899
11900 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11901 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11902
11903 2012-03-16 Glenn Morris <rgm@gnu.org>
11904
11905 * view.el (view-buffer, view-buffer-other-window)
11906 (view-buffer-other-frame): Doc fixes re special mode-class.
11907
11908 * subr.el (eval-after-load): If named feature is provided not from
11909 a file, run after-load forms. (Bug#10946)
11910
11911 * calendar/calendar.el (calendar-insert-at-column):
11912 Handle non-unit-width characters a bit better. (Bug#10978)
11913
11914 2012-03-15 Chong Yidong <cyd@gnu.org>
11915
11916 * emacs-lisp/ring.el (ring-extend): New function.
11917 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11918
11919 * comint.el (comint-read-input-ring)
11920 (comint-add-to-input-history): Grow comint-input-ring lazily.
11921
11922 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11925 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11926
11927 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11928 (imenu-add-to-menubar): Don't add a redundant index.
11929 (imenu-update-menubar): Handle a dynamically composed keymap.
11930
11931 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11932
11933 * mail/sendmail.el (mail-encode-header):
11934 Bind rfc2047-encode-encoded-words to nil.
11935
11936 2012-03-13 Glenn Morris <rgm@gnu.org>
11937
11938 * calendar/calendar.el (calendar-string-spread):
11939 Handle non-unit-width characters a bit better. (Bug#10978)
11940
11941 2012-03-13 Leo Liu <sdl.web@gmail.com>
11942
11943 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11944 directory and file as argument (Bug#10822).
11945
11946 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11947
11948 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11949 For dynamically generated code, follow $PC.
11950 (gdb-disassembly-handler-custom): Handle no function name case.
11951
11952 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11953
11954 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11955 * emulation/ws-mode.el (ws-query-replace):
11956 * sort.el (sort-regexp-fields):
11957 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11958
11959 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * dabbrev.el: Fix cycle completion order (bug#10963).
11962 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11963 (dabbrev-completion): Don't use an obarray; provide
11964 a cycle-sort-function.
11965
11966 2012-03-12 Leo Liu <sdl.web@gmail.com>
11967
11968 * simple.el (kill-new): Use equal-including-properties for comparison.
11969 (kill-do-not-save-duplicates): Doc fix.
11970
11971 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11972
11973 * dabbrev.el: Fix cycle completion (bug#10963).
11974 Use lexical binding and wrap to 80 columns.
11975 (dabbrev-completion): Delay computing the list of completions.
11976
11977 2012-03-12 Kenichi Handa <handa@m17n.org>
11978
11979 * international/quail.el (quail-insert-kbd-layout): Surround each
11980 row by LRO and PDF instead of inserting many LRMs. Pad the left
11981 and right of each non-spacing marks. Insert invisible space
11982 between lower and upper characters to prevent composition.
11983
11984 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11985
11986 * minibuffer.el (minibuffer-complete): Don't get confused when the
11987 function is run twice via different commands (bug#10958).
11988 (complete-with-action): Fix docstring.
11989
11990 2012-03-12 Chong Yidong <cyd@gnu.org>
11991
11992 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11993 (nxml-completion-at-point-function): New function.
11994 (nxml-mode): Use it.
11995 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11996
11997 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11998 Load generated autoloads file before byte compiling (Bug#10970).
11999 (package--make-autoloads-and-compile): New helper fun.
12000
12001 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12002
12003 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12004
12005 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
12006
12007 * autorevert.el (auto-revert-handler): Ensure, that
12008 file-readable-p is applied only for local files or in
12009 auto-revert-tail-mode.
12010
12011 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12012
12013 * server.el (server-eval-at): Handle non-tcp connections.
12014 Decode result string.
12015
12016 * server.el (server-msg-size): New constant.
12017 (server-reply-print): New function.
12018 (server-eval-and-print): Use it.
12019 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12020 Handle -print-nonl.
12021
12022 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12023
12024 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12025 (Bug#10987).
12026
12027 2012-03-11 Chong Yidong <cyd@gnu.org>
12028
12029 * simple.el (goto-line): Doc fix (Bug#9938).
12030
12031 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12032
12033 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12034 when finished (Bug#10963).
12035
12036 2012-03-11 Martin Rudalics <rudalics@gmx.at>
12037
12038 * window.el (split-window-below): Fix bug in case where
12039 split-window-keep-point is nil (Bug#10971).
12040
12041 2012-03-11 Juri Linkov <juri@jurta.org>
12042
12043 * replace.el (replace-highlight): Set isearch-word to nil
12044 unconditionally. (Bug#10887)
12045
12046 2012-03-10 Eli Zaretskii <eliz@gnu.org>
12047
12048 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12049 mairix-replace-illegal-chars; all callers changed. Don't remove
12050 ^, ~, and = characters: they are meaningful in mairix search specs.
12051 (mairix-widget-create-query): Add usage information about mairix
12052 search forms: negating words, searching for substrings, etc.
12053
12054 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12055
12056 * international/fontset.el (font-encoding-alist): Add an entry for
12057 ksx1001 (Bug#5667).
12058
12059 2012-03-10 Richard Stallman <rms@gnu.org>
12060
12061 * mail/sendmail.el (mail-encode-header):
12062 Set rfc2047-encode-encoded-words.
12063
12064 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12065
12066 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12067 view buffer means not swapped.
12068 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12069 (rmail-write-region-annotate): Error if real text has disappeared.
12070
12071 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12072
12073 2012-03-10 Chong Yidong <cyd@gnu.org>
12074
12075 * emulation/cua-rect.el (cua--init-rectangles):
12076 * emulation/cua-base.el (cua--init-keymaps):
12077 Add delete-forward-char to remappings (Bug#9666).
12078
12079 2012-03-10 Martin Rudalics <rudalics@gmx.at>
12080
12081 * speedbar.el (speedbar-unhighlight-one-tag-line):
12082 Avoid unhighlighting due to frame switching (Bug#10275).
12083
12084 2012-03-10 Chong Yidong <cyd@gnu.org>
12085
12086 * minibuffer.el (completion-in-region, completion-help-at-point):
12087 Give the completion field overlay a high priority (Bug#6830).
12088
12089 * dired.el (dired-goto-file): Recognize absolute file name
12090 listings (Bug#7126).
12091 (dired-goto-file-1): New helper function.
12092 (dired-toggle-read-only): Inhibit warnings.
12093
12094 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
12095
12096 * net/dbus.el (dbus-property-handler): Return empty array if
12097 there are no properties.
12098
12099 2012-03-09 Leo Liu <sdl.web@gmail.com>
12100
12101 * savehist.el (savehist-printable): Stricter check for string
12102 value (Bug#10937).
12103
12104 2012-03-09 Eli Zaretskii <eliz@gnu.org>
12105
12106 * mail/smtpmail.el (smtpmail-send-it):
12107 Bind coding-system-for-write to *-unix, so that FCC files are kept in
12108 valid mbox format.
12109
12110 2012-03-09 Glenn Morris <rgm@gnu.org>
12111
12112 * files.el (dir-locals-find-file):
12113 Don't check result is regular, readable.
12114 (dir-locals-read-from-file): Demote errors.
12115
12116 2012-03-08 Eli Zaretskii <eliz@gnu.org>
12117
12118 * international/quail.el (quail-insert-kbd-layout):
12119 Insert invisible LRM characters before each character in a keyboard
12120 layout cell, to prevent their reordering by bidi display engine.
12121 For details, see the discussion in
12122 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12123
12124 2012-03-08 Alan Mackenzie <acm@muc.de>
12125
12126 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12127 the starting position; make it extend the marked region when
12128 invoked repeatedly - all under appropriate circumstances.
12129 Fixes bugs #5525, #10906.
12130
12131 2012-03-08 Glenn Morris <rgm@gnu.org>
12132
12133 * files.el (locate-dominating-file, dir-locals-find-file):
12134 Undo 2012-03-06 change.
12135
12136 2012-03-07 Eli Zaretskii <eliz@gnu.org>
12137
12138 * international/quail.el (quail-help):
12139 Force bidi-paragraph-direction be left-to-right. See discussion in
12140 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12141 for the reason.
12142
12143 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12144
12145 Avoid superfluous registering of signals. (Bug#10807)
12146
12147 * notifications.el (notifications-on-action-object)
12148 (notifications-on-close-object): New defvars.
12149 (notifications-on-action-signal, notifications-on-closed-signal):
12150 Unregister the signal if not needed any longer.
12151 (notifications-notify): Register `notifications-action-signal' or
12152 `notifications-closed-signal', if :on-action or :on-close has been
12153 passed as argument.
12154
12155 2012-03-07 Chong Yidong <cyd@gnu.org>
12156
12157 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12158 non-X platforms.
12159
12160 2012-03-06 Glenn Morris <rgm@gnu.org>
12161
12162 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12163 (x-disown-selection-internal, x-get-selection-internal):
12164 Doc fix (add arglist signatures). (Bug#10783)
12165
12166 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12167
12168 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12169 Handle breakpoints with no "type".
12170
12171 2012-03-06 Glenn Morris <rgm@gnu.org>
12172
12173 * files.el (locate-dominating-file): Add optional predicate argument.
12174 (dir-locals-find-file): Make use of above change.
12175
12176 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12177
12178 * info.el (Info-insert-dir): Also try "dir.gz".
12179
12180 2012-03-06 Glenn Morris <rgm@gnu.org>
12181
12182 * files.el (dir-locals-find-file):
12183 Ignore non-readable or non-regular files. (Bug#10928)
12184
12185 * files.el (locate-dominating-file): Doc fix.
12186
12187 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12188
12189 * calendar/calendar.el (calendar-set-mode-line):
12190 `getenv' returns a string. (Bug#10951)
12191
12192 2012-03-05 Leo Liu <sdl.web@gmail.com>
12193
12194 * simple.el (backward-delete-char-untabify): Constrain point to
12195 field (Bug#10939).
12196
12197 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12198
12199 2012-03-05 Chong Yidong <cyd@gnu.org>
12200
12201 * simple.el (count-words): If called from Lisp, return the word
12202 count, for symmetry with `count-lines'. Arglist changed.
12203 (count-words--message): Args changed. Consolidate counting code
12204 from count-words and count-words-region.
12205 (count-words-region): Caller changed.
12206 (count-lines-region): Make it an obsolete alias.
12207
12208 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12209
12210 * saveplace.el (save-place-to-alist)
12211 (save-place-ignore-files-regexp): Allow value nil to disable this
12212 feature.
12213
12214 2012-03-04 Chong Yidong <cyd@gnu.org>
12215
12216 * faces.el (face-spec-reset-face): For the default face, reset the
12217 attributes to default values (Bug#10748).
12218
12219 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12220
12221 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12222 previous patch: Check `message-send-mail-function', and not the
12223 default function (bug#10897).
12224
12225 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
12226
12227 * notifications.el (notifications-on-action-signal)
12228 (notifications-on-closed-signal): Check for unique service name of
12229 incoming event. Fix error in removing entry.
12230 (top): Register for signals with wildcard service name.
12231 (notifications-notify): Use daemon unique service name for map entries.
12232
12233 2012-03-04 Chong Yidong <cyd@gnu.org>
12234
12235 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12236
12237 2012-03-04 Glenn Morris <rgm@gnu.org>
12238
12239 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12240 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12241 (expand-abbrev, define-abbrev-table): Doc fixes.
12242
12243 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12244
12245 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12246 `message-default-send-mail-function' and not `send-mail-function'
12247 when doing the prompting for `sendmail-query-once' before sending
12248 in Message buffers (bug#10897).
12249
12250 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12251 This is inconsistent with all the other stream functions, which leave
12252 the setting up to the higher levels (if so wanted) (bug#10931).
12253
12254 2012-03-02 Alan Mackenzie <acm@muc.de>
12255
12256 Depessimize the handling of very large macros.
12257
12258 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12259 (c-macro-cache-syntactic): New variables to implement a one
12260 element macro cache.
12261 (c-invalidate-macro-cache): New function.
12262 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12263 Adapt to use the new cache.
12264 (c-state-safe-place): Use better the cache of safe positions.
12265 (c-state-semi-nonlit-pos-cache)
12266 (c-state-semi-nonlit-pos-cache-limit):
12267 New variables for...
12268 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12269 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
12270 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12271 Use c-state-semi-safe-place.
12272
12273 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12274 Add c-invalidate-macro-cache to the C, C++, Obj entries.
12275
12276 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
12277
12278 * jka-compr.el (jka-compr-call-process):
12279 Apply `file-accessible-directory-p' only when the default directory is
12280 not remote.
12281
12282 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
12283
12284 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12285 access of FILE2, if FILE1 does not exist.
12286
12287 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12288 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12289
12290 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12291 Add "PAGER=" to `process-environment'.
12292
12293 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12294
12295 * progmodes/sql.el: Bug fix
12296 (sql-get-login-ext): Save login values in globals.
12297 (sql-get-login): Use new version of `sql-get-login-ext'.
12298 (sql-interactive-mode): Set global `sql-connection' to nil.
12299 (sql-connect): Set global values for connection.
12300 (sql-product-interactive): Save global values as buffer local.
12301
12302 2012-02-29 Leo Liu <sdl.web@gmail.com>
12303
12304 * abbrev.el (define-abbrevs): Reset sys to nil.
12305
12306 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12307
12308 * files.el (file-equal-p): Rename from `files-equal-p'.
12309 Return nil when one or both files don't exist.
12310 (file-subdir-of-p): Now only top directory must exists,
12311 return nil if it doesn't.
12312 (copy-directory): No need to test with `file-subdir-of-p' after
12313 creating dir.
12314 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12315 to `file-equal-p'.
12316
12317 2012-02-28 Glenn Morris <rgm@gnu.org>
12318
12319 * shell.el (shell-mode):
12320 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12321 * play/landmark.el (landmark-font-lock-face-O):
12322 * play/handwrite.el (handwrite):
12323 * play/gomoku.el (gomoku-O):
12324 * net/browse-url.el (browse-url-browser-display):
12325 * international/mule.el (define-charset):
12326 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12327 * filesets.el (filesets-find-file-delay):
12328 * eshell/em-xtra.el (eshell-xtra):
12329 * eshell/em-unix.el (eshell-grep):
12330 * emulation/viper.el (viper-mode):
12331 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12332 * emacs-lisp/easymenu.el (easy-menu-define):
12333 * calendar/timeclock.el (timeclock-use-display-time):
12334 * bs.el (bs-mode):
12335 * bookmark.el (bookmark-save-flag):
12336 Doc fix (standardize possessive apostrophe usage).
12337
12338 2012-02-27 Chong Yidong <cyd@gnu.org>
12339
12340 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12341 Fix key-binding lookup for ESC key (Bug#9146).
12342
12343 * font-lock.el (font-lock-specified-p): Rename from
12344 font-lock-spec-present. Callers changed.
12345
12346 2012-02-27 Daniel Hackney <dan@haxney.org>
12347
12348 * emacs-lisp/package.el (package-compute-transaction):
12349 Handle holding a package version to t in package-load-list.
12350
12351 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
12352
12353 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12354 (tramp-get-inode, tramp-get-device): Use cached values.
12355
12356 2012-02-26 Alan Mackenzie <acm@muc.de>
12357
12358 Check there is a font-lock specification before doing initial
12359 fontification.
12360
12361 * font-core.el (font-lock-mode): Move the conditional from
12362 :after-hook to font-lock-initial-fontify.
12363 (font-lock-default-function): Move the check for a specification
12364 to font-lock-spec-present.
12365
12366 * font-lock.el (font-lock-initial-fontify): Call ...
12367 (font-lock-spec-present): New function.
12368
12369 2012-02-26 Jim Blandy <jimb@red-bean.com>
12370
12371 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12372 (gdb-send): Apply it to the operand of the '-interpreter-exec
12373 console' command, so that we can pass arguments with (say) quotes
12374 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12375
12376 2012-02-26 Chong Yidong <cyd@gnu.org>
12377
12378 * help-fns.el (describe-function-1): Clarify description of
12379 remapping (Bug#10844).
12380
12381 * files.el (files-equal-p): Doc fix.
12382 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12383 and quit the loop once a mismatch is found.
12384
12385 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
12386
12387 * bs.el (bs--show-with-configuration): Don't throw an error
12388 if the window cannot be split; otherwise, subsequent calls to
12389 bs-show fail, restoring a stale window config. (Bug#10882)
12390
12391 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12392
12393 * term/ns-win.el (global-map): Bind ns-drag-file to
12394 ns-find-file (Bug#5855, Bug#10050).
12395
12396 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12397
12398 * calendar/parse-time.el (parse-time-string): Allow extractor to
12399 return nil.
12400
12401 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
12402
12403 * net/tramp.el (tramp-file-name-for-operation):
12404 Add `files-equal-p' and `file-subdir-of-p'.
12405
12406 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12407 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12408 Add COPY-CONTENTS argument.
12409
12410 2012-02-25 Chong Yidong <cyd@gnu.org>
12411
12412 Add custom groups for VC backends, for consistency with vc-bzr.
12413
12414 * vc/vc-arch.el (vc-arch):
12415 * vc/vc-cvs.el (vc-cvs):
12416 * vc/vc-git.el (vc-git):
12417 * vc/vc-hg.el (vc-hg):
12418 * vc/vc-mtn.el (vc-mtn):
12419 * vc/vc-rcs.el (vc-rcs):
12420 * vc/vc-sccs.el (vc-sccs):
12421 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12422 All relevant defcustoms reassigned.
12423
12424 2012-02-25 Chong Yidong <cyd@gnu.org>
12425
12426 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12427
12428 * term/x-win.el (x-initialize-window-system): Reduce default for
12429 x-selection-timeout to 5 seconds (Bug#8869).
12430
12431 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12432
12433 * files.el (files-equal-p, file-subdir-of-p): New functions.
12434 (copy-directory): Error when trying to copy a directory on itself.
12435 Add missing copy-contents arg to tramp handler.
12436 * dired-aux.el (dired-copy-file-recursive): Same.
12437 (dired-create-files): Modify destination when source is equal to
12438 dest when copying files.
12439 Return also when dest is a subdir of source. (Bug#10489)
12440
12441 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
12442
12443 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12444 (Bug#10874)
12445
12446 2012-02-23 Alan Mackenzie <acm@muc.de>
12447
12448 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12449 parameter "after-hook:" to allow the expansion to run code after
12450 the execution of the mode hooks.
12451
12452 * font-lock.el (font-lock-initial-fontify): New function extracted
12453 from font-lock-mode-internal.
12454
12455 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12456 :after-hook.
12457
12458 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12461 (completion--cache-all-sorted-completions): New function.
12462 (completion-all-sorted-completions): Use it.
12463 (completion--do-completion, minibuffer-force-complete):
12464 Use it to re-instate the flush hook.
12465
12466 * icomplete.el (icomplete-completions): Replace last fix with a better
12467 one (bug#10850).
12468
12469 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12470
12471 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12472 when it might call us back infinitely (bug#10797).
12473
12474 2012-02-23 Glenn Morris <rgm@gnu.org>
12475
12476 * minibuffer.el (completion-category-overrides): Doc fix.
12477
12478 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12481 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12482
12483 2012-02-23 Glenn Morris <rgm@gnu.org>
12484
12485 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12486 (authors-obsolete-files-regexps, authors-ignored-files)
12487 (authors-ambiguous-files, authors-renamed-files-alist):
12488 Add more entries.
12489
12490 2012-02-23 Juri Linkov <juri@jurta.org>
12491
12492 * isearch.el (isearch-occur): Sync interactive spec with occur's
12493 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12494
12495 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12496
12497 2012-02-22 Juri Linkov <juri@jurta.org>
12498
12499 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12500 (ucs-insert): Doc fix. Check for hex digits in the string.
12501 Don't display `nil' in the error message. (Bug#10857)
12502
12503 2012-02-22 Alan Mackenzie <acm@muc.de>
12504
12505 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12506
12507 2012-02-22 Glenn Morris <rgm@gnu.org>
12508
12509 * ffap.el (ffap-c-path):
12510 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12511
12512 2012-02-22 Chong Yidong <cyd@gnu.org>
12513
12514 * custom.el (load-theme): Doc fix.
12515
12516 2012-02-22 Glenn Morris <rgm@gnu.org>
12517
12518 * dired-x.el (dired-guess-shell-alist-default):
12519 Remove escape sequences from nroff output. (Bug#172)
12520
12521 2012-02-21 Glenn Morris <rgm@gnu.org>
12522
12523 * vc/emerge.el (emerge-defvar-local):
12524 Set `permanent-local' property rather than unused `preserved'.
12525
12526 * textmodes/picture.el (picture-delete-char): New alias.
12527 (picture-mode-map): Use it. (Bug#10860)
12528 (picture-mode): Doc fix.
12529
12530 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
12531
12532 * newcomment.el (uncomment-region-default): Remove unused binding.
12533
12534 2012-02-21 Glenn Morris <rgm@gnu.org>
12535
12536 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12537 (picture-self-insert, picture-tab-chars): Doc fix.
12538 (picture-mode-map): Fix C-a, C-e.
12539
12540 2012-02-20 Glenn Morris <rgm@gnu.org>
12541
12542 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12543
12544 2012-02-20 Leo Liu <sdl.web@gmail.com>
12545
12546 * icomplete.el (icomplete-completions): Check FROM arg before
12547 passing to substring (Bug#10850).
12548
12549 2012-02-19 Chong Yidong <cyd@gnu.org>
12550
12551 * comint.el: Require ansi-color.
12552 (comint-output-filter-functions): Add ansi-color-process-output.
12553
12554 * ansi-color.el: Don't set comint-output-filter-functions; it is
12555 now in the initial value defined in comint.el.
12556 (ansi-color-apply-face-function): New variable.
12557 (ansi-color-apply-on-region): Use it.
12558 (ansi-color-apply-overlay-face): New function.
12559
12560 * shell.el (shell): No need to require ansi-color.
12561 (shell-mode): Use ansi-color-apply-face-function to highlight
12562 color escapes using font-lock-face property (Bug#10835).
12563
12564 2012-02-19 Chong Yidong <cyd@gnu.org>
12565
12566 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12567 mode-line formats (Bug#10839).
12568
12569 2012-02-18 Glenn Morris <rgm@gnu.org>
12570
12571 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12572
12573 * mail/undigest.el (unforward-rmail-message): Doc fix.
12574
12575 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12576
12577 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12578
12579 * international/characters.el (script-list): Sync with the latest
12580 Unicode Character Database.
12581
12582 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12583
12584 * international/titdic-cnv.el: Remove duplicate coding tag.
12585 * language/cham.el: Likewise.
12586 * language/tai-viet.el: Likewise.
12587
12588 2012-02-18 Glenn Morris <rgm@gnu.org>
12589
12590 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12591 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12592 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12593 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12594 * calendar/holidays.el (holiday-bahai-holidays)
12595 (calendar-holidays, list-holidays):
12596 Use utf-8 Bahá'í in doc-strings, menus, etc.
12597
12598 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12599
12600 * saveplace.el (save-place-ignore-files-regexp): New variable
12601 allowing for excluding files from saving their location of point.
12602 The default value matches the temporary commit message editing
12603 files from Git, SVN, Bazaar, and Mercurial.
12604 (save-place-to-alist): Use it.
12605
12606 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12607 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * newcomment.el (uncomment-region-default): Don't leave extra space
12610 when an arg is provided (bug#8150).
12611
12612 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12613
12614 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12615
12616 2012-02-17 Glenn Morris <rgm@gnu.org>
12617
12618 * net/socks.el: Require network-stream. (Bug#10599)
12619
12620 2012-02-17 Kenichi Handa <handa@m17n.org>
12621
12622 * international/charprop.el:
12623 * international/uni-name.el:
12624 * international/uni-old-name.el:
12625 * international/uni-comment.el: Regenerate.
12626
12627 2012-02-16 Glenn Morris <rgm@gnu.org>
12628
12629 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12630 Interactively in calendar buffer, give an error if not on a date.
12631
12632 2012-02-15 Glenn Morris <rgm@gnu.org>
12633
12634 * shell.el (shell-delimiter-argument-list):
12635 Revert 2011-02-17 change. (Bug#8027)
12636
12637 2012-02-15 Chong Yidong <cyd@gnu.org>
12638
12639 * minibuffer.el (completion-at-point-functions): Doc fix.
12640
12641 * custom.el (defcustom): Doc fix; note use of defvar.
12642
12643 2012-02-15 Glenn Morris <rgm@gnu.org>
12644
12645 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12646 Doc fixes.
12647
12648 2012-02-14 Glenn Morris <rgm@gnu.org>
12649
12650 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12651
12652 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12653
12654 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12655 way the ports list is computed.
12656 (smtpmail-query-smtp-server): Prompt the user for a port number if
12657 we can't connect to any of the standard ports (bug#10810).
12658
12659 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12660
12661 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12662
12663 2012-02-13 Glenn Morris <rgm@gnu.org>
12664
12665 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12666
12667 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12668
12669 * net/gnutls.el (gnutls-trustfiles): New variable.
12670 (gnutls-negotiate): Use it.
12671
12672 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12673
12674 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12675 does its stuff if Gnus is running.
12676
12677 2012-02-13 Alan Mackenzie <acm@muc.de>
12678
12679 Fix a loop in c-set-fl-decl-start.
12680
12681 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12682 c-backward-syntactic-ws actually moves backwards.
12683
12684 2012-02-13 Leo Liu <sdl.web@gmail.com>
12685
12686 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12687 beginning so that all \C-o chars are removed.
12688
12689 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12690
12691 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12692
12693 2012-02-12 Alan Mackenzie <acm@muc.de>
12694
12695 Fix infinite loop with long macros.
12696 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12697
12698 2012-02-12 Chong Yidong <cyd@gnu.org>
12699
12700 * window.el (display-buffer): Doc fix (Bug#10785).
12701
12702 2012-02-12 Glenn Morris <rgm@gnu.org>
12703
12704 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12705 (x-disown-selection-internal, x-get-selection-internal):
12706 Sync docs with the xselect.c versions.
12707
12708 * allout-widgets.el: Add missing license notice.
12709
12710 2012-02-11 Glenn Morris <rgm@gnu.org>
12711
12712 * select.el (x-get-selection-internal, x-own-selection-internal)
12713 (x-disown-selection-internal):
12714 * x-dnd.el (x-get-selection-internal): Update declarations.
12715
12716 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12717
12718 * window.el (window-sides-slots):
12719 * tool-bar.el (tool-bar-position):
12720 * term/xterm.el (xterm-extra-capabilities):
12721 * ses.el (ses-self-reference-early-detection):
12722 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12723 (verilog-auto-wire-type)
12724 (verilog-auto-delete-trailing-whitespace)
12725 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12726 (verilog-auto-tieoff-declaration):
12727 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12728 (sql-oracle-statement-starters, sql-oracle-scan-on):
12729 * progmodes/prolog.el (prolog-align-comments-flag)
12730 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12731 (prolog-left-indent-regexp, prolog-paren-indent-p)
12732 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12733 (prolog-types, prolog-mode-specificators)
12734 (prolog-determinism-specificators, prolog-directives)
12735 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12736 (prolog-electric-dot-flag)
12737 (prolog-electric-dot-full-predicate-template)
12738 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12739 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12740 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12741 (prolog-program-switches, prolog-prompt-regexp)
12742 (prolog-debug-on-string, prolog-debug-off-string)
12743 (prolog-trace-on-string, prolog-trace-off-string)
12744 (prolog-zip-on-string, prolog-zip-off-string)
12745 (prolog-use-standard-consult-compile-method-flag)
12746 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12747 (prolog-imenu-max-lines, prolog-info-predicate-index)
12748 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12749 (prolog-char-quote-workaround):
12750 * progmodes/cc-vars.el (c-defun-tactic):
12751 * net/tramp.el (tramp-encoding-command-interactive)
12752 (tramp-local-end-of-line):
12753 * net/soap-client.el (soap-client):
12754 * net/netrc.el (netrc-file):
12755 * net/gnutls.el (gnutls):
12756 * minibuffer.el (completion-category-overrides)
12757 (completion-cycle-threshold)
12758 (completion-pcm-complete-word-inserts-delimiters):
12759 * man.el (Man-name-local-regexp):
12760 * mail/feedmail.el (feedmail-display-full-frame):
12761 * international/characters.el (glyphless-char-display-control):
12762 * eshell/em-ls.el (eshell-ls-date-format):
12763 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12764 (lisp-lambda-list-keyword-parameter-indentation)
12765 (lisp-lambda-list-keyword-parameter-alignment):
12766 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12767 * dired-x.el (dired-omit-verbose):
12768 * cus-theme.el (custom-theme-allow-multiple-selections):
12769 * calc/calc.el (calc-highlight-selections-with-faces)
12770 (calc-lu-field-reference, calc-lu-power-reference)
12771 (calc-note-threshold):
12772 * battery.el (battery-mode-line-limit):
12773 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12774 (archive-7z-update):
12775 * allout.el (allout-prefixed-keybindings)
12776 (allout-unprefixed-keybindings)
12777 (allout-inhibit-auto-fill-on-headline)
12778 (allout-flattened-numbering-abbreviation):
12779 * allout-widgets.el (allout-widgets-auto-activation)
12780 (allout-widgets-icons-dark-subdir)
12781 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12782 (allout-widgets-theme-dark-background)
12783 (allout-widgets-theme-light-background)
12784 (allout-widgets-item-image-properties-emacs)
12785 (allout-widgets-item-image-properties-xemacs)
12786 (allout-widgets-run-unit-tests-on-load)
12787 (allout-widgets-time-decoration-activity)
12788 (allout-widgets-hook-error-post-time)
12789 (allout-widgets-track-decoration):
12790 Add missing :version tags to new defcustoms and defgroups.
12791
12792 * progmodes/sql.el (sql-ansi-statement-starters)
12793 (sql-oracle-statement-starters): Add custom type.
12794
12795 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12796 (prolog-system-version): Give it a type.
12797
12798 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12799
12800 * term/pc-win.el (x-select-text, x-selection-owner-p)
12801 (x-own-selection-internal, x-disown-selection-internal)
12802 (x-get-selection-internal): Sync doc strings and argument lists
12803 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12804
12805 2012-02-11 Leo Liu <sdl.web@gmail.com>
12806
12807 * progmodes/python.el (python-end-of-statement): Fix infinite
12808 loop. (Bug#10788)
12809
12810 2012-02-10 Glenn Morris <rgm@gnu.org>
12811
12812 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12813 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12814
12815 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12816
12817 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12818 about SMTP before checking the From header.
12819
12820 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12821 into own function for reuse by emacsbug.el.
12822
12823 2012-02-10 Leo Liu <sdl.web@gmail.com>
12824
12825 * subr.el (condition-case-unless-debug): Rename from
12826 condition-case-no-debug. All callers changed.
12827 (with-demoted-errors): Fix caller.
12828
12829 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12830 * nxml/rng-valid.el (rng-do-some-validation):
12831 * emacs-lisp/package.el (package-refresh-contents)
12832 (package-menu-execute):
12833 * desktop.el (desktop-create-buffer):
12834 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12835
12836 2012-02-10 Glenn Morris <rgm@gnu.org>
12837
12838 * textmodes/bibtex.el:
12839 Add missing :version tags for new/changed defcustoms.
12840
12841 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12842
12843 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12844
12845 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12846 (smtpmail-via-smtp): Use it, or fall back on the From address.
12847 (smtpmail-send-it): Ditto.
12848
12849 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12852 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12853 (byte-compile-tmp-var): New const.
12854 (byte-compile-defvar): Use it to minimize .elc size.
12855 Just use `defvar' rather than simulate it (bug#10761).
12856
12857 2012-02-09 Glenn Morris <rgm@gnu.org>
12858
12859 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12860
12861 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12862 Add :version tags.
12863
12864 * progmodes/compile.el (compilation-error-screen-columns)
12865 (compilation-first-column, compilation-filter-start): Doc fixes.
12866
12867 * vc/log-view.el (log-view-toggle-entry-display):
12868 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12869
12870 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12871 (report-emacs-bug-can-use-xdg-email):
12872 (report-emacs-bug-insert-to-mailer): Doc fixes.
12873 (report-emacs-bug): Message fix.
12874
12875 * net/browse-url.el (browse-url-can-use-xdg-open)
12876 (browse-url-xdg-open): Doc fixes.
12877
12878 * electric.el (electric-indent-mode, electric-pair-mode)
12879 (electric-layout-rules, electric-layout-mode): Doc fixes.
12880 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12881
12882 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12883
12884 * server.el (server-unselect-display): Don't inadvertently kill
12885 the current buffer. (Bug#10729)
12886
12887 2012-02-08 Glenn Morris <rgm@gnu.org>
12888
12889 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12890 (sql-list-table): Doc fixes.
12891
12892 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12893 Comment out (does nothing).
12894
12895 * completion.el (dynamic-completion-mode):
12896 * dirtrack.el (dirtrack-debug-mode):
12897 * electric.el (electric-layout-mode):
12898 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12899 * face-remap.el (text-scale-mode, buffer-face-mode):
12900 * iimage.el (iimage-mode):
12901 * image-mode.el (image-transform-mode):
12902 * minibuffer.el (completion-in-region-mode):
12903 * scroll-lock.el (scroll-lock-mode):
12904 * simple.el (next-error-follow-minor-mode):
12905 * tar-mode.el (tar-subfile-mode):
12906 * tooltip.el (tooltip-mode):
12907 * vcursor.el (vcursor-use-vcursor-map):
12908 * wid-browse.el (widget-minor-mode):
12909 * emulation/tpu-edt.el (tpu-edt-mode):
12910 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12911 * international/iso-ascii.el (iso-ascii-mode):
12912 * language/thai-util.el (thai-word-mode):
12913 * mail/supercite.el (sc-minor-mode):
12914 * net/goto-addr.el (goto-address-mode):
12915 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12916 * progmodes/cwarn.el (cwarn-mode):
12917 * progmodes/flymake.el (flymake-mode):
12918 * progmodes/glasses.el (glasses-mode):
12919 * progmodes/hideshow.el (hs-minor-mode):
12920 * progmodes/pascal.el (pascal-outline-mode):
12921 * textmodes/enriched.el (enriched-mode):
12922 * vc/smerge-mode.el (smerge-mode):
12923 Doc fixes (minor mode argument).
12924
12925 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12926
12927 * ls-lisp.el (ls-lisp-sanitize): New function.
12928 (ls-lisp-insert-directory): Use it to fix or remove any elements
12929 in file-alist with missing attributes. (Bug#4673)
12930
12931 2012-02-07 Alan Mackenzie <acm@muc.de>
12932
12933 Fix spurious recognition of c-in-knr-argdecl.
12934
12935 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12936 putative K&R region.
12937
12938 2012-02-07 Alan Mackenzie <acm@muc.de>
12939
12940 * progmodes/cc-engine.el (c-forward-objc-directive):
12941 Prevent looping in "#pragma mark @implementation".
12942
12943 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12944
12945 * notifications.el (notifications-on-closed-signal): Make `reason'
12946 optional. (Bug#10744)
12947
12948 2012-02-07 Glenn Morris <rgm@gnu.org>
12949
12950 * emacs-lisp/easy-mmode.el (define-minor-mode):
12951 Doc fixes for the macro and the mode it defines.
12952
12953 * image.el (imagemagick-types-inhibit): Doc fix.
12954
12955 * cus-start.el (imagemagick-render-type): Add it.
12956
12957 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12958
12959 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12960 Set the default at load time, too, so that `font-lock-fontify-buffer'
12961 can be called without setting up the entire mode first. This fixes
12962 a bug in `mm-inline-text' with C MIME parts.
12963
12964 2012-02-06 Chong Yidong <cyd@gnu.org>
12965
12966 * simple.el (list-processes--refresh): Delete exited processes
12967 (Bug#8094).
12968
12969 * comint.el (comint-next-prompt): next-single-char-property-change
12970 and prev-single-char-property-change never return nil (Bug#8657).
12971
12972 * custom.el (defcustom): Doc fix (Bug#9711).
12973
12974 2012-02-05 Chong Yidong <cyd@gnu.org>
12975
12976 * cus-edit.el (custom-variable-reset-backup): Quote the value
12977 before storing it in the customized-value property (Bug#6712).
12978 (custom-display): Add a customization type tag.
12979 (custom-buffer-create-internal): Improve tooltip message.
12980
12981 * wid-edit.el (widget-field-value-get): New optional arg to
12982 suppress trailing whitespace truncation.
12983 (character): Use it (Bug#2689).
12984
12985 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12986
12987 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12988 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12989
12990 2012-02-05 Chong Yidong <cyd@gnu.org>
12991
12992 * cus-edit.el (custom-variable-value-create): For mismatched
12993 types, show the current value (Bug#7600).
12994
12995 * custom.el (defcustom): Doc fix.
12996
12997 2012-02-05 Glenn Morris <rgm@gnu.org>
12998
12999 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13000
13001 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
13002
13003 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13004 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13005 (pp-last-sexp): Use `looking-at-p'.
13006
13007 2012-02-04 Glenn Morris <rgm@gnu.org>
13008
13009 * files.el (revert-buffer):
13010 Doc fix (mention revert-buffer-in-progress-p).
13011
13012 * emacs-lisp/ert-x.el (ert-simulate-command):
13013 Check deferred-action-list (which is obsolete) is bound.
13014
13015 * subr.el (with-wrapper-hook): Doc fixes.
13016
13017 * simple.el (filter-buffer-substring-functions)
13018 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13019
13020 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13021
13022 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13023 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13024
13025 2012-02-04 Leo Liu <sdl.web@gmail.com>
13026
13027 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13028
13029 2012-02-04 Glenn Morris <rgm@gnu.org>
13030
13031 * image.el (image-extension-data): Add obsolete alias.
13032
13033 * isearch.el (isearch-update): Doc fix.
13034
13035 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13036
13037 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13038
13039 2012-02-03 Glenn Morris <rgm@gnu.org>
13040
13041 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13042 (image-animate-timeout): Doc fix.
13043
13044 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13045
13046 2012-02-02 Glenn Morris <rgm@gnu.org>
13047
13048 * server.el (server-auth-dir): Doc fix.
13049 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13050
13051 * subr.el (run-mode-hooks): Doc fix.
13052
13053 2012-02-02 Juri Linkov <juri@jurta.org>
13054
13055 * image-mode.el (image-toggle-display-image): Remove tautological
13056 `major-mode' from the `derived-mode-p' test.
13057
13058 2012-02-02 Kenichi Handa <handa@m17n.org>
13059
13060 * composite.el (compose-region): Cancel previous change.
13061
13062 2012-02-02 Kenichi Handa <handa@m17n.org>
13063
13064 * composite.el (compose-region, compose-string): Signal error for
13065 a null string component (Bug#6988).
13066
13067 2012-02-01 Chong Yidong <cyd@gnu.org>
13068
13069 * view.el (view-buffer-other-window, view-buffer-other-frame):
13070 Handle special modes like view-buffer (Bug#10650).
13071 (view-buffer): Simplify.
13072
13073 * frame.el (set-frame-font): Tweak meaning of third argument.
13074
13075 * dynamic-setting.el (font-setting-change-default-font):
13076 Use set-frame-font (Bug#9982).
13077
13078 2012-02-01 Glenn Morris <rgm@gnu.org>
13079
13080 * progmodes/compile.el (compilation-internal-error-properties):
13081 Respect compilation-first-column in the "*compilation*" buffer.
13082
13083 * emacs-lisp/easy-mmode.el (define-minor-mode):
13084 Relax :variable's test for a named function.
13085
13086 2012-01-31 Alan Mackenzie <acm@muc.de>
13087
13088 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13089 off by one error.
13090
13091 2012-01-31 Chong Yidong <cyd@gnu.org>
13092
13093 * frame.el (set-frame-font): New arg ALL-FRAMES.
13094
13095 * menu-bar.el (menu-set-font): Use set-frame-font.
13096
13097 * faces.el (face-spec-reset-face): Don't apply unspecified
13098 attribute values to the default face.
13099
13100 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
13101
13102 * progmodes/cwarn.el (cwarn): Remove dead link.
13103 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13104 Remove * from defcustom docstrings.
13105 (turn-on-cwarn-mode): Make obsolete.
13106 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13107 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13108
13109 2012-01-31 Glenn Morris <rgm@gnu.org>
13110
13111 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
13112 Fix :variable handling of mode a symbol not equal to modefun.
13113 Allow named functions to be used as the cdr of :variable.
13114
13115 2012-01-30 Glenn Morris <rgm@gnu.org>
13116
13117 * emacs-lisp/authors.el (authors-fixed-entries):
13118 Remove reference to deleted file rnewspost.el.
13119
13120 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
13121
13122 * window.el (window-with-parameter): Remove unused variable `windows'.
13123 (window--side-check): Remove unused variable `code'.
13124 (window--resize-siblings): Remove unused variable `first'.
13125 (adjust-window-trailing-edge): Remove unused variable `failed'.
13126 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13127 Use `let', not `let*'.
13128 (balance-windows-2): Remove unused variable `found'.
13129 (window--state-put-2): Remove unused variable `splits'.
13130 (window-state-put): Remove unused variable `selected'.
13131 (same-window-p): Use `string-match-p'.
13132 (display-buffer-assq-regexp): Remove unused variable `value'.
13133 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13134 Mark argument ALIST as ignored.
13135 (pop-to-buffer): Remove unused variable `old-window'.
13136
13137 2012-01-29 Eli Zaretskii <eliz@gnu.org>
13138
13139 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13140 and .lzma compressed files.
13141
13142 2012-01-29 Chong Yidong <cyd@gnu.org>
13143
13144 * frame.el (window-system-default-frame-alist): Doc fix.
13145
13146 * dynamic-setting.el (font-setting-change-default-font): Don't
13147 change the default face if SET-FONT argument is non-nil (Bug#9982).
13148
13149 2012-01-29 Samuel Bronson <naesten@gmail.com>
13150
13151 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13152
13153 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13154
13155 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13156 breakpoints in files outside current directory (Bug#6098).
13157
13158 2012-01-29 Chong Yidong <cyd@gnu.org>
13159
13160 * progmodes/python.el: Require ansi-color at top-level.
13161
13162 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13163 Define and use in Emacs Lisp mode (Bug#9360).
13164 (lisp-mode-abbrev-table): Add doc.
13165 (lisp-mode-variables): Don't set local-abbrev-table.
13166 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13167
13168 2012-01-28 Roland Winkler <winkler@gnu.org>
13169
13170 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13171
13172 2012-01-28 Roland Winkler <winkler@gnu.org>
13173
13174 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13175 (bibtex-set-dialect): Use it. Either set global values of
13176 dialect-dependent variables or bind these variables buffer-locally
13177 (Bug#10254).
13178 (bibtex-mode): Call bibtex-set-dialect via
13179 hack-local-variables-hook.
13180 (bibtex-dialect): Update docstring.
13181 Add safe-local-variable predicate.
13182 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13183 bibtex-set-dialect.
13184 (bibtex-mode-map): Define menu for each dialect.
13185 (bibtex-entry): Fix docstring.
13186
13187 2012-01-28 Chong Yidong <cyd@gnu.org>
13188
13189 * eshell/esh-arg.el (eshell-quote-argument): New function.
13190
13191 * eshell/esh-ext.el (eshell-invoke-batch-file):
13192 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13193 first arg to eshell-parse-command (Bug#10523).
13194
13195 2012-01-28 Drew Adams <drew.adams@oracle.com>
13196
13197 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13198 `default-directory' is non-nil.
13199
13200 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13201
13202 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13203 line that displays system-configuration-options. (Bug#9924)
13204
13205 2012-01-28 Drew Adams <drew.adams@oracle.com>
13206
13207 * descr-text.el (describe-char): Show information about POS, in
13208 addition to information about the character at POS. Improve and
13209 update the doc string. Change "code point" to "code point in
13210 charset", to avoid confusion with the character's Unicode code
13211 point shown above that. (Bug#10129)
13212
13213 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13214
13215 * descr-text.el (describe-char): Show the raw character, not only
13216 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13217 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13218 for the reasons.
13219
13220 2012-01-28 Phil Hagelberg <phil@hagelb.org>
13221
13222 * emacs-lisp/package.el (package-install):
13223 Run package-refresh-contents if there is no archive yet (Bug#9798).
13224
13225 2012-01-28 Chong Yidong <cyd@gnu.org>
13226
13227 * emacs-lisp/package.el (package-maybe-load-descriptor):
13228 New function, split from package-maybe-load-descriptor.
13229 (package-maybe-load-descriptor): Use it.
13230 (package-download-transaction): Fully load required packages
13231 inside the loop, so that `require' calls work (Bug#10593).
13232 (package-install): No need to call package-initialize now.
13233
13234 2012-01-28 Chong Yidong <cyd@gnu.org>
13235
13236 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13237
13238 * tooltip.el (tooltip-mode): Doc fix.
13239 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13240
13241 * frame.el (set-cursor-color): Doc fix (Bug#352).
13242
13243 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13244 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13245
13246 * cus-edit.el (custom-buffer-create-internal): Fix search button
13247 action (Bug#10542).
13248 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
13249
13250 2012-01-27 Eduard Wiebe <usenet@pusto.de>
13251
13252 * dired.el (dired-mark-files-regexp):
13253 Include any subdirectory components. (Bug#10445)
13254
13255 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13256
13257 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13258 Handle [host]:port syntax. (Bug#10533)
13259
13260 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
13261
13262 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13263
13264 2012-01-26 Glenn Morris <rgm@gnu.org>
13265
13266 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13267 * term.el (term-raw-escape-map): Use Control-X-prefix.
13268 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13269
13270 2012-01-25 Martin Rudalics <rudalics@gmx.at>
13271
13272 * window.el (window-state-get, window--state-get-1): Don't deal
13273 with fixed-sizeness of windows. Simplify code.
13274
13275 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13276
13277 * window.el (window--state-get-1, window--state-put-2):
13278 Don't save and restore the mark.
13279
13280 2012-01-25 Chong Yidong <cyd@gnu.org>
13281
13282 * custom.el (custom-variable-p): Doc fix.
13283
13284 2012-01-25 Glenn Morris <rgm@gnu.org>
13285
13286 * dired.el (dired-goto-file): Handle some of the more common
13287 characters that `ls -b' escapes. (Bug#10596)
13288
13289 * progmodes/compile.el (compilation-next-error-function):
13290 Respect compilation-first-column in the "*compilation*" buffer.
13291 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13292
13293 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13294
13295 2012-01-24 Glenn Morris <rgm@gnu.org>
13296
13297 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13298
13299 2012-01-24 Julien Danjou <julien@danjou.info>
13300
13301 * color.el (color-rgb-to-hsl): Fix value computing.
13302 (color-hue-to-rgb): New function.
13303 (color-hsl-to-rgb): New function.
13304 (color-clamp, color-saturate-hsl, color-saturate-name)
13305 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13306 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13307
13308 2012-01-24 Glenn Morris <rgm@gnu.org>
13309
13310 * vc/vc-rcs.el (vc-rcs-create-tag):
13311 * vc/vc-sccs.el (vc-sccs-create-tag):
13312 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13313
13314 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13315
13316 * eshell/esh-util.el (eshell-read-hosts-file):
13317 Skip comment lines. (Bug#10549)
13318
13319 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13320
13321 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
13322
13323 * subr.el (display-delayed-warnings): Doc fix.
13324 (collapse-delayed-warnings): New function to collapse identical
13325 adjacent warnings.
13326 (delayed-warnings-hook): Add it.
13327
13328 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
13329
13330 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13331
13332 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13333 (tramp-default-user-alist): Don't add "pscp".
13334 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13335 property "login-as", if set. (Bug#10530)
13336
13337 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
13338
13339 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13340 "plink1" and "psftp". (Bug#10530)
13341
13342 2012-01-21 Kenichi Handa <handa@m17n.org>
13343
13344 * international/mule-cmds.el (prefer-coding-system): Show a
13345 warning message if the default value of file-name-coding-system
13346 was not changed.
13347
13348 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13349
13350 * windmove.el (windmove-reference-loc):
13351 Fix windmove-reference-loc miscalculation.
13352
13353 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13354
13355 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13356 default unit.
13357
13358 2012-01-21 Glenn Morris <rgm@gnu.org>
13359
13360 * international/mule.el (auto-coding-alist): Add .tbz.
13361
13362 * files.el (local-enable-local-variables): Doc fix.
13363 (inhibit-local-variables-regexps): Rename from
13364 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13365 Doc fix. Add some extensions from auto-coding-alist.
13366 (inhibit-local-variables-suffixes):
13367 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13368 (inhibit-local-variables-p):
13369 New function, extracted from set-auto-mode-1.
13370 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13371 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13372 (hack-local-variables): Doc fix. Make the mode-only case
13373 respect enable-local-variables and friends.
13374 Respect inhibit-local-variables-regexps for file-locals, but
13375 not for directory-locals.
13376 (set-visited-file-name):
13377 Take account of inhibit-local-variables-regexps.
13378 Whether it applies may change as the file name is changed.
13379 * jka-cmpr-hook.el (jka-compr-install):
13380 * jka-compr.el (jka-compr-uninstall):
13381 Update for inhibit-first-line-modes-suffixes name change.
13382
13383 2012-01-20 Martin Rudalics <rudalics@gmx.at>
13384
13385 * help-macro.el (make-help-screen): Temporarily restore original
13386 binding for minor-mode-map-alist (Bug#10454).
13387
13388 2012-01-19 Julien Danjou <julien@danjou.info>
13389
13390 * color.el (color-name-to-rgb): Use the white color to find the max
13391 color component value and return correctly computed values.
13392 (color-name-to-rgb): Add missing float conversion for max value.
13393
13394 2012-01-19 Martin Rudalics <rudalics@gmx.at>
13395
13396 * window.el (window--state-get-1, window-state-get): Do not use
13397 special state value for window-persistent-parameters.
13398 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
13399 (window--state-put-2): Reset all window parameters to nil before
13400 assigning values of persistent parameters.
13401
13402 2012-01-18 Alan Mackenzie <acm@muc.de>
13403
13404 Eliminate sluggishness and hangs in fontification of "semicolon
13405 deserts".
13406
13407 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13408 Change value 10000 -> 3000.
13409 (c-state-safe-place): Reformulate so it doesn't stack up an
13410 infinite number of wrong entries in c-state-nonlit-pos-cache.
13411 (c-determine-limit-get-base, c-determine-limit): New functions to
13412 determine backward search limits disregarding literals.
13413 (c-find-decl-spots): Amend commenting.
13414 (c-cheap-inside-bracelist-p): New function which detects "={".
13415
13416 * progmodes/cc-fonts.el
13417 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13418 backward search.
13419 (c-font-lock-declarations): Fix an occurrence of point being
13420 undefined. Check additionally for point being in a bracelist or
13421 near a macro invocation without a semicolon so as to avoid a
13422 fruitless time consuming search for a declarator. Give a more
13423 precise search limit for declarators using the new
13424 c-determine-limit.
13425
13426 2012-01-18 Glenn Morris <rgm@gnu.org>
13427
13428 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13429 (set-auto-mode): Doc fixes.
13430
13431 2012-01-17 Glenn Morris <rgm@gnu.org>
13432
13433 * isearch.el (search-nonincremental-instead): Fix doc typo.
13434
13435 * dired.el (dired-insert-directory): Handle newlines in directory name.
13436 (dired-build-subdir-alist): Unescape newlines in directory name.
13437
13438 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
13439
13440 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13441 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13442 (tramp-action-terminal): Use it. (Bug#10530)
13443
13444 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13445
13446 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13447
13448 2012-01-16 Martin Rudalics <rudalics@gmx.at>
13449
13450 * window.el (window-state-ignored-parameters): Remove variable.
13451 (window--state-get-1): Rename argument MARKERS to IGNORE.
13452 Handle persistent window parameters. Make copy of clone-of
13453 parameter only if requested. (Bug#10348)
13454 (window--state-put-2): Install a window parameter only if it has
13455 a non-nil value or an existing parameter shall be overwritten.
13456
13457 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13460
13461 2012-01-14 Eli Zaretskii <eliz@gnu.org>
13462
13463 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13464 don't pass the (nil) value of `upnode' to string-match.
13465
13466 2012-01-14 Chong Yidong <cyd@gnu.org>
13467
13468 * startup.el (command-line): Fix X resource class for cursorColor.
13469 Fix values recognized by the cursorBlink resource.
13470
13471 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13472
13473 * epg.el (epg--make-temp-file): Avoid permission race condition
13474 when running on old Emacs versions (bug#10403).
13475
13476 2012-01-14 Glenn Morris <rgm@gnu.org>
13477
13478 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13479
13480 2012-01-13 Alan Mackenzie <acm@muc.de>
13481
13482 Fix filling for when filladapt mode is enabled.
13483
13484 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13485 c-mask-paragraph, pass in `fill-paragraph' rather than
13486 `fill-region-as-paragraph'. (This is a reversion of a previous
13487 change.)
13488 * progmodes/cc-mode.el (c-basic-common-init):
13489 Make fill-paragraph-handle-comment buffer local and set it to nil.
13490
13491 2012-01-13 Glenn Morris <rgm@gnu.org>
13492
13493 * dired.el (dired-switches-escape-p): New function.
13494 (dired-insert-directory): Use dired-switches-escape-p.
13495 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13496
13497 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13498
13499 2012-01-12 Glenn Morris <rgm@gnu.org>
13500
13501 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13502 changes in adaptive-fill-regexp. (Bug#10276)
13503
13504 2012-01-11 Alan Mackenzie <acm@muc.de>
13505
13506 Fix Emacs bug #10463 - put `widen's around the critical spots.
13507
13508 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13509 widen around each invocation of c-state-pp-to-literal. Remove an
13510 unused let variable.
13511
13512 2012-01-11 Glenn Morris <rgm@gnu.org>
13513
13514 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
13515 Doc fix.
13516
13517 2012-01-10 Chong Yidong <cyd@gnu.org>
13518
13519 * net/network-stream.el (network-stream-open-starttls):
13520 Avoid emitting a confusing error message when the server gives a bad
13521 response to the capability command.
13522
13523 2012-01-10 Glenn Morris <rgm@gnu.org>
13524
13525 * mail/unrmail.el (unrmail): Tweak previous change.
13526
13527 2012-01-09 Chong Yidong <cyd@gnu.org>
13528
13529 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13530
13531 2012-01-08 Alan Mackenzie <acm@muc.de>
13532
13533 Optimize font locking in long enum definitions.
13534
13535 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13536 arm to a cond form to handle enums.
13537 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13538 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13539
13540 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
13541
13542 * files.el (move-file-to-trash): Preserve default file modes on error.
13543 (Bug#10401)
13544
13545 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13546
13547 * faces.el (set-face-attribute): Clarify the meaning of the nil
13548 frame (bug#10294).
13549
13550 * subr.el (with-selected-frame): Mention that the selected frame
13551 is restored (bug#9980).
13552
13553 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13554 (bug#9759).
13555
13556 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13557 (password-read): Don't autoload unused function.
13558
13559 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13560
13561 * progmodes/which-func.el (which-func-mode): Turn into a
13562 non-interactive function and mark as obsolete (bug#10428).
13563
13564 2012-01-06 Chong Yidong <cyd@gnu.org>
13565
13566 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13567 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13568 functions, along with 1 and -1.
13569
13570 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13571
13572 * time.el (display-time-load-average)
13573 (display-time-default-load-average): Doc fixes. See the thread
13574 starting at
13575 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13576 for the details.
13577
13578 2012-01-06 Glenn Morris <rgm@gnu.org>
13579
13580 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13581 has no messages. (Bug#10377)
13582
13583 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13584 than Info-edit. (Bug#10385)
13585
13586 * time.el (display-time-load-average, display-time-next-load-average):
13587 Doc fixes.
13588
13589 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13590 local setting of buffer-read-only to the input buffer. (Bug#10419)
13591
13592 * calendar/calendar.el (calendar-mode):
13593 Locally set scroll-margin to 0. (Bug#10379)
13594
13595 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13596
13597 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13598
13599 2012-01-05 Glenn Morris <rgm@gnu.org>
13600
13601 * eshell/em-unix.el (diff-no-select): Autoload it.
13602 (eshell/diff): Use diff-no-select. (Bug#10420)
13603
13604 2012-01-05 Chong Yidong <cyd@gnu.org>
13605
13606 * shell.el (shell-dynamic-complete-functions): Revert last change.
13607 (shell-command-completion-function): New function.
13608 (shell-completion-vars): Use it to implement
13609 shell-completion-execonly (Bug#10417).
13610
13611 * custom.el (enable-theme): Don't set custom-safe-themes.
13612
13613 * cus-theme.el (custom-theme-merge-theme):
13614 Ignore custom-enabled-themes and custom-safe-themes.
13615
13616 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13617
13618 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13619 first prompt in `sql-interacive-mode'.
13620 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13621 keywords.
13622 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13623 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13624 context of original buffer. Invoke `sql-login-hook'.
13625
13626 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13627
13628 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13629 letters in cite-prefix.
13630
13631 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13632
13633 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13634
13635 2012-01-03 Chong Yidong <cyd@gnu.org>
13636
13637 * shell.el (shell-dynamic-complete-functions):
13638 Put pcomplete-completions-at-point, so as to try
13639 comint-filename-completion first (Bug#10417).
13640
13641 2012-01-02 Richard Stallman <rms@gnu.org>
13642
13643 * battery.el (battery-status-function):
13644 Detect when to use battery-yeeloong-sysfs.
13645 (battery-echo-area-format): Add string for Yeeloong.
13646 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13647 (battery-yeeloong-sysfs): New function.
13648
13649 2012-01-02 Chong Yidong <cyd@gnu.org>
13650
13651 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13652 (dirtrack): Merge code for handling relative filenames in prompt
13653 from shell-dir-cookie-watcher.
13654 (dirtrack-debug-message): New arg to avoid excess format calls.
13655
13656 * shell.el (shell-dir-cookie-re): Variable deleted.
13657 (shell-dir-cookie-watcher): Function deleted.
13658 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13659 with dirtrack-mode.
13660
13661 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13662
13663 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13664 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13665 libgnutls-26.dll.
13666
13667 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13668
13669 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13670
13671 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13672
13673 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13674 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13675
13676 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13677
13678 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13679 also for alternative shells.
13680 (tramp-open-connection-setup-interactive-shell): Check, whether
13681 the shell is a busybox.
13682 (tramp-send-command): Don't suppress multiple prompts for
13683 busyboxes, it hurts.
13684
13685 2011-12-28 Chong Yidong <cyd@gnu.org>
13686
13687 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13688 (gdb-get-source-file): Move mode line update to
13689 gdb-get-source-file (Bug#10087).
13690
13691 2011-12-25 Chong Yidong <cyd@gnu.org>
13692
13693 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13694 gud-gdb-marker-filter without taking it as an argument.
13695 (gud-gdb-run-command-fetch-lines): Caller changed.
13696 (gud-gdb-completion-function): New variable.
13697 (gud-gdb-completion-at-point): Use it.
13698 (gud-gdb-completions-1): Split from gud-gdb-completions.
13699
13700 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13701 function as separate arguments.
13702 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13703 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13704 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13705 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13706 (gdb-stopped, def-gdb-auto-update-trigger)
13707 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13708 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13709 Callers changed.
13710 (gud-gdbmi-completions): New function.
13711 (gdb): Use it for generating the completion table.
13712
13713 2011-12-24 Alan Mackenzie <acm@muc.de>
13714
13715 Introduce a mechanism to widen the region used in context font
13716 locking. Use this to protect declarations from losing their contexts.
13717
13718 * progmodes/cc-langs.el (c-before-font-lock-functions):
13719 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13720 (c-before-context-fontification-functions): New defvar, a list of
13721 functions to be run just before context (etc.) font locking.
13722
13723 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13724 New, functionality extracted from
13725 c-neutralize-syntax-in-and-mark-CPP.
13726 (c-in-after-change-fontification): New variable.
13727 (c-after-change): Set c-in-after-change-fontification.
13728 (c-set-fl-decl-start): Rejig its interface, so it can be called
13729 from both after-change and context fontifying.
13730 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13731 New functions.
13732 (c-standard-font-lock-fontify-region-function): New variable.
13733 (c-font-lock-fontify-region): New function.
13734
13735 2011-12-24 Juri Linkov <juri@jurta.org>
13736
13737 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13738 (Bug#10348)
13739
13740 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13741
13742 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13743 existence of source file. (Bug#10325)
13744
13745 2011-12-23 Alan Mackenzie <acm@muc.de>
13746
13747 Fix unstable fontification inside templates.
13748
13749 * progmodes/cc-langs.el (c-before-font-lock-functions):
13750 Newly created from the singular version. The (c c++ objc) entry now
13751 additionally has c-set-fl-decl-start. The other languages (apart
13752 from AWK) have that as a single entry.
13753
13754 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13755 The functionality for "local" declarations has been extracted to
13756 c-set-fl-decl-start.
13757
13758 * progmodes/cc-mode.el (c-common-init, c-after-change):
13759 Changes due to pluralisation of c-before-font-lock-functions.
13760 (c-set-fl-decl-start): New function, extracted from
13761 c-font-lock-enclosing-decls and enhanced.
13762
13763 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13764
13765 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13766
13767 2011-12-22 Juri Linkov <juri@jurta.org>
13768
13769 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13770
13771 2011-12-22 Chong Yidong <cyd@gnu.org>
13772
13773 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13774
13775 2011-12-21 Drew Adams <drew.adams@oracle.com>
13776
13777 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13778
13779 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13780
13781 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13782
13783 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13784
13785 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13786 highlighting and support. Fix up comments for capitalization.
13787 (cfengine-mode-debug): New var.
13788 (cfengine3-mode): Change the modeline indicator to "CFE3".
13789 (cfengine3-font-lock-keywords): Improve defun highlighting.
13790 (cfengine2-actions): Rename from `cfengine-actions'.
13791 (cfengine2-font-lock-keywords): Rename from
13792 `cfengine-font-lock-keywords'.
13793 (cfengine2-imenu-expression): Rename from
13794 `cfengine-imenu-expression'.
13795 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13796 (cfengine2-beginning-of-defun): Rename from
13797 `cfengine-beginning-of-defun'.
13798 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13799 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13800 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13801 modeline indicator to "CFE2".
13802 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13803 (cfengine-mode-abbrevs): Mark obsolete.
13804
13805 2011-12-21 Chong Yidong <cyd@gnu.org>
13806
13807 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13808 filename argument.
13809
13810 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13811
13812 * window.el (window-normalize-buffer-to-display): Remove.
13813 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13814
13815 2011-12-19 Chong Yidong <cyd@gnu.org>
13816
13817 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13818 Don't signal an error in a predicate function; return non-nil.
13819 (vc-dir-mark-file): Move the error here.
13820 (vc-dir-mark-unmark): If acting on the region, keep going if one
13821 of the entries cannot be marked/unmarked.
13822 (vc-dir-mark-all-files): If current entry is a directory, mark
13823 only child files, as documented.
13824
13825 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13826
13827 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13828 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13829 addition.
13830
13831 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13832
13833 * term/ns-win.el (ns-get-selection-internal)
13834 (ns-store-selection-internal): Declare.
13835 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13836 Declare as obsolete.
13837 (ns-get-pasteboard, ns-paste-secondary):
13838 Use ns-get-selection-internal.
13839 (ns-set-pasteboard, ns-copy-including-secondary):
13840 Use ns-store-selection-internal.
13841
13842 2011-12-17 Chong Yidong <cyd@gnu.org>
13843
13844 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13845 (vc-deduce-fileset): Doc fix.
13846
13847 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13848
13849 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13850
13851 2011-12-13 Sam Steingold <sds@gnu.org>
13852
13853 * man.el (Man-getpage-in-background): When running under a
13854 window-system, ignore $MANWIDTH and $COLUMNS.
13855
13856 2011-12-15 Kenichi Handa <handa@m17n.org>
13857
13858 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13859 (setup-ethiopic-environment-internal): Comment out key-binding for
13860 ethio-toggle-punctuation.
13861
13862 2011-12-13 Alan Mackenzie <acm@muc.de>
13863
13864 Add the switch statement to AWK Mode.
13865
13866 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13867 "default" to the keywords regexp.
13868
13869 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13870 expression as the rest.
13871 (c-nonlabel-token-key): Allow string literals for AWK.
13872 Refactor for the other modes.
13873
13874 Large brace-block initialisation makes CC Mode slow: Fix.
13875 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13876 routines. Limit backward searching in c-font-lock-enclosing.decl.
13877
13878 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13879 pp-state and literal type in addition to the limits.
13880 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13881 (c-state-literal-at): Use the above new defun.
13882 (c-slow-in-literal, c-fast-in-literal): Remove.
13883 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13884
13885 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13886 being in a literal. Add a limit for backward searching.
13887
13888 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13889 c-slow-in-literal.
13890
13891 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13892
13893 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13894
13895 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13896
13897 * window.el (delete-other-windows): Use correct frame in call to
13898 window-with-parameter.
13899
13900 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13901
13902 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13903 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13904 (makefile-gmake-statements, makefile-makepp-statements):
13905 Use it and add new makepp keywords.
13906 (makefile-makepp-font-lock-keywords): Add new patterns.
13907 (makefile-match-function-end): Match new [...] and [[...]].
13908
13909 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13910
13911 * ses.el (ses-call-printer-return, ses-cell-property-get)
13912 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13913 (ses-create-cell-variable, ses-reset-header-string)
13914 (ses-cell-set-formula, ses-repair-cell-reference-all)
13915 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13916 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13917 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13918 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13919 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13920 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13921 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13922 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13923 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13924 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13925 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13926 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13927
13928 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13929
13930 * ses.el: The overall change is to add cell renaming, that is
13931 setting fancy names for cell symbols other than name matching
13932 "\\`[A-Z]+[0-9]+\\'" regexp .
13933 (ses-create-cell-variable): New defun.
13934 (ses-relocate-formula): Relocate formulas only for cells the
13935 symbols of which are not renamed, i.e. symbols whose names do not
13936 match regexp "\\`[A-Z]+[0-9]+\\'".
13937 (ses-relocate-all): Relocate values only for cells the symbols of
13938 which are not renamed.
13939 (ses-load): Create cells variables as the (ses-cell ...) are read,
13940 in order to check row col consistency with cell symbol name only
13941 for cells that are not renamed.
13942 (ses-replace-name-in-formula): New defun.
13943 (ses-rename-cell): New defun.
13944
13945 2011-12-11 Chong Yidong <cyd@gnu.org>
13946
13947 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13948 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13949
13950 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13951
13952 * window.el (other-window): Fix docstring.
13953
13954 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13955
13956 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13957 `from' or `to' address before taking its substring.
13958 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13959 encoded name is chopped in the middle of the encoded string, and
13960 thus displayed encoded.
13961
13962 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13963
13964 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13965
13966 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13967
13968 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13969 to use texinfo-update-node and commands that call it if the
13970 Texinfo file uses @node lines without next/prev/up pointers.
13971 Correct outdated description about texinfo-master-menu.
13972 (texinfo-all-menus-update, texinfo-master-menu)
13973 (texinfo-update-node, texinfo-every-node-update)
13974 (texinfo-multiple-files-update): Doc fix. Warn against updating
13975 all the @node lines.
13976 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13977 argument is numeric. Explain better in the doc string what the
13978 function really does.
13979 (texinfo-insert-master-menu-list): Improve the error message
13980 displayed if there's no menu in the Top node.
13981 (Bug#2975) See also this thread:
13982 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13983
13984 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13985
13986 * speedbar.el (speedbar-supported-extension-expressions):
13987 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13988
13989 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13990
13991 * printing.el (pr-mode-alist):
13992 * simple.el (filter-buffer-substring-functions)
13993 (completion-list-insert-choice-function):
13994 * window.el (window-with-parameter, window-atom-root)
13995 (window-sides-slots, window-size-fixed, window-min-delta)
13996 (window-max-delta, window--resize-mini-window)
13997 (window--resize-child-windows-normal, window-tree)
13998 (delete-other-windows, quit-window, split-window)
13999 (display-buffer-record-window, special-display-buffer-names)
14000 (special-display-regexps, special-display-popup-frame)
14001 (same-window-p, split-window-sensibly)
14002 (display-buffer-overriding-action, display-buffer-alist)
14003 (display-buffer-base-action, display-buffer, switch-to-buffer)
14004 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14005 (fit-window-to-buffer, recenter-positions)
14006 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14007 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14008 and remove unneeded backslashes in docstrings.
14009
14010 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14011
14012 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14013
14014 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14015 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14016 end in ".mk".
14017 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14018 when reading the makefile (bug#10116).
14019
14020 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14021
14022 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14023 (bug#10116).
14024
14025 2011-12-06 Glenn Morris <rgm@gnu.org>
14026
14027 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14028
14029 2011-12-06 Chong Yidong <cyd@gnu.org>
14030
14031 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14032
14033 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
14034
14035 * textmodes/table.el (table-shorten-cell): Fix typo.
14036
14037 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14038
14039 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14040
14041 2011-12-05 Eli Zaretskii <eliz@gnu.org>
14042
14043 * descr-text.el (describe-char): Fix display of strong
14044 right-to-left characters and directional embeddings and overrides.
14045
14046 * simple.el (what-cursor-position): Fix display of codepoints of
14047 strong right-to-left characters.
14048
14049 2011-12-05 Chong Yidong <cyd@gnu.org>
14050
14051 * faces.el (read-color): Doc fix.
14052
14053 2011-12-05 Glenn Morris <rgm@gnu.org>
14054
14055 * align.el (align--set-marker): Add doc-string.
14056 Don't try to move something that is not a marker. (Bug#10216)
14057
14058 2011-12-04 Glenn Morris <rgm@gnu.org>
14059
14060 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14061 overly zealous deletion of trailing whitespace.
14062
14063 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
14064
14065 * server.el (server-delete-client): On Windows, do not try to delete
14066 the only terminal.
14067 (server-process-filter): On Windows, treat requests for a tty frame as
14068 if they were for a GUI frame if the running server is in GUI mode.
14069
14070 2011-12-03 Glenn Morris <rgm@gnu.org>
14071
14072 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14073
14074 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * electric.el: Streamline electric-indent's hook.
14077 (electric-indent-chars): Revert to simple list.
14078 (electric-indent-functions): New var.
14079 (electric-indent-post-self-insert-function): Use it.
14080
14081 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14082 there's no inferior buffer (bug#10196).
14083 (prolog-consult-compile): Don't use toggle-read-only.
14084
14085 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
14086
14087 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14088 interrupt. (Bug#10187)
14089
14090 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14093 (bug#9160).
14094
14095 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14096 (bug#10191).
14097
14098 2011-12-02 Juri Linkov <juri@jurta.org>
14099
14100 * info.el (Info-search): Display "end of manual" when Isearch
14101 reaches the end of single-file Info manual. (Bug#9918)
14102
14103 2011-12-02 Eli Zaretskii <eliz@gnu.org>
14104
14105 * isearch.el (isearch-message-prefix): Run the input method part
14106 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14107
14108 2011-12-02 Juri Linkov <juri@jurta.org>
14109
14110 * isearch.el (isearch-occur): Use `word-search-regexp' for
14111 `isearch-word'.
14112 (isearch-search-and-update): Add condition for `isearch-word' and
14113 call `word-search-regexp'. (Bug#10145)
14114
14115 2011-12-01 Glenn Morris <rgm@gnu.org>
14116
14117 * eshell/em-hist.el (eshell-hist-initialize):
14118 Handle eshell-history-size nil and HISTSIZE set or unset.
14119 (eshell-history-file-name, eshell-history-size): Fix custom type.
14120
14121 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14124
14125 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
14126
14127 * progmodes/verilog-mode.el (verilog-pretty-expr):
14128 Rework verilog-pretty-expr to handle new assignment operators in system
14129 verilog, such as += *= and the like.
14130 (verilog-assignment-operator-re): Regular expression to find the
14131 assigment operator in a verilog assignment.
14132 (verilog-assignment-operation-re): Regular expression to find an
14133 assignment statement for pretty-expr.
14134 (verilog-in-attribute-p): Query returns true if point is in an
14135 attribute context; used to skip these for expression line up from
14136 pretty-expr.
14137 (verilog-in-parameter-p): Query returns true if point is in an
14138 parameter definition context; used to skip these for expression
14139 line up from pretty-expr.
14140 (verilog-in-parenthesis-p): Query returns true if point is in a
14141 parenthetical expression, specifically ( ) but not [ ] or { };
14142 used by pretty-expr.
14143 (verilog-just-one-space): If there is no space, don't add one.
14144 (verilog-get-lineup-indent-2): Specifically skip just attribute
14145 contexts for expression lineup, rather than skipping all
14146 parenthetical expressions.
14147 (verilog-calculate-indent): Fix comment, and fix indent.
14148 (verilog-do-indent): Indent declarations in lists (suggested by
14149 Joachim Lechner).
14150 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14151 skeleton items.
14152 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14153 by Alain Mellan).
14154
14155 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14156
14157 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14158 parameters with embedded comments. Reported by Ray Stevens.
14159 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14160 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14161 Reported by Tim Holt.
14162 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14163 instantiated by upper module causing wrong expansion until AUTOed a
14164 second time. Reported by K C Buckenmaier.
14165 (verilog-diff-auto): Fix showing .* as a difference when
14166 `verilog-auto-star-save' off. Reported by Dan Dever.
14167 (verilog-auto-reset, verilog-read-always-signals)
14168 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14169 temporary signals in reset list if
14170 verilog-auto-reset-blocking-in-non is nil, and match assignment
14171 style to each signal's assignment type, bug381.
14172 Reported by Thomas Esposito.
14173 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14174 (verilog-uvm-statement-re): Support UVM indentation and
14175 highlighting, with old OVM keywords only.
14176 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14177 Support AUTOTIEOFF creating non-wire data types.
14178 Suggested by Jonathan Greenlaw.
14179 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14180 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14181 (verilog-inject-sense, verilog-read-inst-pins)
14182 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14183 Fix mismatching parenthesis inside commented out code when deleting
14184 AUTOINST, bug383. Reported by Jonathan Greenlaw.
14185 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14186 non-numeric vector width. Reported by Alex Reed.
14187 (verilog-auto-ascii-enum): Add "onehot" option to work around not
14188 detecting signals with parameter widths. Reported by Alex Reed.
14189 (verilog-auto-delete-trailing-whitespace):
14190 With `verilog-auto-delete-trailing-whitespace' remove trailing
14191 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14192 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14193 Fix verilog-scan-cache corruption when running user AUTO expansion
14194 hooks that call indentation routines.
14195 (verilog-simplify-range-expression): Fix typo ignoring lower case
14196 identifiers.
14197 (verilog-delete-auto): Fix delete-autos to also remove user created
14198 automatics, as long as they start with AUTO.
14199 (verilog-batch-diff-auto, verilog-diff-auto)
14200 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14201 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14202 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14203 (verilog-in-paren-quick, verilog-re-search-backward-quick)
14204 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14205 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14206 is disabled and its cache will get corrupt, causing AUTOS not to
14207 expand. Instead use only -quick functions.
14208 (verilog-scan-region): Fix scanning over escaped quotes.
14209 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14210 (verilog-re-search-backward-quick)
14211 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14212 related functions now ignore strings, to fix misparsing of strings
14213 with magic comments embedded in them.
14214 (verilog-read-auto-template):
14215 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14216 Reported by Brad Dobbie.
14217 (verilog-read-auto-template):
14218 Fix 'verilog-auto-inst-template-numbers' with comments.
14219 Reported by Brad Dobbie.
14220 (verilog-auto-inst, verilog-auto-inst-param)
14221 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14222 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14223 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14224 debugging templates without merge conflicts, bug357.
14225 Reported by Brad Dobbie.
14226 (verilog-read-auto-template):
14227 Fix verilog-auto-inst-template-numbers with multiple templates.
14228 Reported by Brad Dobbie.
14229 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14230 abbrevs so user won't be asked to save.
14231 (verilog-read-auto-lisp-present): Fix to start at beginning of
14232 buffer in case called outside of verilog-auto.
14233 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14234 to "X-2". Reported by Matthew Myers.
14235 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14236 all inputs from module templates. Reported by Leith Johnson.
14237 (verilog-module-inside-filename-p): Fix locating programs as with
14238 modules.
14239 (verilog-auto-inst-port): Fix vl-width expressions when using
14240 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14241 (verilog-decls-get-regs, verilog-decls-get-signals,
14242 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14243 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14244 verilog-read-decls): Combine reg and wire structures into one var
14245 structure to represent SystemVerilog concepts.
14246 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14247 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
14248 (verilog-auto-wire-type, verilog-insert-definition):
14249 Add verilog-auto-wire-type and AUTOLOGIC to support using
14250 SystemVerilog "logic" keyword instead of "wire"/"reg".
14251 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14252 to declares outputs that also have assignments (presumably in an
14253 ifdef or generate if so there's not a driver conflict).
14254 Reported by Matthew Myers.
14255 (verilog-auto-declare-nettype, verilog-insert-definition):
14256 Add verilog-auto-declare-nettype to fix declarations using
14257 `default_nettype none. Reported by Julian Gorfajn.
14258 (verilog-read-always-signals-recurse, verilog-read-decls)
14259 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14260 malformed end statement, bug325. Reported by Joshua Wise and
14261 Andrew Drake.
14262 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14263 (verilog-inst-comment-re): Fix not deleting Interfaced comment
14264 when expanding .* in interfaces, bug320.
14265 Reported by Pierre-David Pfister.
14266 (verilog-read-module-name): Fix import statements between module
14267 name and open parenthesis, bug317.
14268 Reported by Pierre-David Pfister.
14269 (verilog-simplify-range-expression): Fix simplification of
14270 multiplications inside AUTOWIRE connections, bug303.
14271 (verilog-auto-inst-port): Support parameter expansion in
14272 multidimensional arrays.
14273 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14274 after "assert property". Reported by Julian Gorfajn.
14275 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14276 with multiplication, bug303.
14277 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14278 Reported by Jan Frode Lonnum.
14279
14280 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
14281
14282 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14283 (hfy-shell-file-name, hfy-shell):
14284 * international/fontset.el (x-decompose-font-name): Fix typos.
14285
14286 2011-11-29 Ken Brown <kbrown@cornell.edu>
14287
14288 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14289 (gdb-version): Remove defvar.
14290 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14291 (gdb-gud-context-command, gdb-non-stop-handler)
14292 (gdb-current-context-command, gdb-stopped): Use it.
14293 (gdb-init-1): Enable pretty printing here.
14294 (gdb-non-stop-handler): Don't enable pretty-printing here.
14295 Check to see if the target supports non-stop mode; if not, turn off
14296 non-stop mode. Use the following.
14297 (gdb-check-target-async): New defun.
14298 (gud-watch, gdb-stopped): Fix whitespace.
14299 (gdb-get-source-file): Don't try to display the source file if
14300 `gdb-main-file' is nil.
14301
14302 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * align.el: Try to generate fewer markers (bug#10047).
14305 (align--set-marker): New macro.
14306 (align-region): Use it.
14307
14308 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14309
14310 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14311
14312 2011-11-29 Chong Yidong <cyd@gnu.org>
14313
14314 * indent.el (indent-for-tab-command, indent-according-to-mode):
14315 Doc fix.
14316 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14317
14318 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
14319
14320 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14321 aware of remote file names. (Bug#10124)
14322
14323 2011-11-29 Chong Yidong <cyd@gnu.org>
14324
14325 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14326
14327 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * files.el (find-file): Don't use force-same-window (bug#10144).
14330 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14331 use pop-to-buffer if the selected window can't be used.
14332 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14333
14334 2011-11-28 Eli Zaretskii <eliz@gnu.org>
14335
14336 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14337 special-mode-map.
14338
14339 2011-11-28 Chong Yidong <cyd@gnu.org>
14340
14341 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14342
14343 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
14344
14345 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14346 gdb-get-source-file-list on gdb-create-source-file-list.
14347
14348 2011-11-26 Eli Zaretskii <eliz@gnu.org>
14349
14350 * whitespace.el (whitespace-newline): Use a different foreground
14351 color for 16-color light-background displays.
14352
14353 2011-11-24 Chong Yidong <cyd@gnu.org>
14354
14355 * window.el (display-buffer--special-action): Doc fix.
14356
14357 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
14358
14359 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14360 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14361 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14362 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14363 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14364 (avl-tree-stack-first):
14365 * emacs-lisp/cconv.el (cconv--analyse-use):
14366 * net/gnutls.el (gnutls-negotiate): Fix typos.
14367
14368 2011-11-24 Glenn Morris <rgm@gnu.org>
14369
14370 * lpr.el (lpr-windows-system, lpr-lp-system):
14371 * mail/binhex.el (binhex-begin-line):
14372 * progmodes/grep.el (grep-history, grep-find-history):
14373 * textmodes/flyspell.el:
14374 * vc/pcvs-defs.el (cvs-global-menu):
14375 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14376 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14377 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14378
14379 * net/tls.el: Fix case of "GnuTLS".
14380
14381 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14382
14383 * version.el (emacs-build-system): Give it a doc-string.
14384
14385 2011-11-24 Juri Linkov <juri@jurta.org>
14386
14387 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14388
14389 2011-11-24 Glenn Morris <rgm@gnu.org>
14390
14391 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14392 if called on a non-mime message just toggle the headers. (Bug#8006)
14393
14394 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14395
14396 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14397 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14398 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14399 (allout-rebullet-heading, allout-open-sibtopic)
14400 (allout-toggle-current-subtree-encryption)
14401 (allout-toggle-subtree-encryption, allout-encrypt-string)
14402 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14403 (allout-distinctive-bullets-string, allout-auto-activation):
14404 * window.el (window-normalize-buffer-to-display):
14405 * progmodes/verilog-mode.el (verilog-batch-indent):
14406 * textmodes/bibtex.el (bibtex-field-braces-opt)
14407 (bibtex-field-strings-opt):
14408 * vc/cvs-status.el (cvs-tree-merge):
14409 Fix typos.
14410
14411 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
14412
14413 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14414 `non-essential' to t, in order to avoid remote connections.
14415
14416 2011-11-23 Eli Zaretskii <eliz@gnu.org>
14417
14418 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14419 On MS-DOS and MS-Windows, compare with loaddefs.el
14420 case-insensitively.
14421
14422 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14423
14424 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14425
14426 2011-11-23 Glenn Morris <rgm@gnu.org>
14427
14428 * paths.el (rmail-file-name): Reformat the doc-string so that it
14429 is picked up.
14430
14431 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14432 (rmail-auto-file): Ignore case in the "special" field names,
14433 as mail-fetch-field does for all others.
14434
14435 * mail/rmail.el (rmail-forward):
14436 * mail/rmailkwd.el (rmail-set-label):
14437 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14438 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14439
14440 * mail/rmail.el (rmail-current-message): Doc fix.
14441
14442 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14443
14444 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14445
14446 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14447
14448 2011-11-22 Glenn Morris <rgm@gnu.org>
14449
14450 * mail/rmailmm.el (test-rmail-mime-handler)
14451 (test-rmail-mime-bulk-handler)
14452 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14453
14454 2011-11-21 Juri Linkov <juri@jurta.org>
14455
14456 * calc/calc.el (calc-read-key-sequence):
14457 Let-bind `input-method-function' to nil. (Bug#10018)
14458
14459 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14460
14461 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14462 Tell the caller that the next line needs recomputation, even
14463 though it doesn't start a sexp (bug#10094).
14464
14465 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14466
14467 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14468
14469 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14470
14471 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14472 Use force-same-window.
14473
14474 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14475
14476 * descr-text.el (describe-char-unicode-data):
14477 * json.el (json-string-escape):
14478 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14479 (Footnote-unicode, Footnote-style-p):
14480 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14481
14482 2011-11-20 Chong Yidong <cyd@gnu.org>
14483
14484 * window.el (replace-buffer-in-windows): Restore interactive spec.
14485
14486 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14487
14488 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14489
14490 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14491 (byte-compile-global-not-obsolete-vars): New var.
14492 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14493 Use it.
14494 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14495
14496 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14497
14498 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14499 * progmodes/pascal.el (electric-pascal-equal):
14500 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14501 * xml.el (xml-substitute-special): Fix typos.
14502
14503 2011-11-20 Glenn Morris <rgm@gnu.org>
14504
14505 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14506 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14507 Doc fixes.
14508 (rmail-decode-mime-charset): Mark as obsolete.
14509
14510 * mail/rmailsum.el (rmail-message-regexp-p-1):
14511 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14512 Before using mime functions, check they are set. (Bug#10077)
14513
14514 2011-11-19 Juri Linkov <juri@jurta.org>
14515
14516 * info.el (Info-finder-find-node): Use `package--builtins' instead
14517 of `package-alist'. Use node names formed by the pattern "Keyword "
14518 and the keyword name.
14519
14520 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14521
14522 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14523
14524 2011-11-19 Juri Linkov <juri@jurta.org>
14525
14526 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14527 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14528 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14529 `old-history', `old-history-forward'. Add let-binding
14530 `window-selected'. Remove calls to `kill-buffer',
14531 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14532 before calling `Info-find-node', so `Info-find-node-2' will reread
14533 the Info file. Restore window positions only when `window-selected'
14534 is non-nil.
14535
14536 2011-11-19 Juri Linkov <juri@jurta.org>
14537
14538 * isearch.el (isearch-lazy-highlight-new-loop):
14539 Remove condition `(not isearch-error)'. (Bug#9918)
14540
14541 * misearch.el (multi-isearch-search-fun): Add condition
14542 `(not bound)' to ignore lazy-highlighting search.
14543 Add the search-failed message "end of multi" when the end of
14544 multi-sequence is reached. Uncapitalize the search-failed
14545 message "Repeat for next buffer".
14546
14547 * info.el (Info-search): Add the search-failed message
14548 "end of the manual" when the end of the manual is reached
14549 in Isearch mode.
14550
14551 2011-11-19 Juri Linkov <juri@jurta.org>
14552
14553 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14554 Use non-destructive `remove' instead of `delete' because
14555 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14556 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14557
14558 2011-11-19 Juri Linkov <juri@jurta.org>
14559
14560 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14561 to nil instead of binding `search-ring' and `regexp-search-ring'.
14562 (Bug#9185)
14563
14564 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14565
14566 * simple.el (line-move): Force movement by logical lines for any
14567 hscrolled window, not only when auto-hscroll-mode is on.
14568 (line-move-visual): Update doc string to that effect. (Bug#10076)
14569
14570 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14571
14572 * language/european.el (macintosh): Define as alias for mac-roman.
14573
14574 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14575
14576 * mail/rmailmm.el (rmail-mime-display-header)
14577 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14578 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14579 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14580 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14581 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14582 of a raw aref.
14583 (rmail-mime-entity-segment): To get past the tagline, move forward
14584 2 more lines, to account for the 2 empty lines that precede and
14585 follow the line with the buttons.
14586 (rmail-mime-update-tagline): Move one more line, to get past the
14587 empty line that follows the buttons in the tagline. (Bug#9520)
14588
14589 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14590
14591 * window.el (window-max-delta-1, window-min-delta-1)
14592 (window-min-size-1, window-state-get-1, window-state-put-1)
14593 (window-state-put-2): Use "window--" prefix.
14594
14595 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14598 (smie-warning-count): New var.
14599 (smie-set-prec2tab): Use it.
14600 (smie-bnf->prec2): Improve warnings. Add docstring.
14601 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14602 (smie-bnf--set-class): New function.
14603 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14604 corner case.
14605
14606 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14607 (compilation-error-properties, compilation-move-to-column):
14608 Handle compilation-first-column while in the target buffer.
14609
14610 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14611 Don't hardcode point-min==1.
14612
14613 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14614 (eshell-rewrite-for-command): Remove workaround.
14615 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14616 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14617 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14618
14619 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14620
14621 2011-11-17 Glenn Morris <rgm@gnu.org>
14622
14623 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14624 Ignore buffer-local generated-autoload-file if it is the same
14625 as the global value. (Bug#10049)
14626
14627 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14628
14629 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14630 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14631 (reftex-toc-previous-heading, reftex-toc-max-level)
14632 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14633 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14634 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14635 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14636 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14637 (reftex-toc-rename-label, reftex-toc-visit-location)
14638 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14639 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14640 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14641 leaving "*toc*" only for references to the buffer.
14642
14643 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14644
14645 * window.el (window-resize, delete-window, split-window):
14646 Replace window-splits by window-combination-resize.
14647 * cus-start.el (window-splits): Replace by window-combination-resize.
14648
14649 2011-11-17 Glenn Morris <rgm@gnu.org>
14650
14651 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14652 Make bash entry derive from sh entry, not shell entry.
14653
14654 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14655
14656 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14657 local file name.
14658
14659 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14660
14661 * menu-bar.el (menu-bar-file-menu):
14662 * printing.el (pr-ps-utility):
14663 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14664 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14665 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14666 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14667 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14668 (icalendar--convert-cyclic-to-ical)
14669 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14670 (icalendar--convert-ical-to-diary)
14671 (icalendar--convert-recurring-to-diary)
14672 (icalendar--convert-non-recurring-all-day-to-diary)
14673 (icalendar-import-format-sample):
14674 * progmodes/idlw-shell.el (idlwave-shell-mode):
14675 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14676 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14677 (vhdl-ps-print-init): Fix typos.
14678
14679 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14680
14681 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14682 FSF and collapse date sequence, obscure author/maintainer email address
14683 better, remove extra version line, track relocation of author's webpage.
14684
14685 * progmodes/python.el (python-pdbtrack-input-prompt)
14686 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14687 regular python pdb prompts. Adjustments shamelessly taken exactly as
14688 suggested in EmacsWiki page (tiny change):
14689 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14690
14691 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14692
14693 * expand.el (expand-pos, expand-index, expand-point):
14694 Remove redundant info from docstring.
14695 (expand-add-abbrevs): Doc fix.
14696 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14697 (expand-sample-perl-mode-expand-list): Fix typos.
14698
14699 * net/dbus.el (dbus-event-member-name):
14700 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14701 * term/pc-win.el (msdos-create-frame-with-faces):
14702 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14703
14704 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14705
14706 * window.el (split-window, window-state-get-1)
14707 (window-state-put-1, window-state-put-2): Rename occurrences of
14708 window-nest to window-combination-limit.
14709 * cus-start.el (window-nest): Rename to window-combination-limit.
14710
14711 2011-11-16 Chong Yidong <cyd@gnu.org>
14712
14713 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14714 regexp (Bug#10033).
14715
14716 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14719 `completing-read' will remove *Completions* and will preserve
14720 current-buffer for us.
14721 (tmm-add-prompt): Users of *Completions* will always (re)set its
14722 major mode.
14723 (tmm-old-comp-map): Remove.
14724
14725 2011-11-16 Glenn Morris <rgm@gnu.org>
14726
14727 * mail/rmailedit.el: Require rmailmm when compiling.
14728 (rmail-old-mime-state): New declaration.
14729 (rmail-edit-current-message): If editing a mime message,
14730 edit the "raw" message from the mbox buffer.
14731 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14732
14733 2011-11-15 Glenn Morris <rgm@gnu.org>
14734
14735 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14736 which wasn't being used. Add optional arg to force given state.
14737 (rmail-mime): Add optional arg to force given state.
14738
14739 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14740
14741 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14742 * frame.el (display-mm-dimensions-alist):
14743 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14744 (outline-move-subtree-down):
14745 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14746 (newsticker--treeview-do-get-node):
14747 * net/quickurl.el (quickurl-list-buffer-name):
14748 * progmodes/dcl-mode.el (dcl-mode):
14749 * progmodes/gdb-mi.el (gdb-mapcar*):
14750 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14751
14752 2011-11-15 Glenn Morris <rgm@gnu.org>
14753
14754 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14755 in a boolean sense, so just make it a boolean, and fix the doc.
14756 (rmail-show-mime-function, rmail-mime-feature)
14757 (rmail-require-mime-maybe): Doc fixes.
14758 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14759
14760 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14761
14762 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14763
14764 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14765 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14766 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14767 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14768
14769 2011-11-15 Glenn Morris <rgm@gnu.org>
14770
14771 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14772 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14773 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14774 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14775 (rmail-mime, rmail-show-mime): Doc fixes.
14776
14777 * term/ns-win.el (mode-line-frame-identification):
14778 Leave it alone. (Bug#10051)
14779
14780 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14781
14782 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14783 Handle empty buffers. (Bug#9978)
14784
14785 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14786
14787 * international/mule.el (define-charset):
14788 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14789 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14790 * progmodes/verilog-mode.el (verilog-backward-token):
14791 * textmodes/ispell.el (lookup-words):
14792 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14793
14794 2011-11-14 Glenn Morris <rgm@gnu.org>
14795
14796 * progmodes/executable.el
14797 (executable-make-buffer-file-executable-if-script-p):
14798 Handle file-modes returning nil.
14799
14800 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14801 message - not necessary, and causes problems. (Bug#9831)
14802
14803 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14804
14805 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14806
14807 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14808 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14809 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14810
14811 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14812
14813 * window.el (window-resize, delete-window): Use window-splits
14814 variable instead of function.
14815 (window-state-get-1, window-state-put-2, window-state-put):
14816 Don't deal with windows' splits status.
14817
14818 2011-11-12 Glenn Morris <rgm@gnu.org>
14819
14820 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14821 (apropos-documentation): Doc fixes.
14822
14823 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14824
14825 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14826 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14827
14828 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14829
14830 * electric.el (electric-indent-post-self-insert-function): Make it
14831 possible for a char to only indent in some circumstances.
14832 (electric-indent-mode): Simplify.
14833
14834 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14835
14836 * window.el (windows-with-parameter): Remove unused function.
14837 (windows-at-side): Rename to window-at-side-list.
14838 (window-check, window-atom-check, window-atom-check-1)
14839 (window-side-check, window-size-ignore, window-size-fixed-1)
14840 (window-in-direction-2): Prefix with "window--".
14841 (window-tree-1): Rename to window--subtree, fix doc-string.
14842
14843 2011-11-11 Glenn Morris <rgm@gnu.org>
14844
14845 * subr.el (eval-after-load): If FILE is already loaded,
14846 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14847
14848 2011-11-10 Glenn Morris <rgm@gnu.org>
14849
14850 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14851 Call svn via vc-svn-command rather than vc-do-command.
14852 (vc-svn-command): Add --non-interactive. (Bug#9993)
14853 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14854
14855 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14856 Add toggle-read-only. (Bug#7292)
14857 * files.el (toggle-read-only): Mention that it should only
14858 be used interactively. (Bug#10006)
14859
14860 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14863 Adjust regexp for OCaml warnings.
14864
14865 * electric.el (electric-pair-post-self-insert-function): Let user
14866 turn it off buffer-locally (bug#9932).
14867
14868 * progmodes/python.el (python-beginning-of-statement):
14869 Rewrite (bug#2703).
14870
14871 * progmodes/compile.el: Better handle TABs (bug#9749).
14872 (compilation-internal-error-properties)
14873 (compilation-next-error-function): Obey the target buffer's
14874 compilation-error-screen-columns.
14875
14876 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14877
14878 * progmodes/meta-mode.el: Remove obsolete comments.
14879 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14880 Fix typos in docstrings.
14881
14882 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14883
14884 * window.el (window-size-fixed-p): Rewrite doc-string.
14885 (window-resizable-p): Rename to window--resizable-p. Update callers.
14886 (window--resizable): New function. Make all callers of
14887 window-resizable call window--resizable instead.
14888 (window-resizable): Rewrite in terms of window--resizable.
14889
14890 2011-11-08 Glenn Morris <rgm@gnu.org>
14891
14892 * progmodes/delphi.el (delphi-mode-syntax-table):
14893 Let define-derived-mode define a proper syntax table. (Bug#9994)
14894
14895 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14896
14897 * window.el: Stay away from defsubst.
14898 (window-list-no-nils): Remove.
14899 (window-state-get-1, window-state-get): Use backquote instead.
14900
14901 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14902
14903 * emacs-lisp/find-func.el (find-function-read):
14904 Fix incorrect use of default argument in `completing-read'.
14905
14906 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14907
14908 * window.el (display-buffer-function, special-display-function):
14909 Mention display-buffer-record-window but do not mention
14910 help-setup parameter in doc-strings.
14911 (window-min-delta): Fix doc-string typo.
14912
14913 2011-11-08 Chong Yidong <cyd@gnu.org>
14914
14915 * window.el (window-total-height, window-total-width): Doc fix.
14916 (window-body-size): Move from C.
14917 (window-body-height, window-body-width): Move to C.
14918
14919 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * window.el: Make special-display like display-buffer-alist (bug#9532).
14922 (display-buffer--special-action): New function, morphed
14923 from display-buffer--special.
14924 (display-buffer): Use it to handle special-display-buffers at higher
14925 priority (just after display-buffer-alist).
14926 (display-buffer-fallback-action, display-buffer--other-frame-action)
14927 (pop-to-buffer-same-window): Remove display-buffer--special.
14928
14929 2011-11-07 Glenn Morris <rgm@gnu.org>
14930
14931 * calendar/cal-menu.el (cal-menu-set-date-title):
14932 Do nothing if not in a calendar. (Bug#9976)
14933
14934 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * files.el (find-file): Always use selected-window.
14937
14938 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14939
14940 * window.el (window-combinations): Make WINDOW argument
14941 mandatory. Rewrite doc-string.
14942 (walk-window-subtree, window-atom-check, window-min-delta)
14943 (window-max-delta, window--resize-this-window)
14944 (window--resize-root-window-vertically, window-tree)
14945 (balance-windows, window-state-put): Rewrite doc-strings as to
14946 not mention the term "subwindow".
14947 (window--resize-subwindows-skip-p): Rename to
14948 window--resize-child-windows-skip-p.
14949 (window--resize-subwindows-normal): Rename to
14950 window--resize-child-windows-normal.
14951 (window--resize-subwindows): Rename to
14952 window--resize-child-windows.
14953 (window-or-subwindow-p): Rename to window--in-subtree-p.
14954
14955 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14956
14957 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14958 Ensure that mbox format messages end in two newlines (Bug#9974).
14959
14960 2011-11-06 Chong Yidong <cyd@gnu.org>
14961
14962 * window.el (window-combination-p): Function deleted; its
14963 side-effect is not used in any existing code.
14964 (window-combinations, window-combined-p): Call window-*-child
14965 directly.
14966
14967 2011-11-05 Chong Yidong <cyd@gnu.org>
14968
14969 * window.el (window-valid-p): Rename from window-any-p.
14970 (window-size-ignore, window-state-get): Callers changed.
14971 (window-normalize-window): Rename from window-normalize-any-window.
14972 New arg LIVE-ONLY, replacing window-normalize-live-window.
14973 (window-normalize-live-window): Delete.
14974 (window-combination-p, window-combined-p, window-combinations)
14975 (walk-window-subtree, window-atom-root, window-min-size)
14976 (window-sizable, window-sizable-p, window-size-fixed-p)
14977 (window-min-delta, window-max-delta, window-resizable)
14978 (window-resizable-p, window-full-height-p, window-full-width-p)
14979 (window-current-scroll-bars, window-point-1, set-window-point-1)
14980 (window-at-side-p, window-in-direction, window-resize)
14981 (adjust-window-trailing-edge, maximize-window, minimize-window)
14982 (window-deletable-p, delete-window, delete-other-windows)
14983 (record-window-buffer, unrecord-window-buffer)
14984 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14985 (quit-window, split-window, window-state-put)
14986 (set-window-text-height, fit-window-to-buffer)
14987 (shrink-window-if-larger-than-buffer): Callers changed.
14988
14989 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14990
14991 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14992 rfc2047-decode-string.
14993 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14994 warnings.
14995
14996 * window.el (window-body-height, window-body-width): Mention in
14997 the doc string that the return values are in frame's canonical
14998 units. (Bug#9949)
14999
15000 2011-11-03 Alan Mackenzie <acm@muc.de>
15001
15002 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15003 change in cc-engine.el.
15004
15005 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15006
15007 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15008
15009 2011-11-02 Martin Rudalics <rudalics@gmx.at>
15010
15011 * window.el (quit-window): Call unrecord-window-buffer after
15012 showing another buffer in the window. (Bug#9937)
15013 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
15014
15015 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
15016
15017 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15018 Accept status with more than 9 shelves. (Bug#9935)
15019 Reported by Colin D Bennett <colin@gibibit.com>.
15020
15021 2011-11-01 Martin Rudalics <rudalics@gmx.at>
15022
15023 * help.el (with-help-window): Don't reference
15024 temp-buffer-show-specifiers in doc-string.
15025
15026 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15027
15028 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15029 menu-item.
15030
15031 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15032
15033 * whitespace.el: New version 13.2.2.
15034 (whitespace-newline-mode): Disable properly. Reported by Sarah
15035 <EmacsWiki>.
15036
15037 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
15038
15039 * net/newst-treeview.el: Remove "Time-stamp".
15040 (newsticker--group-manage-orphan-feeds): Do not call
15041 newsticker--treeview-tree-update.
15042 (newsticker-treeview-update, newsticker-treeview):
15043 Call newsticker--treeview-tree-update if necessary.
15044
15045 2011-10-30 Martin Rudalics <rudalics@gmx.at>
15046
15047 * window.el (window-iso-combination-p, window-iso-combined-p)
15048 (window-iso-combinations): Remove "iso-" infix.
15049 Suggested by Chong Yidong.
15050 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15051 (window-max-delta-1, window-resize, window--resize-siblings)
15052 (window--resize-this-window, adjust-window-trailing-edge)
15053 (split-window, balance-windows-1)
15054 (shrink-window-if-larger-than-buffer):
15055 * calendar/calendar.el (calendar-generate-window):
15056 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
15057
15058 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15061 in place (bug#9907).
15062 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15063 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15064 (eshell-structure-basic-command, eshell-rewrite-while-command)
15065 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15066 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15067 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15068 (eshell-do-pipelines-synchronously, eshell-eval-command):
15069 Use backquotes and prefer setq to set.
15070 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15071 (eshell-macrop): Use functionp.
15072 (eshell-do-eval): Handle multiple expressions in `while' body.
15073
15074 2011-10-30 Chong Yidong <cyd@gnu.org>
15075
15076 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15077 instead of set-mark (Bug#9810).
15078
15079 2011-10-30 Chong Yidong <cyd@gnu.org>
15080
15081 * window.el (split-window-below, split-window-right): Rename from
15082 split-window-above-each-other and split-window-side-by-side
15083 respectively. All callers changed.
15084 (split-window-sensibly, split-window-sensibly): Use them.
15085 (split-window-keep-point): Doc fix.
15086
15087 * isearch.el: Add isearch-scroll property to split-window-below
15088 and split-window-right.
15089
15090 * follow.el (follow-mode):
15091 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15092 * progmodes/ada-xref.el (ada-gdb-application):
15093 * emulation/vip.el (vip-buffer-in-two-windows):
15094 * image-dired.el (image-dired-dired-with-window-configuration):
15095 * dired-x.el (dired-do-find-marked-files):
15096 * dired.el (dired-pop-to-buffer):
15097 * bs.el (bs--show-with-configuration):
15098 * vc/emerge.el (emerge-setup-windows):
15099 * textmodes/two-column.el (2C-two-columns):
15100 * textmodes/reftex-toc.el (reftex-toc):
15101 * progmodes/gdb-mi.el (gdb-setup-windows):
15102 * progmodes/fortran.el (fortran-window-create):
15103 * net/newst-treeview.el (newsticker--treeview-window-init):
15104 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15105 * emulation/tpu-edt.el (tpu-gold-map):
15106 * emulation/crisp.el (crisp-mode-map):
15107 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15108
15109 2011-10-29 Chong Yidong <cyd@gnu.org>
15110
15111 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15112
15113 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15114
15115 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15116 forged Ispell output (Bug#7904).
15117
15118 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15119
15120 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * doc-view.el: Avoid ugly errors about not finding nil.
15123 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15124 (doc-view-dvipdf-program, doc-view-unoconv-program)
15125 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15126 Avoid nil or absolute file name as default value.
15127 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15128
15129 2011-10-28 Alan Mackenzie <acm@muc.de>
15130
15131 * progmodes/cc-defs.el (c-version): -> 5.32.2.
15132
15133 2011-10-28 Alan Mackenzie <acm@muc.de>
15134
15135 Amend the handling of c-beginning/end-of-defun in nested declaration
15136 scopes.
15137
15138 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15139 cc-langs.el. Change it to a defcustom.
15140
15141 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15142 cc-vars.el.
15143
15144 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15145 Prevent "class foo : bar" being spuriously recognized as a label.
15146
15147 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15148 Add parameter `inclusive' (to include enclosing braces in the region).
15149 (c-widen-to-enclosing-decl-scope): New function.
15150 (c-while-widening-to-decl-block): New macro.
15151 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15152 outward for defun boundaries, and correspondingly change symbol
15153 `respect-enclosure' to `go-outward'.
15154 (c-declaration-limits): Change algorithm to report only the "innermost"
15155 defun's boundaries.
15156
15157 2011-10-28 Deniz Dogan <deniz@dogan.se>
15158
15159 * net/rcirc.el (rcirc-mode): Use hard newlines.
15160
15161 2011-10-28 Alan Mackenzie <acm@muc.de>
15162
15163 Amend to indent and fontify macros "which include their own semicolon"
15164 correctly, using the "virtual semicolon" mechanism.
15165
15166 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15167
15168 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15169 Recode to scan one line at a time rather than having \n and \r
15170 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15171 (c-forward-label): Amend for virtual semicolons.
15172 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15173
15174 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15175 of the new C macros.
15176
15177 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15178 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15179 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15180 (c-opt-cpp-macro-define): Make into a full language variable.
15181 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15182 AWK Mode (including \n, \r) removed, no longer needed.
15183
15184 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15185 Invoke c-make-macro-with-semi-re.
15186
15187 * progmodes/cc-vars.el (c-macro-with-semi-re):
15188 (c-macro-names-with-semicolon): New variables.
15189 (c-make-macro-with-semi-re): New function.
15190
15191 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15192
15193 * vc/log-edit.el: Fill empty field rather than adding new one.
15194 (log-edit-add-field): New function.
15195 (log-edit-insert-changelog): Use it.
15196
15197 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15198
15199 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15200
15201 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15202
15203 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15204 (gdb--check-interpreter): New function.
15205 (gdb): Use it.
15206
15207 2011-10-27 Glenn Morris <rgm@gnu.org>
15208
15209 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15210 (least-positive-float, least-negative-float)
15211 (least-positive-normalized-float, least-negative-normalized-float)
15212 (float-epsilon, float-negative-epsilon):
15213 Remove unnecessary declarations.
15214
15215 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15216 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15217 (least-positive-float, least-negative-float)
15218 (least-positive-normalized-float, least-negative-normalized-float)
15219 (float-epsilon, float-negative-epsilon): Add doc-strings,
15220 based on those in cl.texi.
15221
15222 * files.el (set-visited-file-name): If the major-mode changed,
15223 reload the local variables. (Bug#9796)
15224
15225 2011-10-27 Chong Yidong <cyd@gnu.org>
15226
15227 * subr.el (change-major-mode-after-body-hook): New hook.
15228 (run-mode-hooks): Run it.
15229
15230 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15231 Use change-major-mode-before-body-hook.
15232
15233 * simple.el (fundamental-mode):
15234 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15235 change introducing fundamental-mode-hook.
15236
15237 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
15238
15239 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15240
15241 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
15242
15243 * ido.el (ido-file-name-all-completions-1): Do not require
15244 tramp.el explicitly. (Bug#7583)
15245
15246 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * progmodes/octave-mod.el:
15249 * progmodes/octave-inf.el: Update maintainer.
15250
15251 2011-10-26 Chong Yidong <cyd@gnu.org>
15252
15253 * subr.el (with-wrapper-hook): Rewrite doc.
15254
15255 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
15256
15257 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
15258 filenames "/method:foo:". (Bug#9793)
15259
15260 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15261
15262 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15263 (bug#9865).
15264
15265 2011-10-24 Glenn Morris <rgm@gnu.org>
15266
15267 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15268
15269 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
15270
15271 * notifications.el: Add the requirement of a running D-Bus session
15272 bus to the Commentary.
15273
15274 2011-10-24 Juri Linkov <juri@jurta.org>
15275
15276 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15277 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15278 (Bug#9364)
15279
15280 2011-10-24 Juri Linkov <juri@jurta.org>
15281
15282 * info.el (Info-following-node-name-re): Add newline to the list
15283 of allowed characters for leading space. (Bug#9824)
15284
15285 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15286
15287 * progmodes/octave-inf.el (inferior-octave-mode-map):
15288 Fix C-c C-h binding.
15289 * progmodes/octave-mod.el (octave-help): Remove.
15290
15291 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
15292
15293 Sync with Tramp 2.2.3.
15294
15295 * net/tramp-cache.el (top): Pacify byte-compiler using
15296 `init-file-user' and `site-run-file'.
15297
15298 * net/trampver.el: Update release number.
15299
15300 2011-10-23 Chong Yidong <cyd@gnu.org>
15301
15302 * files.el (toggle-read-only): Remove obsolete comment about
15303 version control.
15304
15305 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15306 for toggle-read-only. Note that this hasn't called vc-next-action
15307 since 2008-05-02, though it wasn't documented at the time.
15308
15309 * vc/ediff-init.el (ediff-toggle-read-only-function):
15310 Use toggle-read-only.
15311
15312 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15313
15314 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15315 of c-parse-state.
15316
15317 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15318 correct faulty logical expression.
15319 (c-parse-state-state, c-record-parse-state-state):
15320 (c-replay-parse-state-state): New defvar/defuns.
15321 (c-debug-parse-state): Use new functions.
15322
15323 2011-10-22 Martin Rudalics <rudalics@gmx.at>
15324
15325 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15326 last fix. Use window-in-direction correctly.
15327
15328 2011-10-21 Chong Yidong <cyd@gnu.org>
15329
15330 * progmodes/idlwave.el (idlwave-mode):
15331 * progmodes/vera-mode.el (vera-mode): No need to set
15332 require-final-newline; that's done in prog-mode.
15333 Suggested by Stefan Monnier.
15334
15335 2011-10-21 Martin Rudalics <rudalics@gmx.at>
15336
15337 * mouse.el (mouse-drag-window-above)
15338 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15339 (mouse-drag-mode-line-1, mouse-drag-header-line)
15340 (mouse-drag-vertical-line-rightward-window): Remove.
15341 (mouse-drag-line): New function.
15342 (mouse-drag-mode-line, mouse-drag-header-line)
15343 (mouse-drag-vertical-line): Call mouse-drag-line.
15344 * window.el (window-at-side-p, windows-at-side): New functions.
15345
15346 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
15347
15348 * tar-mode.el (tar-grind-file-mode):
15349 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15350
15351 2011-10-21 Chong Yidong <cyd@gnu.org>
15352
15353 * progmodes/idlwave.el (idlwave-mode):
15354 * progmodes/vera-mode.el (vera-mode):
15355 Use mode-require-final-newline.
15356
15357 2011-10-20 Glenn Morris <rgm@gnu.org>
15358
15359 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
15360
15361 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15362
15363 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15364
15365 2011-10-20 Chong Yidong <cyd@gnu.org>
15366
15367 * emulation/cua-base.el (cua-mode):
15368 * mail/footnote.el (footnote-mode):
15369 * mail/mailabbrev.el (mail-abbrevs-mode):
15370 * net/xesam.el (xesam-minor-mode):
15371 * progmodes/bug-reference.el (bug-reference-mode):
15372 * progmodes/cap-words.el (capitalized-words-mode):
15373 * progmodes/compile.el (compilation-minor-mode)
15374 (compilation-shell-minor-mode):
15375 * progmodes/gud.el (gud-tooltip-mode):
15376 * progmodes/hideif.el (hide-ifdef-mode):
15377 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15378 * progmodes/subword.el (subword-mode):
15379 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15380 * progmodes/which-func.el (which-function-mode):
15381 * term/tvi970.el (tvi970-set-keypad-mode):
15382 * term/vt100.el (vt100-wide-mode):
15383 * textmodes/flyspell.el (flyspell-mode):
15384 * textmodes/ispell.el (ispell-minor-mode):
15385 * textmodes/nroff-mode.el (nroff-electric-mode):
15386 * textmodes/paragraphs.el (use-hard-newlines):
15387 * textmodes/refill.el (refill-mode):
15388 * textmodes/reftex.el (reftex-mode):
15389 * textmodes/rst.el (rst-minor-mode):
15390 * textmodes/sgml-mode.el (html-autoview-mode)
15391 (sgml-electric-tag-pair-mode):
15392 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15393 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15394 * emulation/crisp.el (crisp-mode):
15395 * emacs-lisp/eldoc.el (eldoc-mode):
15396 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15397 minor mode behavior.
15398
15399 2011-10-19 Juri Linkov <juri@jurta.org>
15400
15401 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15402 the list of hard-coded chars with escape-glyph face.
15403
15404 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15405
15406 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15407
15408 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
15409
15410 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15411 running process.
15412
15413 2011-10-19 Glenn Morris <rgm@gnu.org>
15414
15415 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15416 Ignore ignored files. (Bug#9726)
15417
15418 2011-10-19 Chong Yidong <cyd@gnu.org>
15419
15420 Doc fix for minor modes, stating that an omitted argument enables
15421 the mode unconditionally when called from Lisp.
15422
15423 * abbrev.el (abbrev-mode):
15424 * allout.el (allout-mode):
15425 * autoinsert.el (auto-insert-mode):
15426 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15427 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15428 (global-auto-revert-mode):
15429 * battery.el (display-battery-mode):
15430 * composite.el (global-auto-composition-mode)
15431 (auto-composition-mode):
15432 * delsel.el (delete-selection-mode):
15433 * desktop.el (desktop-save-mode):
15434 * dired-x.el (dired-omit-mode):
15435 * dirtrack.el (dirtrack-mode):
15436 * doc-view.el (doc-view-minor-mode):
15437 * double.el (double-mode):
15438 * electric.el (electric-indent-mode, electric-pair-mode):
15439 * emacs-lock.el (emacs-lock-mode):
15440 * epa-hook.el (auto-encryption-mode):
15441 * follow.el (follow-mode):
15442 * font-core.el (font-lock-mode):
15443 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15444 * help.el (temp-buffer-resize-mode):
15445 * hilit-chg.el (highlight-changes-mode)
15446 (highlight-changes-visible-mode):
15447 * hi-lock.el (hi-lock-mode):
15448 * hl-line.el (hl-line-mode, global-hl-line-mode):
15449 * icomplete.el (icomplete-mode):
15450 * ido.el (ido-everywhere):
15451 * image-file.el (auto-image-file-mode):
15452 * image-mode.el (image-minor-mode):
15453 * iswitchb.el (iswitchb-mode):
15454 * jka-cmpr-hook.el (auto-compression-mode):
15455 * linum.el (linum-mode):
15456 * longlines.el (longlines-mode):
15457 * master.el (master-mode):
15458 * mb-depth.el (minibuffer-depth-indicate-mode):
15459 * menu-bar.el (menu-bar-mode):
15460 * minibuf-eldef.el (minibuffer-electric-default-mode):
15461 * mouse-sel.el (mouse-sel-mode):
15462 * msb.el (msb-mode):
15463 * mwheel.el (mouse-wheel-mode):
15464 * outline.el (outline-minor-mode):
15465 * paren.el (show-paren-mode):
15466 * recentf.el (recentf-mode):
15467 * reveal.el (reveal-mode, global-reveal-mode):
15468 * rfn-eshadow.el (file-name-shadow-mode):
15469 * ruler-mode.el (ruler-mode):
15470 * savehist.el (savehist-mode):
15471 * scroll-all.el (scroll-all-mode):
15472 * scroll-bar.el (scroll-bar-mode):
15473 * server.el (server-mode):
15474 * shell.el (shell-dirtrack-mode):
15475 * simple.el (auto-fill-mode, transient-mark-mode)
15476 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15477 (line-number-mode, column-number-mode, size-indication-mode)
15478 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15479 * strokes.el (strokes-mode):
15480 * time.el (display-time-mode):
15481 * t-mouse.el (gpm-mouse-mode):
15482 * tool-bar.el (tool-bar-mode):
15483 * tooltip.el (tooltip-mode):
15484 * type-break.el (type-break-mode-line-message-mode)
15485 (type-break-query-mode):
15486 * view.el (view-mode):
15487 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15488 (global-whitespace-mode, global-whitespace-newline-mode):
15489 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15490
15491 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15492 Fix autogenerated docstring.
15493
15494 2011-10-19 Juri Linkov <juri@jurta.org>
15495
15496 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15497 by checking environment variables "DESKTOP_SESSION" and
15498 "XDG_CURRENT_DESKTOP". (Bug#9779)
15499
15500 2011-10-19 Juri Linkov <juri@jurta.org>
15501
15502 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15503 (browse-url-chromium-program, browse-url-chromium-arguments):
15504 New defcustoms.
15505 (browse-url-default-browser): Check for `browse-url-chromium' and
15506 call `browse-url-chromium-program'.
15507 (browse-url-chromium): New command. (Bug#9779)
15508
15509 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
15510
15511 * facemenu.el (list-colors-duplicates): On Windows, detect more
15512 duplicates by assuming that only colors matching "^System" are
15513 special "system colors". (Bug#9722)
15514
15515 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15516
15517 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15518 to distinguish the author from the committer.
15519
15520 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
15521
15522 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15523
15524 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15525
15526 * international/mule.el (sgml-html-meta-auto-coding-function):
15527 Add support for detecting encoding in HTML5 specified only as
15528 <meta charset="UTF-8">. Implementation just makes http-equiv and
15529 content-type parts from HTML4 encoding string optional. (Bug#9716)
15530
15531 2011-10-18 Glenn Morris <rgm@gnu.org>
15532
15533 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15534
15535 2011-10-18 Chong Yidong <cyd@gnu.org>
15536
15537 * faces.el (cursor): Doc fix.
15538
15539 2011-10-17 Chong Yidong <cyd@gnu.org>
15540
15541 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15542
15543 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15544
15545 * dirtrack.el (dirtrack): Support shell buffers with path
15546 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15547
15548 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15549
15550 * json.el: Bump version to 1.3 and note change in History.
15551 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15552
15553 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15554
15555 * comint.el (comint-insert-input, comint-send-input)
15556 (comint-get-old-input-default, comint-backward-matching-input)
15557 (comint-next-prompt): Use nil instead of `input' for field property of
15558 past user input (bug#114).
15559
15560 * minibuffer.el (completion--replace): Inherit surrounding properties
15561 (bug#114).
15562 (minibuffer-complete-and-exit): Use it.
15563
15564 * comint.el (comint--table-subvert): Quote the all-completions output
15565 (bug#9160).
15566
15567 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15568
15569 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15570
15571 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15572 window on right of selected. (Bug#9350) Reword other window
15573 entries and separate them from frame entries.
15574
15575 2011-10-15 Glenn Morris <rgm@gnu.org>
15576
15577 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15578 Doc fixes.
15579
15580 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15581
15582 * net/network-stream.el (network-stream-open-starttls):
15583 Improve detection of failure due to lack of TLS support.
15584
15585 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15586 putting the input text in front and in bold.
15587
15588 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15589
15590 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15591
15592 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15593 empty buffer.
15594
15595 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15596 unread-command-events rather than pushing yet-another event.
15597
15598 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15599
15600 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15601 the explanation of the possible choices. Make the options passed
15602 to completing-read shorter.
15603
15604 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15605
15606 * textmodes/flyspell.el (flyspell-large-region): Make sure
15607 extended character mode is used if defined (Bug#1339).
15608
15609 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15610
15611 * simple.el (what-cursor-position): Fix the display of the
15612 character info for LRE, LRO, RLE, and RLO characters by appending
15613 an invisible PDF.
15614
15615 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15616
15617 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15618 even in case of error; add debug spec; simplify data flow.
15619 (with-timeout-handler): Remove.
15620
15621 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15622
15623 Fix Bug#6019, Bug#9315.
15624
15625 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15626 complete `buffer-file-name', the local file name part could look
15627 remotely (for example on VMS).
15628
15629 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15630 `tramp-run-real-handler'.
15631 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15632 already quoted by '"'.
15633
15634 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15635 Let `file-name-handler-alist' be nil, the local file name part
15636 could look remotely (for example on VMS).
15637
15638 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15641 from here...
15642 (flyspell-post-command-hook): ...to here.
15643
15644 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15645
15646 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15647 if not needed.
15648 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15649 using completion. Protect against "slow" callers.
15650 Remove the "message hack".
15651
15652 2011-10-11 Juri Linkov <juri@jurta.org>
15653
15654 * isearch.el (isearch-lazy-highlight-word): New variable.
15655 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15656 Use it. (Bug#9727)
15657
15658 2011-10-11 Glenn Morris <rgm@gnu.org>
15659
15660 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15661 like f90-previous-statement does.
15662
15663 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15664
15665 * eshell/eshell.el (eshell-command): History should be saved
15666 only in interactive use, to avoid error.
15667
15668 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15669
15670 * minibuffer.el (completion-file-name-table): Fix last change,
15671 i.e. ignore normal errors but not the other ones.
15672
15673 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15674
15675 * window.el (special-display-buffer-names)
15676 (special-display-regexps): Remove some remnants of earlier
15677 changes from doc-strings.
15678 (quit-windows-on): New function.
15679
15680 * vc/vc.el (vc-revert, vc-rollback):
15681 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15682 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15683 (Bug#6183) (Bug#7074) (Bug#7447)
15684
15685 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15686
15687 * window.el (frame-auto-hide-function): Add version tag.
15688 (Bug#9699)
15689
15690 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15691
15692 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15693 condition.
15694
15695 2011-10-09 Leo Liu <sdl.web@gmail.com>
15696
15697 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15698 (Bug#9701)
15699
15700 2011-10-08 Glenn Morris <rgm@gnu.org>
15701
15702 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15703 before the first code statement zero indent. (Bug#9690)
15704
15705 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15706
15707 * simple.el (count-words-region): Always count in the region.
15708 Report the number of lines and characters too.
15709 (count-words): New command, which counts in the buffer if the
15710 region is inactive, as count-words-region used to.
15711 (count-words--message): New function. Handle plurals.
15712 (count-lines-region): Make it an alias for count-words-region.
15713
15714 * bindings.el (esc-map): Replace count-lines-region with
15715 count-words-region.
15716
15717 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15718
15719 * window.el (window--delete): Delete dedicated frame
15720 unconditionally when argument KILL is non-nil. (Bug#9699)
15721 (switch-to-buffer): Fix doc-string typo.
15722
15723 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15724
15725 * eshell/eshell.el (eshell-command): Avoid using hooks.
15726
15727 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15728
15729 * bindings.el ([M-left],[M-right]): Bind to left-word and
15730 right-word respectively.
15731
15732 2011-10-07 Glenn Morris <rgm@gnu.org>
15733
15734 * cus-start.el (debug-on-quit): Fix custom type.
15735
15736 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15737
15738 * subr.el (define-key-after): Clarify that the function is not
15739 useful for non-menu keymaps.
15740
15741 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15742
15743 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15744
15745 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15746 in current minibuffer (Fix bug with recursive minibuffers).
15747
15748 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15749
15750 * progmodes/gdb-mi.el (gdb): Doc fix.
15751
15752 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15753
15754 * window.el (frame-auto-hide-function): New option replacing
15755 frame-auto-delete. Suggested by Stefan Monnier.
15756 (window--delete): Call frame-auto-hide-function instead of
15757 investigating frame-auto-delete.
15758 (window-point-1, set-window-point-1): New functions.
15759 (window-in-direction, record-window-buffer, window-state-get-1)
15760 (display-buffer-record-window): Use window-point-1 instead of
15761 window-point.
15762 (set-window-buffer-start-and-point): Use set-window-point-1.
15763
15764 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15765
15766 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15767
15768 2011-10-05 Glenn Morris <rgm@gnu.org>
15769
15770 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15771 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15772
15773 2011-10-05 Leo Liu <sdl.web@gmail.com>
15774
15775 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15776 works with buffer object.
15777
15778 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15779
15780 * mpc.el (mpc-tool-bar-map): Add labels.
15781
15782 2011-10-04 Glenn Morris <rgm@gnu.org>
15783
15784 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15785
15786 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15787
15788 * window.el (window--delete): New function.
15789 (frame-auto-delete): Resuscitate option.
15790 (bury-buffer, replace-buffer-in-windows)
15791 (quit-window): Rewrite using window--delete.
15792 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15793 Pass display-buffer-mark-dedicated to window--display-buffer-2
15794 (Bug#9639).
15795
15796 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15797
15798 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15799 returns a list (bug#9554). Add remote file name completion.
15800 * comint.el (comint--table-subvert): Curry and get quote&unquote
15801 functions as arguments.
15802 (comint--complete-file-name-data): Adjust call accordingly.
15803 * pcomplete.el (pcomplete--table-subvert): Remove.
15804 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15805
15806 * minibuffer.el (completion-table-case-fold): Use currying.
15807 (completion--styles-type, completion--cycling-threshold-type):
15808 New constants.
15809 (completion-styles, completion-category-overrides)
15810 (completion-cycle-threshold): Use them.
15811 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15812 completion-table-case-fold.
15813
15814 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15815
15816 * minibuffer.el (completion-category-overrides): Fix type of styles
15817 and add more user friendly tags (bug#9660).
15818
15819 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15820
15821 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15822 (mule-input-method-string): New widget.
15823 (default-input-method, language-info-custom-alist): Use it.
15824
15825 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15826
15827 * pcomplete.el: Require comint.
15828 (pcomplete--common-suffix): Remove.
15829 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15830 (pcomplete--table-subvert): Sync with comint--table-subvert.
15831 (pcomplete--entries): Use comint-completion-file-name-table.
15832 * comint.el (comint-unquote-filename): Simplify.
15833 (comint-completion-file-name-table): New function (bug#9616).
15834 (comint--complete-file-name-data): Use it.
15835
15836 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15837 (pcmpl-gnu-tar-buffer): Remove.
15838 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15839 around. Make sure pcomplete-suffix-list is only changed temporarily.
15840 Don't look inside the tar's file if it's too large.
15841
15842 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15843
15844 * cus-edit.el (custom-mode-map):
15845 * epa.el (epa-key-list-mode-map):
15846 * man.el (Man-mode-map):
15847 * startup.el (splash-screen-keymap):
15848 * simple.el (special-mode-map): Use scroll-up-command and
15849 scroll-down-command.
15850
15851 * progmodes/idlw-help.el (idlwave-help-mode-map):
15852 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15853 * net/newst-plainview.el (newsticker-mode-map):
15854 * emulation/ws-mode.el (wordstar-mode-map):
15855 * emulation/vi.el (vi-com-map):
15856 * calc/calc-graph.el (calc-graph-show-dumb):
15857 * term/sun.el (terminal-init-sun):
15858 * term/ns-win.el (global-map):
15859 * progmodes/grep.el (grep-mode-map):
15860 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15861 * mail/rmail.el (rmail-mode-map):
15862 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15863
15864 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15865 custom-safe-themes as special.
15866
15867 2011-10-01 Julien Danjou <julien@danjou.info>
15868
15869 * notifications.el (notifications-notify): Fix docstring.
15870
15871 2011-10-01 Per Starbäck <per@starback.se>
15872
15873 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15874
15875 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15876
15877 * startup.el (command-line-1): Fix last fix by inserting
15878 initial-scratch-message into *scratch* before displaying it.
15879 (Bug#9605) and (Bug#9636)
15880
15881 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15882
15883 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15884 window is hscrolled, move by logical lines. (Bug#9607)
15885 (line-move-visual): Update the doc string to the above effect.
15886
15887 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15888
15889 * window.el (display-buffer-record-window): When WINDOW is the
15890 selected window use `point' instead of `window-point'. (Bug#9626)
15891
15892 * startup.el (command-line-1): Use insert-before-markers when
15893 inserting initial-scratch-message. (Bug#9605)
15894
15895 * help.el (help-window): Remove variable.
15896
15897 2011-09-29 Glenn Morris <rgm@gnu.org>
15898
15899 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15900
15901 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15902
15903 * descr-text.el (describe-char-categories): Accept category
15904 descriptions more than one line long.
15905
15906 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15907
15908 * simple.el (delete-trailing-whitespace): Fix last change.
15909
15910 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15911 Don't confuse "y => 3" as the beginning of a `y' operation.
15912
15913 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15914 object has more than 4 slots (bug#9613).
15915
15916 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15917
15918 * subr.el (with-output-to-temp-buffer):
15919 * net/quickurl.el (quickurl, quickurl-browse-url):
15920 Fix typos in docstrings.
15921
15922 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15923
15924 * minibuffer.el (completion-styles)
15925 (completion-category-overrides): Cross reference each other in doc
15926 strings.
15927
15928 2011-09-27 Glenn Morris <rgm@gnu.org>
15929
15930 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15931 to split-string. (Bug#9606)
15932
15933 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15934
15935 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15936 (bug#9615).
15937
15938 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15939
15940 * emacs-lisp/package.el (list-packages): Fix echo area message.
15941
15942 2011-09-27 Leo Liu <sdl.web@gmail.com>
15943
15944 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15945
15946 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15947
15948 * net/dbus.el (dbus-unregister-object): Don't release services for
15949 registered signals. (Bug#9581)
15950
15951 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15952
15953 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15954 function that picks between cfengine 2 and 3 support
15955 automatically. Update docs accordingly.
15956
15957 2011-09-22 Kenichi Handa <handa@m17n.org>
15958
15959 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15960 ZERO.
15961 (indian-itrans-v5-table-for-tamil): New variable.
15962 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15963
15964 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15965
15966 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15967 that's true if the current command involved collapsing of text.
15968 It's reset to false at the beginning of the next command.
15969 (allout-post-command-business): Move the cursor to the beginning
15970 of entry if the cursor is hidden and collapsing activity just
15971 happened.
15972
15973 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15974
15975 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15976 tracking (Bug#9541).
15977
15978 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15979
15980 * net/newst-reader.el (newsticker-html-renderer)
15981 (newsticker-show-news): Automatically load html rendering package
15982 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15983 because w3m-fill-column is let-bound" and the error "Symbol's value
15984 as variable is void: w3m-fill-column".
15985
15986 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15987
15988 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15989 Release services only if they are defined. (Bug#9581)
15990
15991 2011-09-23 Richard Stallman <rms@gnu.org>
15992
15993 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15994 distinguish start of paragraph from start of its text.
15995
15996 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15997
15998 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15999 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16000 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16001
16002 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16003
16004 * international/mule-diag.el (mule-diag): Insert a newline after
16005 each fontset description.
16006
16007 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * simple.el (delete-trailing-whitespace):
16010 Document last change; simplify.
16011
16012 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16013
16014 * simple.el (delete-trailing-whitespace): Also delete
16015 extra newlines at the end of the buffer.
16016
16017 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16018 (picture-newline): Use forward-line so as to ignore fields.
16019
16020 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16021
16022 * subr.el (with-wrapper-hook): Fix edebug spec.
16023
16024 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16025
16026 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16027 (bug#4538).
16028
16029 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
16030
16031 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16032 Fix nasty bug using wrong cached values.
16033
16034 2011-09-23 Alan Mackenzie <acm@muc.de>
16035
16036 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16037
16038 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
16039
16040 * window.el (pop-to-buffer): Ensure right window is selected if we
16041 chose another frame.
16042
16043 2011-09-22 Eli Zaretskii <eliz@gnu.org>
16044
16045 * simple.el (what-cursor-position): Use get-char-property-change
16046 and next-single-char-property-change, to be able to show display
16047 properties that come from overlays as well as text properties.
16048
16049 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
16050
16051 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16052
16053 * cmuscheme.el (run-scheme, switch-to-scheme):
16054 * cus-edit.el (customize-group, custom-buffer-create)
16055 (customize-browse):
16056 * info.el (info):
16057 * shell.el (shell):
16058 * mail/sendmail.el (mail):
16059 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16060
16061 2011-09-22 Richard Stallman <rms@gnu.org>
16062
16063 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16064 move back only to line beg, don't move back over blank lines.
16065
16066 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
16067
16068 * files.el (copy-directory): Set directory attributes only in case
16069 they could be retrieved from the source directory. (Bug#9565)
16070
16071 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16072
16073 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16074 (hs-find-block-beginning, hs-hide-level-recursive):
16075 Ignore strings as well as comments. (Bug#9502)
16076
16077 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16078
16079 * progmodes/sql.el (sql-comint-postgres):
16080 Convert port number to a string. (Bug#9566)
16081
16082 2011-09-22 Martin Rudalics <rudalics@gmx.at>
16083
16084 * window.el (quit-window): Undedicate window when switching to
16085 previous buffer. Reported by Thierry Volpiatto
16086 <thierry.volpiatto@gmail.com>.
16087 (special-display-popup-frame): When popping up a new frame reset
16088 its previous buffers to nil. Simplify code.
16089
16090 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
16091
16092 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16093 and process filter, as done also in `shell-command'.
16094
16095 2011-09-21 Martin Rudalics <rudalics@gmx.at>
16096
16097 * window.el (set-window-buffer-start-and-point):
16098 Call set-window-start with NOFORCE argument t.
16099 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16100 (quit-window): Reword doc-string. Handle new format of
16101 quit-restore parameter. Don't delete window if it has a
16102 previous buffer we can show instead of the present one.
16103 (display-buffer-record-window): Rewrite using a new format for
16104 the quit-restore window parameter
16105 (special-display-popup-frame, display-buffer-same-window)
16106 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16107 (display-buffer-pop-up-window, display-buffer-use-some-window):
16108 Adapt symbol passed to display-buffer-record-window.
16109 * help.el (help-window-setup): Handle new format of quit-restore
16110 parameter.
16111
16112 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * faces.el (face-list): Fix docstring (bug#9564).
16115
16116 * window.el (display-buffer--action-function-custom-type):
16117 Don't include internal functions in the Custom interface.
16118
16119 2011-09-20 Juri Linkov <juri@jurta.org>
16120
16121 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16122 (Info-forward-node, Info-backward-node, Info-next-preorder)
16123 (Info-last-preorder): Use it. (Bug#9528)
16124
16125 2011-09-20 Juri Linkov <juri@jurta.org>
16126
16127 * info.el (Info-last-preorder): Visit last menu item only when
16128 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16129
16130 2011-09-20 Julien Danjou <julien@danjou.info>
16131
16132 * password-cache.el (password-cache-remove): Remove entries even if the
16133 value is nil, so that password with a nil value (negative caching) is
16134 possible to invalidate.
16135
16136 2011-09-20 Lawrence Mitchell <wence@gmx.li>
16137
16138 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16139 all whitespace around breakpoint. (Bug#9553)
16140 (f90-find-breakpoint): Only break at whitespace inside a comment.
16141
16142 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16143
16144 * minibuffer.el (completion-file-name-table): Keep track of errors.
16145 (completion-table-with-predicate): Handle the case where pred1 is nil.
16146 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16147
16148 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16149
16150 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16151 (debugger-return-value): Signal an error if the debugging context does
16152 not await any return value.
16153
16154 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16155 * image-mode.el (image-toggle-display-text)
16156 (image-toggle-display-image): Stay away from evil `intangible'.
16157
16158 2011-09-19 Leo Liu <sdl.web@gmail.com>
16159
16160 * replace.el (occur-revert-arguments): Make it permanent-local.
16161 (occur-mode): Don't call font-lock-defontify.
16162
16163 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16164
16165 * net/ldap.el (ldap-search-internal): Don't push empty search
16166 result (Bug#9508).
16167
16168 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16169
16170 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16171
16172 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16173
16174 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16175 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16176
16177 2011-09-18 Juri Linkov <juri@jurta.org>
16178
16179 * buff-menu.el (Buffer-menu-mode-map):
16180 * dired.el (dired-mode-map):
16181 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16182 (lisp-interaction-mode-map):
16183 * emacs-lisp/package.el (package-menu-mode-map):
16184 * epa.el (epa-key-list-mode-map):
16185 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16186 (menu-bar-options-menu):
16187 * outline.el (outline-mode-menu-bar-map):
16188 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16189 * vc/vc-dir.el (vc-dir-menu-map):
16190 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16191 Capitalize non-function content words in menu item strings.
16192
16193 * dired.el (dired-mode-map): Add menu item for
16194 `image-dired-dired-toggle-marked-thumbs'.
16195
16196 2011-09-18 Juri Linkov <juri@jurta.org>
16197
16198 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16199 to `isearch-case-fold-search' and restore its original value
16200 after the `isearch-mode' call.
16201
16202 2011-09-18 Juri Linkov <juri@jurta.org>
16203
16204 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16205 because `zgrep' returns 1 for successful matches (bug#9226).
16206
16207 2011-09-18 Juri Linkov <juri@jurta.org>
16208
16209 * info.el (Info-extract-menu-node-name): Check the second match
16210 for empty string (second test-case of bug#9528).
16211 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16212 intermediate nodes to the history (first test-case of bug#9528).
16213
16214 2011-09-18 Juri Linkov <juri@jurta.org>
16215
16216 * info.el (Info-mode-syntax-table): New variable.
16217 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16218
16219 2011-09-18 Juri Linkov <juri@jurta.org>
16220
16221 * info.el (Info-file-supports-index-cookies):
16222 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16223 outputs one more line for long file names (bug#4142).
16224
16225 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16226
16227 * newcomment.el (comment-normalize-vars): If prompting for
16228 comment-start, set comment-start-skip too (Bug#8424).
16229
16230 2011-09-18 Johan Bockgård <bojohan@gnu.org>
16231
16232 * icomplete.el: Fix previous fix of Bug#5849.
16233 (icomplete-mode): Don't set completion-show-inline-help.
16234 (icomplete-minibuffer-setup): Set completion-show-inline-help
16235 locally during icompletion.
16236
16237 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16238
16239 * woman.el (woman2-process-escapes): Don't delete unrecognized
16240 escapes (Bug#7843).
16241
16242 * files.el (inhibit-first-line-modes-regexps): Add image files.
16243 (hack-local-variables-prop-line): Return nil for malformed
16244 prop-lines (Bug#9044).
16245
16246 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
16247
16248 * net/tramp.el (top): Don't require 'shell.
16249 (tramp-methods): Fix docstring.
16250 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
16251 Return complete remote file name. Handle "smb" case.
16252 Use `tramp-tmpdir', if defined for the respective method.
16253 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16254
16255 * net/tramp-compat.el (top): Require 'shell.
16256
16257 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16258 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16259 `tramp-current-host'.
16260 (tramp-get-remote-tmpdir): Remove.
16261
16262 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16263 `tramp-tmpdir' entries.
16264 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16265 (tramp-smb-handle-file-attributes): Ignore errors.
16266 (tramp-smb-wait-for-output): Check also for process end.
16267
16268 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16269
16270 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16271 when sending QUIT (bug#9312).
16272
16273 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
16274
16275 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16276 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16277 occur-mode-display-occurrence.
16278 (occur-edit-mode): Add usage message.
16279 (occur-cease-edit): New command.
16280 (occur-after-change-function): Use text properties to find the
16281 position of the prefix text.
16282 (occur-engine): Set stickiness of prefix text properties.
16283
16284 2011-09-17 Glenn Morris <rgm@gnu.org>
16285
16286 * progmodes/etags.el (complete-tag):
16287 Fix call to completion-in-region. (Bug#9526)
16288
16289 2011-09-17 Juri Linkov <juri@jurta.org>
16290
16291 * textmodes/ispell.el (ispell-word): Add to the error message
16292 the word, ispell program name and current dictionary (bug#9121).
16293 (ispell-tex-arg-end): Capitalize "error" in the error message.
16294
16295 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16296
16297 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16298 check. (Bug#4251)
16299
16300 2011-09-17 Juri Linkov <juri@jurta.org>
16301
16302 * window.el (window-safe-min-height, window-safe-min-width):
16303 Fix typos (followup to bug#9522).
16304
16305 2011-09-17 Sven Joachim <svenjoac@gmx.de>
16306
16307 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16308
16309 2011-09-16 Eli Zaretskii <eliz@gnu.org>
16310
16311 * simple.el (line-move): If goal-column is set, move by logical
16312 lines, not by display lines. (Bug#971)
16313 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16314 to reflect the above change.
16315
16316 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16317
16318 * image.el (imagemagick-register-types): Use regexp-opt.
16319
16320 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16321
16322 * window.el (display-buffer-base-action): Rename from
16323 display-buffer-default-action. Make default value empty.
16324 (display-buffer-overriding-action): Convert to defvar.
16325 (display-buffer-fallback-action): New var.
16326
16327 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16328
16329 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16330 declaration.
16331 (package--add-to-archive-contents): If there is a duplicate entry
16332 with an older version, remove it.
16333 (package-menu-mark-delete, package-menu-mark-install)
16334 (package-menu-mark-unmark): Make unused args optional.
16335 (package-menu-mark-obsolete-for-deletion):
16336 Use package-menu-get-status instead of a regexp search.
16337 (package-menu-get-status): Use tabulated-list-entry.
16338 (package-menu-mark-upgrades): New command.
16339 (package-menu-mode-map): Bind it to U. Add it to menu bar.
16340 (package-menu-execute): Do installation before deletion.
16341 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16342 instead of checking major-mode.
16343 (package-menu--find-upgrades): New function.
16344
16345 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16346
16347 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16348 passwords in the log buffer.
16349 (smtpmail-process-filter): Update the process marker so that the
16350 "broken by peer" status message is inserted in the right place.
16351
16352 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16353
16354 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16355 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16356 bibtex-completion-at-point-function.
16357 (bibtex-completion-at-point-function): Use them.
16358
16359 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16360
16361 * mpc.el (mpc-constraints-tag-lookup): New function.
16362 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16363 also to browser "album|playlist".
16364
16365 2011-09-14 Juri Linkov <juri@jurta.org>
16366
16367 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16368 (isearch-edit-string): Use length of `isearch-string' when
16369 `isearch-fail-pos' returns nil.
16370 (isearch-message): Remove duplicate code and call
16371 `isearch-fail-pos' with arg `t'.
16372
16373 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
16374
16375 * replace.el (occur-mode-goto-occurrence): Don't force using other
16376 window (Bug#9499).
16377
16378 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16379
16380 2011-09-14 Martin Rudalics <rudalics@gmx.at>
16381
16382 * window.el (display-buffer-window): Remove.
16383 (display-buffer-record-window): Use help-setup window parameter
16384 instead of variable display-buffer-window.
16385 (display-buffer-function, special-display-buffer-names)
16386 (special-display-function): Mention help-setup parameter instead
16387 of display-buffer-window in doc-string.
16388 * help.el (help-window-setup): New argument help-window.
16389 Use help-window-setup parameter instead of display-buffer-window.
16390 Reword some messages.
16391 (with-help-window): Pass window used for displaying the buffer
16392 to help-window-setup. Don't set display-buffer-window.
16393
16394 2011-09-13 Glenn Morris <rgm@gnu.org>
16395
16396 * emacs-lisp/debug.el (debugger-make-xrefs):
16397 Preserve point. (Bug#9462)
16398
16399 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16400
16401 * window.el (window-deletable-p): Use next-frame.
16402
16403 2011-09-13 Martin Rudalics <rudalics@gmx.at>
16404
16405 * window.el (window-auto-delete): Remove.
16406 (window-deletable-p): Remove argument FORCE. Don't deal with
16407 dedication and previous buffers.
16408 (switch-to-prev-buffer): Don't delete window.
16409 (delete-windows-on): Delete a window's frame if and only if the
16410 window is dedicated.
16411 (replace-buffer-in-windows): Delete buffer's window or frame if
16412 and only if window is dedicated.
16413 (quit-window): Handle quit-restore as before last change.
16414 (bury-buffer): Delete window only if window-deletable-p returns t.
16415
16416 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16417
16418 * window.el (window-deletable-p): Never delete the last frame on a
16419 given terminal.
16420
16421 2011-09-13 Glenn Morris <rgm@gnu.org>
16422
16423 * help.el (describe-key-briefly): Copy previous standard-output change.
16424
16425 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
16426
16427 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16428
16429 2011-09-13 Glenn Morris <rgm@gnu.org>
16430
16431 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16432 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16433
16434 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
16435
16436 * dired-aux.el (dired-mark-read-string): Don't return default
16437 value on empty input (Bug#9361).
16438 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16439 Omit initial minibuffer contents.
16440 (dired-do-chmod): Signal an error on empty input.
16441 (dired-mark-read-string): Don't return default on empty input.
16442
16443 * files.el (file-modes-symbolic-to-number): Doc fix.
16444
16445 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16446
16447 * international/mule-cmds.el (ucs-completions): Remove.
16448 (read-char-by-name): Use complete-with-action instead; add metadata.
16449
16450 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16451
16452 * window.el (display-buffer--action-function-custom-type)
16453 (display-buffer--action-custom-type): New vars.
16454 (display-buffer-alist, display-buffer-default-action)
16455 (display-buffer-overriding-action): Add defcustom types.
16456
16457 * frame.el (delete-other-frames): Doc fix (Bug#276).
16458
16459 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16460
16461 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16462
16463 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16464
16465 Change modes that used same-window-* vars to use switch-to-buffer.
16466
16467 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16468 Use switch-to-buffer.
16469
16470 * cus-edit.el (customize-group, custom-buffer-create)
16471 (customize-browse, custom-buffer-create-other-window):
16472 Use switch-to-buffer or switch-to-buffer-other-window.
16473
16474 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16475 (Info-prev, Info-up, Info-speedbar-goto-node)
16476 (info-display-manual): Use switch-to-buffer.
16477 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16478
16479 * mail/sendmail.el (mail): Use switch-to-buffer.
16480 (mail-recover): Use switch-to-buffer-other-window.
16481
16482 * cmuscheme.el (run-scheme, switch-to-scheme):
16483 * ielm.el (ielm):
16484 * shell.el (shell):
16485 * net/rlogin.el (rlogin):
16486 * net/telnet.el (telnet, rsh):
16487 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16488
16489 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16490
16491 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16492
16493 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16494
16495 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16496 so don't mention it (bug#9301).
16497 (dired-sort-toggle-or-edit): Clarify string further.
16498
16499 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16500 match `x', `w32' and `ns', like the manual says (bug#9029).
16501
16502 * subr.el (eval-after-load): Doc string clarification (bug#9125).
16503 (process-kill-buffer-query-function): Mention the buffer name in
16504 the query.
16505
16506 * image-mode.el (image-next-line): The line parameter is mandatory
16507 (bug#9258).
16508
16509 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16510 which can be useful (bug#9301).
16511
16512 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16513
16514 * subr.el (match-string): Mention that the current buffer should
16515 be the same as the search was done in (bug#9282).
16516
16517 * facemenu.el: Disable the remove-* commands if the mark isn't
16518 active (bug#9162).
16519
16520 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16521
16522 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16523 of display-buffer.
16524 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16525
16526 * replace.el (occur-mode-goto-occurrence)
16527 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16528 and display-buffer.
16529
16530 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16531 display-buffer.
16532
16533 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16534 special-display and same-window variables.
16535 (mail-other-window): Use switch-to-buffer-other-window.
16536 (mail-other-frame): USe switch-to-buffer-other-frame.
16537
16538 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16539 Use display-buffer-other-frame.
16540 (gdb-display-gdb-buffer): Use pop-to-buffer.
16541
16542 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16543
16544 * progmodes/python.el: Don't set same-window-buffer-names.
16545
16546 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16547
16548 * window.el (display-buffer-alist): Add *Python*.
16549
16550 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16551
16552 * window.el (display-buffer-alist): Add entry for buffers
16553 previously handled same-window-*.
16554 (display-buffer-alist, display-buffer-default-action)
16555 (display-buffer-overriding-action): Mark as risky.
16556 (display-buffer-alist): Document action function changes.
16557 (display-buffer--same-window-action)
16558 (display-buffer--other-frame-action): New variables.
16559 (switch-to-buffer, display-buffer-other-frame): Use them.
16560 (display-buffer): Rename reuse-frame entry to reusable-frames.
16561 (display-buffer-reuse-selected-window): Function deleted.
16562 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16563 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16564 (display-buffer-special): New function.
16565 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16566 display-buffer-reuse-or-pop-window. Split off special-display
16567 part into display-buffer-special.
16568 (display-buffer-use-some-window): Don't perform any special
16569 pop-up-frames handling.
16570 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16571 (display-buffer--maybe-same-window): Rename from
16572 display-buffer-maybe-same-window.
16573
16574 * info.el: Don't set same-window-regexps.
16575 (info-setup): New function.
16576 (info-other-window, info): Call it.
16577
16578 * cus-edit.el: Don't set same-window-regexps.
16579 (customize-group): New argument.
16580 (customize-group-other-window): Use it.
16581 (customize-face, customize-face-other-window): Likewise.
16582 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16583
16584 * net/rlogin.el:
16585 * net/telnet.el:
16586 * progmodes/gud.el: Don't set same-window-regexps.
16587
16588 * cmuscheme.el:
16589 * ielm.el:
16590 * shell.el:
16591 * mail/sendmail.el:
16592 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16593
16594 2011-09-10 Juri Linkov <juri@jurta.org>
16595
16596 * isearch.el (isearch-edit-string): Remove obsolete mention of
16597 `C-w' (`isearch-yank-word-or-char') from docstring.
16598 (isearch-query-replace): Fix typo in docstring (bug#9466).
16599
16600 2011-09-10 Juri Linkov <juri@jurta.org>
16601
16602 * paren.el (show-paren-function): Don't show escaped parens.
16603 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16604
16605 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16606
16607 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16608 (mm-default-file-encoding): Remove autoload forms, they are
16609 replaced with autoload cookies in mml.el and mm-encode.el.
16610 (mail-add-attachment): New command.
16611 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16612 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16613 the doc string.
16614 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16615
16616 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16617
16618 * simple.el (count-words-region): Use buffer if there's no region
16619 (bug#9429).
16620
16621 2011-09-09 Juri Linkov <juri@jurta.org>
16622
16623 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16624 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16625 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16626
16627 2011-09-09 Alan Mackenzie <acm@muc.de>
16628
16629 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16630 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16631
16632 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16633
16634 Fix for Savannah bug#9392.
16635 * simple.el (mail-encode-mml): New defvar.
16636
16637 * mail/rmail.el (mail-encode-mml): Add a defvar.
16638 (rmail-enable-mime-composing): Default to t.
16639 (rmail-forward): Use MIME method of forwarding only if both
16640 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16641 Set mail-encode-mml non-nil if the MIME method was used.
16642
16643 * mail/sendmail.el (mml-to-mime): Add autoload form.
16644 (mail-encode-mml): Add a defvar.
16645 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16646 to nil.
16647 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16648 message through mml-to-mime, and reset mail-encode-mml to nil.
16649
16650 2011-09-09 Glenn Morris <rgm@gnu.org>
16651
16652 * woman.el (woman-if-body): When processing an .el block,
16653 do not delete the next .el block as well. (Bug#9447)
16654 (woman-special-characters): Add oq, cq, and hy characters.
16655
16656 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16657
16658 * window.el (window-deletable-p): Make sure window is live before
16659 invoking window-prev-buffers.
16660
16661 2011-09-08 Leo Liu <sdl.web@gmail.com>
16662
16663 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16664
16665 2011-09-08 Juri Linkov <juri@jurta.org>
16666
16667 * progmodes/compile.el (compilation-environment): Make it
16668 a defcustom (bug#8340).
16669
16670 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16671
16672 * window.el (frame-auto-delete): Rename to window-auto-delete.
16673 Make it control auto-deletion of windows and/or frames.
16674 (window-deletable-p): New argument FORCE. Rewrite conditions
16675 for deleting window/frame. (Bug#9419)
16676 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16677 Rewrite handling of case when window/frame can be deleted.
16678 (delete-windows-on): Call window-deletable-p with new FORCE
16679 argument t. (Bug#9456)
16680
16681 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16682
16683 * help-mode.el (help-mode): Restore autoload.
16684
16685 2011-09-07 Juri Linkov <juri@jurta.org>
16686
16687 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16688 `compilation-environment'. Set buffer-local
16689 `compilation-environment' to `thisenv' later after (funcall mode).
16690 (Bug#8340)
16691
16692 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16693 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16694 instead of replacing its value. (Bug#8340)
16695
16696 2011-09-07 Juri Linkov <juri@jurta.org>
16697
16698 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16699 based on text properties put by `grep-filter' instead of matching
16700 escape sequences.
16701 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16702 to the value of `grep-error-screen-columns' (bug#9438).
16703
16704 2011-09-07 Juri Linkov <juri@jurta.org>
16705
16706 * simple.el (next-error-highlight, next-error-highlight-no-select):
16707 Doc fix (bug#9432).
16708
16709 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16710
16711 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16712 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16713
16714 2011-09-07 Leo Liu <sdl.web@gmail.com>
16715
16716 * net/rcirc.el (rcirc-mode): Conditionally initialize
16717 rcirc-input-ring.
16718
16719 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16720
16721 * emacs-lisp/find-func.el (find-function-C-source): Only set
16722 find-function-C-source-directory after checking that we found a source
16723 file there (bug#9440).
16724
16725 2011-09-06 Alan Mackenzie <acm@muc.de>
16726
16727 * isearch.el (isearch-other-meta-char): Wherever a key list is
16728 unread, "unread" the prefix arg, too. This fixes bug #8901.
16729
16730 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16731
16732 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16733
16734 2011-09-05 Juri Linkov <juri@jurta.org>
16735
16736 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16737
16738 2011-09-05 Juri Linkov <juri@jurta.org>
16739
16740 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16741 keeping point where processing of grep matches begins, and
16742 continue to delete remaining escape sequences from the same point.
16743 (grep-filter): Make leading zero optional in "0?1;31m" because
16744 git-grep emits "\033[1;31m" escape sequences unlike expected
16745 "\033[01;31m" as GNU Grep does (bug#9408).
16746 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16747
16748 2011-09-05 Juri Linkov <juri@jurta.org>
16749
16750 * subr.el (y-or-n-p): Capitalize "yes".
16751
16752 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16753
16754 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16755 `tramp-cache-unload-hook' where appropriate.
16756 (tramp-methods): Rename `tramp-remote-sh' to
16757 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16758 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16759
16760 * net/tramp-sh.el (top): Don't require 'shell.
16761 (tramp-methods): Add `tramp-remote-shell' and
16762 `tramp-remote-shell-args' entries.
16763 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16764 (tramp-sh-handle-shell-command): Remove.
16765 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16766 Use `tramp-remote-shell'.
16767
16768 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16769
16770 * mail/sendmail.el (sendmail-query-once-function): Delete.
16771 (sendmail-query-once): Save directly to send-mail-function.
16772 Update message-send-mail-function too.
16773
16774 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16775
16776 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16777
16778 * progmodes/python.el (python-mode-map): Use correct function to
16779 start python interpreter from menu-bar (as reported by Geert
16780 Kloosterman).
16781 (inferior-python-mode-map): Fix typo.
16782 (python-shell-map): Remove.
16783
16784 2011-09-03 Deniz Dogan <deniz@dogan.se>
16785
16786 * net/rcirc.el (rcirc-print): Simplify code for
16787 rcirc-scroll-show-maximum-output. There is no need to walk
16788 through all windows to find the right one.
16789
16790 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16791
16792 * help.el (help-return-method): Doc fix.
16793
16794 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16795
16796 * window.el (window-deletable-p): Don't return a non-nil value
16797 when there's a buffer that was shown in the window before.
16798 (Bug#9419)
16799 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16800 Set window's previous buffers to nil.
16801
16802 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16803
16804 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16805 newline before and after the tag line, so it doesn't interfere
16806 with determining the paragraph direction of bidirectional text.
16807
16808 2011-09-03 Leo Liu <sdl.web@gmail.com>
16809
16810 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16811
16812 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16813
16814 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16815 (pop-to-buffer): Change interactive spec. Pass second argument
16816 directly to display-buffer.
16817 (display-buffer): Fix interactive spec. Use functionp to
16818 distinguish between a function and a list of functions.
16819
16820 * abbrev.el (edit-abbrevs):
16821 * arc-mode.el (archive-extract):
16822 * autoinsert.el (auto-insert):
16823 * bookmark.el (bookmark-bmenu-list):
16824 * files.el (find-file):
16825 * view.el (view-buffer):
16826 * progmodes/compile.el (compilation-goto-locus):
16827 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16828
16829 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16830
16831 * window.el (display-buffer-alist): Doc fix.
16832 (display-buffer): Add docstring. Don't treat
16833 display-buffer-default specially.
16834 (display-buffer-reuse-selected-window)
16835 (display-buffer-same-window, display-buffer-maybe-same-window)
16836 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16837 (display-buffer-pop-up-window)
16838 (display-buffer-reuse-or-pop-window)
16839 (display-buffer-use-some-window): New functions.
16840 (display-buffer-default-action): Use them.
16841 (display-buffer-default): Delete.
16842 (pop-to-buffer-1): Fix choice of actions.
16843
16844 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16845
16846 * minibuffer.el (completion--insert-strings): Don't get confused by
16847 completion entries that end with an LF char.
16848
16849 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16850
16851 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16852
16853 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16854
16855 * window.el (display-buffer): Restore interactive spec.
16856 (display-buffer-same-window, display-buffer-other-window):
16857 New functions.
16858 (pop-to-buffer-1): New function. Use the above.
16859 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16860 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16861
16862 * view.el (view-buffer-other-window, view-buffer-other-frame):
16863 Just use pop-to-buffer.
16864
16865 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16866
16867 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16868
16869 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16870
16871 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16872
16873 2011-08-31 Richard Stallman <rms@gnu.org>
16874
16875 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16876 of the separation of rmail-view-buffer from rmail-buffer.
16877 If you say no to "replace original", the decrypt is in the
16878 view buffer. If you say yes, the decrypt goes into the
16879 rmail buffer also.
16880
16881 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16882
16883 * window.el (display-buffer-window): Rewrite doc-string.
16884 (display-buffer-record-window): New function.
16885 (display-buffer-macro-specifiers)
16886 (display-buffer-even-window-sizes, display-buffer-set-height)
16887 (display-buffer-set-width, display-buffer-in-window)
16888 (display-buffer-reuse-window, display-buffer-split-specifiers)
16889 (display-buffer-side-specifiers, display-buffer-split-window-1)
16890 (display-buffer-split-window, display-buffer-split-atom-window)
16891 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16892 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16893 (display-buffer-other-window-means-other-frame)
16894 (display-buffer-normalize-special)
16895 (display-buffer-normalize-default)
16896 (display-buffer-normalize-argument)
16897 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16898 (display-buffer-normalize-specifiers, display-buffer-frame)
16899 (display-buffer-same-window, display-buffer-same-frame)
16900 (display-buffer-other-window)
16901 (display-buffer-same-frame-other-window)
16902 (display-buffer-other-frame, pop-to-buffer-same-window)
16903 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16904 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16905 (switch-to-buffer-same-frame)
16906 (switch-to-buffer-other-window-same-frame)
16907 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16908 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16909 (display-buffer-alist-set): Remove.
16910 (display-buffer-function, special-display-buffer-names)
16911 (special-display-regexps, special-display-function):
16912 In doc-string refer to display-buffer-window and quit-restore
16913 parameter.
16914 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16915 (special-display-frame-alist, special-display-popup-frame)
16916 (same-window-buffer-names, same-window-regexps, same-window-p)
16917 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16918 (split-window-preferred-function, split-height-threshold)
16919 (split-width-threshold, window-splittable-p)
16920 (split-window-sensibly, window--try-to-split-window)
16921 (window--frame-usable-p, even-window-heights)
16922 (window--even-window-heights, window--display-buffer-1)
16923 (window--display-buffer-2, display-buffer-other-frame):
16924 Restore old Emacs 23 code, order and doc-strings where applicable.
16925 (display-buffer-default, display-buffer-assq-regexp): New functions.
16926 (display-buffer-alist): Rewrite doc-string.
16927 (display-buffer-default-action)
16928 (display-buffer-overriding-action): New variables.
16929 (display-buffer, switch-to-buffer): Rewrite.
16930 (pop-to-buffer): Restore Emacs 23 behavior but use
16931 window-normalize-buffer-to-display.
16932 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16933 Restore Emacs 23 behavior but use
16934 window-normalize-buffer-to-switch-to.
16935 (pop-to-buffer-same-window): Rewrite.
16936 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16937 Rewrite using Emacs 23 options.
16938
16939 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16940
16941 * net/tramp.el (tramp-root-regexp): Remove.
16942 (tramp-completion-file-name-regexp-unified)
16943 (tramp-completion-file-name-regexp-separate)
16944 (tramp-completion-file-name-regexp-url): Don't use leading volume
16945 letter on w32 systems. (Bug#5303, Bug#9311)
16946 (tramp-drop-volume-letter): Simplify definition.
16947 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16948
16949 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16950
16951 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16952 (bug#9356).
16953
16954 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16955
16956 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16957
16958 2011-08-29 Juri Linkov <juri@jurta.org>
16959
16960 * isearch.el (isearch-done): Don't display message "Mark saved"
16961 when arg `edit' is non-nil to prevent its flicker in the echo area.
16962
16963 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16964
16965 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16966 obsolete packages for deletion.
16967
16968 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16969
16970 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16971 (help-mode): Derive help-mode from special-mode. Don't invoke
16972 view-mode from help-mode.
16973 (help-xref-override-view-map): Remove.
16974 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16975 view-mode is not used anymore.
16976
16977 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16978
16979 * server.el (server-port): Doc fix.
16980
16981 * cus-theme.el (custom-theme-choose-mode): Inherit from
16982 special-mode (Bug#9124).
16983 (custom-theme-choose-mode-map): Add special-mode to parent.
16984
16985 2011-08-28 Alan Mackenzie <acm@muc.de>
16986
16987 * progmodes/cc-fonts.el
16988 (c-make-font-lock-BO-decl-search-function): New function.
16989 (c-basic-matchers-after - "Fontify the clauses after various
16990 keywords"): Extract the three keyword lists for the 3 erroneous
16991 constructs from the list of four, and use the new function above
16992 in place of an old one.
16993
16994 2011-08-28 Deniz Dogan <deniz@dogan.se>
16995
16996 * net/rcirc.el (rcirc-insert-prev-input)
16997 (rcirc-insert-next-input): Remove unused argument.
16998
16999 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17000
17001 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17002
17003 2011-08-27 Alan Mackenzie <acm@muc.de>
17004
17005 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17006 handle function pointer parameters properly.
17007
17008 2011-08-27 Martin Rudalics <rudalics@gmx.at>
17009
17010 * window.el (display-buffer-reuse-window): Fix case where
17011 selected window was reused with non-nil OTHER-WINDOW argument.
17012 (Bug#9381)
17013
17014 2011-08-27 Deniz Dogan <deniz@dogan.se>
17015
17016 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17017 oftc's NickServ messages.
17018
17019 2011-08-27 Glenn Morris <rgm@gnu.org>
17020
17021 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17022
17023 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
17024
17025 * emacs-lisp/package.el (package-install): Call package-initialize
17026 if called interactively.
17027
17028 2011-08-26 Leo Liu <sdl.web@gmail.com>
17029
17030 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17031
17032 2011-08-25 Juri Linkov <juri@jurta.org>
17033
17034 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17035 `search-whitespace-regexp' (bug#9364).
17036
17037 2011-08-25 Juri Linkov <juri@jurta.org>
17038
17039 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17040 `regexp-search-ring' to their global values to protect from
17041 updating by `read-from-minibuffer' (bug#9185).
17042
17043 2011-08-25 Juri Linkov <juri@jurta.org>
17044
17045 * textmodes/ispell.el (ispell-command-loop): Add newline
17046 at the end of the "Use option `i'..." line.
17047
17048 2011-08-25 Juri Linkov <juri@jurta.org>
17049
17050 * battery.el (display-battery-mode): If `battery-status-function'
17051 or `battery-mode-line-format' is nil, display the message and set
17052 `display-battery-mode' to nil (bug#9363).
17053
17054 2011-08-25 Eli Zaretskii <eliz@gnu.org>
17055
17056 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17057 bidi-string-mark-left-to-right; they are unnecessary now.
17058
17059 2011-08-25 Deniz Dogan <deniz@dogan.se>
17060
17061 * net/quickurl.el: Documentation typo fixes.
17062
17063 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
17064
17065 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17066
17067 2011-08-25 Glenn Morris <rgm@gnu.org>
17068
17069 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17070
17071 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17072 (smtpmail-via-smtp): Handle nil response from smtp.
17073
17074 2011-08-24 Juri Linkov <juri@jurta.org>
17075
17076 * proced.el (proced-marked): Inherit from `error' instead of
17077 `font-lock-warning-face'.
17078
17079 * ibuffer.el (ibuffer-marked-face): Change default face from
17080 `font-lock-warning-face' to `warning'.
17081 (ibuffer-deletion-face): Change default face from
17082 `font-lock-type-face' to `error'.
17083
17084 * battery.el (battery-update): Use the face `error' instead of
17085 `font-lock-warning-face' (bug#6117).
17086
17087 2011-08-24 Juri Linkov <juri@jurta.org>
17088
17089 * faces.el (success): Change face color from "Green3" to
17090 "ForestGreen" on light background (bug#9353).
17091
17092 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
17093
17094 * window.el (quit-window): Rename from quit-restore-window.
17095 Use same arglist as old quit-window.
17096 (frame-auto-delete): Doc fix.
17097
17098 * view.el (view-mode-exit): Use quit-window.
17099
17100 2011-08-24 Juri Linkov <juri@jurta.org>
17101
17102 * isearch.el (isearch-ring-adjust1): Start visiting previous
17103 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17104 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17105 for empty search string (when the last search string is reused
17106 automatically) to adjust the isearch ring to the last element and
17107 prepare the correct index for further M-p commands (bug#9185).
17108
17109 2011-08-24 Kenichi Handa <handa@m17n.org>
17110
17111 * international/ucs-normalize.el: If decomposition property of
17112 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17113 nil.
17114 (nfd, nfkd): Likewise.
17115
17116 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17117
17118 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17119 from process filters aren't reliably transmitted to the surrounding
17120 accept-process-output.
17121 (mpc-proc-check): New function.
17122 (mpc-proc-sync): Use it (bug#8293)
17123
17124 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17125
17126 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17127 Add compatibility functions (bug#9313).
17128
17129 2011-08-23 Eli Zaretskii <eliz@gnu.org>
17130
17131 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17132
17133 * international/uni-bidi.el: Regenerate.
17134
17135 2011-08-23 Kenichi Handa <handa@m17n.org>
17136
17137 * international/charprop.el:
17138 * international/uni-bidi.el:
17139 * international/uni-category.el:
17140 * international/uni-combining.el:
17141 * international/uni-comment.el:
17142 * international/uni-decimal.el:
17143 * international/uni-decomposition.el:
17144 * international/uni-digit.el:
17145 * international/uni-lowercase.el:
17146 * international/uni-mirrored.el:
17147 * international/uni-name.el:
17148 * international/uni-numeric.el:
17149 * international/uni-old-name.el:
17150 * international/uni-titlecase.el:
17151 * international/uni-uppercase.el: Regenerate.
17152
17153 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17154
17155 * help.el (help-window-setup): Fix message displayed when other
17156 window is reused. (Bug#9341)
17157
17158 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17159
17160 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17161 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17162
17163 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17164 Mark obsolete.
17165 * shell.el (shell-parse-pcomplete-arguments): New function.
17166 (shell-completion-vars): Use it instead (bug#9160).
17167
17168 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17169
17170 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17171 strings and comments (bug#9333).
17172
17173 * emacs-lisp/debug.el (debug-arglist): New function.
17174 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17175 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17176
17177 2011-08-22 Juri Linkov <juri@jurta.org>
17178
17179 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17180 Revert regexp that highlights output switches to its old
17181 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17182
17183 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17184 to check for empty output (bug#9226).
17185
17186 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
17187
17188 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17189 symbol-constituent as the default, as that stops font-lock from
17190 working properly (Bug#8843).
17191
17192 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17193
17194 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17195 `coding-system-for-*' around the process open call to avoid
17196 auth-source side effects.
17197 (smtpmail-try-auth-methods): Expand the secret password.
17198 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17199 probe hangs.
17200
17201 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17202
17203 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17204
17205 * emacs-lisp/find-func.el (find-function-noselect): New arg
17206 lisp-only.
17207
17208 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17209 signal an error for built-in functions (Bug#6664).
17210
17211 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17212
17213 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17214 (smtpmail-try-auth-methods): Use it.
17215
17216 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17217
17218 * font-lock.el (font-lock-fontify-region)
17219 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17220 (font-lock-default-unfontify-buffer)
17221 (font-lock-default-fontify-region)
17222 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17223
17224 * progmodes/compile.el (compilation-error-properties):
17225 Fix confusion between file struct and message struct (Bug#9319).
17226 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17227 `ant' regexp.
17228
17229 * net/browse-url.el (browse-url-firefox): Don't call
17230 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17231
17232 2011-08-20 Glenn Morris <rgm@gnu.org>
17233
17234 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17235
17236 * tutorial.el (tutorial--default-keys): Update some default bindings.
17237
17238 * files.el (hack-local-variables): Fully ignore case for "mode:".
17239
17240 2011-08-20 Alan Mackenzie <acm@muc.de>
17241
17242 Resolve invalid use of a regexp in regexp-opt.
17243
17244 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17245 detection for a java annotation.
17246
17247 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
17248 detection for a java annotation.
17249
17250 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17251 handling for java.
17252 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17253
17254 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
17255
17256 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17257 (Bug#9274).
17258
17259 2011-08-20 Alan Mackenzie <acm@muc.de>
17260
17261 Fontify CPP expressions correctly when starting in the middle of
17262 such a construct. Mainly for when jit-lock etc. starts a chunk
17263 here.
17264
17265 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
17266 variable.
17267 (c-make-font-lock-search-form): New function, extracted from
17268 c-make-font-lock-search-function.
17269 (c-make-font-lock-search-function): Use the above function.
17270 (c-make-font-lock-context-search-function): New function.
17271 (c-cpp-matchers): Enhance the preprocessor expression case with
17272 the above function
17273 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17274 which takes an expression.
17275
17276 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17277
17278 2011-08-20 Martin Rudalics <rudalics@gmx.at>
17279
17280 * window.el (display-buffer-reuse-window)
17281 (display-buffer-pop-up-window): Don't reuse or split a side
17282 window.
17283
17284 2011-08-19 Glenn Morris <rgm@gnu.org>
17285
17286 * files.el (hack-local-variables-prop-line, hack-local-variables):
17287 Downcase "Mode:". (Bug#9331)
17288
17289 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
17290
17291 * international/characters.el: Add L and R categories.
17292
17293 * subr.el (bidi-string-mark-left-to-right): Rename from
17294 string-mark-left-to-right. Use category search.
17295
17296 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17297
17298 2011-08-18 Juri Linkov <juri@jurta.org>
17299
17300 * faces.el (error, warning, success): New faces with definitions
17301 copied from old default values of `font-lock-warning-face',
17302 `compilation-warning', `compilation-info' (bug#6117).
17303
17304 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17305
17306 * progmodes/compile.el (compilation-error): Inherit from `error'.
17307 (compilation-warning): Inherit from `warning'.
17308 (compilation-info): Inherit from `success'.
17309
17310 * dired.el (dired-marked): Inherit from `warning'.
17311 (dired-flagged): Inherit from `error'.
17312
17313 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17314
17315 * mail/smtpmail.el (auth-source): Require to avoid problems with
17316 binding variables (bug#9298). Also clean up some unused
17317 autoloads.
17318
17319 * net/network-stream.el (network-stream-open-starttls):
17320 Support using starttls.el without using gnutls-cli.
17321
17322 2011-08-17 Juri Linkov <juri@jurta.org>
17323
17324 * progmodes/grep.el (rgrep): Handle the case when
17325 `grep-find-command' is a cons cell (bug#9278).
17326
17327 2011-08-17 Martin Rudalics <rudalics@gmx.at>
17328
17329 * window.el (display-buffer-pop-up-frame): Run frame creation
17330 function with BUFFER current (as special-display-popup-frame
17331 does). Reported by Drew Adams.
17332
17333 2011-08-17 Daiki Ueno <ueno@unixuser.org>
17334
17335 * epa-mail.el: Simplify GnuPG group expansion using
17336 epg-expand-group.
17337 (epa-mail-group-alist, epa-mail-group-modtime)
17338 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17339 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17340 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17341 Remove.
17342
17343 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
17344
17345 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17346
17347 2011-08-16 Alan Mackenzie <acm@muc.de>
17348
17349 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17350 Correct, to avoid the inside of macros.
17351
17352 2011-08-16 Richard Stallman <rms@gnu.org>
17353
17354 * epa-mail.el: Handle GnuPG group definitions.
17355 (epa-mail-group-alist, epa-mail-group-modtime)
17356 (epa-mail-gnupg-conf-file): New variables.
17357 (epa-mail-parse-groups, epa-mail-sync-groups)
17358 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17359 (epa-mail-expand-recipients): New functions.
17360 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17361
17362 * mail/rmail.el (rmail-epa-decrypt): New command.
17363
17364 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17365 Don't bind buffer-read-only, just inhibit-read-only.
17366 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17367 (epa-decrypt-armor-in-region): Make error message clearer.
17368
17369 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17370
17371 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17372 and "a2b" to "ab" for `prefix'.
17373
17374 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
17375
17376 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17377 filter groups.
17378 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17379 Fourquet (Bug#8804).
17380
17381 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
17382
17383 * startup.el (argi): Declare as global variable (bug#9275).
17384
17385 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
17386
17387 * subr.el (string-mark-left-to-right): Search the entire string
17388 for RTL script, not just the terminating character. Doc fix.
17389
17390 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17391
17392 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17393 New function.
17394 (js--regexp-literal, js-syntax-propertize-function): Remove.
17395 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17396 (js-mode-map): Don't rebind electric keys.
17397 (js-insert-and-indent): Remove.
17398 (js-mode): Setup electric-layout and electric-indent instead.
17399
17400 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17401
17402 2011-08-12 Daiki Ueno <ueno@unixuser.org>
17403
17404 * epa.el (epa-progress-callback-function): Fix the logic of
17405 displaying progress.
17406 * epa-file.el (epa-file-insert-file-contents): Make progress
17407 display more user-friendly.
17408 (epa-file-write-region): Ditto.
17409
17410 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
17411
17412 * subr.el (string-mark-left-to-right): New function.
17413
17414 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17415 Use string-mark-left-to-right.
17416 (list-buffers-noselect): Caller changed.
17417
17418 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17419 Use string-mark-left-to-right.
17420 (tabulated-list-print): Recenter after moving point.
17421
17422 2011-08-10 Juri Linkov <juri@jurta.org>
17423
17424 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17425 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17426 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17427
17428 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
17429
17430 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17431 (Bug#7554).
17432
17433 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
17434
17435 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17436 character. (Bug#6594)
17437
17438 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
17439
17440 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17441 (image-dired--with-db-file): New macro.
17442 (image-dired-write-tags, image-dired-remove-tag)
17443 (image-dired-create-gallery-lists, image-dired-write-comments)
17444 (image-dired-get-comment, image-dired-mark-tagged-files)
17445 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17446 (image-dired-gallery-generate): Use insert-file-contents.
17447
17448 * time.el (display-time-world-list, display-time-world-display):
17449 * time-stamp.el (time-stamp-string):
17450 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17451 set-time-zone-rule (Bug#7337).
17452
17453 2011-08-08 Daiki Ueno <ueno@unixuser.org>
17454
17455 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17456 (epg-error-to-string, epg-errors-to-string): New function.
17457 (epg-wait-for-completion): Reverse errors list.
17458 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17459 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17460 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17461 (epg-sign-keys, epg-generate-key-from-file)
17462 (epg-generate-key-from-string): Format errors by using
17463 epg-errors-to-string (bug#9255).
17464 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17465
17466 2011-08-07 Juri Linkov <juri@jurta.org>
17467
17468 * faces.el (list-faces-display): Remove extra angle bracket
17469 from `help-mode-map'.
17470
17471 * info.el (Info-history-toc-nodes): Doc fix.
17472
17473 * longlines.el (longlines-mode): Doc fix.
17474
17475 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17476
17477 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17478 of statements and in a few more cases (bug#9183).
17479
17480 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17481 New functions.
17482 (cl-transform-lambda): Use them (bug#9239).
17483
17484 2011-08-05 Martin Rudalics <rudalics@gmx.at>
17485
17486 * window.el (display-buffer-same-window)
17487 (display-buffer-same-frame, display-buffer-other-window)
17488 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17489 (pop-to-buffer-other-window)
17490 (pop-to-buffer-same-frame-other-window)
17491 (pop-to-buffer-other-frame): Make them defuns.
17492 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17493
17494 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17495
17496 * subr.el (make-composed-keymap): Move from C. Change calling
17497 convention, and improve docstring to bring attention to a subtle point.
17498 * minibuffer.el (completing-read-default): Adjust accordingly.
17499
17500 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
17501
17502 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17503 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17504
17505 * net/trampver.el: Update release number.
17506
17507 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17508
17509 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17510 "in" (bug#9190).
17511
17512 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17513
17514 * mail/sendmail.el (sendmail-query-once): Restore the current
17515 buffer after querying (bug#9074).
17516
17517 * dired.el (dired-flagged): Use different faces for marked and
17518 flagged files (bug#6117).
17519
17520 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17521 (bug#4433).
17522
17523 * ido.el (ido-mode): Switch off the message if called
17524 non-interactively.
17525
17526 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17527 before 587, since it appears that that's more likely to work for
17528 more people.
17529
17530 * cus-edit.el (custom-file): When running under emacs -q, always
17531 refuse to save the customizations, even if the .emacs file doesn't
17532 exist.
17533
17534 * info.el: Remove the `Info-beginning-of-buffer' function
17535 (bug#8325).
17536
17537 * net/network-stream.el (network-stream-open-starttls):
17538 Use `starttls-available-p' to see whether starttls.el can be used.
17539
17540 2011-08-01 Martin Rudalics <rudalics@gmx.at>
17541
17542 * window.el (display-buffer-in-window): Don't set dedicated status
17543 of window here (Bug#9215).
17544 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17545 (display-buffer-pop-up-side-window)
17546 (display-buffer-in-side-window): Set dedicated status of window here.
17547
17548 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17549
17550 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17551 before binding generated-autoload-file.
17552
17553 2011-08-01 Deniz Dogan <deniz@dogan.se>
17554
17555 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17556
17557 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17558
17559 Sync with Tramp 2.2.2.
17560
17561 * net/trampver.el: Update release number.
17562
17563 2011-07-30 Juri Linkov <juri@jurta.org>
17564
17565 * dired-aux.el (dired-touch-initial): Remove function.
17566 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17567 current time, and `default' to the last modification time of the
17568 current marked file (bug#6887).
17569
17570 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17571
17572 * simple.el (goto-line): Use string-to-number to provide a
17573 numeric argument to read-number (bug#9163).
17574
17575 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17576
17577 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17578 connection process, it could be nil.
17579
17580 2011-07-27 Leo Liu <sdl.web@gmail.com>
17581
17582 Simplify url handling in rcirc-mode.
17583
17584 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17585 (rcirc-browse-url-at-mouse): Remove.
17586 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17587
17588 2011-07-26 Alan Mackenzie <acm@muc.de>
17589
17590 Fontify bitfield declarations properly.
17591
17592 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17593 (c-symbol-chars): Now exported as a lang variable.
17594 (c-not-primitive-type-keywords): New lang variable.
17595
17596 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17597 QT keyword "more" to prevent "more slots: ...." being spuriously
17598 parsed as a bitfield declaration.
17599
17600 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17601 Refactor and enhance to handle bitfield declarations.
17602 (c-punctuation-in): New function.
17603 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17604 declarations properly.
17605
17606 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17607
17608 * calendar/icalendar.el (icalendar--all-events): Take care of
17609 multiple vcalendars in a single file.
17610 (icalendar--convert-float-to-ical): Checkdoc fixes.
17611
17612 2011-07-25 Deniz Dogan <deniz@dogan.se>
17613
17614 * image.el (insert-image): Clarifying docstring.
17615
17616 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17617
17618 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17619 `tramp-send-command-and-check' if there is no error.
17620 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17621
17622 2011-07-22 Alan Mackenzie <acm@muc.de>
17623
17624 Prevent cc-langs.elc being loaded at run time.
17625
17626 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17627 cc-langs.
17628
17629 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17630 "(require 'cc-langs)". Quote a form so it will evaluate at
17631 (cc-mode's) compilation time.
17632
17633 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17634
17635 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17636 loading. (Bug#9114)
17637
17638 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17639
17640 * window.el (display-buffer-pop-up-window)
17641 (display-buffer-pop-up-side-window)
17642 (display-buffer-in-side-window): Call display-buffer-set-height
17643 and display-buffer-set-width after setting the new window's
17644 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17645
17646 2011-07-20 Sam Steingold <sds@gnu.org>
17647
17648 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17649 (etags-tags-included-tables): Call `convert-standard-filename' on
17650 the file names contained in TAGS so that windows Emacs can handle
17651 TAGS files created by cygwin ctags.
17652
17653 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17654
17655 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17656 which apparently didn't work.
17657
17658 2011-07-19 Roland Winkler <winkler@gnu.org>
17659
17660 * proced.el (proced-send-signal): For *Marked Processes* buffer
17661 put point at beginning of buffer.
17662
17663 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17664
17665 * proced.el (proced-format): Make header lines align with the text
17666 (bug#1779).
17667
17668 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17669
17670 * view.el (view-buffer): Allow running in `special' modes if we're
17671 visiting a file (bug#8615).
17672
17673 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17674
17675 * window.el (display-buffer-alist-of-strings-p)
17676 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17677 New functions.
17678 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17679 more accurately.
17680
17681 2011-07-18 Alan Mackenzie <acm@muc.de>
17682
17683 Fontify declarators properly when, e.g., a jit-lock chunk begins
17684 inside a declaration.
17685
17686 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17687
17688 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17689 New function.
17690 (c-complex-decl-matchers): Insert reference to
17691 c-font-lock-enclosing-decls.
17692
17693 * progmodes/cc-engine.el (c-backward-single-comment):
17694 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17695 to nil around calls to (forward-comment -1).
17696
17697 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17698
17699 * image.el (put-image): Doc typo fix.
17700
17701 * progmodes/etags.el (tags-search): Doc typo fix.
17702
17703 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17704 password if we get errors 550 to 554.
17705
17706 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17707
17708 * net/gnutls.el (gnutls-log-level): Remove.
17709
17710 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17711 indentation character (bug#6380).
17712
17713 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17714
17715 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17716 to clarify what the problem is (bug#4291).
17717
17718 * simple.el (current-kill): Clarify what
17719 `interprogram-paste-function' does (bug#7500).
17720 (auto-fill-mode): Document `auto-fill-function' in relation to
17721 `auto-fill-mode' (bug#2470).
17722
17723 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17724
17725 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17726 method if slot is read-only (bug#9035).
17727
17728 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17729
17730 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17731 * window.el (pop-to-buffer): Select window used even if it was
17732 selected before, see discussion of (Bug#8615), (Bug#6954).
17733 Pass argument NORECORD on to select-frame-set-input-focus.
17734
17735 2011-07-15 Glenn Morris <rgm@gnu.org>
17736
17737 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17738 Respect help-form.
17739
17740 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17741
17742 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17743 (gnutls-negotiate): Use it.
17744
17745 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17746
17747 * net/gnutls.el (gnutls-negotiate):
17748 Upcase `gnutls-algorithm-priority'.
17749
17750 2011-07-15 Glenn Morris <rgm@gnu.org>
17751
17752 * jka-compr.el (jka-compr-verbose): Move from here...
17753 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17754 Add missing :version tag.
17755 * info.el: No need to require jka-compr when compiling.
17756
17757 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17758
17759 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17760 (gnutls-negotiate): Use it.
17761
17762 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17763
17764 * info.el (Info-beginning-of-buffer): New command.
17765 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17766 announcing `b' as the key (bug#8325).
17767 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17768
17769 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17770
17771 * international/mule-cmds.el
17772 (describe-specified-language-support): Make the error message
17773 clearer (bug#8905).
17774
17775 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17776
17777 * isearch.el (isearch-barrier): Add a doc string, since it's
17778 mentioned in a function doc string (bug#8678).
17779
17780 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17781
17782 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17783 buffer argument (Bug#9083) and self-identifying label argument.
17784
17785 2011-07-15 Glenn Morris <rgm@gnu.org>
17786
17787 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17788
17789 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17790
17791 * man.el (Man-fontify-manpage): Fix message when formatting the
17792 man page (bug#7929).
17793
17794 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17795
17796 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17797 argument LRM; if non-nil, append an invisible LRM character to the
17798 buffer name.
17799 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17800 last argument non-nil, when formatting buffer names.
17801 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17802 paragraph direction.
17803
17804 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17805
17806 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17807 the man page name (bug#7929).
17808
17809 * image.el (put-image): Mention the `put-image' overlay property
17810 (bug#7834).
17811
17812 * scroll-bar.el (set-scroll-bar-mode): Mention that
17813 `scroll-bar-mode' lists the values (bug#7772).
17814
17815 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17816 command (bug#7729).
17817
17818 * rect.el (apply-on-rectangle): Return the point after the last
17819 operation.
17820 (string-rectangle): Go to the point after the last operation
17821 (bug#7522).
17822
17823 * printing.el (pr-toggle-region): Clarify the documentation
17824 slightly (bug#7493).
17825
17826 * time.el (display-time-update):
17827 Allow `display-time-mail-function' to return nil (bug#7158).
17828 Fix suggested by Detlev Zundel.
17829
17830 * vc/diff.el (diff): Clarify the order the file names are read
17831 (bug#7111).
17832
17833 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17834 the doc string (bug#7015).
17835
17836 * font-lock.el (font-lock-maximum-decoration): Mention what
17837 numeric levels mean (bug#6935).
17838
17839 * startup.el (initial-buffer-choice): Don't mention the `none'
17840 selection, which is against policy.
17841
17842 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17843
17844 * window.el (display-buffer-normalize-special):
17845 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17846
17847 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17848
17849 * subr.el (version<, version<=, version=): Mention "-CVS" and
17850 "-12345" alpha version numbers.
17851
17852 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17853
17854 * bindings.el: Add advertised binding for set-mark-command
17855 (Bug#5772).
17856
17857 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * bindings.el (mode-line-other-buffer):
17860 * bookmark.el (bookmark-bmenu-2-window):
17861 * bs.el (bs-cycle-next, bs-cycle-previous):
17862 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17863 switch-to-buffer.
17864
17865 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17866 Delete.
17867
17868 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17869
17870 * follow.el (follow-debug-message, follow-redisplay):
17871 * jka-cmpr-hook.el (with-auto-compression-mode):
17872 Fix typos in docstrings.
17873
17874 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17875
17876 * subr.el (with-silent-modifications): Clarify somewhat what the
17877 macro inhibits (bug#6525).
17878
17879 * simple.el (eval-expression): Note what it does if called
17880 interactively (bug#6495).
17881
17882 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17883
17884 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17885 Use pop-to-buffer buffer-or-name if it is nil.
17886
17887 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17888 Remove switch-to-buffer.
17889
17890 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17891
17892 * files.el (make-directory): Clarify that an error will be raised
17893 if there's an error (bug#6397).
17894
17895 * startup.el (initial-buffer-choice): Add `none' as a choice
17896 (bug#6234).
17897
17898 * subr.el (add-hook): Clarify section about buffer-local hooks
17899 (bug#6218).
17900
17901 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17902
17903 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17904
17905 * tabify.el (untabify): Preserve the current column so that point
17906 doesn't move (bug#6032).
17907
17908 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17909
17910 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17911 Rewrite to avoid awkward possessive "s" (bug#5986).
17912
17913 2011-07-13 Glenn Morris <rgm@gnu.org>
17914
17915 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17916 (dired-insert-directory): Give a message the first time
17917 if ls is found not to support --dired.
17918
17919 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17920
17921 * simple.el (toggle-truncate-lines): Clarify what is toggled
17922 (bug#5580). Text by Drew Adams.
17923
17924 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17925
17926 * simple.el (blink-matching-open): Make the error message from the
17927 last change less verbose.
17928
17929 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17930
17931 * font-lock.el (font-lock-comment-face): Use the high contrast
17932 "yellow" color for font-lock-comment-face on low color terminals
17933 using a dark background color (bug#4221).
17934
17935 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17936
17937 * dired.el (dired-insert-set-properties): Make the doc string
17938 reflect what it does now (bug#5325).
17939
17940 * simple.el (blink-matching-open): Say that we were unable to find
17941 the match within the limit, if we're limited (bug#5122).
17942
17943 * international/mule-cmds.el (prefer-coding-system): Add an
17944 example (bug#4869).
17945
17946 * progmodes/etags.el (tags-search): Document `file-list-form'
17947 (bug#4731).
17948
17949 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17950
17951 * net/browse-url.el (browse-url-default-browser)
17952 (browse-url-browser-function): Make the default browser choice a
17953 bit more logical (bug#4300). Also clean up the doc string.
17954
17955 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17956
17957 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17958 binary endings (bug#4440).
17959
17960 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17961
17962 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17963 which can be pretty annoying (bug#8971).
17964
17965 * jka-compr.el (jka-compr-verbose): New variable, and use
17966 throughout (bug#8971).
17967
17968 * info.el (Info-find-file): Fall back on the installation
17969 directory if we can't find the info node anywhere else.
17970
17971 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17972
17973 * vc/vc.el (vc-revert-file):
17974 Don't set file time-stamp in the past. (Bug#5181)
17975
17976 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17977
17978 * files.el (after-find-file): Give a better error message when
17979 trying to find a symlink that points to a file that doesn't exist
17980 (bug#4398).
17981
17982 * progmodes/cc-vars.el: Remove (probably) misleading comment
17983 (bug#4396).
17984
17985 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17986
17987 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17988
17989 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17990
17991 * mouse-sel.el: Hack restoring functionality, while keeping
17992 compatibility with 2010-07-03 changes to mouse selection.
17993 (mouse-sel-primary-overlay): New var.
17994 (mouse-sel-selection-alist): Use it.
17995 (mouse-sel-mode): Doc fix; remove points that are default features
17996 of mouse.el.
17997
17998 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17999
18000 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18001 Fix previous fix (bug#2490).
18002
18003 2011-07-12 Roland Winkler <winkler@gnu.org>
18004
18005 * textmodes/bibtex.el (bibtex-initialize):
18006 Use pop-to-buffer-same-window.
18007 (bibtex-search-entries): Fix interactive call.
18008
18009 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18010
18011 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18012 Fontise bytecomp Error lines more correctly (bug#2490).
18013 Fix suggested by Johan Bockgård.
18014
18015 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18016
18017 * dired-x.el (dired-guess-default): Use `delete-dups'.
18018
18019 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
18020
18021 * dired.el (dired-mark-prompt):
18022 * dired-aux.el (dired-read-shell-command): Doc fix.
18023
18024 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18025
18026 * mail/sendmail.el (sendmail-query-once):
18027 Use `customize-save-variable' unconditionally, now that it works under
18028 emacs -Q.
18029
18030 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18031
18032 * cus-edit.el (custom-file): Take an optional no-error variable.
18033 (customize-save-variable): Set the variable, and give a warning if
18034 running under "emacs -q".
18035
18036 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
18037
18038 * loadhist.el (unload-feature-special-hooks):
18039 Add `auto-coding-functions', `fill-nobreak-predicate' and
18040 `find-directory-functions' (bug#5327).
18041
18042 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18043
18044 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18045
18046 * cus-edit.el (custom-guess-name-alist): -alist variables should
18047 use the `alist' type (bug#3120). Suggested by Drew Adams.
18048
18049 * printing.el: Add documentation to all the `pr-toggle-' commands.
18050
18051 2011-07-11 Leo Liu <sdl.web@gmail.com>
18052
18053 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18054 backends where it makes sense (bug#2623).
18055
18056 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18057
18058 * dired-x.el (dired-guess-default): Remove duplicate shell command
18059 entries (bug#2028).
18060 (dired-guess-default): Fix grammar in doc string (bug#2028).
18061 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
18062
18063 * subr.el (remove-duplicates): New conveniency function.
18064
18065 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18066
18067 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18068 (bug#1526).
18069
18070 2011-07-10 Martin Rudalics <rudalics@gmx.at>
18071
18072 * window.el (display-buffer-normalize-default): Don't invert
18073 meaning of even-window-heights. Reported by Eli Zaretskii
18074 <eliz@gnu.org>.
18075
18076 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18077
18078 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18079
18080 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
18081
18082 * window.el (display-buffer): Fix arguments to
18083 display-buffer-reuse-window in last change.
18084
18085 * faces.el (link): Use a less saturated blue on light backgrounds.
18086
18087 * startup.el (fancy-startup-text, fancy-about-text)
18088 (fancy-startup-tail): Use font-lock faces, for background safety.
18089
18090 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18091
18092 * emulation/viper-cmd.el (viper-change-state-to-vi):
18093 Limit triggering of abbrev expansion (Bug#9038).
18094
18095 2011-07-09 Martin Rudalics <rudalics@gmx.at>
18096
18097 * window.el (display-buffer-default-specifiers): Remove.
18098 (display-buffer-macro-specifiers): Remove default specifiers.
18099 (display-buffer-alist): Default to nil.
18100 (display-buffer-reuse-window): New optional argument other-window.
18101 (display-buffer-pop-up-window): Allow splitting internal
18102 windows. Check whether a live window was created.
18103 (display-buffer-other-window-means-other-frame)
18104 (display-buffer-normalize-arguments): Rename to
18105 display-buffer-normalize-argument and rewrite. Set the
18106 other-window specifier.
18107 (display-buffer-normalize-special): New function.
18108 (display-buffer-normalize-options): Rename to
18109 display-buffer-normalize-default and rewrite.
18110 (display-buffer-normalize-options-inhibit): Remove.
18111 (display-buffer-normalize-specifiers): Rewrite.
18112 (display-buffer): Process other-window specifier and call
18113 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18114 more faithfully.
18115 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
18116 (display-buffer-alist-set): Don't handle 'unset default values.
18117 (display-buffer-in-window, display-buffer-alist-set):
18118 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
18119 <tassilo@member.fsf.org>.
18120
18121 2011-07-09 Leo Liu <sdl.web@gmail.com>
18122
18123 * register.el (insert-register): Restore accidental change on
18124 2011-06-26. (Bug#9028)
18125
18126 2011-07-09 Glenn Morris <rgm@gnu.org>
18127
18128 * subr.el (remq): Handle the empty list. (Bug#9024)
18129
18130 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18131
18132 * mail/sendmail.el (send-mail-function): No longer delay custom
18133 initialization.
18134 * custom.el (custom-initialize-delay): Doc fix.
18135
18136 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18137
18138 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18139
18140 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18141
18142 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18143 human-friendly prompt.
18144
18145 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18146
18147 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18148 provided by a particular plugin.
18149
18150 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18151
18152 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18153 save customizations (with "emacs -Q"), just set the variable
18154 instead of erroring out.
18155
18156 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18157
18158 2011-07-08 Juri Linkov <juri@jurta.org>
18159
18160 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18161 (archive-zip-update-case): Use 7z if found by `executable-find'.
18162 The order of searching the available programs is the same as in
18163 `archive-zip-extract' (bug#8968).
18164
18165 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18166
18167 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18168 (menu-bar-options-menu): Tweak descriptions.
18169
18170 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18171
18172 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18173 menu items into verb phrases (bug#1421). Also refill to fit under
18174 80 columns.
18175
18176 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18177
18178 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18179 (Info-read-node-name): Doc fix (Bug#1084).
18180
18181 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18182 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18183 (end-of-sexp, beginning-of-sexp)
18184 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18185 (forward-symbol, forward-same-syntax, word-at-point)
18186 (sentence-at-point): Doc fix (Bug#1144).
18187
18188 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18189
18190 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18191 should cover it (bug#1281).
18192
18193 * cus-edit.el (custom-show): Mark as obsolete.
18194
18195 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18196 negotiation fails, then possibly try again with a non-encrypted
18197 connection (bug#9017).
18198
18199 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18200 be used.
18201
18202 2011-07-07 Richard Stallman <rms@gnu.org>
18203
18204 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18205 property, and handle its changed format.
18206 Look for the correct line number.
18207 Use file's line contents (but not past first =) to find
18208 correct line in message.
18209
18210 2011-07-07 Kenichi Handa <handa@m17n.org>
18211
18212 * international/characters.el (build-unicode-category-table):
18213 Delete it.
18214 (unicode-category-table): Set it by unicode-property-table-internal.
18215
18216 * international/mule-cmds.el (char-code-property-alist): Move to
18217 to src/chartab.c.
18218 (get-char-code-property): Call unicode-property-table-internal to
18219 load a file. Call get-unicode-property-internal where necessary.
18220 (put-char-code-property): Call unicode-property-table-internal to
18221 load a file. Call put-unicode-property-internal where necessary.
18222 put-unicode-property-internal where necessary.
18223 (char-code-property-description):
18224 Call unicode-property-table-internal to load a file.
18225
18226 * international/charprop.el:
18227 * international/uni-bidi.el:
18228 * international/uni-category.el:
18229 * international/uni-combining.el:
18230 * international/uni-comment.el:
18231 * international/uni-decimal.el:
18232 * international/uni-decomposition.el:
18233 * international/uni-digit.el:
18234 * international/uni-lowercase.el:
18235 * international/uni-mirrored.el:
18236 * international/uni-name.el:
18237 * international/uni-numeric.el:
18238 * international/uni-old-name.el:
18239 * international/uni-titlecase.el:
18240 * international/uni-uppercase.el: Regenerate.
18241
18242 * loadup.el: Load international/charprop.el before
18243 international/characters.
18244
18245 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18246
18247 * window.el (next-buffer, previous-buffer): Signal an error if
18248 called from a minibuffer window.
18249
18250 * bindings.el: Revert 2011-07-04 change.
18251
18252 2011-07-06 Richard Stallman <rms@gnu.org>
18253
18254 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18255 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18256 Treat markers like ints.
18257 (rmail-mime-entity): Doc fix.
18258
18259 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18260
18261 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18262 defcustom again for backwards compatibility.
18263
18264 * simple.el (shell-command-on-region): Fill.
18265
18266 * dired-aux.el (dired-kill-line): Add a doc string.
18267
18268 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18269 to "\\sw\\|\\s_" (bug#358).
18270
18271 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18272 (dired-unmark-backward): Ditto.
18273 (dired-flag-backup-files): Ditto.
18274
18275 * dired-x.el (dired-mark-sexp): Ditto.
18276
18277 2011-07-06 Richard Stallman <rms@gnu.org>
18278
18279 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18280 (rmail-mime-entity): New arg TRUNCATED.
18281 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18282 New functions.
18283 (rmail-mime-save): Warn if entity is truncated.
18284 (rmail-mime-toggle-hidden): Likewise, for showing.
18285 (rmail-mime-process-multipart): Record when an entity is truncated.
18286
18287 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18288 if ENTITY is a string.
18289
18290 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18291
18292 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
18293 of faces when `M-C-x'-ing their definitions (bug#8378).
18294 Also clean up the code slightly.
18295
18296 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
18297 because that makes the colors go away.
18298
18299 * mail/sendmail.el (send-mail-function): Change the default to
18300 `sendmail-query-once'.
18301 (sendmail-query-once): Add an autoload cookie.
18302
18303 * net/network-stream.el (network-stream-open-starttls): Try using
18304 a plain connection even if the server offered STARTTLS, and we
18305 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18306 capability. This should make smtpmail.el work in slightly more
18307 configurations.
18308
18309 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
18310
18311 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18312 New defun.
18313 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18314
18315 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18316
18317 * progmodes/sql.el: Version 3.0
18318 (sql-product-alist): Add product :completion-object,
18319 :completion-column, and :statement attributes.
18320 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18321 (sql-mode-syntax-table): Mark all punctuation.
18322 (sql-font-lock-keywords-builder): Temporarily remove fallback on
18323 ansi keywords.
18324 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18325 (sql-mode-oracle-font-lock-keywords): Improve.
18326 (sql-oracle-show-reserved-words): New function for development.
18327 (sql-product-font-lock): Simplify for source code buffers.
18328 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18329 New functions.
18330 (sql-highlight-product): Set product specific syntax table.
18331 (sql-mode-map): Add statement movement functions.
18332 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18333 New variable.
18334 (sql-statement-regexp, sql-beginning-of-statement)
18335 (sql-end-of-statement, sql-signum): New functions.
18336 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
18337 (sql-show-sqli-buffer): Bug fix.
18338 (sql-interactive-mode): Store connection data as buffer local.
18339 (sql-connect): Add NEW-NAME parameter. Redesign interaction
18340 with sql-interactive-mode.
18341 (sql-save-connection): Save buffer local settings.
18342 (sql-connection-menu-filter): Change menu entry name.
18343 (sql-product-interactive): Bug fix.
18344 (sql-preoutput-hold): New variable.
18345 (sql-interactive-remove-continuation-prompt): Bug fixes.
18346 (sql-debug-redirect): New variable.
18347 (sql-str-literal): New function.
18348 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18349 Redesign.
18350 (sql-oracle-save-settings, sql-oracle-restore-settings)
18351 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18352 (sql-completion-object, sql-completion-column)
18353 (sql-completion-sqlbuf): New variables.
18354 (sql-build-completions-1, sql-build-completions)
18355 (sql-try-completion): New functions.
18356 (sql-read-table-name): Use them.
18357 (sql-contains-names): New buffer local variable.
18358 (sql-list-all, sql-list-table): Use it.
18359 (sql-oracle-completion-types): New variable.
18360 (sql-oracle-completion-object, sql-sqlite-completion-object)
18361 (sql-postgres-completion-object): New functions.
18362
18363 2011-07-06 Glenn Morris <rgm@gnu.org>
18364
18365 * window.el (pop-to-buffer): Doc fix.
18366
18367 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
18368
18369 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18370
18371 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
18372
18373 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18374
18375 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18376
18377 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
18378
18379 * button.el (button): Inherit from link face. Suggested by Dan
18380 Nicolaescu.
18381
18382 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18383
18384 * progmodes/gdb-mi.el: Fit in 80 columns.
18385 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18386 switch-to-buffer.
18387
18388 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18389 if imenu is simply not configured (bug#8941).
18390
18391 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18392
18393 * allout.el (allout-post-undo-hook): New allout outline-change
18394 event hook to signal undo activity.
18395 (allout-post-command-business): Run allout-post-undo-hook if an
18396 undo just occurred.
18397 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18398 * allout-widgets.el (allout-widgets-after-undo-function):
18399 Ensure the integrity of the current item's decoration after it has been
18400 in the vicinity of an undo.
18401 (allout-widgets-mode): Include allout-widgets-after-undo-function
18402 on the new allout-post-undo-hook.
18403
18404 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18405
18406 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18407 Let define-derived-mode define it.
18408 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18409 cycles of abbrev-table inheritance (bug#8998).
18410
18411 2011-07-05 Roland Winkler <winkler@gnu.org>
18412
18413 * textmodes/bibtex.el: Add support for biblatex.
18414 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18415 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18416 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18417 (bibtex-entry-alist, bibtex-field-alist): New variables.
18418 (bibtex-entry-field-alist): Obsolete alias for
18419 bibtex-BibTeX-entry-alist.
18420 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18421 (bibtex-set-dialect): New command.
18422 (bibtex-entry-type, bibtex-entry-head)
18423 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18424 Bind via bibtex-set-dialect.
18425 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18426 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18427 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18428 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18429 Define via bibtex-set-dialect.
18430 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18431 Obey bibtex-no-opt-remove-re.
18432 (bibtex-vec-push, bibtex-vec-incr): New functions.
18433 (bibtex-format-entry, bibtex-field-list)
18434 (bibtex-print-help-message, bibtex-validate)
18435 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18436
18437 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18438
18439 * progmodes/compile.el (compilation-goto-locus):
18440 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18441 * bs.el (bs-cycle-next, bs-cycle-previous):
18442 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18443 * bindings.el (mode-line-other-buffer):
18444 * autoinsert.el (auto-insert):
18445 * arc-mode.el (archive-extract):
18446 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18447
18448 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18449
18450 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18451 Fix check of `emacs-lock-unlockable-modes'.
18452 Coerce true values of `emacs-lock--try-unlocking' to t.
18453
18454 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18455
18456 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18457 * emacs-lock.el: New file.
18458
18459 2011-07-05 Julien Danjou <julien@danjou.info>
18460
18461 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18462 than `boundp' to check if face is set.
18463
18464 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18465
18466 * register.el (registerv-make):
18467 * window.el (window-min-height): Fix typos in docstrings.
18468
18469 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18470
18471 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18472 Update doc string.
18473
18474 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18475
18476 * server.el (server-execute): Catch quit and call
18477 `server-return-error' to pass the error back to emacsclient and
18478 close the connection (bug#8942).
18479
18480 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18481
18482 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18483 insecure exception for current topic. Also note that auto-saves
18484 are handled differently.
18485
18486 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18487 State variables for tracking auto-save inhibition situation.
18488
18489 (allout-write-contents-hook-handler): Rename from
18490 'allout-write-file-hook-handler', and describe how it depends on
18491 write-contents-functions sensitivity to non-nil value to prevent
18492 file write.
18493
18494 (allout-auto-save-hook-handler): Remove. auto-save does not check
18495 this in individual buffers, only in the starting buffer, so this
18496 is not the right way for us to inhibit auto-save in a buffer
18497 according to its condition.
18498
18499 (allout-mode): Use new allout-write-contents-hook-handler, and
18500 only with write-contents-functions. Remove auto-save provisions -
18501 they're implemented elsewhere.
18502
18503 (allout-before-change-handler): If undo is in progress, note that
18504 for attention of allout-post-command-business.
18505
18506 (allout-post-command-business): If the command we're following was
18507 an undo, check for change in the status of encrypted items and
18508 adjust auto-save inhibitions accordingly.
18509
18510 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18511 according to whether there are or aren't any plain-text topics
18512 pending encryption.
18513
18514 (allout-inhibit-auto-save-info-for-decryption):
18515 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18516 if there are plain-text topics pending encryption.
18517
18518 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18519 buffer-saved-size and some allout state to not inhibit auto-saves
18520 if there are no longer any plain-text topics pending encryption.
18521
18522 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18523 No longer provide for exemption of the current topic.
18524
18525 2011-07-04 Juri Linkov <juri@jurta.org>
18526
18527 Add 7z operations to delete and save changed members (bug#8968).
18528 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18529 New defcustoms.
18530 (archive-7z-write-file-member): New function.
18531 (archive-7z-summarize): Fix the number of dashes in the
18532 listing output.
18533
18534 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18535
18536 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18537 (bug#8958).
18538
18539 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
18540
18541 * bindings.el: Ignore next-buffer and previous-buffer in
18542 minibuffer-local-map.
18543
18544 * font-lock.el (font-lock-builtin-face): Change light background
18545 color to dark slate blue (Bug#6693).
18546
18547 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18548
18549 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18550
18551 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18552
18553 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18554 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18555 Add switch-to-buffer.
18556
18557 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18558
18559 * isearch.el (isearch-search-fun-function): Clarify further the
18560 meaning of the function returned.
18561
18562 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18563
18564 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18565
18566 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18567 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18568 Use it.
18569 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18570 `tramp-default-remote-path' does not exist.
18571 (tramp-send-command-and-read): New optional argument NOERROR.
18572 (tramp-open-connection-setup-interactive-shell)
18573 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18574 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18575 (tramp-process-sentinel): Flush also process' connection property.
18576 (tramp-sh-handle-start-file-process): Do not set process
18577 sentinel. It is done now ...
18578 (tramp-maybe-open-connection): ... here. (Bug#8929)
18579
18580 2011-07-04 MON KEY <monkey@sandpframing.com>
18581
18582 * play/animate.el (animate-string): Doc fixes and allow changing
18583 the buffer name (bug#5417).
18584
18585 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18586
18587 * play/animate.el (animation-buffer-name): Rename from *animate*.
18588
18589 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18590
18591 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18592 This is simpler and helps future-proof the code.
18593 (timer-until): Use time-subtract and float-time.
18594 (timer--time-less-p): Use time-less-p.
18595
18596 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18597
18598 * type-break.el (timep): Use the value of `float-time' to avoid a
18599 byte-compiler warning.
18600
18601 * server.el (server-eval-and-print): Return any result, even nil.
18602
18603 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18604
18605 * type-break.el: Accept time formats that the builtins accept.
18606 (timep, type-break-time-difference): Accept any format that
18607 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18608 This is simpler and helps future-proof the code.
18609 (type-break-time-difference): Round rather than ignoring
18610 subseconds components.
18611
18612 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18613
18614 * info.el (Info-apropos-matches): Make non-interactive, since it
18615 doesn't seem to do anything useful as a command (bug#8829).
18616
18617 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18618
18619 * frame.el (frame-background-mode, frame-set-background-mode):
18620 Move from faces.el.
18621 (frame-default-terminal-background): New function.
18622
18623 * custom.el (custom-push-theme): Don't record faces in `changed'
18624 theme; this doesn't work correctly for per-frame face settings.
18625 (disable-theme): Use face-set-after-frame-default to reset faces.
18626 (custom--frame-color-default): New function.
18627
18628 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18629
18630 * dired.el (dired-flagging-regexp): Remove unused variable
18631 (bug#8769).
18632
18633 2011-03-29 Kevin Ryde <user42@zip.com.au>
18634
18635 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18636 `perl-Test2' extend to match possible "fail #N" rep count
18637 (bug#8377).
18638
18639 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18640
18641 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18642 `smtpmail-via-smtp' now returns the error instead of nil.
18643
18644 * isearch.el (isearch-search-fun-function): Clarify the doc string
18645 (bug#8101).
18646
18647 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18648
18649 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18650 unnecessary spaces (bug#8987).
18651
18652 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18653
18654 * net/network-stream.el (open-network-stream): Use the
18655 :end-of-capability command thoughout.
18656
18657 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18658
18659 * net/network-stream.el (open-network-stream): Add the
18660 :end-of-capability command parameter, used by pop3.el.
18661
18662 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18663
18664 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18665
18666 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18667 for list)" (bug#6475).
18668
18669 * files.el (file-expand-wildcards): Ignore non-readable
18670 sub-directories while trying to find matches instead of signaling
18671 an error (bug#6297).
18672
18673 * man.el (Man-reference-regexp): Allow matching possible
18674 word-wrapped references (bug#6289).
18675
18676 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18677 for consistency with the other vc buffers (bug#6197).
18678 (vc-checkin): Ditto.
18679
18680 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18681
18682 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18683
18684 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18685
18686 * custom.el (defcustom): Clarify that :set is only used in the
18687 Customize user interface (bug#6089).
18688
18689 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18690 associated with a file, refuse to run instead of erroring out
18691 (bug#6084).
18692
18693 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18694 the doc string, since it appears that using `fill-column' always
18695 controls the width (bug#7845).
18696
18697 * simple.el (shell-command-on-region): Say where the error output
18698 went if `shell-command-default-error-buffer' is set (bug#6857).
18699
18700 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18701
18702 * allout.el (allout-yank-processing): Adjust cursor position for
18703 backwards-deleted space.
18704
18705 (allout-rebullet-heading): Register changes with
18706 allout-exposure-changed-hook, so the modified topic is properly
18707 decorated.
18708
18709 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18710
18711 * minibuffer.el (completion-in-region): Document PREDICATE
18712 (bug#7136).
18713
18714 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18715 of keyword/argument pairs (bug#6904).
18716
18717 * replace.el (multi-occur):
18718 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18719
18720 2011-07-02 Drew Adams <drew.adams@oracle.com>
18721
18722 * dired.el (dired-mark-if): Make the message about whether it's
18723 marking or unmarking clearer (bug#8523).
18724
18725 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18726
18727 * disp-table.el (display-table-print-array): New function.
18728 (describe-display-table): Use it to print the vectors more pretty
18729 (Bug#8859).
18730
18731 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18732
18733 * window.el (window-state-get-1): Don't assign clone numbers.
18734 Add clone-of item to list of window parameters.
18735 (window-state-put-2): Don't process clone numbers.
18736 (display-buffer-alist): Fix doc-string.
18737
18738 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18739
18740 * subr.el (remq): Don't allocate if it's not needed.
18741 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18742 (keymap--merge-bindings): New functions.
18743 (keymap-canonicalize): Use them to refine the canonicalization.
18744 * minibuffer.el (minibuffer-local-completion-map)
18745 (minibuffer-local-must-match-map): Move initialization from C.
18746 (minibuffer-local-filename-completion-map): Move initialization from C;
18747 don't inherit from anything here.
18748 (minibuffer-local-filename-must-match-map): Make obsolete.
18749 (completing-read-default): Use make-composed-keymap to combine
18750 minibuffer-local-filename-completion-map with either
18751 minibuffer-local-must-match-map or
18752 minibuffer-local-filename-completion-map.
18753
18754 2011-07-01 Glenn Morris <rgm@gnu.org>
18755
18756 * type-break.el (type-break-time-sum): Use dolist.
18757
18758 * textmodes/flyspell.el (flyspell-word-search-backward):
18759 Replace CL function.
18760
18761 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18762
18763 * mouse.el (mouse--strip-first-event): New function.
18764 (function-key-map): Use it to map fringe clicks to normal clicks
18765 by default.
18766
18767 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18768 (vc-bzr-revision-completion-table): Add support for annotate and date.
18769
18770 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18771 inherit from parent.
18772
18773 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18774
18775 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18776 (dired-show-file-type): Doc fixup (bug#8818).
18777
18778 * dired.el (dired-mode): Fix up the doc string as suggested by
18779 Drew Adams (bug#8817).
18780
18781 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18782 cookie, since the manual says that it should be possible to add
18783 this function to `find-file-hook' (bug#8709).
18784
18785 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18786
18787 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18788 here. Noted Ted Zlatanov as the maintainer.
18789 (cfengine-common-settings, cfengine-common-syntax): New functions
18790 to set up common things between `cfengine-mode' and
18791 `cfengine3-mode'.
18792 (cfengine3-mode): New mode.
18793 (cfengine3-defuns cfengine3-defuns-regex
18794 (cfengine3-class-selector-regex cfengine3-category-regex)
18795 (cfengine3-vartypes cfengine3-font-lock-keywords)
18796 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18797 (cfengine3-indent-line): Add from cfengine3.el.
18798
18799 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18800
18801 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18802
18803 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18804
18805 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18806
18807 * window.el (same-window-buffer-names, same-window-regexps)
18808 (same-window-p, special-display-frame-alist)
18809 (special-display-popup-frame, special-display-function)
18810 (special-display-buffer-names, special-display-regexps)
18811 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18812 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18813 (split-window-preferred-function, split-height-threshold)
18814 (split-width-threshold, even-window-heights)
18815 (display-buffer-mark-dedicated, window-splittable-p)
18816 (split-window-sensibly, window-safely-shrinkable-p):
18817 Un-obsolete.
18818 (display-buffer): Don't spread args with function specifier
18819 because special-display-popup-frame won't like it.
18820
18821 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18822
18823 Time-stamp simplifications and fixes.
18824 These improve accuracy slightly, and future-proof the code
18825 against some potential changes to current-time format.
18826
18827 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18828 by using time-since and float-time.
18829
18830 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18831 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18832 + NNN microseconds".
18833
18834 * type-break.el (type-break-time-sum): Rewrite using time-add.
18835
18836 * play/hanoi.el (hanoi-current-time-float): Remove.
18837 All uses replaced by float-time.
18838
18839 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18840 This yields a more-accurate answer.
18841 (rng-time-to-float): Remove; no longer needed.
18842
18843 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18844
18845 * calendar/timeclock.el (timeclock-seconds-to-time):
18846 Defalias to seconds-to-time, since they're the same thing.
18847
18848 * emacs-lisp/elp.el (elp-elapsed-time):
18849 * emacs-lisp/benchmark.el (benchmark-elapse):
18850 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18851
18852 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18853
18854 * window.el (bury-buffer): Don't iconify the only frame.
18855 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18856 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18857
18858 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18859
18860 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18861 Add mouse-yank-primary.
18862
18863 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18864
18865 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18866
18867 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18868
18869 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18870 (find-library-name): Use it to find relative load names when provided
18871 absolute file name (bug#8803).
18872
18873 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18874
18875 * textmodes/flyspell.el (flyspell-word): Consider words that
18876 differ only in case as potential doublons (bug#5687).
18877
18878 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18879 Remove two rather uninteresting debugging-like messages to make
18880 debbugs.el more silent.
18881
18882 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18883 a password-like phrase.
18884
18885 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18886
18887 * progmodes/cc-guess.el: New file.
18888
18889 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18890
18891 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18892 derived from `c-basic-common-init'.
18893
18894 * progmodes/cc-mode.el (top-level): Require cc-guess.
18895 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18896
18897 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18898
18899 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18900
18901 2011-06-30 Alan Mackenzie <acm@muc.de>
18902
18903 * progmodes/cc-engine.el (c-guess-continued-construct):
18904 Correct the handling of template-args-cont, particularly for when font
18905 lock is disabled. Name this case as "CASE G".
18906
18907 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18908
18909 * allout.el (allout-yank-processing): Fix injection of extra space
18910 between bullet and non-whitespace character in first topic when
18911 pasting, ensuring that the actual spacing in the pasted topic
18912 following the bullet char is preserved. This extra space was
18913 causing pasted encrypted topics to get a decrypted status even
18914 when the content was actually still encrypted. Now the decryption
18915 status from before the paste is preserved.
18916
18917 (allout-flag-region): Set all allout overlays so they evaporate
18918 when reduced to zero length (evanescent), to prevent overlay
18919 leakage.
18920
18921 2011-06-30 Glenn Morris <rgm@gnu.org>
18922
18923 * w32-fns.el (w32-charset-info-alist): Declare.
18924
18925 * find-dired.el (find-grep-options): Simplify.
18926
18927 * term/ns-win.el (ns-set-resource): Declare.
18928
18929 * ses.el (row, col): Declare dynamic variables honestly.
18930
18931 * textmodes/reftex-parse.el (index-tags): Declare.
18932
18933 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18934
18935 * cus-edit.el (customize-push-and-save): New function.
18936
18937 * files.el (hack-local-variables-confirm): Use it.
18938
18939 * custom.el (load-theme): New arg NO-CONFIRM.
18940 Use customize-push-and-save (Bug#8720).
18941 (custom-enabled-themes): Doc fix.
18942
18943 * cus-theme.el (customize-create-theme)
18944 (custom-theme-merge-theme): Callers to load-theme changed.
18945
18946 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18947
18948 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18949 short URLs have at least one dot in them (bug #7614).
18950
18951 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18952 nil, because using a pty is apparently too slow (bug #895).
18953
18954 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18955
18956 * mail/sendmail.el (sendmail-query-once): New function.
18957 (sendmail-query-once-function): New variable.
18958
18959 2011-06-29 Glenn Morris <rgm@gnu.org>
18960
18961 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18962
18963 * ses.el (top-level): Require cl when compiling.
18964 (ses-set-localvars): Fix error statement.
18965 Call it at compile time to silence a storm of warnings.
18966
18967 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18968
18969 * window.el (normalize-live-buffer): Rename to
18970 window-normalize-buffer.
18971 (normalize-live-frame): Rename to window-normalize-frame.
18972 (normalize-any-window): Rename to window-normalize-any-window.
18973 (normalize-live-window): Rename to window-normalize-live-window.
18974 (make-window-atom): Rename to window-make-atom.
18975 (window-resize-reset): Rename to window--resize-reset.
18976 (window-resize-reset-1): Rename to window--resize-reset-1.
18977 (resize-mini-window): Rename to window--resize-mini-window.
18978 (resize-subwindows-skip-p): Rename to
18979 window--resize-subwindows-skip-p.
18980 (resize-subwindows-normal): Rename to
18981 window--resize-subwindows-normal.
18982 (resize-subwindows): Rename to window--resize-subwindows.
18983 (resize-other-windows): Rename to window--resize-siblings.
18984 (resize-this-window): Rename to window--resize-this-window.
18985 (resize-root-window): Rename to window--resize-root-window.
18986 (resize-root-window-vertically): Rename to
18987 window--resize-root-window-vertically.
18988 (normalize-buffer-to-display): Rename to
18989 window-normalize-buffer-to-display.
18990 (normalize-buffer-to-switch-to): Rename to
18991 window-normalize-buffer-to-switch-to.
18992 Correspondingly update all callers of the functions listed
18993 above.
18994 (display-buffer-alist, display-buffer-normalize-arguments)
18995 (display-buffer-normalize-options, display-buffer)
18996 (display-buffer-alist-set): Use "function" instead of
18997 "fun-with-args".
18998
18999 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
19000
19001 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19002 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19003 debbugs.gnu.org. Mention acknowledgment email.
19004
19005 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19006
19007 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19008 buffer multibyteness, since it shouldn't matter.
19009
19010 2011-06-28 Martin Rudalics <rudalics@gmx.at>
19011
19012 * window.el (display-buffer-in-side-window): Handle dedicated
19013 windows as in display-buffer-reuse-window.
19014 (display-buffer-normalize-alist): Use value of override
19015 specifier.
19016 (display-buffer-normalize-specifiers): Use value of
19017 other-window-means-other-frame specifier.
19018 (display-buffer-alist): Rewrite some texts in widgets.
19019 (display-buffer): Spread arguments when calling function
19020 specified by fun-with-args.
19021
19022 2011-06-28 Deniz Dogan <deniz@dogan.se>
19023
19024 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19025 Unnest `let'.
19026
19027 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19028 selectors (Bug#5732).
19029 (css-proprietary-nmstart-re): Use `regexp-opt'.
19030
19031 2011-06-27 Jari Aalto <jari.aalto@cante.net>
19032
19033 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19034 (eshell-ls-date-format): New defcustom.
19035 (eshell-ls-file): Use it.
19036
19037 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19038
19039 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19040
19041 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19042
19043 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19044 (ange-ftp-make-tmp-name): New arg.
19045 (ange-ftp-file-local-copy): Use it.
19046
19047 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
19048
19049 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19050 no-conversion (Bug#8870).
19051
19052 2011-06-27 Martin Rudalics <rudalics@gmx.at>
19053
19054 * window.el (window-right, window-left, window-child)
19055 (window-child-count, window-last-child)
19056 (window-iso-combination-p, walk-window-tree-1)
19057 (window-atom-check-1, window-tree-1, delete-window)
19058 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19059 new naming conventions - window-vchild, window-hchild,
19060 window-next and window-prev are now called window-top-child,
19061 window-left-child, window-next-sibling and window-prev-sibling
19062 respectively.
19063 (resize-window-reset): Rename to window-resize-reset.
19064 (resize-window-reset-1): Rename to window-resize-reset-1.
19065 (resize-window): Rename to window-resize.
19066 (window-min-height, window-min-width)
19067 (resize-mini-window, resize-this-window, resize-root-window)
19068 (resize-root-window-vertically, adjust-window-trailing-edge)
19069 (enlarge-window, shrink-window, maximize-window)
19070 (minimize-window, delete-window, quit-restore-window)
19071 (split-window, balance-windows, balance-windows-area-adjust)
19072 (balance-windows-area, window-state-put-2)
19073 (display-buffer-even-window-sizes, display-buffer-set-height)
19074 (display-buffer-set-width, set-window-text-height)
19075 (fit-window-to-buffer): Rename all "resize-window" prefixed
19076 calls to use the "window-resize" prefix convention.
19077 (display-buffer-alist): Fix symbol for label specifier.
19078 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19079 corresponding specifier.
19080 Reported by Juanma Barranquero <lekktu@gmail.com>.
19081
19082 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19083
19084 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19085 convention.
19086 (ses-call-printer): Does not pass an empty string to formatter when the
19087 cell is empty to keep from barking printer Calc math-format-value.
19088
19089 2011-06-27 Richard Stallman <rms@gnu.org>
19090
19091 * battery.el (battery-mode-line-limit): New variable.
19092 (battery-update): Handle it.
19093
19094 * mail/rmailmm.el (rmail-mime-process-multipart):
19095 Handle truncated messages.
19096
19097 2011-06-27 Glenn Morris <rgm@gnu.org>
19098
19099 * progmodes/flymake.el (flymake-err-line-patterns):
19100 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19101
19102 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19103
19104 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
19105 (ses--clean-!, ses--clean-_): New functions.
19106 (ses-range): Add configurability of readout order, and conversion
19107 to Calc vector.
19108
19109 * ses.el (ses-repair-cell-reference-all): New function.
19110 (ses-cell-symbol): Set macro as safe, so that it can be used in
19111 formulas.
19112
19113 * ses.el: Update cycle detection algorithm.
19114 (ses-localvars): Add ses--Dijkstra-attempt-nb and
19115 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
19116 (ses-set-localvars): New function.
19117 (ses-make-cell): Add property-list as a cell element.
19118 (ses-cell-property-get-fun, ses-cell-property-get)
19119 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
19120 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19121 New functions.
19122 (ses-cell-property-set, ses-cell-property-pop)
19123 (ses-cell-property-get-handle): New macro.
19124 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19125 New aliases, used for code readability.
19126 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19127 cycle detection.
19128 (ses-self-reference-early-detection): New defcustom.
19129 (ses-formula-references): Robustify against self-referring cells.
19130 (ses-mode): Use ses-set-localvars.
19131 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19132 before lauching the update processing.
19133 (ses-initialize-Dijkstra-attempt): New function.
19134 (ses-recalculate-cell): Update for cycle detection based on
19135 Dijkstra algorithm.
19136
19137 * ses.el: Fix commenting and indenting convention.
19138
19139 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19140
19141 * bs.el (bs-cycle-next): Complete last change.
19142
19143 2011-06-27 Drew Adams <drew.adams@oracle.com>
19144
19145 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19146
19147 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19148
19149 * net/network-stream.el (network-stream-open-starttls):
19150 Don't re-get capabilities unless we've reestablished connection.
19151 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19152
19153 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19154 to binary to possibly avoid line encoding issues on Windows (among
19155 other things).
19156
19157 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19158
19159 * net/network-stream.el (open-network-stream): Return an :error
19160 saying what the problem was, if possible.
19161
19162 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19163 server.
19164
19165 * net/network-stream.el (network-stream-open-starttls): If we
19166 wanted to use STARTTLS, and the server offered it, but we weren't
19167 able to because we had no STARTTLS support, then close the connection.
19168 (open-network-stream): Return an :error element, if present.
19169
19170 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19171
19172 * hl-line.el (hl-line-sticky-flag): Doc fix.
19173 (global-hl-line-sticky-flag): New option (Bug#8323).
19174 (global-hl-line-highlight): Obey it.
19175
19176 * vc/vc.el (vc-revert-show-diff): Default to t.
19177
19178 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19179
19180 * allout-widgets.el (allout-widgets-post-command-business):
19181 Stop decorating intermediate isearch matches. They're not being
19182 undecorated when an isearch is continued past, and isearch
19183 automatically collapses them. This leads to "widget leaks", where
19184 decorated items accumulate in collapsed areas. Lines with lots of
19185 hidden widgets can slow down cursor travel, substantially.
19186 Too much complicated machinery would be needed to ensure undecoration,
19187 so we're doing without this nicety.
19188
19189 (allout-widgets-tally-string): Don't try to do a hash-table-count
19190 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19191 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19192 *Messages* when allout-widgets-maintain-tally is t.
19193
19194 2011-06-26 Martin Rudalics <rudalics@gmx.at>
19195
19196 * window.el (display-buffer-normalize-argument): Rename to
19197 display-buffer-normalize-arguments. Handle special meaning of
19198 LABEL argument. Respect special-display-function when popping up
19199 a new frame. Fix code searching for a window showing the buffer
19200 on another frame.
19201 (display-buffer-normalize-specifiers):
19202 Call display-buffer-normalize-arguments.
19203 (display-buffer-in-window): Don't undedicate the window if its
19204 buffer remains the same.
19205 Reported by Drew Adams <drew.adams@oracle.com>.
19206 (display-buffer-alist): Add choice for same-window macro
19207 specfier.
19208 (display-buffer): Mention special meaning of LABEL argument in
19209 doc-string. Fix quoting. Don't pop up a new frame even as
19210 fallback.
19211
19212 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
19213
19214 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19215 avoid deleting the current window in some cases (bug#8911).
19216
19217 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19218
19219 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19220 (Bug#8934)
19221
19222 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19223
19224 * net/network-stream.el (network-stream-open-starttls):
19225 Use built-in TLS support if `gnutls-available-p' is true.
19226 (network-stream-open-tls): Ditto.
19227
19228 2011-06-26 Leo Liu <sdl.web@gmail.com>
19229
19230 * register.el (registerv): New struct.
19231 (registerv-make): New function.
19232 (jump-to-register, describe-register-1, insert-register):
19233 Support the jump-func, print-func and insert-func slot of a registerv
19234 struct. (Bug#8415)
19235
19236 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19237
19238 * vc/vc.el (vc-revert-show-diff): New defcustom.
19239 (vc-diff-internal): New arg specifying diff buffer.
19240 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19241 reuse an existing *vc-diff* buffer (Bug#8927).
19242
19243 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19244
19245 2011-06-26 Glenn Morris <rgm@gnu.org>
19246
19247 * progmodes/f90.el (f90-critical-indent): New option.
19248 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19249 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19250 (f90-mode): Doc fix.
19251 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19252 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19253 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19254 (f90-match-end): Handle block, critical.
19255
19256 2011-06-25 Glenn Morris <rgm@gnu.org>
19257
19258 * calendar/diary-lib.el (diary-included-files): Doc fix.
19259 (diary-include-files): New function, extracted from
19260 diary-include-other-diary-files and diary-mark-included-diary-files.
19261 (diary-include-other-diary-files, diary-mark-included-diary-files):
19262 Just call diary-include-files.
19263 (diary-mark-entries): Reset diary-included-files on first call.
19264
19265 * calendar/diary-lib.el (diary-mark-entries)
19266 (diary-mark-included-diary-files):
19267 Visit included diary-files in temp buffers.
19268
19269 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19270 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19271 (f90-start-block-re, f90-imenu-generic-expression)
19272 (f90-looking-at-program-block-start, f90-no-block-limit):
19273 Add support for submodules.
19274
19275 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19276 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
19277
19278 2011-06-25 Eli Zaretskii <eliz@gnu.org>
19279
19280 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19281 buffer-file-type before setting its value, to avoid disastrous
19282 global effects on decoding files for DOS/Windows systems. (Bug#8780)
19283
19284 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19285
19286 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19287
19288 * ses.el (ses-unload-function):
19289 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19290
19291 * proced.el (proced-unload-function):
19292 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19293
19294 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19295
19296 * server.el (server-create-window-system-frame): Add parameters arg.
19297 (server-process-filter): Doc fix. Handle frame-parameters.
19298
19299 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19300
19301 Fix bug#8730, bug#8781.
19302
19303 * loadhist.el (unload--set-major-mode): New function.
19304 (unload-feature): Use it.
19305
19306 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19307 (python-unload-function): New function.
19308
19309 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19312
19313 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19314
19315 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19316 the candidates list.
19317
19318 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
19319
19320 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19321
19322 2011-06-23 Richard Stallman <rms@gnu.org>
19323
19324 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19325 (rmail-variables): Set next-error-move-function.
19326 (rmail-what-message): Take argument POS.
19327 (rmail-next-error-move): New function.
19328
19329 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19330
19331 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19332 messages for adjacent non-terminals.
19333
19334 2011-06-23 Richard Stallman <rms@gnu.org>
19335
19336 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
19337 (rmail-show-message-1): Preserve buffer modified flag.
19338 (rmail-start-mail): Don't specify use of rmail-mail-return;
19339 that's done by mail-bury now.
19340 (rmail-mail-return): Handle arg NEWBUF.
19341
19342 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
19343
19344 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19345 SIZE is a number.
19346
19347 2011-06-23 Martin Rudalics <rudalics@gmx.at>
19348
19349 * window.el (get-lru-window, get-mru-window)
19350 (get-largest-window): Never return a minibuffer window.
19351 (display-buffer-pop-up-window): Fix a bug that could lead to
19352 reusing the minibuffer window.
19353 (display-buffer): Pass original specifier argument to
19354 display-buffer-function instead of the normalized one.
19355 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19356
19357 2011-06-22 Leo Liu <sdl.web@gmail.com>
19358
19359 * minibuffer.el (completing-read-function)
19360 (completing-read-default): Move from minibuf.c.
19361
19362 2011-06-22 Richard Stallman <rms@gnu.org>
19363
19364 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19365 to Rmail even if not started by a special Rmail command.
19366
19367 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19368 Copy the buffer currently showing just one message.
19369
19370 2011-06-22 Roland Winkler <winkler@gnu.org>
19371
19372 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19373 (bibtex-clean-entry): First delete the old key so that a
19374 customized algorithm for generating the new key does not get
19375 confused by the old key.
19376 (bibtex-url): Obey regexp of first step.
19377 (bibtex-search-entries): Do not use add-to-list with local
19378 list-var.
19379
19380 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19381
19382 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19383 stored a user name, then query for the password first, instead of
19384 waiting for SMTP to give an error message and the trying again.
19385
19386 2011-06-22 Lawrence Mitchell <wence@gmx.li>
19387
19388 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19389 BUFFER in call-process.
19390
19391 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19392
19393 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19394 QUIT twice.
19395 (smtpmail-try-auth-methods): Require user name and password from
19396 auth-source.
19397
19398 2011-06-22 Martin Rudalics <rudalics@gmx.at>
19399
19400 * window.el (display-buffer-default-specifiers)
19401 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19402 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19403 (split-window): Normalize SIDE argument (Bug#8916).
19404
19405 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19406 (special-display-frame-alist, special-display-popup-frame):
19407 Remove duplicate declarations. These are now in window.el.
19408
19409 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19410
19411 * mail/smtpmail.el (smtpmail-via-smtp):
19412 Set :use-starttls-if-possible so that we always use STARTTLS if the
19413 server supports it. SMTP servers that support STARTTLS commonly
19414 require it.
19415
19416 * net/network-stream.el (network-stream-open-starttls): Support
19417 upgrading to STARTTLS always, even if we don't have built-in support.
19418 (open-network-stream): Add the :always-query-capabilities keyword.
19419
19420 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19421 upgrades with `open-network-stream', and rely solely on
19422 auth-source for all credentials. Big changes throughout the file,
19423 but in particular:
19424 (smtpmail-auth-credentials): Remove.
19425 (smtpmail-starttls-credentials): Remove.
19426 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19427 MAIL FROM, too.
19428
19429 * net/network-stream.el (network-stream-open-starttls):
19430 Provide support for client certificates both for external and built-in
19431 STARTTLS.
19432 (auth-source): Require.
19433 (open-network-stream): Document the :client-certificate keyword.
19434 (network-stream-certificate): Change cert-cert to cert and
19435 cert-key to key.
19436
19437 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
19438
19439 * net/tramp-cache.el (top): Don't load the persistency file when
19440 "emacs -Q" has been called.
19441
19442 2011-06-21 Tim Harper <timcharper@gmail.com>
19443
19444 * term/ns-win.el (ns-initialize-window-system):
19445 Set application-specific `ApplePressAndHoldEnabled' system
19446 resource to NO as it is not yet supported by the NS port.
19447
19448 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
19449
19450 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19451 (list-dynamic-libraries): ...not here.
19452
19453 2011-06-21 Leo Liu <sdl.web@gmail.com>
19454
19455 * subr.el (sha1): Implement sha1 using secure-hash.
19456
19457 2011-06-21 Martin Rudalics <rudalics@gmx.at>
19458
19459 * window.el (display-buffer-alist): In default value do not
19460 enforce searching a window on any but the selected frame.
19461 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19462 (display-buffer-select-window): Remove function.
19463 (display-buffer-in-window): When a window on another frame gets
19464 reused, do not select it any more but just raise its frame if
19465 necessary (Bug#8851) and (Bug#8856).
19466 (display-buffer-normalize-options): Handle pop-up-frames related
19467 options more faithfully.
19468 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19469 window if it is on another frame.
19470 (display-buffer-alist, display-buffer-default-specifiers):
19471 Don't make new frame unsplittable by default.
19472 (display-buffer-normalize-argument): Fix doc-string typo and use
19473 'same-frame-other-window instead of 'other-window when associating
19474 with display-buffer-macro-specifiers.
19475
19476 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19477
19478 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19479 New functions.
19480 (5x5-mode-map, 5x5-mode-menu): Bind them.
19481 (5x5-draw-grid): Tweak the solver's rendering.
19482
19483 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19484
19485 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19486 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19487
19488 2011-06-21 Drew Adams <drew.adams@oracle.com>
19489
19490 * menu-bar.el: Use function variable instead of switch-to-buffer.
19491 (menu-bar-select-buffer-function): New variable.
19492 (menu-bar-update-buffers): Use it (bug#8876).
19493
19494 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19495
19496 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19497 variable's status.
19498
19499 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19500
19501 * x-dnd.el (x-dnd-version-from-flags)
19502 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19503 and long as number (Bug#8899).
19504 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19505
19506 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19507
19508 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19509 (completion-try-completion, completion-all-completions): Compute the
19510 metadata argument if it's missing; make it optional (bug#8795).
19511
19512 * wid-edit.el: Use lex-bind and move towards completion-at-point.
19513 (widget-complete): Use new :completion-function property.
19514 (widget-completions-at-point): New function.
19515 (default): Use :completion-function instead of :complete.
19516 (widget-default-completions): Rename from widget-default-complete;
19517 Rewrite.
19518 (widget-string-complete, widget-file-complete, widget-color-complete):
19519 Remove functions.
19520 (file, symbol, function, variable, coding-system, color):
19521 * international/mule-cmds.el (default-input-method, charset)
19522 (language-info-custom-alist):
19523 * cus-edit.el (face): Use new property :completions.
19524
19525 * progmodes/pascal.el (pascal-completions-at-point): New function.
19526 (pascal-mode): Use it.
19527 (pascal-mode-map): Use completion-at-point.
19528 (pascal-toggle-completions): Make obsolete.
19529 (pascal-complete-word, pascal-show-completions):
19530 * progmodes/octave-mod.el (octave-complete-symbol):
19531 Redefine as obsolete alias.
19532 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19533 Signal absence of completion info for old Octave,
19534 (inferior-octave-complete): Redefine as obsolete alias.
19535 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19536 (meta-completions-at-point): Rename from meta-complete-symbol and
19537 adapt it for use on completion-at-point-functions.
19538 (meta-common-mode): Use it.
19539 (meta-looking-at-backward, meta-match-buffer): Remove.
19540 (meta-complete-symbol): Redefine as obsolete alias.
19541 (meta-common-mode-map): Use completion-at-point.
19542 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19543 (makefile-mode-map): Use completion-at-point.
19544 (makefile-completions-at-point): Rename from makefile-complete and
19545 adapt it for use on completion-at-point-functions.
19546 (makefile-mode): Use it.
19547 (makefile-complete): Redefine as obsolete alias.
19548
19549 2011-06-20 Deniz Dogan <deniz@dogan.se>
19550
19551 * net/rcirc.el: Delete trailing whitespaces once and for all.
19552
19553 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19554
19555 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19556
19557 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19558
19559 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19560
19561 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19562
19563 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19564
19565 * window.el (display-buffer-other-window-means-other-frame):
19566 Call display-buffer-normalize-alist.
19567 (display-buffer-normalize-specifiers-1): Rename to
19568 display-buffer-normalize-argument. New argument other-frame.
19569 Rewrite.
19570 (display-buffer-normalize-specifiers-2): Rename to
19571 display-buffer-normalize-options.
19572 (display-buffer-normalize-alist-1): New function.
19573 (display-buffer-normalize-specifiers-3): Rename to
19574 display-buffer-normalize-alist.
19575 Call display-buffer-normalize-alist-1.
19576 (display-buffer-normalize-options-inhibit): New variable.
19577 (display-buffer-normalize-specifiers): Rewrite calling
19578 display-buffer-normalize-alist,
19579 display-buffer-normalize-argument, and
19580 display-buffer-normalize-options. Don't call the latter if
19581 display-buffer-normalize-options-inhibit is non-nil.
19582 (frame-auto-delete): New option.
19583 (window-deletable-p): Use frame-auto-delete.
19584 (window-list-no-nils, window-state-ignored-parameters)
19585 (window-state-get-1, window-state-get, window-state-put-list)
19586 (window-state-put-1, window-state-put-2, window-state-put):
19587 New functions.
19588 (display-buffer-normalize-options): Move special-display-p group
19589 after pop-up-frame group (Bug#8851) and (Bug#8856).
19590
19591 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19592
19593 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19594 groups (Bug#8776).
19595 (rx-submatch-n): New function.
19596 (rx): Document it.
19597
19598 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19599 (Bug#8768).
19600
19601 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19602
19603 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19604
19605 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19606 anytime existing face settings are present (Bug#8889).
19607
19608 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19609 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19610 Remove unused argument.
19611
19612 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19613
19614 * window.el (display-buffer-default-specifiers):
19615 Remove pop-up-frame. Add pop-up-window-min-height,
19616 pop-up-window-min-width, and another reuse-window specifier
19617 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19618 (display-buffer-normalize-specifiers-2):
19619 Handle split-height-threshold and split-width-threshold also when
19620 pop-up-windows is unset. Add a reuse-window specifier for the
19621 case popping up a new window fails.
19622 (special-display-popup-frame): Remove double quoting.
19623 (display-buffer-normalize-specifiers-1): Fix thinko.
19624
19625 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19626
19627 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19628 according to comint-completion-addsuffix.
19629
19630 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19631 (pcomplete-suffix-list): Mark as obsolete.
19632 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19633 pcomplete-seen in the closure.
19634 (pcomplete-comint-setup): Setup completion-at-point as well.
19635 (pcomplete--entries): New function.
19636 (pcomplete--env-regexp): New var.
19637 (pcomplete-entries): Rewrite to work with partial-completion and
19638 without relying on pcomplete-suffix-list.
19639 (pcomplete-pare-list): Remove, unused.
19640
19641 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19642
19643 * window.el (display-buffer-alist): Set pop-up-window-min-height
19644 and pop-up-window-min-width in default value. Reported by
19645 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19646 other-window-means-other-frame.
19647 (display-buffer-macro-specifiers): Comment out entry for
19648 other-window specifier.
19649 (display-buffer-other-window-means-other-frame): New function.
19650 (display-buffer-normalize-specifiers-1): New arguments
19651 buffer-name and label. Treat other-window case specially.
19652 (display-buffer-normalize-specifiers-2): Treat other-window case
19653 specially.
19654 (display-buffer-normalize-specifiers-3): New function.
19655 (display-buffer-normalize-specifiers):
19656 Call display-buffer-normalize-specifiers-3.
19657
19658 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19659
19660 * window.el (same-window-p): Fix two typos introduced when
19661 adding with-no-warnings.
19662 (display-buffer-normalize-specifiers-1): Don't check
19663 pop-up-frames for 'unset initialization.
19664 (display-buffer-normalize-specifiers-2): Major rewrite using
19665 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19666 (pop-up-frames, display-buffer-reuse-frames)
19667 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19668 Suggested by David Engster <deng@randomsample.de>.
19669 (even-window-heights): Initialize to 'unset.
19670 (display-buffer-alist-set): Handle new 'unset initializations.
19671 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19672 other window case.
19673
19674 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19675
19676 * window.el (display-buffer-normalize-specifiers-1):
19677 Respect current value of pop-up-frames for most reasonable values of
19678 second argument of display-buffer (Bug#8865).
19679 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19680 (switch-to-buffer-other-window-same-frame)
19681 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19682 Adams (Bug#8875).
19683 (display-buffer): Don't check noninteractive when calling
19684 display-buffer-pop-up-frame.
19685 (display-buffer-pop-up-frame): Never pop up a frame in
19686 noninteractive mode (Bug#8857).
19687 (enlarge-window, shrink-window): Don't report an error when the
19688 window can't be resized as requested (Bug#8862).
19689
19690 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19691
19692 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19693
19694 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19695
19696 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19697
19698 2011-06-15 Alan Mackenzie <acm@muc.de>
19699
19700 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19701 for declarators, disable knr checking to speed up for normal files.
19702 2: Refactor, replacing a sequence of nested if forms by a cond form.
19703
19704 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19705
19706 * net/network-stream.el (open-network-stream): Add the keyword
19707 :always-query-capabilities for the case where you want to force a
19708 `plain' network connection, but the protocol still requires the
19709 capabilitiy command (i.e., SMTP and EHLO).
19710
19711 * subr.el (process-live-p): Rename from `process-alive-p' for
19712 consistency with other `-live-p' functions.
19713
19714 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19715
19716 * window.el (same-window-buffer-names, same-window-regexps)
19717 (special-display-frame-alist, special-display-popup-frame)
19718 (special-display-function, special-display-buffer-names)
19719 (special-display-regexps, pop-up-frame-alist)
19720 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19721 (pop-up-windows, split-window-preferred-function)
19722 (split-height-threshold, split-width-threshold, even-window-heights)
19723 (display-buffer-mark-dedicated): Don't encourage the use of
19724 display-buffer-alist from Elisp code.
19725
19726 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19727
19728 * progmodes/python.el (python-mode): Derive from prog-mode.
19729 * progmodes/ps-mode.el (ps-mode):
19730 * progmodes/mixal-mode.el (mixal-mode):
19731 * progmodes/cfengine.el (cfengine-mode):
19732 * progmodes/ld-script.el (ld-script-mode): Likewise.
19733
19734 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19735
19736 * window.el (display-buffer-alist): Trim default value to avoid
19737 popping up a new frame (Bug#8857) or reusing an arbitrary window
19738 on another frame.
19739 (display-buffer): Do not fall back on popping up a new frame in
19740 batch mode (Bug#8857).
19741
19742 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19743
19744 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19745 (custom-theme-summary): New function.
19746 (customize-themes): Use it.
19747
19748 2011-06-13 Glenn Morris <rgm@gnu.org>
19749
19750 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19751
19752 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19753
19754 * help.el (help-window): Remove variable.
19755 (help-window-point-marker, temp-buffer-max-height)
19756 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19757 (help-print-return-message): Don't set help-window.
19758 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19759 (help-window-setup-finish): Remove.
19760 (help-window-display-message, help-window-setup)
19761 (with-help-window): Major rewrite based on new
19762 display-buffer-window variable.
19763
19764 * help-mode.el (help-mode-finish): Remove help-window related
19765 code.
19766
19767 * view.el (view-exits-all-viewing-windows): Remove reference to
19768 view-return-to-alist in doc-string.
19769 (view-return-to-alist): Make obsolete.
19770 (view-buffer): Call pop-to-buffer-same-window and remove
19771 undo-window code.
19772 (view-buffer-other-window): Call pop-to-buffer-other-window and
19773 simplify code. Ignore second argument.
19774 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19775 simplify code. Ignore second argument.
19776 (view-return-to-alist-update): Make obsolete.
19777 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19778 Rewrite using quit-restore window parameters.
19779 (view-mode-exit): Rename second argument to EXIT-ONLY.
19780 Rewrite using quit-restore-window.
19781 (View-exit, View-exit-and-edit, View-leave, View-quit)
19782 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19783 appropriate arguments.
19784 (view-end-message): Use quit-restore window parameter.
19785
19786 * window.el (display-buffer-function): Rewrite doc-string.
19787 (display-buffer-window, display-buffer-alist): New variables.
19788 (display-buffer-split-specifiers)
19789 (display-buffer-side-specifiers)
19790 (display-buffer-macro-specifiers): New constants.
19791 (display-buffer-even-window-sizes, display-buffer-set-height)
19792 (display-buffer-set-width, display-buffer-select-window)
19793 (display-buffer-in-window, display-buffer-reuse-window)
19794 (display-buffer-split-window-1, display-buffer-split-window)
19795 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19796 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19797 (display-buffer-in-side-window, normalize-buffer-to-display)
19798 (display-buffer-normalize-specifiers-1)
19799 (display-buffer-normalize-specifiers-2)
19800 (display-buffer-normalize-specifiers, display-buffer-frame):
19801 New functions.
19802 (display-buffer): Major rewrite.
19803 (display-buffer-other-window, display-buffer-other-frame)
19804 (pop-to-buffer, switch-to-buffer-other-window)
19805 (switch-to-buffer-other-frame): Rewrite.
19806 (display-buffer-same-window, display-buffer-same-frame)
19807 (display-buffer-same-frame-other-window)
19808 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19809 (pop-to-buffer-other-window)
19810 (pop-to-buffer-same-frame-other-window)
19811 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19812 (switch-to-buffer-other-window-same-frame): New functions.
19813 (same-window-p, special-display-p): Rewrite disabling warnings.
19814 Make obsolete.
19815 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19816 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19817 Make obsolete
19818 (same-window-buffer-names, same-window-regexps)
19819 (special-display-frame-alist, special-display-popup-frame)
19820 (special-display-function, special-display-buffer-names)
19821 (special-display-regexps, pop-up-frame-alist)
19822 (pop-up-frame-function, split-window-preferred-function)
19823 (split-height-threshold, split-width-threshold)
19824 (even-window-heights): Make obsolete.
19825
19826 2011-06-12 Glenn Morris <rgm@gnu.org>
19827
19828 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19829 Misc simplifications.
19830
19831 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19832
19833 * window.el (window-safely-shrinkable-p): Restore function which
19834 was inadvertently removed in change from 2011-06-11. Declare as
19835 obsolete.
19836
19837 * calendar/calendar.el (calendar-generate-window):
19838 Use window-iso-combined-p instead of combination of one-window-p and
19839 window-safely-shrinkable-p.
19840
19841 2011-06-12 Glenn Morris <rgm@gnu.org>
19842
19843 * progmodes/fortran.el (fortran-mode-syntax-table):
19844 * progmodes/f90.el (f90-mode-syntax-table):
19845 Set % to punctuation. (Bug#8820)
19846 (f90-find-tag-default): Remove, no longer needed.
19847
19848 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19849
19850 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19851
19852 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19853
19854 * image.el (image-animated-p): Return animation delay in seconds.
19855 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19856 (image-animate-timeout): Remove DELAY argument. Don't assume
19857 every subimage has the same delay; get it from image-animated-p.
19858 (image-animate): Caller changed.
19859
19860 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19861
19862 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19863 to ignored backtrace functions.
19864
19865 2011-06-11 Glenn Morris <rgm@gnu.org>
19866
19867 * calendar/appt.el (appt-disp-window-function): Doc fix.
19868 (appt-check): Handle overlapping appointments. (Bug#8337)
19869
19870 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19871
19872 * window.el (window-tree-1, window-tree): New functions, moving
19873 the latter to window.el.
19874 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19875 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19876 (bw-refresh-edges): Remove.
19877 (balance-windows-1, balance-windows-2): New functions.
19878 (balance-windows): Rewrite in terms of window tree functions,
19879 balance-windows-1 and balance-windows-2.
19880 (bw-adjust-window): Remove.
19881 (balance-windows-area-adjust): New function with functionality of
19882 bw-adjust-window but using resize-window.
19883 (set-window-text-height): Rewrite doc-string.
19884 Use normalize-live-window and resize-window.
19885 (enlarge-window-horizontally, shrink-window-horizontally):
19886 Rename argument to DELTA.
19887 (window-buffer-height): New function.
19888 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19889 Rewrite using new window resize routines.
19890 (kill-buffer-and-window, mouse-autoselect-window-select):
19891 Use ignore-errors instead of condition-case.
19892 (quit-window): Call delete-frame instead of delete-windows-on
19893 for the only buffer on frame.
19894
19895 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19896
19897 * loadup.el (top-level): Load window before files for the sake
19898 of replace-buffer-in-windows.
19899
19900 * files.el (read-buffer-to-switch)
19901 (switch-to-buffer-other-window)
19902 (switch-to-buffer-other-frame, display-buffer-other-frame):
19903 Move to window.el.
19904
19905 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19906 (previous-buffer): Move to window.el.
19907
19908 * bindings.el (unbury-buffer): Move to window.el.
19909
19910 * window.el (delete-other-windows-vertically): Move after
19911 definition of delete-other-windows.
19912 (other-window, delete-windows-on, replace-buffer-in-windows):
19913 Move here from window.c.
19914 (record-window-buffer, unrecord-window-buffer)
19915 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19916 (switch-to-next-buffer): New functions.
19917 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19918 from simple.el. Call switch-to-next-buffer.
19919 (previous-buffer): Move here from simple.el.
19920 Call switch-to-prev-buffer.
19921 (bury-buffer): Move here from buffer.c. Switch to previous
19922 buffer when window cannot be deleted.
19923 (unbury-buffer): Move here from bindings.el.
19924 (ctl-x-map): Move binding for other-window from window.c to
19925 here.
19926 (read-buffer-to-switch, switch-to-buffer-other-window)
19927 (switch-to-buffer-other-frame): Move here from files.el.
19928 (normalize-buffer-to-switch-to): New functions.
19929 (switch-to-buffer): Move here from buffer.c.
19930 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19931
19932 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19933
19934 * window.el (window-min-height, window-min-width): Move here
19935 from window.c. Add defcustoms and rewrite doc-strings.
19936 (resize-mini-window, resize-window): New functions.
19937 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19938 Move here from window.c.
19939 (maximize-window, minimize-window): New functions.
19940 (delete-window, delete-other-windows, split-window): Move here
19941 from window.c.
19942 (window-split-min-size): New function.
19943 (split-window-keep-point): Mention split-window-above-each-other
19944 instead of split-window-vertically.
19945 (split-window-above-each-other, split-window-vertically):
19946 Rename split-window-vertically to split-window-above-each-other
19947 and provide defalias for old definition.
19948 (split-window-side-by-side, split-window-horizontally):
19949 Rename split-window-horizontally to split-window-side-by-side
19950 and provide defalias for the old definition.
19951 (ctl-x-map): Move bindings for delete-window,
19952 delete-other-windows and enlarge-window here from window.c.
19953 Replace bindings for split-window-vertically and
19954 split-window-horizontally by bindings for
19955 split-window-above-each-other and split-window-side-by-side.
19956
19957 * cus-start.el (all): Remove entries for window-min-height and
19958 window-min-width. Add entries for window-splits and
19959 window-nest.
19960
19961 2011-06-09 Glenn Morris <rgm@gnu.org>
19962
19963 * calendar/appt.el (appt-mode-line): New function.
19964 (appt-check, appt-disp-window): Use it.
19965
19966 * files.el (hack-one-local-variable-eval-safep):
19967 Allow minor-modes with explicit +/-1 arguments.
19968
19969 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19970
19971 * term/xterm.el (xterm): Add defgroup.
19972 (xterm-extra-capabilities): Add defcustom to supply known xterm
19973 capabilities, skip querying them, or query them (default).
19974 (terminal-init-xterm): Use it.
19975 (terminal-init-xterm-modify-other-keys): New function to set up
19976 modifyOtherKeys support to simplify `terminal-init-xterm'.
19977
19978 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19979
19980 * window.el (resize-window-reset, resize-window-reset-1)
19981 (resize-subwindows-skip-p, resize-subwindows-normal)
19982 (resize-subwindows, resize-other-windows, resize-this-window)
19983 (resize-root-window, resize-root-window-vertically)
19984 (window-deletable-p, window-or-subwindow-p)
19985 (frame-root-window-p): New functions.
19986
19987 2011-06-09 Glenn Morris <rgm@gnu.org>
19988
19989 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19990 (ange-ftp-get-files): Use it.
19991
19992 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19993
19994 * mail/sendmail.el (mail-recover-1, mail-recover):
19995 * files.el (recover-file, recover-session):
19996 Handle dired-listing-switches not being just a single short option.
19997
19998 2011-06-09 Glenn Morris <rgm@gnu.org>
19999
20000 * calendar/appt.el (appt-display-message, appt-disp-window):
20001 Handle lists of appointments.
20002
20003 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20004
20005 * window.el (one-window-p): Move down in code.
20006 Rewrite doc-string.
20007 (window-current-scroll-bars): Rewrite doc-string.
20008 Normalize live window argument.
20009 (walk-windows, get-window-with-predicate, count-windows):
20010 Rewrite doc-string. Use window-list-1.
20011 (window-in-direction-2, window-in-direction, get-mru-window):
20012 New functions.
20013
20014 2011-06-08 Reuben Thomas <rrt@sc3d.org>
20015
20016 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20017 Doc fix (Bug#8713).
20018
20019 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
20020
20021 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20022
20023 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
20024
20025 * loadhist.el (unload-feature-special-hooks):
20026 Add `comint-output-filter-functions'.
20027
20028 2011-06-08 Ivan Kanis <gnu@kanis.fr>
20029
20030 * calendar/appt.el (appt-check): Move some initializations into the let.
20031
20032 2011-06-08 Martin Rudalics <rudalics@gmx.at>
20033
20034 * window.el (window-height): Defalias to window-total-height.
20035 (window-width): Defalias to window-body-width.
20036
20037 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
20038
20039 * image-mode.el (image-toggle-animation): New command.
20040 (image-mode-map): Bind it to RET.
20041 (image-mode): Update message.
20042 (image-toggle-display-image): Avoid a spurious cache flush.
20043 (image-transform-rotation): Doc fix.
20044 (image-transform-properties): Return quickly in the normal case.
20045 (image-animate-loop): Rename from image-animate-max-time.
20046
20047 * image.el (image-animate-max-time): Move to image-mode.el.
20048 (create-animated-image): Remove unnecessary function.
20049 (image-animate): Rename from image-animate-start. New arg.
20050 (image-animate-stop): Remove; just use image-animate-timer.
20051 (image-animate-timer): Use car-safe.
20052 (image-animate-timeout): Rename argument.
20053
20054 2011-06-07 Martin Rudalics <rudalics@gmx.at>
20055
20056 * window.el (get-lru-window, get-largest-window): Move here from
20057 window.c. Rename first argument to ALL-FRAMES.
20058 Rephrase doc-strings.
20059 (get-buffer-window-list): Rewrite using window-list-1.
20060 Rephrase doc-string.
20061 (window-safe-min-height, window-safe-min-width): New constants.
20062 (window-size-ignore, window-min-size, window-min-size-1)
20063 (window-sizable, window-sizable-p, window-size-fixed-1)
20064 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20065 (window-max-delta-1, window-max-delta, window-resizable)
20066 (window-resizable-p, window-total-height, window-total-width)
20067 (window-body-width): New functions.
20068 (window-full-height-p, window-full-width-p): Rewrite using
20069 window-total-size.
20070 (window-body-height): Rewrite using window-body-size.
20071
20072 2011-06-06 Martin Rudalics <rudalics@gmx.at>
20073
20074 * window.el (window-right, window-left, window-child)
20075 (window-child-count, window-last-child, window-any-p)
20076 (normalize-live-buffer, normalize-live-frame)
20077 (normalize-any-window, normalize-live-window)
20078 (window-iso-combination-p, window-iso-combined-p)
20079 (window-iso-combinations)
20080 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20081 (windows-with-parameter, window-with-parameter)
20082 (window-atom-root, make-window-atom, window-atom-check-1)
20083 (window-atom-check, window-side-check, window-check):
20084 New functions.
20085 (ignore-window-parameters, window-sides, window-sides-vertical)
20086 (window-sides-slots): New variables.
20087 (window-size-fixed): Move down in code. Minor doc-string fix.
20088
20089 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20090
20091 * comint.el (comint-dynamic-complete-as-filename)
20092 (comint-dynamic-complete-filename): Correctly call
20093 completion-in-region.
20094
20095 2011-06-05 Deniz Dogan <deniz@dogan.se>
20096
20097 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20098 in last change.
20099
20100 2011-06-05 Deniz Dogan <deniz@dogan.se>
20101
20102 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20103 (rcirc): Use it to prompt for encryption.
20104
20105 2011-06-05 Roland Winkler <winkler@gnu.org>
20106
20107 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20108 (bibtex-search-entries): New command bound to C-c C-a.
20109 (bibtex-display-entries): New function.
20110
20111 2011-06-05 Roland Winkler <winkler@gnu.org>
20112
20113 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20114 (bibtex-insert-kill): After yanking insert newline if necessary.
20115 (bibtex-initialize): Call bibtex-string-files-init only once.
20116 (bibtex-mode): Do not call easy-menu-add.
20117 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20118 (bibtex-yank): Set arg properly if nil.
20119
20120 2011-06-05 Roland Winkler <winkler@gnu.org>
20121
20122 * textmodes/bibtex.el (bibtex-search-entry-globally):
20123 New variable.
20124 (bibtex-search-entry): Use it.
20125
20126 2011-06-05 Roland Winkler <winkler@gnu.org>
20127
20128 * textmodes/bibtex.el (bibtex-entry-format): New option
20129 sort-fields.
20130 (bibtex-format-entry, bibtex-reformat): Honor this option.
20131 (bibtex-parse-entry): Return fields in proper order.
20132
20133 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
20134
20135 * doc-view.el (doc-view-remove-if): Move computation of result out
20136 of `dolist' to silence misleading lexical-binding warning.
20137
20138 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
20139
20140 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20141 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20142
20143 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20144
20145 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20146 "SunOS 5.10".
20147
20148 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20149
20150 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20151 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20152 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20153 (tramp-parse-putty):
20154 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20155 (tramp-completion-function-alist-ssh)
20156 (tramp-completion-function-alist-telnet)
20157 (tramp-completion-function-alist-su)
20158 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20159 cookie.
20160
20161 * net/tramp-ftp.el:
20162 * net/tramp-sh.el:
20163 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20164 load "tramp.el" `tramp-set-completion-function'.
20165
20166 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20167
20168 * shell.el: Require and use pcomplete.
20169 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20170 (shell-completion-vars): Set pcomplete-default-completion-function.
20171
20172 2011-06-04 Deniz Dogan <deniz@dogan.se>
20173
20174 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20175 `memq' (Bug#8799).
20176
20177 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20178
20179 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20180
20181 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20182
20183 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20184 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20185 * vc/log-view.el (log-view-beginning-of-defun):
20186 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20187 (smerge-refine-forward, smerge-refine-chopup-region):
20188 Silence warning for unused `dotimes' counter variables.
20189
20190 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20191
20192 * net/tramp.el (tramp-with-progress-reporter): Rename from
20193 with-progress-reporter. Use `declare'.
20194 * net/tramp-smb.el:
20195 * net/tramp-sh.el:
20196 * net/tramp-gvfs.el: Update all uses.
20197
20198 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20199
20200 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20201 buffer isn't killed before making it current.
20202
20203 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20204
20205 Silence various byte-compiler warnings.
20206 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20207 `access-type' and new obsolescence format.
20208 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20209 new format.
20210 (byte-compile-check-variable): New `access-type' argument.
20211 Only warn if the access-type is obsolete.
20212 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20213 (byte-compile-variable-set): Adjust callers.
20214 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20215 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20216 setting it as obsolete.
20217 * simple.el (minibuffer-completing-symbol):
20218 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20219 access as obsolete.
20220 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20221 obsolete yet.
20222 * international/quail.el (quail-mouse-choose-completion): Remove unused
20223 code referring to obsolete var.
20224 (quail-choose-completion-string): Remove.
20225 * server.el (server-clients-with, server-kill-buffer-query-function)
20226 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20227 * proced.el (proced-send-signal):
20228 * emacs-lisp/lisp.el (lisp-complete-symbol):
20229 Replace completion-annotate-function with completion-extra-properties.
20230
20231 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20232
20233 * simple.el (goto-line): Use read-number.
20234 (overriding-map-is-bound): Remove.
20235 (saved-overriding-map): Change default.
20236 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20237 Take the map as argument.
20238 (universal-argument, negative-argument, digit-argument): Use it.
20239 (restore-overriding-map): Adjust.
20240 (do-auto-fill): Use fill-forward-paragraph.
20241 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20242
20243 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20244 (minibuffer-inactive-mode): New major mode.
20245 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20246 the *Messages* buffer" hack.
20247 (mouse-popup-menubar): Don't burp if the event is a normal key.
20248
20249 Miscellaneous tweaks.
20250 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20251 lexical scoping as in subr.el's dolist and dotimes.
20252 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20253 Silence compiler warning.
20254 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20255 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20256 * international/ccl.el (ccl-compile): Trivial simplification.
20257 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20258 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20259 `printflag' argument.
20260 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20261 Purecopy the whole obsolescence data.
20262
20263 2011-06-01 Leo Liu <sdl.web@gmail.com>
20264
20265 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20266 improve doc-string as suggested by Marco Pessotto
20267 <melmothx@gmail.com>.
20268 (rcirc-print): Fix last change.
20269
20270 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20271
20272 * minibuffer.el (complete-with-action): Return nil for the metadata and
20273 boundaries of non-functional tables.
20274 (completion-table-dynamic): Return nil for the metadata.
20275 (completion-table-with-terminator): Add default case, using
20276 complete-with-action.
20277 (completion--metadata): New function.
20278 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20279 to try and avoid pathological performance problems.
20280 (completion--embedded-envvar-table): Return `category' metadata.
20281
20282 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20283
20284 * subr.el (process-alive-p): New tiny convenience function.
20285
20286 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20287
20288 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20289 content but also its previous major mode.
20290
20291 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
20292
20293 * emacs-lisp/debug.el (debug): Restore the previous content of the
20294 *Backtrace* buffer when we exit with C-M-c.
20295
20296 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20297
20298 * minibuffer.el: Add metadata method to completion tables.
20299 (completion-category-overrides): New defcustom.
20300 (completion-metadata, completion--field-metadata)
20301 (completion-metadata-get, completion--styles)
20302 (completion--cycle-threshold): New functions.
20303 (completion-try-completion, completion-all-completions):
20304 Add `metadata' argument to choose completion-styles.
20305 (completion--do-completion): Use metadata to choose cycling.
20306 (completion-all-sorted-completions): Use metadata for sorting.
20307 Remove :completion-cycle-penalty which is not needed any more.
20308 (completion--try-word-completion): Add `metadata' argument.
20309 (minibuffer-completion-help): Check metadata for annotation function
20310 and sorting.
20311 (completion-file-name-table): Return `category' metadata.
20312 (minibuffer-completing-file-name): Make obsolete.
20313 * simple.el (minibuffer-completing-symbol): Make obsolete.
20314 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20315 completion-try-completion.
20316
20317 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20318
20319 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20320
20321 2011-05-30 Leo Liu <sdl.web@gmail.com>
20322
20323 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20324 (rcirc-print): Decode all incoming messages (bug#8744).
20325 (rcirc-decode-coding-system): Allow value nil for automatic coding
20326 system detection.
20327
20328 2011-06-01 Glenn Morris <rgm@gnu.org>
20329
20330 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20331
20332 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20333
20334 * image.el (image-animate-max-time): Allow nil and t values.
20335 Default to nil.
20336 (create-animated-image): Doc fix.
20337 (image-animate-start): Remove second arg; just use
20338 image-animate-max-time.
20339 (image-animate-timeout): Doc fix. Args changed.
20340
20341 * image-mode.el (image-toggle-display-image): Ensure that the
20342 image spec passed to the animate timer is the same object as in
20343 the buffer's display property (Bug#6981).
20344 (image-transform-properties): Doc fix.
20345
20346 * image.el (image-animate-max-time): Default to nil.
20347
20348 2011-05-29 Martin Rudalics <rudalics@gmx.at>
20349
20350 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20351 entire buffer list (Bug#8184).
20352
20353 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20354
20355 * image.el (imagemagick-types-inhibit)
20356 (imagemagick-register-types): Doc fix.
20357
20358 2011-05-29 Deniz Dogan <deniz@dogan.se>
20359
20360 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20361 default.
20362
20363 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20364
20365 * select.el: Don't perform clipboard-manager saving in hooks;
20366 leave the hooks empty.
20367
20368 2011-05-28 Leo Liu <sdl.web@gmail.com>
20369
20370 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20371 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20372 (occur-edit-mode): New major mode (Bug#8463).
20373 (occur-after-change-function): New function.
20374 (occur-engine): Give Occur tags a read-only property.
20375
20376 2011-05-28 Kevin Ryde <user42@zip.com.au>
20377
20378 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20379
20380 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20381
20382 * bindings.el (help-echo): Make the initial non-indicator dash
20383 empty on graphical terminals (Bug#7295).
20384
20385 * files.el (auto-mode-alist): Move config rule after the
20386 in-stripping one (Bug#8547).
20387
20388 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20389
20390 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20391 setting (Bug#8740).
20392
20393 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20394
20395 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20396 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20397 (Bug#8539).
20398
20399 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20400
20401 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20402
20403 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20404
20405 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20406 (hs-hide-block-at-point, hs-find-block-beginning)
20407 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20408 (Bug#8279).
20409
20410 2011-05-28 Glenn Morris <rgm@gnu.org>
20411
20412 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20413
20414 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20415
20416 * help-fns.el (describe-function-1): If the function is a derived
20417 major mode, print the parent mode.
20418
20419 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20420 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20421
20422 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20423
20424 * minibuffer.el (completion--capf-wrapper): Check applicability before
20425 returning non-nil for non-exclusive completion data.
20426 * progmodes/etags.el (tags-completion-at-point-function):
20427 * info-look.el (info-lookup-completions-at-point): Mark as
20428 non-exclusive.
20429 (info-complete): Adjust accordingly.
20430
20431 * info-look.el: Convert to lexical-binding and completion-at-point.
20432 (info-lookup-completions-at-point): New function.
20433 (info-complete): Use it and completion-in-region.
20434
20435 2011-05-28 Drew Adams <drew.adams@oracle.com>
20436
20437 * isearch.el: Let M-e start with point at the first mismatched char.
20438 (isearch-fail-pos): New function.
20439 (isearch-edit-string): Use it.
20440
20441 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20442
20443 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20444
20445 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
20446
20447 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20448 traversal functions for avl-trees.
20449 (avl-tree--stack): New struct.
20450 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20451 (avl-tree-enter): Add optional `updatefun' arg.
20452 (avl-tree--do-enter): Add optional `updatefun' arg.
20453 Change return value.
20454 (avl-tree-delete): Add optional `test' and `nilflag' args.
20455 (avl-tree--do-delete): Add `test' and `nilflag' args.
20456 Change return value.
20457 (avl-tree-member): Add optional `nilflag'
20458 (avl-tree-member-p): New function.
20459 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20460 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20461 (avl-tree-stack-empty-p): New functions.
20462
20463 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20464 avl-tree--del-balance1 and make it work both ways.
20465 (avl-tree--del-balance2): Remove.
20466 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20467 make it work both ways.
20468 (avl-tree--enter-balance2): Remove.
20469 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20470 New macros.
20471 (avl-tree--mapc, avl-tree-map): Add direction argument.
20472
20473 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
20474
20475 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20476
20477 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
20478
20479 * select.el: Support clipboard managers with built-in function
20480 x-clipboard-manager-save, via delete-frame-functions and
20481 kill-emacs-hook.
20482 (xselect-convert-to-targets): Add MULTIPLE target to list.
20483 (xselect-convert-to-save-targets): New function.
20484
20485 2011-05-27 Kenichi Handa <handa@m17n.org>
20486
20487 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20488 let-binding rfc2047-encode-encoded-words to nil.
20489
20490 2011-05-27 Glenn Morris <rgm@gnu.org>
20491
20492 * mail/emacsbug.el: Don't require url-util.
20493
20494 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20495
20496 * files.el (set-auto-mode):
20497 Also respect mode: entries at the end of the file. (Bug#8586)
20498
20499 2011-05-26 Glenn Morris <rgm@gnu.org>
20500
20501 * files.el (hack-local-variables-prop-line, hack-local-variables):
20502 Downcase mode names, as seems to be traditional.
20503 (hack-local-variables, hack-local-variables-apply): Doc fixes.
20504
20505 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20506 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20507
20508 2011-05-25 Julien Danjou <julien@danjou.info>
20509
20510 * textmodes/rst.el (rst-define-level-faces): Do not define face
20511 symbol if it is already defined.
20512
20513 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20514
20515 * play/5x5.el (5x5-new-game, 5x5-randomize):
20516 Reset 5x5-solver-output to nil when a new grid is cast.
20517 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20518 these debugging traces, as defmacro breaks the compiled code.
20519
20520 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20521
20522 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20523
20524 2011-05-24 Leo Liu <sdl.web@gmail.com>
20525
20526 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20527 (vc-bzr-sha1): Adapt.
20528
20529 * sha1.el: Remove. Function `sha1' is now builtin.
20530
20531 * bindings.el: Provide sha1 feature.
20532
20533 2011-05-24 Kenichi Handa <handa@m17n.org>
20534
20535 * mail/sendmail.el: Require `rfc2047'.
20536 (mail-insert-from-field): Do not perform RFC2047 encoding.
20537 (mail-encode-header): New function.
20538 (sendmail-send-it): Set buffer-file-coding-system of the work
20539 buffer to the return value of select-message-coding-system.
20540 Call mail-encode-header.
20541
20542 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20543
20544 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20545
20546 * mail/supercite.el (sc-default-cite-frame):
20547 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20548
20549 2011-05-24 Glenn Morris <rgm@gnu.org>
20550
20551 * progmodes/python.el (brm-menu): Declare.
20552
20553 * emulation/viper.el (viper-set-hooks): Declare.
20554
20555 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20556 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20557 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20558 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20559 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20560 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20561
20562 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20563
20564 Add an :exit-function for completion-at-point.
20565
20566 * minibuffer.el (completion--done): New fun.
20567 (completion--do-completion): Use it. New arg `expect-exact'.
20568 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20569 since completion--do-completion does it for us now.
20570 (minibuffer-force-complete): Use completion--done and
20571 completion--replace. Handle sole-completion case with more care.
20572 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20573 (completion-extra-properties): New var.
20574 (completion-annotate-function): Make obsolete.
20575 (minibuffer-completion-help): Adjust accordingly.
20576 Use completion-list-insert-choice-function.
20577 (completion-at-point, completion-help-at-point):
20578 Bind completion-extra-properties.
20579 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20580 * simple.el (completion-list-insert-choice-function): New var.
20581 (completion-setup-function): Preserve it.
20582 (choose-completion): Pay attention to it, shuffle the code a bit.
20583 (choose-completion-string): New arg `insert-function'.
20584
20585 * textmodes/bibtex.el: Convert to lexical binding.
20586 (bibtex-mode-map): Use completion-at-point.
20587 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20588 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20589 (bibtex-complete): Define as obsolete alias.
20590 (bibtex-complete-internal): Remove.
20591 (bibtex-format-entry): Remove unused sub-group in regexp.
20592 * shell.el (shell--command-completion-data)
20593 (shell-environment-variable-completion):
20594 * pcomplete.el (pcomplete-completions-at-point):
20595 * comint.el (comint--complete-file-name-data): Use :exit-function
20596 instead of completion-table-with-terminator so it also works for
20597 choose-completion.
20598
20599 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20600
20601 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20602
20603 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20604 (bug#8710).
20605
20606 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20607
20608 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20609
20610 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20611 customization variable and implement: If non-nil, auto-fill will
20612 be inhibited while on topic's header line.
20613
20614 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20615
20616 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20617 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20618 always have a solution in grid size = 5 cases.
20619 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20620 (5x5-solver-output, 5x5-log-buffer): New vars.
20621 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20622 Make these variables buffer local to achieve 5x5 multi-session-ness.
20623 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20624 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20625 (5x5-solve-suggest): New funs.
20626 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20627 randomize a grid so that we ensure that there is always a solution.
20628 (5x5-make-random-grid): Allow other movement than flipping.
20629
20630 2011-05-23 Kevin Ryde <user42@zip.com.au>
20631
20632 * emacs-lisp/advice.el (ad-read-advised-function):
20633 Use `function-called-at-point' as the default, if it has
20634 advice and passes PREDICATE.
20635
20636 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20637
20638 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20639 byte-compile-lambda if it's actually a lambda.
20640
20641 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20642 Fix function quoting. Use backquote better.
20643
20644 2011-05-22 Yuanle Song <sylecn@gmail.com>
20645
20646 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20647 matching (Bug#8516).
20648
20649 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20650
20651 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20652 different face (Bug#8178).
20653
20654 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20655
20656 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20657 defface (Bug#8144).
20658
20659 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20660
20661 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20662 funcall as well (bug#8712). Warn when performing those conversions.
20663 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20664
20665 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20666
20667 2011-05-22 Glenn Morris <rgm@gnu.org>
20668
20669 * files.el (hack-local-variables-prop-line): Small simplifications.
20670 (hack-local-variables, hack-local-variables-prop-line):
20671 If MODE-ONLY, return the mode, rather than just `t'.
20672
20673 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20674
20675 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20676
20677 2011-05-21 Glenn Morris <rgm@gnu.org>
20678
20679 * files.el (hack-local-variables-prop-line, hack-local-variables):
20680 If only interested in the mode, don't bother doing the other stuff.
20681
20682 * image-mode.el (image-after-revert-hook):
20683 Redraw all frames on which the image is visible. (Bug#8567)
20684
20685 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20686
20687 * wid-edit.el (widget-checklist-match-inline):
20688 Fix 2011-04-19 change. (Bug#8649)
20689
20690 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20691
20692 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20693 Also allow singlespace after single-letter capitals followed by a dot.
20694
20695 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20696 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20697
20698 2011-05-20 Nix <nix@esperi.org.uk>
20699
20700 * files.el (basic-save-buffer-2):
20701 Fix handling of break-hardlink-on-save with non-existent files.
20702
20703 2011-05-19 Deniz Dogan <deniz@dogan.se>
20704
20705 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20706 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20707
20708 2011-05-19 Glenn Morris <rgm@gnu.org>
20709
20710 * progmodes/f90.el (f90-type-def-re):
20711 Handle "type, bind(c)". (Bug#8691)
20712
20713 * emacs-lisp/autoload.el (batch-update-autoloads):
20714 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20715
20716 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20717
20718 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20719 property for the correct connection in case of multihops.
20720
20721 2011-05-18 Glenn Morris <rgm@gnu.org>
20722
20723 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20724 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20725
20726 Rationalize calendar handling of day and month abbrev-arrays.
20727 * calendar/calendar.el (calendar-customized-p): New function.
20728 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20729 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20730 Add :set function.
20731 (calendar-abbrev-length, calendar-day-abbrev-array)
20732 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20733 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20734 Elements may no longer be nil.
20735 (calendar-day-name, calendar-month-name):
20736 Update for changed nature of abbrev arrays.
20737 * calendar/diary-lib.el (diary-name-pattern):
20738 Update for changed nature of abbrev arrays.
20739 (diary-mark-entries-1): Update calendar-make-alist calls.
20740 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20741 * calendar/cal-html.el (cal-html-day-abbrev-array):
20742 Simply inherit from calendar-day-abbrev-array.
20743
20744 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20745
20746 * progmodes/grep.el (grep-mode): Disable default
20747 compilation-directory-matcher setting (bug#8684).
20748
20749 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20750
20751 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20752 instead of "head" and "tail". There were problems with SunOS 5.9,
20753 and it performs better.
20754
20755 2011-05-17 Glenn Morris <rgm@gnu.org>
20756
20757 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20758
20759 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20760 Replace obsolete function.
20761
20762 * shell.el (pcomplete-parse-arguments-function): Declare.
20763
20764 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20765 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20766 (appt-check): Doc fixes.
20767 (appt-disp-window-function, appt-delete-window-function):
20768 Remove needless special case in custom :type.
20769 (appt-display-count): Default to 0, not nil.
20770 (appt-check): Reset appt-display-count to 0, not nil.
20771
20772 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20773
20774 * progmodes/python.el (python-font-lock-keywords):
20775 Add the Python 3.X keyword "nonlocal" (bug#8639).
20776
20777 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20778
20779 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20780
20781 2011-05-16 Kevin Ryde <user42@zip.com.au>
20782
20783 * info-look.el (makefile-automake-mode): New setups, looking in
20784 automake manual, then makefile-mode.
20785 (makefile-mode): Remove automake manual, have it just in
20786 makefile-automake-mode since there's various things different or
20787 not relevant to plain make.
20788 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20789 believe a hypothetical automake-mode would go to makefile-mode,
20790 not the other way around.
20791
20792 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20793
20794 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20795 hunk-end tags (Bug#8672).
20796
20797 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20798 vc-annotate-show-diff-revision-at-line (Bug#8671).
20799
20800 2011-05-14 Glenn Morris <rgm@gnu.org>
20801
20802 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20803 in the middle of an existing one with multiple authors. (Bug#8645)
20804 (change-log-font-lock-keywords): Also handle multiple author lines
20805 with leading tabs. (Bug#8644)
20806
20807 * calendar/appt.el (appt-check): Rename some local variables.
20808 Some simplification/reordering.
20809
20810 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20811 (feedmail-sendmail-f-doesnt-sell-me-out)
20812 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20813 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20814 (feedmail-queue-runner-message-sender): Set :version.
20815 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20816 (bbdb-dwim-net-address, vm-mail): Declare.
20817 (feedmail-binmail-gnulinuxish-template):
20818 Rename from feedmail-binmail-linuxish-template.
20819 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20820 Use insert-buffer-substring.
20821
20822 2011-05-14 Bill Carpenter <bill@carpenter.org>
20823
20824 * mail/feedmail.el (feedmail-patch-level): Increase.
20825 (feedmail-debug): New custom group.
20826 (feedmail-confirm-outgoing-timeout)
20827 (feedmail-sendmail-f-doesnt-sell-me-out)
20828 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20829 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20830 (feedmail-sender-line, feedmail-from-line)
20831 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20832 (feedmail-spray-this-address)
20833 (feedmail-spray-address-fiddle-plex-list)
20834 (feedmail-queue-use-send-time-for-date)
20835 (feedmail-queue-use-send-time-for-message-id)
20836 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20837 (feedmail-buffer-eating-function):
20838 Doc fixes.
20839 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20840 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20841 (feedmail-message-action-scroll-down): New functions.
20842 (feedmail-queue-directory, feedmail-queue-draft-directory):
20843 Use expand-file-name.
20844 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20845 Remove C-v help entry.
20846 (feedmail-queue-buffer-file-name): New variable.
20847 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20848 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20849 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20850 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20851 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20852 (feedmail-message-action-toggle-spray)
20853 (feedmail-run-the-queue-no-prompts)
20854 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20855 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20856 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20857 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20858 (feedmail-envelope-deducer, feedmail-fiddle-from)
20859 (feedmail-fiddle-sender, feedmail-default-date-generator)
20860 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20861 (feedmail-fiddle-spray-address)
20862 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20863 (feedmail-fiddle-list-of-fiddle-plexes)
20864 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20865 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20866 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20867 Change default. Doc fix.
20868 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20869 (feedmail-binmail-linuxish-template): New constant.
20870 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20871 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20872 (feedmail-send-it): Add debug call.
20873 Use feedmail-queue-buffer-file-name, and
20874 feedmail-send-it-immediately-wrapper.
20875 (feedmail-message-action-send): Add debug call.
20876 Use feedmail-send-it-immediately-wrapper.
20877 (feedmail-queue-express-to-queue): Add debug call.
20878 Run feedmail-queue-express-hook.
20879 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20880 (feedmail-message-action-help-blat):
20881 Rename from feedmail-queue-send-edit-prompt-help-first.
20882 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20883 Check line-endings. Handle errors better.
20884 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20885 Doc fix. Add debug call.
20886 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20887 Use feedmail-queue-send-edit-prompt-inner.
20888 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20889 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20890 from feedmail-queue-send-edit-prompt.
20891 (feedmail-queue-send-edit-prompt-help)
20892 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20893 (feedmail-tidy-up-slug): Add debug call.
20894 Respect feedmail-queue-slug-suspect-regexp.
20895 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20896 (feedmail-dump-message-to-queue): Add debug call.
20897 Expand queue-directory.
20898 (feedmail-dump-message-to-queue): Change message slightly.
20899 Use feedmail-say-chatter.
20900 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20901 (feedmail-send-it-immediately-wrapper): New function.
20902 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20903 Insert empty string rather than newline. Handle full-frame case.
20904 Use catch/throw. Use feedmail-say-chatter.
20905 (feedmail-fiddle-from): Try mail-host-address.
20906 (feedmail-default-message-id-generator): Doc fix.
20907 Bind system-time-locale. Handle missing end.
20908 (feedmail-fiddle-x-mailer): Add debug call.
20909 Handle feedmail-x-mailer-line being nil.
20910 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20911 Add debug call. Use buffer-substring-no-properties.
20912 (feedmail-say-debug, feedmail-say-chatter): New functions.
20913 (feedmail-find-eoh): Give an explicit error.
20914
20915 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20916
20917 * net/newst-treeview.el (newsticker-treeview-face): Change default
20918 family from helvetica to sans.
20919 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20920 etc/images/newsticker.
20921
20922 * net/newst-reader.el (newsticker-feed-face): Change default
20923 family from helvetica to sans.
20924
20925 * net/newst-plainview.el (newsticker-new-item-face)
20926 (newsticker-old-item-face, newsticker-immortal-item-face)
20927 (newsticker-obsolete-item-face, newsticker-date-face)
20928 (newsticker-statistics-face): Change default family from
20929 helvetica to sans.
20930 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20931 etc/images/newsticker.
20932
20933 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20934 (newsticker--process-auto-mark-filter-match): Tell user about
20935 auto-marking.
20936
20937 2011-05-13 Didier Verna <didier@xemacs.org>
20938
20939 Common Lisp indentation improvements on defmethod and lambda-lists.
20940 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20941 TODO entries.
20942 (lisp-lambda-list-keyword-parameter-indentation)
20943 (lisp-lambda-list-keyword-parameter-alignment)
20944 (lisp-lambda-list-keyword-alignment): New customizable user options.
20945 (lisp-indent-defun-method): Improve docstring.
20946 (extended-loop-p): Fix comment.
20947 (lisp-indent-lambda-list-keywords-regexp): New variable.
20948 (lisp-indent-lambda-list): New function.
20949 (lisp-indent-259): Use it.
20950 (lisp-indent-defmethod): Support for more than one
20951 method qualifier and properly indent methods lambda-lists.
20952 (defgeneric): Provide a missing common-lisp-indent-function property.
20953
20954 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20955
20956 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20957 bounds for the empty string (bug#8667).
20958
20959 2011-05-13 Glenn Morris <rgm@gnu.org>
20960
20961 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20962
20963 * mail/sendmail.el (sendmail-program): Try executable-find first.
20964 (sendmail-send-it): `sendmail-program' cannot be unbound.
20965
20966 * calendar/appt.el (appt-make-list): Simplify.
20967 (appt-time-msg-list): Doc fix.
20968 (appt-check): Change mode-line message at the time of the appointment.
20969
20970 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20971
20972 * progmodes/ld-script.el (ld-script-keywords)
20973 (ld-script-builtins): Update keywords list.
20974
20975 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20976
20977 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20978
20979 * shell.el (shell-completion-vars): New function.
20980 (shell-mode):
20981 * simple.el (read-shell-command): Use it.
20982 (blink-matching-open): No need for " [...]" in minibuffer-message.
20983
20984 2011-05-12 Glenn Morris <rgm@gnu.org>
20985
20986 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20987 (appt-check): Simplify.
20988
20989 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20990
20991 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20992 literal "/dev/null".
20993
20994 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20995
20996 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20997 Fix typo.
20998
20999 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
21000
21001 * progmodes/which-func.el (which-function):
21002 Use add-log-current-defun instead of add-log-current-defun-function,
21003 which might not be defined (Bug#8260).
21004
21005 2011-05-12 Glenn Morris <rgm@gnu.org>
21006
21007 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21008 Let byte-compile-initial-macro-environment always take precedence.
21009
21010 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21011
21012 * net/rcirc.el: Add support for SSL/TLS connections.
21013 (rcirc-server-alist): New field `encryption'.
21014 (rcirc): Check `encryption' settings.
21015 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21016 Merge make-local-variable into `set'.
21017 (rcirc--connection-open-p): New function.
21018 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21019 the process is not a network process (e.g. running gnutls-cli).
21020 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21021 Make rcirc-(en|de)code-coding-system local here.
21022 (rcirc-mode): Merge make-local-variable into `set'.
21023 (rcirc-parent-buffer): Make permanent buffer-local.
21024 (rcirc-multiline-minor-mode): Don't do it here.
21025 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21026 there's no server buffer.
21027
21028 2011-05-11 Glenn Morris <rgm@gnu.org>
21029
21030 * newcomment.el (comment-kill): Prefix "unused" local.
21031
21032 * term/w32console.el (get-screen-color): Declare.
21033
21034 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21035 Handle symbol elements of byte-compile-initial-macro-environment.
21036
21037 2011-05-10 Leo Liu <sdl.web@gmail.com>
21038
21039 * bookmark.el (bookmark-bmenu-mode-map):
21040 Bind bookmark-bmenu-search to `/'.
21041
21042 * mail/footnote.el: Convert to utf-8 encoding.
21043 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21044 (Footnote-unicode): New function.
21045 (footnote-style-alist): Add unicode style to the list.
21046 (footnote-style): Doc fix.
21047
21048 2011-05-10 Jim Meyering <meyering@redhat.com>
21049
21050 Fix doubled-word typos.
21051 * international/quail.el (quail-insert-kbd-layout): and and -> and
21052 * kermit.el: and and -> and
21053 * net/ldap.el (ldap-search-internal): to to -> to
21054 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21055 * progmodes/js.el (js-mode): and and -> and
21056 * textmodes/artist.el (artist-move-to-xy): at at -> at
21057 (artist-draw-region-trim-line-endings): if if -> if
21058 And Safetyc -> Safety.
21059 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21060
21061 2011-05-10 Glenn Morris <rgm@gnu.org>
21062 Stefan Monnier <monnier@iro.umontreal.ca>
21063
21064 * files.el (hack-one-local-variable-eval-safep):
21065 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21066
21067 2011-05-10 Glenn Morris <rgm@gnu.org>
21068
21069 * calendar/diary-lib.el (diary-list-entries-hook)
21070 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21071 (diary-nongregorian-marking-hook, diary-list-entries)
21072 (diary-include-other-diary-files, diary-mark-entries)
21073 (diary-mark-included-diary-files): Doc fixes.
21074
21075 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21076
21077 * misc.el: Require tabulated-list.el during compilation.
21078
21079 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21080
21081 * progmodes/compile.el (compilation-start):
21082 Run compilation-filter-hook for the async case too.
21083 (compilation-filter-hook): Doc fix.
21084
21085 2011-05-09 Deniz Dogan <deniz@dogan.se>
21086
21087 * wdired.el: Remove outdated installation comment. Fix usage
21088 comment.
21089
21090 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
21091
21092 * misc.el: Implement new command `list-dynamic-libraries'.
21093 (list-dynamic-libraries--loaded-only-p): New variable.
21094 (list-dynamic-libraries--refresh): New function.
21095 (list-dynamic-libraries): New command.
21096
21097 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21098
21099 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21100 Fix the ant regexp to handle end-line and end-column info from jikes.
21101 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21102 higher priority to avoid clobbering by gnu.
21103
21104 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21105
21106 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21107 if the face has existing theme settings (Bug#8454).
21108
21109 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21110
21111 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21112 Only match variables declared via `my' or `our' (Bug#8261).
21113
21114 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21115 special file names `.' and `..' (Bug#8259).
21116
21117 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
21118
21119 * progmodes/grep.el (grep-mode-font-lock-keywords):
21120 Remove buffer-changing entries.
21121 (grep-filter): New function.
21122 (grep-mode): Add it to compilation-filter-hook.
21123
21124 * progmodes/compile.el (compilation-filter-hook)
21125 (compilation-filter-start): New defvars.
21126 (compilation-filter): Call compilation-filter-hook prior to
21127 updating the process mark.
21128
21129 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21130
21131 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21132
21133 2011-05-07 Eli Zaretskii <eliz@gnu.org>
21134
21135 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21136 mailclient-send-it even if window-system is nil. (Bug#8595)
21137
21138 * term/w32console.el (terminal-init-w32console):
21139 Call get-screen-color and use its output to set the frame
21140 background-mode. (Bug#8597)
21141
21142 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21143
21144 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21145 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21146 New functions.
21147 (defgeneric, eieio--defmethod): Use them.
21148 (eieio-defgeneric): Remove.
21149 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21150
21151 2011-05-07 Glenn Morris <rgm@gnu.org>
21152
21153 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21154 Use let rather than let*.
21155 (timeclock-find-discrep): Remove unused local.
21156
21157 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21158
21159 * calendar/appt.el (appt-time-msg-list): Doc fix.
21160
21161 2011-05-06 Noah Friedman <friedman@splode.com>
21162
21163 * apropos.el (apropos-print-doc): Only use
21164 emacs-lisp-docstring-fill-column when it is bound to an integer,
21165 per that variable's documentation.
21166
21167 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21168
21169 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21170 and warnings are not silently discarded (e.g. use -d instead of -P).
21171
21172 2011-05-06 Glenn Morris <rgm@gnu.org>
21173
21174 * calendar/appt.el (appt-message-warning-time): Doc fix.
21175 (appt-warning-time-regexp): New option.
21176 (appt-make-list): Respect appt-message-warning-time.
21177
21178 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21179 New options.
21180 (diary-add-to-list): Strip comments from the displayed string.
21181 (diary-mode): Set comment-start and comment-end.
21182
21183 * vc/diff-mode.el (smerge-refine-subst): Declare.
21184 (diff-refine-hunk): Don't require smerge-mode when compiling.
21185
21186 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
21187
21188 * simple.el (list-processes): Return nil as the docstring says.
21189
21190 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21191
21192 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21193 to "".
21194 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21195 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21196 determining of binary transfer. (Bug#7383)
21197
21198 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21199
21200 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21201 Fix port computation bug. (Bug#8618)
21202
21203 2011-05-05 Glenn Morris <rgm@gnu.org>
21204
21205 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21206
21207 * simple.el (shell-dynamic-complete-functions)
21208 (comint-dynamic-complete-functions): Declare.
21209
21210 * net/network-stream.el (gnutls-negotiate):
21211 * simple.el (tabulated-list-print): Fix declarations.
21212
21213 * progmodes/gud.el (syntax-symbol, syntax-point):
21214 Remove unnecessary and incorrect declarations.
21215
21216 * emacs-lisp/check-declare.el (check-declare-scan):
21217 Handle byte-compile-initial-macro-environment in bytecomp.el.
21218
21219 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21220
21221 Fix earlier half-done eieio-defmethod change (bug#8338).
21222 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21223 Streamline and change calling convention.
21224 (defmethod): Adjust accordingly and simplify.
21225 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21226 new eieio--defmethod.
21227 (slot-boundp): Minor CSE simplification.
21228
21229 2011-05-05 Milan Zamazal <pdm@zamazal.org>
21230
21231 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21232 (glasses-make-readable): Use glasses-separate-capital-groups.
21233
21234 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
21235
21236 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21237 (warning-series): Doc fix.
21238 (display-warning): Don't try to create the buffer if we just found it.
21239
21240 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
21241
21242 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21243 (autoload-find-generated-file): New function.
21244 (generate-file-autoloads): Bind generated-autoload-file to
21245 buffer-file-name.
21246 (update-file-autoloads, update-directory-autoloads):
21247 Use autoload-find-generated-file. If called interactively, prompt for
21248 output file (Bug#7989).
21249 (batch-update-autoloads): Doc fix.
21250
21251 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
21252
21253 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21254
21255 2011-05-04 Glenn Morris <rgm@gnu.org>
21256
21257 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21258 function, so it follows changes in calendar-date-style.
21259 (diary-fancy-date-matcher): New function.
21260 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21261 (diary-fancy-font-lock-fontify-region-function):
21262 Use diary-fancy-date-pattern as a function.
21263
21264 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21265 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21266
21267 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21268
21269 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21270 instead of positional arguments. Allow :keylist and :crlfiles
21271 arguments.
21272 (open-gnutls-stream): Call it.
21273
21274 * net/network-stream.el (network-stream-open-starttls): Adjust to
21275 call `gnutls-negotiate' with :process and :hostname arguments.
21276
21277 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21278
21279 * minibuffer.el (completion--message): New function.
21280 (completion--do-completion, minibuffer-complete)
21281 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21282 (completion--do-completion): Don't ignore completion-auto-help when in
21283 icomplete-mode.
21284
21285 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21286 internal encoding (e.g. tibetan zero is not whitespace).
21287 (global-whitespace-mode): Prefer save-current-buffer.
21288 (whitespace-trailing-regexp): Remove useless save-match-data.
21289 (whitespace-empty-at-bob-regexp): Minor simplification.
21290
21291 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
21292
21293 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21294
21295 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21296
21297 * textmodes/ispell.el (ispell-add-per-file-word-list):
21298 Use `concat' to create string for insertion.
21299
21300 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21301
21302 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21303 Avoid open-line which runs post-self-insert-hook.
21304 (bibtex-fill-entry): Remove unused `end' var.
21305
21306 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21307
21308 * textmodes/ispell.el (ispell-add-per-file-word-list):
21309 Protect against `nil' value of `comment-start' (Bug#8579).
21310
21311 2011-05-03 Leo Liu <sdl.web@gmail.com>
21312
21313 * isearch.el (isearch-yank-pop): New command.
21314 (isearch-mode-map): Bind it to `M-y'.
21315 (isearch-forward): Mention it.
21316
21317 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21318
21319 * simple.el (minibuffer-complete-shell-command): Remove.
21320 (minibuffer-local-shell-command-map): Use completion-at-point.
21321 (read-shell-command): Setup completion vars here instead.
21322 (read-expression-map): Bind TAB to symbol completion.
21323
21324 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21325 error directly rather via storing it into `results'.
21326
21327 2011-05-02 Leo Liu <sdl.web@gmail.com>
21328
21329 * vc/diff.el: Fix description.
21330
21331 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21332
21333 * server.el (server-eval-at): New function.
21334
21335 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21336
21337 * net/network-stream.el (open-network-stream): Take a :nowait
21338 parameter and pass it on to `make-network-process'.
21339 (network-stream-open-plain): Ditto.
21340
21341 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21342
21343 * faces.el (face-spec-set-match-display): Don't match toolkit
21344 options on terminal frames.
21345
21346 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21347
21348 * progmodes/pascal.el: Use lexical binding.
21349 (pascal-mode-map): Remove author preferences.
21350
21351 * pcomplete.el (pcomplete-std-complete): Don't abuse
21352 completion-at-point.
21353
21354 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21355
21356 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21357 removing code that has been dead since 1991 or so.
21358
21359 * startup.el (command-line): When warning about "_emacs", use a
21360 delayed warning to allow the user to filter it out.
21361
21362 2011-04-28 Deniz Dogan <deniz@dogan.se>
21363
21364 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21365 user has not joined.
21366
21367 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21368
21369 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21370 aren't any completions at point.
21371
21372 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21373
21374 * subr.el (display-delayed-warnings): New function.
21375 (delayed-warnings-hook): New variable.
21376
21377 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21378
21379 * minibuffer.el (completion-at-point, completion-help-at-point):
21380 Don't presume that a given completion-at-point-function will always
21381 use the same calling convention.
21382
21383 * pcomplete.el (pcomplete-completions-at-point):
21384 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21385 pcomplete-seen is non-nil.
21386 (pcomplete-comint-setup): Also recognize the new comint/shell
21387 completion functions.
21388 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21389 pcomplete-seen is non-nil.
21390
21391 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
21392
21393 * calendar/icalendar.el (diary-lib): Add require statement.
21394 (icalendar--create-uid): Read out a uid from a text-property on
21395 the first character in the entry. This allows for code to add its
21396 own uid to the entry.
21397 (icalendar--convert-float-to-ical): Add export of
21398 `diary-float'-entries save for those with the optional DAY
21399 argument.
21400
21401 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21402
21403 * subr.el (shell-quote-argument): Use alternate escaping strategy
21404 when we spot a variable reference in a string.
21405
21406 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21407
21408 * cus-start.el (all): Define customization for debug-on-event.
21409
21410 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21411
21412 * subr.el (shell-quote-argument): Escape correctly under Windows.
21413
21414 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21415
21416 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21417
21418 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
21419
21420 * net/tramp.el (tramp-process-actions): Add POS argument.
21421 Delete region between POS and (pos).
21422
21423 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21424 Use `nil' position in `tramp-process-actions' call.
21425 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21426
21427 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21428 position in `tramp-process-actions' call.
21429
21430 * net/trampver.el: Update release number.
21431
21432 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21433
21434 * custom.el (defcustom): Obey lexical-binding.
21435
21436 Fix octave-inf completion problems reported by Alexander Klimov.
21437 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21438 Inherit from octave-mode-syntax-table.
21439 (inferior-octave-mode): Set info-lookup-mode.
21440 (inferior-octave-completion-at-point): New function.
21441 (inferior-octave-complete): Use it and completion-in-region.
21442 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21443 comint-filename-completion.
21444 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21445 symbol elements which shouldn't be word elements.
21446 (octave-font-lock-keywords, octave-beginning-of-defun)
21447 (octave-function-header-regexp): Adjust regexps accordingly.
21448 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21449
21450 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
21451
21452 * net/gnutls.el (gnutls-errorp): Declare before first use.
21453
21454 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21455
21456 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21457 verify-error, and verify-hostname-error parameters. Check whether
21458 default trustfile exists before going to use it. Add missing
21459 argument to gnutls-message-maybe call. Return value.
21460 Reported by Claudio Bley <claudio.bley@gmail.com>.
21461 (open-gnutls-stream): Add usage example.
21462
21463 * net/network-stream.el (network-stream-open-starttls): Give host
21464 parameter to `gnutls-negotiate'.
21465 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21466 * subr.el (shell-quote-argument): Escape correctly under Windows.
21467
21468 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
21469
21470 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21471 Use correct match group (bug#8438).
21472
21473 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21474
21475 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21476 (package-menu--generate): New arg specifying packages to show.
21477 (package-menu-refresh, package-menu-execute, list-packages):
21478 Callers changed.
21479 (package-show-package-list): New function, replacing deleted
21480 package--list-packages (renamed because it is non-internal).
21481
21482 * finder.el (finder-list-matches): Use package-show-package-list
21483 instead of deleted package--list-packages.
21484
21485 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21486 Based on a previous implementation by Juanma Barranquero (Bug#8366).
21487 (vc-annotate-mode-map): Bind it to RET.
21488
21489 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21490
21491 * progmodes/etags.el (next-file): Don't use set-buffer to change
21492 buffers (Bug#8478).
21493
21494 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21495
21496 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21497
21498 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21499 (apropos-accumulator): Doc fix.
21500 (apropos-function, apropos-macro, apropos-command)
21501 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21502 (apropos-plist): Add face property.
21503 (apropos-symbols-internal): Fix indentation.
21504 (apropos-print): Simplify help, and recognize apropos-multi-type.
21505 (apropos-print-doc): Use button-type-get to extract the button's
21506 face property. Fill docstring (Bug#8352).
21507
21508 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
21509
21510 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21511
21512 * play/mpuz.el (mpuz-silent): Doc fix.
21513 (mpuz-mode-map): Use mapc.
21514 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21515 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21516 Fix typos in docstrings.
21517
21518 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21519 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21520
21521 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21522
21523 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
21524
21525 * minibuffer.el (completion--do-completion): Avoid the "Next char
21526 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21527
21528 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21529 mouse-2 into unread-command-events, it is interpreted correctly.
21530
21531 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21532 (image-toggle-display): Doc fix.
21533
21534 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
21535
21536 * textmodes/page.el (what-page): Use line-number-at-pos to
21537 calculate line number (Bug#6825).
21538
21539 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21540
21541 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21542 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21543 Pass argument NO-DEFAULT to `find-tag-interactive'.
21544
21545 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21546
21547 Lexical-binding cleanup.
21548
21549 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21550 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21551 * progmodes/ada-prj.el (ada-prj-initialize-values)
21552 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21553 (ada-prj-show-value):
21554 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21555 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21556 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21557 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21558 * progmodes/bug-reference.el (bug-reference-push-button):
21559 * progmodes/fortran.el (fortran-line-length):
21560 * progmodes/glasses.el (glasses-change):
21561 * progmodes/octave-mod.el (octave-fill-paragraph):
21562 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21563 (python-pdbtrack-grub-for-buffer, python-sentinel):
21564 * progmodes/sql.el (sql-save-connection):
21565 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21566 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21567 Mark unused parameters.
21568
21569 * progmodes/compile.el (compilation--flush-directory-cache)
21570 (compilation--flush-parse, compile-internal): Mark unused parameters.
21571 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21572 (compilation-next-error-function): Remove unused variable `timestamp'.
21573
21574 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21575 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21576
21577 * progmodes/dcl-mode.el (dcl-end-of-command):
21578 Remove unused variable `start'.
21579 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21580 (dcl-option-value-basic, dcl-option-value-offset)
21581 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21582 Mark unused parameters.
21583 (dcl-save-local-variable): Remove unused variable `val'.
21584 (mode): Declare.
21585
21586 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21587 Mark unused parameters.
21588 (delphi-ignore-changes): Move before first use.
21589 (delphi-charset-token-at): Remove unused variable `start'.
21590 (delphi-else-start): Remove unused variable `if-count'.
21591 (delphi-comment-block-start, delphi-comment-block-end):
21592 Remove unused variable `kind'.
21593 (delphi-indent-line): Remove unused variable `new-point'.
21594
21595 * progmodes/ebrowse.el (ebrowse-files-list)
21596 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21597 Mark unused parameters. Don't quote `lambda'.
21598 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21599 Don't quote `lambda'.
21600 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21601 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21602 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21603 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21604 Use `ignore-errors'.
21605 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21606 (ebrowse-view/find-file-and-search-pattern)
21607 (ebrowse-view/find-member-declaration/definition):
21608 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21609 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21610 Rename parameter PREFIX-ARG to PREFIX.
21611 (ebrowse-tags-read-name): Remove unused variables `start' and
21612 `member-info'.
21613 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21614 to `tags-file'.
21615
21616 * progmodes/etags.el (local-find-tag-hook): Declare.
21617 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21618 Mark unused parameters.
21619
21620 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21621 (executable-interpret): Mark unused parameter.
21622
21623 * progmodes/flymake.el (flymake-process-sentinel)
21624 (flymake-after-change-function)
21625 (flymake-create-temp-with-folder-structure)
21626 (flymake-get-include-dirs-dot): Mark unused parameters.
21627 (flymake-safe-delete-directory): Remove unused variable `err'.
21628
21629 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21630 (speedbar-timer-fn, speedbar-line-text)
21631 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21632 (speedbar-center-buffer-smartly): Declare functions.
21633 (gdb-find-watch-expression): Remove unused variable `array'.
21634 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21635 (gdb-starting): Mark unused parameters.
21636 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21637 (gdb-table-string): Remove unused variable `res'.
21638 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21639 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21640 (gdb-display-buffer): Remove unused variable `cur-size'.
21641
21642 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21643 allow lexical-binding compilation.
21644 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21645 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21646 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21647 Mark unused parameters.
21648 (gud-gdb-marker-filter): Remove unused variable `match'.
21649 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21650 lambda expressions and funcall them, instead of using `fset'.
21651
21652 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21653 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21654
21655 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21656 variable `header-beg'; use `let'.
21657
21658 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21659 `restart', `last-sexp' and `at-do'.
21660
21661 * progmodes/js.el (js--debug): Mark unused parameter.
21662 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21663 (js--splice-into-items): Remove unused variable `item'.
21664 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21665
21666 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21667 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21668 (makefile-complete): Remove unused variable `try'.
21669 (makefile-fill-paragraph, makefile-match-function-end):
21670 Mark unused parameters.
21671
21672 * progmodes/octave-inf.el (inferior-octave-complete):
21673 Remove unused variable `proc'.
21674 (inferior-octave-output-digest): Mark unused parameter.
21675
21676 * progmodes/perl-mode.el (perl-calculate-indent):
21677 Remove unused variable `err'.
21678
21679 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21680 (prolog-indent-line): Mark unused parameters.
21681 (prolog-indent-line): Remove unused variable `beg'.
21682
21683 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21684 (reporter-dont-compact-list): Declare.
21685
21686 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21687 Remove unused variable `char'.
21688 (sh-debug): Mark unused parameter.
21689 (sh-get-indent-info): Remove unused variable `start'.
21690 (sh-calculate-indent): Remove unused variable `var'.
21691
21692 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21693 (simula-electric-keyword): Remove unused variable `null'.
21694 (simula-search-backward, simula-search-forward): Remove unused
21695 variables `begin' and `end'.
21696
21697 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21698 Remove unused variable `pos'.
21699 (vera-electric-tab, vera-comment-uncomment-region):
21700 Mark unused parameters.
21701 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21702
21703 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21704
21705 * emacs-lisp/package.el (package--builtins, package-alist)
21706 (package-load-descriptor, package-built-in-p, package-activate)
21707 (define-package, package-installed-p)
21708 (package-compute-transaction, package-buffer-info)
21709 (package--push): Doc fix. Distinguish more clearly between
21710 version strings and version lists.
21711
21712 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21713
21714 Lexical-binding cleanup.
21715
21716 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21717 (5x5-make-mutate-best):
21718 * play/fortune.el (fortune-in-buffer):
21719 * play/gomoku.el (gomoku-init-display):
21720 * play/solitaire.el (solitaire, solitaire-do-check):
21721 * play/tetris.el (tetris-default-update-speed-function):
21722 Mark unused parameters.
21723
21724 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21725 (bubbles--shift): Remove unused variable `char-org'.
21726 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21727 (bubbles--show-images): Remove unused variable `char'.
21728
21729 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21730 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21731 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21732 (decipher-analyze-buffer): Use ?\s.
21733 (decipher-make-checkpoint): Remove unused variable `mapping'.
21734
21735 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21736
21737 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21738 Remove unused variable `result'; use `let'.
21739
21740 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21741 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21742 (gametree-children-shown-p, gametree-compute-reduced-score):
21743 Use `ignore-errors'.
21744
21745 * play/handwrite.el (ps-lpr-switches): Declare.
21746 (handwrite): Remove unused variables `pmin' and `lastp'.
21747
21748 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21749
21750 * play/landmark.el (landmark-init-display)
21751 (landmark-update-naught-weights): Mark unused parameters.
21752 (landmark-y): Remove unused variable `noise'. Simplify.
21753 (landmark-human-plays): Remove unused variable `score'.
21754
21755 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21756 (mpuz-try-proposal): Remove unused variable `game'.
21757
21758 * play/zone.el (life-patterns): Declare.
21759
21760 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21761
21762 * vc/vc.el (ediff-vc-internal): Declare function.
21763
21764 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21765
21766 * shell.el: Use lexical-binding and std completion UI.
21767 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21768 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21769 comint-preoutput-filter-functions rather than on
21770 comint-output-filter-functions.
21771 (shell-command-completion, shell--command-completion-data)
21772 (shell-filename-completion, shell-environment-variable-completion)
21773 (shell-c-a-p-replace-by-expanded-directory): New functions.
21774 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21775 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21776 (shell-dynamic-complete-environment-variable): Use them.
21777 (shell-dynamic-complete-as-environment-variable)
21778 (shell-dynamic-complete-as-command): Remove.
21779 (shell-match-partial-variable): Match past point.
21780 * comint.el: Clean up use of completion-at-point-functions.
21781 (comint-completion-at-point): New function.
21782 (comint-mode): Use it completion-at-point-functions.
21783 (comint-dynamic-complete): Make it obsolete.
21784 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21785 (comint-c-a-p-replace-by-expanded-history): New function.
21786 (comint-dynamic-complete-functions)
21787 (comint-replace-by-expanded-history): Use it.
21788 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21789 termination strings. Try harder to avoid second try-completion.
21790 (completion-in-region-mode-map): Disable bindings that don't work yet.
21791
21792 * comint.el: Use lexical-binding. Require CL.
21793 (comint-dynamic-complete-functions): Use comint-filename-completion.
21794 (comint-completion-addsuffix): Tweak custom type.
21795 (comint-filename-completion, comint--common-suffix)
21796 (comint--common-quoted-suffix, comint--table-subvert)
21797 (comint--complete-file-name-data): New functions.
21798 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21799 (comint-dynamic-list-filename-completions): Use them.
21800 (comint-dynamic-simple-complete): Make obsolete.
21801
21802 * minibuffer.el (completion-in-region-mode):
21803 Keep completion-in-region-mode--predicate global.
21804 (completion-in-region--postch):
21805 Assume completion-in-region-mode--predicate is not null.
21806
21807 * progmodes/flymake.el (flymake-start-syntax-check-process):
21808 Obey `dir'. Simplify.
21809
21810 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21811 we're in VC after all.
21812
21813 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21814
21815 * vc/vc.el (vc-diff-build-argument-list-internal)
21816 (vc-version-ediff, vc-ediff): New commands.
21817 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21818
21819 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21820
21821 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21822 add sanity check.
21823
21824 * obsolete/erc-hecomplete.el: Make obsolete.
21825 * obsolete/: Standardize obsolescence info in the header.
21826
21827 2011-04-20 Glenn Morris <rgm@gnu.org>
21828
21829 * calendar/solar.el (solar-horizontal-coordinates):
21830 Use the longitude argument rather than `calendar-longitude'.
21831 (solar-date-next-longitude): Remove unused locals.
21832
21833 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21834
21835 * whitespace.el: New version 13.2.1.
21836
21837 2011-04-20 felix <EmacsWiki> (tiny change)
21838
21839 * whitespace.el (global-whitespace-mode): Keep highlight when
21840 switching between major modes on a file.
21841
21842 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21843
21844 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21845 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21846 multi-line comments as well.
21847
21848 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21849
21850 Lexical-binding cleanup.
21851
21852 * arc-mode.el (archive-mode-revert):
21853 * cmuscheme.el (scheme-interactively-start-process):
21854 * custom.el (custom-initialize-delay):
21855 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21856 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21857 * emacs-lock.el (emacs-lock-clear-sentinel):
21858 * ezimage.el (defezimage):
21859 * follow.el (follow-avoid-tail-recenter):
21860 * fringe.el (set-fringe-mode-1):
21861 * generic-x.el (bat-generic-mode-compile):
21862 * help-mode.el (help-info-variable, help-do-xref)
21863 (help-mode-revert-buffer):
21864 * help.el (view-emacs-todo):
21865 * iswitchb.el (iswitchb-completion-help):
21866 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21867 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21868 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21869 * locate.el (locate-update):
21870 * longlines.el (longlines-encode-region)
21871 (longlines-after-change-function):
21872 * outline.el (outline-isearch-open-invisible):
21873 * ps-def.el (declare-function, charset-dimension, char-width)
21874 (encode-char):
21875 * ps-mule.el (ps-mule-plot-string):
21876 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21877 (recentf-edit-list-select, recentf-edit-list-validate)
21878 (recentf-open-files-action):
21879 * rect.el (delete-whitespace-rectangle-line)
21880 (rectangle-number-line-callback):
21881 * register.el (window-configuration-to-register)
21882 (frame-configuration-to-register):
21883 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21884 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21885 (xselect-convert-to-targets, xselect-convert-to-delete)
21886 (xselect-convert-to-filename, xselect-convert-to-charpos)
21887 (xselect-convert-to-lineno, xselect-convert-to-colno)
21888 (xselect-convert-to-os, xselect-convert-to-host)
21889 (xselect-convert-to-user, xselect-convert-to-class)
21890 (xselect-convert-to-name, xselect-convert-to-integer)
21891 (xselect-convert-to-atom, xselect-convert-to-identity):
21892 * subr.el (declare, ignore, process-kill-without-query)
21893 (text-clone-maintain):
21894 * terminal.el (te-get-char, te-tic-sentinel):
21895 * tool-bar.el (tool-bar-make-keymap):
21896 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21897 * type-break.el (type-break-mode, type-break-noninteractive-query):
21898 * view.el (View-back-to-mark):
21899 * wid-browse.el (widget-browse-action, widget-browse-widget)
21900 (widget-browse-widgets, widget-browse-sexp):
21901 * widget.el (define-widget-keywords):
21902 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21903 Mark unused parameters.
21904
21905 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21906 (align-areas): Remove unused variable `look'.
21907 (align-region): Remove unused variables `real-end' and `pos-list'.
21908
21909 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21910
21911 * bindings.el (mode-line-modified, mode-line-remote):
21912 Mark unused parameters.
21913 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21914
21915 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21916 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21917
21918 * comint.el (comint-history-isearch-pop-state)
21919 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21920 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21921 (comint-substitute-in-file-name): Doc fix.
21922
21923 * completion.el (cmpl-statistics-block): Mark unused parameter.
21924 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21925 (save-completions-to-file, load-completions-from-file):
21926 Remove unused local variable `e'.
21927
21928 * composite.el (compose-chars): Remove unused variable `len'.
21929 (lgstring-insert-glyph): Remove unused variable `g'.
21930 (compose-glyph-string): Remove unused variables `ascent',
21931 `descent', `lbearing' and `rbearing'.
21932 (compose-glyph-string-relative): Remove unused variables
21933 `lbearing', `rbearing' and `wadjust'.
21934 (compose-gstring-for-graphic): Remove unused variables `header',
21935 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21936 (compose-gstring-for-terminal): Remove unused variables `header'
21937 and `nchars'. Use `let', not `let*'.
21938
21939 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21940 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21941 (Custom-buffer-done, custom-buffer-create-internal)
21942 (custom-browse-visibility-action, custom-browse-group-tag-action)
21943 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21944 (widget-magic-mouse-down-action, custom-toggle-parent)
21945 (custom-add-parent-links, custom-toggle-hide-variable)
21946 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21947 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21948 (custom-face-menu-create, custom-variable-menu-create, get)
21949 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21950 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21951 (customize-apropos): Remove unused variable `tests'.
21952 (custom-group-value-create): Remove unused variable `hidden-p'.
21953 (sort-fold-case): Declare.
21954
21955 * cus-theme.el (custom-reset-standard-faces-list)
21956 (custom-reset-standard-variables-list): Declare.
21957 (customize-create-theme, custom-theme-revert, custom-theme-write)
21958 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21959 Mark unused parameters.
21960
21961 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21962
21963 * delim-col.el (delimit-columns-max): Move defvar before first use.
21964
21965 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21966 (describe-char): Don't quote `lambda'. Mark unused parameter.
21967
21968 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21969 (auto-insert): Declare.
21970 (desktop-restore-file-buffer): Rename desktop-* parameters;
21971 mark unused ones.
21972 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21973 (desktop-buffer): Rename desktop-* parameters.
21974
21975 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21976 (dframe-reposition-frame-xemacs, dframe-help-echo)
21977 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21978 Mark unused parameters.
21979
21980 * dired-aux.el (backup-extract-version-start, overwrite-query)
21981 (overwrite-backup-query, rename-regexp-query)
21982 (rename-non-directory-query): Declare.
21983 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21984 (dired-add-entry): Remove unused variable `orig-file-name'.
21985 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21986 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21987 `dired-copy-preserve-time' directly.
21988 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21989 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21990
21991 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21992 (dired-virtual-revert, dired-make-relative-symlink):
21993 Mark unused parameters.
21994 (manual-program): Declare.
21995 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21996 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21997 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21998
21999 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22000
22001 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22002
22003 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22004 Declare.
22005
22006 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22007
22008 * electric.el (Electric-command-loop): Rename parameter
22009 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22010
22011 * expand.el (expand-in-literal): Remove unused variable `here'.
22012
22013 * facemenu.el (facemenu-add-new-color):
22014 Remove unused variable `docstring'.
22015
22016 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22017 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22018 (face-attr-construct): Mark unused parameter. Doc fix.
22019 (read-color): Remove unused variable `hex-string'.
22020
22021 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22022 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22023 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22024 (display-buffer-other-frame): Remove unused variable `old-window'.
22025 (kill-buffer-hook): Declare.
22026 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22027 Mark unused parameters.
22028 (after-find-file): Pass 1 to `auto-save-mode', not t.
22029
22030 * files-x.el (auto-insert): Declare.
22031 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22032
22033 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
22034 variable `buf'. Mark unused parameter.
22035 (find-lisp-insert-directory): Mark unused parameter.
22036
22037 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22038 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22039 (format-common-tail): Remove, unused.
22040 (format-deannotate-region): Remove unused variable `loc'.
22041 (format-annotate-region): Remove unused variable `p'.
22042 (format-annotate-single-property-change): Remove unused variables
22043 `default' and `tail'.
22044
22045 * forms.el (read-file-filter): Declare.
22046 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22047
22048 * frame.el (frame-creation-function-alist): Mark unused parameter.
22049 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22050
22051 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22052 Remove unused parameters.
22053 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22054 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22055
22056 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22057 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22058 (hfy-prepare-tag-map): Mark unused parameters.
22059 (htmlfontify-buffer): Use `called-interactively-p'.
22060
22061 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22062 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22063 (ibuffer-do-occur): Mark unused parameters.
22064 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22065 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22066
22067 * ibuffer.el: Don't quote `lambda'.
22068 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22069 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22070 Mark unused parameters.
22071
22072 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22073 (ido-completing-read): Mark unused parameters.
22074 (ido-copy-current-word): Mark unused parameters;
22075 remove unused variable `name'.
22076 (ido-sort-merged-list): Remove unused parameter `dirs'.
22077
22078 * ielm.el (ielm-input-sender): Mark unused parameter.
22079 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22080 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22081 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22082 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22083 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22084
22085 * image-dired.el (image-dired-display-thumbs): Remove unused
22086 variables `curr-file' and `count'.
22087 (image-dired-remove-tag): Remove unused variable `start'.
22088 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22089 variable `curr-file'
22090 (image-dired-rotate-original): Remove unused variable `temp-file'.
22091 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22092 Remove unused variable `file'.
22093 (image-dired-gallery-generate): Remove unused variable `curr'.
22094 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22095
22096 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22097
22098 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22099
22100 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22101
22102 * isearch.el (minibuffer-history-symbol): Declare.
22103 (isearch-edit-string): Remove unused variable `err'.
22104 (isearch-message-prefix, isearch-message-suffix):
22105 Mark unused parameters.
22106
22107 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22108
22109 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22110
22111 * makesum.el (double-column): Remove unused variable `cnt'.
22112
22113 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22114 (ido-ignore-item-temp-list): Declare.
22115
22116 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22117 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22118 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22119 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22120 `mouse-col-delta'.
22121
22122 * mouse-sel.el (mouse-extend-internal):
22123 Remove unused variable `orig-window-frame'.
22124
22125 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22126 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22127 Move declarations before first use.
22128 (pcomplete-opt): Mark unused parameters; doc fix.
22129
22130 * proced.el (proced-revert): Mark unused parameter.
22131 (proced-send-signal): Remove unused variable `err'.
22132
22133 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22134 Rename parameter PREFIX-ARG to ARG.
22135 (ps-basic-plot-string, ps-basic-plot-whitespace):
22136 Mark unused parameters.
22137
22138 * replace.el (replace-count): Define.
22139 (occur-revert-function): Mark unused parameters.
22140 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22141 (isearch-case-fold-search, isearch-string): Declare.
22142 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22143 bind `case-fold-search'. Remove unused variables `beg' and `end',
22144 and simplify.
22145 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22146 COUNT and bind `replace-count'.
22147 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22148 to COUNT.
22149
22150 * savehist.el (print-readably, print-string-length): Declare.
22151
22152 * shadowfile.el (shadow-expand-cluster-in-file-name):
22153 Remove unused variable `cluster'.
22154 (shadow-copy-file): Remove unused variable `i'.
22155 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22156 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22157 (shadow-define-literal-group, shadow-define-regexp-group)
22158 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22159
22160 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22161 (shell): Use `called-interactively-p'.
22162 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22163
22164 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22165 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22166 (delete-backward-char): Remove unused variable `ocol'.
22167 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22168 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22169 (event-apply-hyper-modifier, event-apply-shift-modifier)
22170 (event-apply-control-modifier, event-apply-meta-modifier):
22171 Mark unused parameters.
22172 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22173 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22174
22175 * speedbar.el (speedbar-ignored-directory-expressions)
22176 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22177 (speedbar-find-file, speedbar-dir-follow)
22178 (speedbar-directory-buttons-follow, speedbar-tag-find)
22179 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22180 (speedbar-buffers-line-directory, speedbar-buffer-click):
22181 Mark unused parameters.
22182 (speedbar-tag-file): Remove unused variable `mode'.
22183 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22184
22185 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22186
22187 * talk.el (talk): Remove unused variable `display'.
22188
22189 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22190 (tar-write-region-annotate): Mark unused parameter.
22191
22192 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22193 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22194 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22195 warning by another.
22196
22197 * time-stamp.el (time-stamp-string-preprocess):
22198 Remove unused variable `require-padding'.
22199
22200 * tree-widget.el (widget-glyph-enable): Declare.
22201 (tree-widget-action): Mark unused parameter.
22202
22203 * w32-fns.el (x-get-selection): Mark unused parameter.
22204 (autoload-make-program, generated-autoload-file): Declare.
22205
22206 * wdired.el (wdired-revert): Mark unused parameters.
22207 (wdired-xcase-word): Remove unused variable `err'.
22208
22209 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22210 (whitespace-help-scroll): Remove unused variable `data-help'.
22211
22212 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22213 (widget-image-insert, widget-after-change, default)
22214 (widget-default-format-handler, widget-default-notify)
22215 (widget-default-prompt-value, widget-info-link-action)
22216 (widget-url-link-action, widget-function-link-action)
22217 (widget-variable-link-action, widget-file-link-action)
22218 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22219 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22220 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22221 (widget-insert-button-action, widget-delete-button-action, visibility)
22222 (widget-documentation-link-action, widget-documentation-string-action)
22223 (widget-const-prompt-value, widget-regexp-match, symbol)
22224 (widget-coding-system-prompt-value)
22225 (widget-key-sequence-value-to-external, sexp)
22226 (widget-sexp-value-to-internal, character, vector, cons)
22227 (widget-choice-prompt-value, widget-boolean-prompt-value)
22228 (widget-color--choose-action): Mark unused parameters.
22229 (widget-item-match-inline, widget-choice-match-inline)
22230 (widget-checklist-match, widget-checklist-match-inline)
22231 (widget-group-match): Rename parameter VALUES to VALS.
22232 (widget-field-value-set): Remove unused variable `size'.
22233 (widget-color-action): Remove unused variables `value' and `start'.
22234
22235 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22236 variable `dir'. Doc fix.
22237 (windmove-find-other-window): Don't pass it.
22238
22239 * window.el (count-windows): Mark unused parameter.
22240 (bw-adjust-window): Remove unused variable `err'.
22241
22242 * woman.el (woman-file-name): Remove unused variable `default'.
22243 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22244 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22245 (global-font-lock-mode): Declare.
22246 (woman-decode-region): Mark unused parameter.
22247 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22248
22249 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22250 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22251 (x-dnd-handle-moz-url): Remove unused variable `title'.
22252 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22253
22254 * xml.el (xml-parse-tag, xml-parse-attlist):
22255 Remove unused variable `pos'.
22256
22257 2011-04-19 Glenn Morris <rgm@gnu.org>
22258
22259 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22260 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22261 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22262 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22263 * calendar/cal-html.el (cal-html-insert-minical):
22264 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22265 (calendar-mark-date-pattern):
22266 Prefix "unused" locals.
22267
22268 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22269 optional argument `style'.
22270
22271 * calendar/appt.el (appt-make-list):
22272 * calendar/cal-china.el (calendar-chinese-date-string):
22273 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22274 (diary-hebrew-yahrzeit):
22275 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22276 * calendar/calendar.el (calendar-generate-window):
22277 * calendar/time-date.el (time-to-days):
22278 Remove unused local variables.
22279
22280 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
22281
22282 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22283 glyphless-char-display table.
22284 (tabulated-list-glyphless-char-display): New var.
22285
22286 2011-04-18 Sam Steingold <sds@gnu.org>
22287
22288 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22289 to acknowledgments.
22290
22291 2011-04-17 Glenn Morris <rgm@gnu.org>
22292
22293 * calendar/diary-lib.el (diary-sexp-entry):
22294 * calendar/holidays.el (holiday-sexp):
22295 Set debug-on-error rather than the removed stack-trace-on-error.
22296
22297 2011-04-16 Glenn Morris <rgm@gnu.org>
22298
22299 * progmodes/f90.el: Use lexical-binding.
22300 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22301
22302 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22303
22304 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22305 (mail-mode): Setup mailalias completion here instead.
22306 * mail/mailalias.el: Use lexical-binding.
22307 (pattern, mailalias-done): Declare dynamic.
22308 (mail-completion-at-point-function): New function, from mail-complete.
22309 (mail-complete): Use it.
22310 (mail-completion-expand): New function.
22311 (mail-get-names): Use it.
22312 (mail-directory, mail-directory-process, mail-directory-stream):
22313 Don't use `pattern' for lexically bound arg.
22314
22315 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22316
22317 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22318 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22319 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22320
22321 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22322 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22323 (byte-interactive-p): Define them again, for use when inlining
22324 old code.
22325
22326 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
22327
22328 * loadup.el: Use `string-to-number', not `string-to-int'.
22329
22330 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22331
22332 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22333 gud-gdb-complete-command.
22334 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22335 (gud-gdb-completion-at-point): New function.
22336 (gud-gdb-completions): Remove.
22337
22338 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
22339
22340 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22341 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22342 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22343 whether `executable-find' is bound.
22344
22345 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22346
22347 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22348
22349 * minibuffer.el (completion-in-region-mode-predicate)
22350 (completion-in-region-mode--predicate): New vars.
22351 (completion-in-region, completion-in-region--postch)
22352 (completion-in-region-mode): Use them.
22353 (completion--capf-wrapper): Also return the hook function.
22354 (completion-at-point, completion-help-at-point):
22355 Adjust and provide a predicate.
22356
22357 Preserve arg names for advice of subr and lexical functions (bug#8457).
22358 * help-fns.el (help-function-arglist): Consolidate the subr and
22359 new-byte-code cases. Add argument `preserve-names' to extract names
22360 from the docstring when needed.
22361 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22362 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22363 (ad-arglist): Use help-function-arglist's new arg.
22364 (ad-definition-type): Use cond.
22365
22366 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
22367
22368 * autorevert.el (auto-revert-handler):
22369 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22370 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22371 Don't quote lambda.
22372
22373 * image-mode.el (image-transform-set-scale):
22374 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22375
22376 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22377
22378 * net/network-stream.el (network-stream-open-starttls): Only do
22379 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22380 Upgrades via gnutls-cli are too slow to be done opportunistically.
22381
22382 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
22383
22384 * dframe.el (dframe-current-frame): Remove spurious quote.
22385
22386 2011-04-12 Glenn Morris <rgm@gnu.org>
22387
22388 * calendar/cal-tex.el (cal-tex-end-document):
22389 Try to automatically use latin1 input if needed.
22390
22391 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22392 Don't try to cons a mark onto an empty element.
22393
22394 2011-04-11 Leo Liu <sdl.web@gmail.com>
22395
22396 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22397 buffers.
22398 (ido-kill-buffer-at-head): Support killing virtual buffers.
22399
22400 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
22401
22402 * minibuffer.el (completion-show-inline-help): New var.
22403 (completion--do-completion, minibuffer-complete)
22404 (minibuffer-force-complete, minibuffer-complete-word):
22405 Inhibit minibuffer messages if completion-show-inline-help is nil.
22406
22407 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22408 to avoid interference from inline help (Bug#5849).
22409
22410 2011-04-10 Leo Liu <sdl.web@gmail.com>
22411
22412 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22413 Fix typo.
22414
22415 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
22416
22417 * image-mode.el (image-toggle-display-image): Signal an error if
22418 not in Image mode.
22419 (image-transform-mode, image-transform-resize)
22420 (image-transform-set-rotation): Doc fix.
22421 (image-transform-set-resize): Delete.
22422 (image-transform-set-scale, image-transform-fit-to-height)
22423 (image-transform-fit-to-width): Handle image-toggle-display-image
22424 and image-transform-resize directly.
22425
22426 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
22427
22428 * doc-view.el (doc-view-fit-width-to-window)
22429 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22430 New functions for fitting the shown image to the Emacs window size.
22431 (doc-view-mode-map): Add bindings for the new functions.
22432
22433 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
22434
22435 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22436 Fix typo in docstring.
22437
22438 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22439
22440 * files.el (file-size-human-readable): Produce one digit after
22441 decimal, like "ls -lh" does.
22442
22443 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22444 the file size representation.
22445
22446 * simple.el (list-processes): If async subprocesses are not
22447 available, error out with a clear error message.
22448
22449 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
22450
22451 * help.el (help-form-show): New function, to be called from C.
22452 Put help-form output in a buffer named differently than *Help*.
22453
22454 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22455
22456 * files.el (file-size-human-readable): New function.
22457
22458 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22459 computing the representation inline. Don't require `cl'.
22460
22461 2011-04-08 Glenn Morris <rgm@gnu.org>
22462
22463 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22464
22465 * net/browse-url.el (browse-url-firefox):
22466 Test system-type, not system-configuration.
22467
22468 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22469 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22470 Use log-edit-empty-buffer-p. (Bug#7598)
22471
22472 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22473 (rlogin-mode-map): Initialize in the defvar.
22474 (rlogin): Use ignore-errors.
22475
22476 * replace.el (occur-mode-map): Some fixes for menu items.
22477
22478 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22479
22480 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22481
22482 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22483
22484 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22485 issuing unused warnings.
22486
22487 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22488 macro directly.
22489
22490 * simple.el: Lisp reimplement of list-processes. Based on an
22491 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22492 (process-menu-mode): New major mode.
22493 (list-processes--refresh, list-processes):
22494 (process-menu-visit-buffer): New functions.
22495
22496 * files.el (save-buffers-kill-emacs): Don't assume any return
22497 value of list-processes, which is undocumented anyway.
22498
22499 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22500
22501 * emacs-lisp/tabulated-list.el: New file.
22502
22503 * emacs-lisp/package.el: Use Tabulated List mode.
22504 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22505 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22506 table format using Tabulated List mode variables.
22507 (package--push): New macro, replacing package-list-maybe-add.
22508 (package-menu--generate): Use package--push. Renamed from
22509 package--generate-package-list.
22510 (package-menu-refresh, list-packages): Use it.
22511 (package-menu--print-info): Rename from package-print-package.
22512 Return insertion data instead of inserting it directly.
22513 (package-menu-describe-package, package-menu-execute):
22514 Use tabulated-list-get-id.
22515 (package-menu-mark-delete, package-menu-mark-install)
22516 (package-menu-mark-unmark, package-menu-backup-unmark)
22517 (package-menu-mark-obsolete-for-deletion):
22518 Use tabulated-list-put-tag.
22519 (package--list-packages, package-menu-revert)
22520 (package-menu-get-package, package-menu-get-version)
22521 (package-menu-sort-by-column): Functions deleted.
22522 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22523 (package-menu--status-predicate, package-menu--version-predicate)
22524 (package-menu--name-predicate)
22525 (package-menu--description-predicate): Handle arguments in the
22526 Tabulated List format.
22527 (package-list-packages-no-fetch): Call list-packages.
22528
22529 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22530
22531 * files.el (after-find-file-from-revert-buffer): Remove variable.
22532 (after-find-file): Don't bind it.
22533 (revert-buffer-in-progress-p): New variable.
22534 (revert-buffer): Bind it.
22535 Pass nil for `after-find-file-from-revert-buffer'.
22536
22537 * saveplace.el (save-place-find-file-hook): Use new variable
22538 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22539
22540 2011-04-06 Glenn Morris <rgm@gnu.org>
22541
22542 * Makefile.in (AUTOGEN_VCS): New variable.
22543 (autoloads): Use $AUTOGEN_VCS.
22544
22545 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22546 * calendar/calendar.el (calendar-mode-map):
22547 Check for toolkit scroll bars. (Bug#8305)
22548
22549 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22550
22551 * minibuffer.el (completion-in-region--postch)
22552 (completion-in-region-mode): Remove unnecessary messages.
22553
22554 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22555
22556 * font-lock.el (font-lock-refresh-defaults):
22557 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22558 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22559
22560 * info.el (Info-directory-list, Info-read-node-name-2)
22561 (Info-split-parameter-string): Doc fixes.
22562 (Info-virtual-nodes): Reflow docstring.
22563 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22564 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22565 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22566 Fix typos in docstrings.
22567 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22568 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22569 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22570 (Info-restore-desktop-buffer): Mark unused parameters.
22571 (Info-directory-find-file, Info-directory-find-node)
22572 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22573 (Info-virtual-index-find-node, Info-apropos-find-file)
22574 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22575 Mark unused parameters; fix typos in docstrings.
22576 (Info-virtual-index): Remove unused local variable `nodename'.
22577
22578 2011-04-05 Deniz Dogan <deniz@dogan.se>
22579
22580 * net/rcirc.el: Update my e-mail address.
22581 (rcirc-mode-map): Remove M-o binding.
22582
22583 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22584
22585 * startup.el (command-line): Save the cursor's theme-face
22586 directly, instead of using face-override-spec.
22587
22588 * custom.el (load-theme): Minor optimization in assigning faces.
22589
22590 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22591
22592 * help-fns.el (describe-variable): Complete all variables having
22593 documentation, including keywords.
22594 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22595
22596 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22597
22598 Convert to lexical-binding.
22599
22600 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22601 (bs--get-marked-string, bs--get-modified-string)
22602 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22603 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22604 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22605
22606 * ehelp.el (electric-help-execute-extended)
22607 (electric-help-ctrl-x-prefix):
22608 * hexl.el (hexl-revert-buffer-function):
22609 * linum.el (linum-after-change, linum-after-scroll):
22610 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22611
22612 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22613
22614 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22615
22616 * epa-dired.el:
22617 * epa-mail.el:
22618 * epa-hook.el:
22619 * epa-file.el:
22620 * epa.el:
22621 * epg.el: Use lexical binding.
22622
22623 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22624
22625 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22626
22627 * textmodes/flyspell.el (flyspell-word): Recognize default
22628 dictionary case for flyspell-mark-duplications-exceptions.
22629 Use regexp matching for languages.
22630 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22631 default dictionary (Bug#7926).
22632
22633 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22634
22635 * emacs-lisp/package.el (package--with-work-buffer):
22636 Recognize https URLs.
22637
22638 * net/network-stream.el: Move from gnus/proto-stream.el.
22639 Change prefix to network-stream throughout.
22640 (open-protocol-stream): Merge into open-network-stream, leaving
22641 open-protocol-stream as an alias. Handle nil BUFFER args.
22642
22643 * subr.el (open-network-stream): Move to net/network-stream.el.
22644
22645 2011-04-02 Glenn Morris <rgm@gnu.org>
22646
22647 * find-dired.el (find-exec-terminator): New option.
22648 (find-ls-option): Test for -ls support.
22649 (find-ls-subdir-switches): Test for -b in find-ls-option.
22650 (find-dired, find-grep-dired): Doc fixes.
22651 (find-dired): Use find-exec-terminator.
22652
22653 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22654 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22655 (find-name-arg): Remove purecopy.
22656
22657 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22658 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22659 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22660 accordingly. Don't add the null-device if not needed.
22661
22662 * files.el (save-some-buffers): Doc fix.
22663
22664 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22665
22666 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22667
22668 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22669
22670 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22671 Use `dolist' rather than `mapcar'.
22672
22673 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22674
22675 Add lexical binding.
22676
22677 * subr.el (apply-partially): Use new closures rather than CL.
22678 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22679 (dolist, dotimes): Use slightly different expansion for lexical code.
22680 (functionp): Move to C.
22681 (letrec): New macro.
22682 (with-wrapper-hook): Use it and apply-partially instead of CL.
22683 (eval-after-load): Preserve lexical-binding.
22684 (save-window-excursion, with-output-to-temp-buffer): Turn them
22685 into macros.
22686
22687 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22688
22689 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22690 than the arglist.
22691 (help-add-fundoc-usage): Don't add `Not documented'.
22692 (help-function-arglist): Handle closures, subroutines, and new
22693 byte-code-functions.
22694 (help-make-usage): Remove leading underscores.
22695 (describe-function-1): Handle closures.
22696 (describe-variable): Use special-variable-p for completion.
22697
22698 * files.el (lexical-binding): Declare safe.
22699
22700 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22701 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22702 (pcase): Add `let' pattern.
22703 Change memoization so it actually works.
22704 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22705 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22706 <let>: New case.
22707
22708 * emacs-lisp/macroexp.el: Use lexical binding.
22709 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22710 Don't convert ' to #' without checking that it's indeed quoting
22711 a lambda.
22712
22713 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22714 Use eval-sexp-add-defvars.
22715 (eval-sexp-add-defvars): New fun.
22716
22717 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22718
22719 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22720 Don't autoload.
22721 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22722 than the internal `byte-compile-lambda'.
22723 (defmethod): Don't hide code under quotes.
22724 (eieio-defmethod): New `code' argument.
22725
22726 * emacs-lisp/eieio-comp.el: Remove.
22727
22728 * emacs-lisp/edebug.el (edebug-eval-defun)
22729 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22730 (edebug-toggle): Avoid `eval'.
22731
22732 * emacs-lisp/disass.el (disassemble-internal): Handle new
22733 `closure' objects.
22734 (disassemble-1): Handle new byte codes.
22735
22736 * emacs-lisp/cl.el (pushnew): Silence warning.
22737
22738 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22739 (cl-byte-compile-throw): Remove.
22740 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22741
22742 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22743 closures.
22744
22745 * emacs-lisp/cconv.el: New file.
22746
22747 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22748 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22749 (byte-compile-initial-macro-environment):
22750 Handle declare-function here.
22751 (byte-compile--lexical-environment): New var.
22752 (byte-stack-ref, byte-stack-set, byte-discardN)
22753 (byte-discardN-preserve-tos): New lap codes.
22754 (byte-interactive-p): Don't use any more.
22755 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22756 New macros.
22757 (byte-compile-lapcode): Use them and handle new lap codes.
22758 (byte-compile-obsolete): Remove.
22759 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22760 (byte-compile-arglist-warn): Check late def of inlinable funs.
22761 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22762 since they should have been expanded by now.
22763 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22764 (byte-compile-from-buffer): Remove unused second arg.
22765 (byte-compile-preprocess): New function.
22766 (byte-compile-toplevel-file-form): New function to distinguish
22767 file-form calls from outside from file-form calls from hunk-handlers.
22768 (byte-compile-file-form): Simplify.
22769 (byte-compile-file-form-defsubst): Remove.
22770 (byte-compile-file-form-defmumble): Simplify now that
22771 byte-compile-lambda always returns a byte-code-function.
22772 (byte-compile): Preprocess.
22773 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22774 Remove, not used any more.
22775 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22776 (byte-compile-make-args-desc): New funs.
22777 (byte-compile-lambda): Handle lexical functions. Always return
22778 a byte-code-function.
22779 (byte-compile-reserved-constants): New var, to make up room for
22780 closed-over variables.
22781 (byte-compile-constants-vector): Obey it.
22782 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22783 (byte-compile-macroexpand-declare-function): New function.
22784 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22785 byte-code-functions.
22786 (byte-compile-form): Check obsolescence here.
22787 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22788 (byte-compile-variable-ref): Remove.
22789 (byte-compile-dynamic-variable-op): New fun.
22790 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22791 (byte-compile-variable-set): New funs.
22792 (byte-compile-discard): Add 2 args.
22793 (byte-compile-stack-ref, byte-compile-stack-set)
22794 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22795 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22796 macroexpand-all instead.
22797 (byte-compile-quote-form): Remove.
22798 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22799 (byte-compile-bind, byte-compile-unbind): New funs.
22800 (byte-compile-let): Handle let* and lexical binding.
22801 (byte-compile-let*): Remove.
22802 (byte-compile-catch, byte-compile-unwind-protect)
22803 (byte-compile-track-mouse, byte-compile-condition-case):
22804 Handle a new :fun-body form, used for lexical scoping.
22805 (byte-compile-save-window-excursion)
22806 (byte-compile-with-output-to-temp-buffer): Remove.
22807 (byte-compile-defun): Simplify.
22808 (byte-compile-stack-adjustment): New fun.
22809 (byte-compile-out): Use it.
22810 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22811
22812 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22813 handler any more.
22814
22815 * emacs-lisp/byte-opt.el: Use lexical binding.
22816 (byte-inline-lapcode): Remove (to bytecomp).
22817 (byte-compile-inline-expand): Pay attention to inlining to/from
22818 lexically bound code.
22819 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22820 any more.
22821 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22822 any more and don't call compiler-macros.
22823 (byte-compile-splice-in-already-compiled-code): Remove.
22824 (byte-code): Don't inline any more.
22825 (disassemble-offset): Receive `bytes' as argument rather than via
22826 dynamic scoping.
22827 (byte-compile-tag-number): Declare before first use.
22828 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22829 `return' even if make-spliceable.
22830 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22831 obsolete interactive-p.
22832 (byte-optimize-lapcode): Optimize new lap-codes.
22833 Don't trip up on new form of `byte-constant' lap code.
22834
22835 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22836
22837 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22838
22839 * custom.el (custom-initialize-default, custom-declare-variable):
22840 Use `defvar'.
22841
22842 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22843 New variables.
22844 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22845 (COMPILE_FIRST): Add macroexp and cconv.
22846 * makefile.w32-in: Mirror changes in Makefile.in.
22847
22848 * vc/cvs-status.el:
22849 * vc/diff-mode.el:
22850 * vc/log-edit.el:
22851 * vc/log-view.el:
22852 * vc/smerge-mode.el:
22853 * textmodes/bibtex-style.el:
22854 * textmodes/css-mode.el:
22855 * startup.el:
22856 * uniquify.el:
22857 * minibuffer.el:
22858 * newcomment.el:
22859 * reveal.el:
22860 * server.el:
22861 * mpc.el:
22862 * emacs-lisp/smie.el:
22863 * doc-view.el:
22864 * dired.el:
22865 * abbrev.el: Use lexical binding.
22866
22867 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22868
22869 * info.el (info-display-manual): New function.
22870
22871 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22872
22873 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22874
22875 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22876
22877 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22878 an entry for that server in rcirc-authinfo. (Bug#8385)
22879
22880 2011-03-31 Glenn Morris <rgm@gnu.org>
22881
22882 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22883
22884 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22885
22886 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22887
22888 * progmodes/python.el (python-default-interpreter)
22889 (python-python-command-args, python-jython-command-args)
22890 (python-which-shell, python-which-args, python-which-bufname)
22891 (python-file-queue, python-comint-output-filter-function)
22892 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22893 variables and functions.
22894
22895 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22896
22897 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22898 (completion-in-region-mode): New minor mode.
22899 (completion-in-region): Use it.
22900 (completion-in-region--data, completion-in-region-mode-map): New vars.
22901 (completion-in-region--postch): New function.
22902 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22903 New vars.
22904 (completion--capf-wrapper): New function.
22905 (completion-at-point): Use it to track well-behavedness of
22906 hook functions.
22907 (completion-help-at-point): New command.
22908
22909 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22910
22911 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22912 syntax class to search for whitespace on a single line
22913 (Message-ID: <4D938140.4030905@redhat.com>).
22914
22915 2011-03-30 Leo Liu <sdl.web@gmail.com>
22916
22917 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22918 New commands.
22919 (edit-abbrevs-map): Bind them here.
22920 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22921
22922 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22923
22924 * allout.el (allout-hide-by-annotation, allout-flag-region):
22925 Reduce possibility of overlay leakage by making them volatile.
22926
22927 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22928 hash is not shared between buffers. Mode initialization is
22929 responsible for giving it a useful starting value.
22930 (allout-item-span): Reduce possibility of overlay leakage by
22931 making them volatile.
22932 (allout-widgets-count-buttons-in-region): Add diagnostic function
22933 for tracking down button overlay leaks.
22934
22935 2011-03-29 Leo Liu <sdl.web@gmail.com>
22936
22937 * ido.el (ido-read-internal): Use the default history var
22938 minibuffer-history if no HISTORY is specified.
22939
22940 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22941
22942 * net/imap.el (imap-shell-open, imap-process-connection-type):
22943 Use imap-process-connection-type for 'shell' streams as well as
22944 Kerberos, SSL, other subprocesses.
22945
22946 2011-03-28 Leo Liu <sdl.web@gmail.com>
22947
22948 * abbrev.el (abbrev-table-empty-p): New function.
22949 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22950 nonempty ones. (Bug#5937)
22951
22952 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22953
22954 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22955
22956 2011-03-27 Leo Liu <sdl.web@gmail.com>
22957
22958 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22959 for foreground and background colors.
22960 (ansi-color-make-color-map): Adapt.
22961
22962 2011-03-25 Leo Liu <sdl.web@gmail.com>
22963
22964 * midnight.el (midnight-time-float): Remove. Note it calculates
22965 the microsecond component incorrectly and seconds-to-time does the
22966 same job.
22967 Remove redundant (require 'timer).
22968
22969 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22970 (ido-completions): Remove unused arguments. (Bug#8329)
22971
22972 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22973
22974 * minibuffer.el (completion--flush-all-sorted-completions):
22975 Remove itself from hook.
22976 (completion-at-point): Let the functions perform the completion
22977 immediately and return nil or t.
22978 * comint.el (comint-dynamic-complete-functions): Now identical to
22979 completion-at-point-functions.
22980 (comint-dynamic-list-input-ring): Remove unused var `index'.
22981 (comint--match-partial-filename, comint--unquote&expand-filename):
22982 New funs, split from comint-match-partial-filename.
22983 (comint-dynamic-complete): Use completion-at-point.
22984 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22985
22986 2011-03-24 Drew Adams <drew.adams@oracle.com>
22987
22988 * thingatpt.el: Support `defun'.
22989
22990 2011-03-23 Leo Liu <sdl.web@gmail.com>
22991
22992 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22993
22994 * help-mode.el (help-mode-finish): Tweak regexp.
22995
22996 2011-03-23 Glenn Morris <rgm@gnu.org>
22997
22998 * eshell/esh-opt.el (eshell-eval-using-options):
22999 Do not bind unused local variable `eshell-option-stub'.
23000
23001 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23002
23003 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23004
23005 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23006 keymap variable in `with-no-warnings' to avoid a warning when the
23007 keymap has been already `defconst'ed.
23008
23009 2011-03-22 Leo Liu <sdl.web@gmail.com>
23010
23011 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23012 encode all chars in abbrevs; otherwise use emacs-mule or
23013 utf-8-emacs. (Bug#8308)
23014
23015 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
23016
23017 * simple.el (backward-delete-char-untabify):
23018 Avoid warning about using `delete-backward-char'.
23019
23020 * image.el (image-type-file-name-regexps): Make it variable.
23021 `imagemagick-register-types' modifies it, and the user may want
23022 to add new extensions for known image types.
23023 (imagemagick-register-types): Throw error if not using ImageMagick.
23024
23025 2011-03-22 Leo Liu <sdl.web@gmail.com>
23026
23027 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23028 located before rcirc-prompt-end-marker.
23029 (rcirc-complete): Error if point is not after rcirc prompt.
23030 Handle the case when table is nil.
23031 (rcirc-user-authenticated): Define to fix compiler warning.
23032
23033 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
23034
23035 * custom.el (custom--inhibit-theme-enable): Make it affect only
23036 custom-theme-set-variables and custom-theme-set-faces.
23037 (provide-theme): Ignore custom--inhibit-theme-enable.
23038 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23039 (custom-enabling-themes): Delete variable.
23040 (enable-theme): Accept only loaded themes as arguments.
23041 Ignore the special custom-enabled-themes variable.
23042 (custom-enabled-themes): Forbid themes from setting this.
23043 Eliminate use of custom-enabling-themes.
23044 (custom-push-theme): Quote "changed" custom var entry.
23045
23046 2011-03-21 Leo Liu <sdl.web@gmail.com>
23047
23048 * ido.el (ido-read-internal): Add ido-selected to history instead
23049 of user input.
23050
23051 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23052
23053 * subr.el (deferred-action-list, deferred-action-function):
23054 Mark obsolete.
23055
23056 2011-03-21 Leo Liu <sdl.web@gmail.com>
23057
23058 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23059 change on 2011-02-13 (bug#8309).
23060
23061 * minibuffer.el (read-file-name-function): Change default value.
23062 (read-file-name--defaults): Rename from read-file-name-defaults.
23063 (read-file-name-default): Rename from read-file-name.
23064 (read-file-name): Call read-file-name-function.
23065
23066 2011-03-21 Glenn Morris <rgm@gnu.org>
23067
23068 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23069 Doc fixes.
23070
23071 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
23072
23073 * cus-theme.el: Add missing provide statement.
23074 (customize-create-theme): Extract theme value correctly.
23075 (custom-theme-visit-theme): Autoload.
23076 (customize-create-theme): Prompt before inserting default faces.
23077
23078 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23079
23080 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23081 units and musical notes.
23082
23083 2011-03-20 Leo Liu <sdl.web@gmail.com>
23084
23085 * ido.el (ido-read-internal): Use completing-read-default.
23086 (ido-completing-read): Fix compatibility with completing-read.
23087
23088 2011-03-20 Christian Ohler <ohler@gnu.org>
23089
23090 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23091 (ert-delete-all-tests): Use `called-interactively-p' rather than
23092 `interactive-p'.
23093 (ert--make-xrefs-region): Respect END.
23094
23095 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23096
23097 * dired-aux.el (dired-create-directory): Signal an error if the
23098 directory already exists (Bug#8246).
23099
23100 * facemenu.el (list-colors-display): Call list-faces-display
23101 inside with-help-window.
23102 (list-colors-print): Use display property to align the final
23103 column, instead of checking window-width.
23104
23105 2011-03-19 Eli Zaretskii <eliz@gnu.org>
23106
23107 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
23108 windows-nt systems.
23109 (emerge-protect-metachars): Quote correctly for ms-dos and
23110 windows-nt systems.
23111
23112 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
23113
23114 * info.el (info-initialize): Replace all uses of `:' with
23115 path-separator for compatibility with non-Unix systems.
23116 Cache quoting of path-separator. (Bug#8258)
23117
23118 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
23119
23120 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23121 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23122 (mouse-avoidance-mode): Fix typos in docstrings.
23123
23124 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
23125
23126 * startup.el (package-subdirectory-regexp): Move from package.el.
23127 Omit \\` and \\', and let callers add them.
23128
23129 * emacs-lisp/package.el (package-strip-version)
23130 (package-load-all-descriptors): Add \\` and \\' to
23131 package-subdirectory-regexp before using it.
23132 (package-untar-buffer): New arg DIR; ensure that file untars only
23133 into this expected directory. Remove superfluous delete-region.
23134 (package-unpack): Caller changed.
23135 (package-tar-file-info): Use package-subdirectory-regexp.
23136
23137 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
23138
23139 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23140 diff-mode-shared-map (bug#8284).
23141 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23142
23143 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23144
23145 * calendar/time-date.el (format-seconds): Use assoc instead of
23146 assoc-string, since assoc-string doesn't exist in XEmacs.
23147
23148 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23149
23150 * custom.el (custom-known-themes): Reflow docstring.
23151 (custom-theme-load-path): Fix typo in docstring.
23152 (load-theme): Fix typo in error message.
23153 (custom-available-themes, custom-variable-theme-value):
23154 Use `let', not `let*'.
23155
23156 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23157
23158 * calc/README: Mention inclusion of musical notes.
23159
23160 * calc/calc-units.el (calc-lu-quant): Rename from
23161 `calc-logunits-quantity'.
23162 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23163 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23164 (calc-db): Rename from `calc-dblevel'.
23165 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23166 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23167 (calc-np): Rename from `calc-nplevel'.
23168 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23169 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23170 (calc-lu-plus): Rename from `calc-logunits-add'.
23171 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23172 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23173 (calc-lu-minus): Rename from `calc-logunits-sub'.
23174 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23175 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23176 (calc-lu-times): Rename from `calc-logunits-mul'.
23177 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23178 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23179 (calc-lu-divide): Rename from `calc-logunits-div'.
23180 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23181 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23182
23183 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23184 functions being autoloaded.
23185
23186 * calc/calc.el (calc-lu-power-reference): Rename from
23187 `calc-logunits-power-reference'.
23188 (calc-lu-field-reference): Rename from
23189 `calc-logunits-field-reference'.
23190
23191 * calc/calc-help.el (calc-l-prefix-help):
23192 Mention musical note functions.
23193
23194 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23195
23196 * minibuffer.el (completion-all-sorted-completions):
23197 Use :completion-cycle-penalty text property if present.
23198
23199 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23200
23201 * allout.el (allout-yank-processing): Adjust for new rebulleting
23202 regime so bullet being yanked is used without prompting the user
23203 for a choice.
23204
23205 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23206
23207 * startup.el (command-line): Warn the user that _emacs is deprecated.
23208
23209 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23210
23211 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23212 (delphi-verbose, delphi-comment-face, delphi-string-face)
23213 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23214 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23215 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23216 (delphi-new-comment-line, delphi-font-lock-defaults)
23217 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23218 Fix typos in docstrings.
23219
23220 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23221
23222 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23223 Invert the roles of character and string values for INSTEAD, so a
23224 string is used for the more common case of a defaulting prompt.
23225
23226 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23227
23228 * progmodes/ruby-mode.el (ruby-backward-sexp):
23229 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23230 * play/gamegrid.el (gamegrid-make-face):
23231 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23232 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23233 * notifications.el (notifications-notify):
23234 * net/xesam.el (xesam-search-engines):
23235 * net/quickurl.el (quickurl-list-insert):
23236 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23237
23238 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
23239
23240 * startup.el (command-line): Update package subdirectory regexp.
23241
23242 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23243
23244 * allout.el (allout-abbreviate-flattened-numbering)
23245 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23246
23247 * subr.el (read-char-choice): Only show the cursor after the prompt,
23248 not after the answer.
23249
23250 2011-03-15 Kevin Ryde <user42@zip.com.au>
23251
23252 * help-fns.el (variable-at-point): Skip leading quotes, if any
23253 (bug#8253).
23254
23255 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23256
23257 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23258 warning message.
23259
23260 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
23261
23262 * shell.el (shell): When called interactively, offer to change the
23263 shell file name on remote hosts.
23264
23265 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23266
23267 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23268 integration for LDAP parameters. The host, base, user or binddn,
23269 and secret tokens can be specified in a netrc file, for instance.
23270 This is optional because an `auth-source' parameter must be
23271 specified in the search attributes.
23272
23273 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
23274
23275 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23276
23277 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23278
23279 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23280 into declaration. Remove redundant and harmful binding.
23281
23282 2011-03-12 Eli Zaretskii <eliz@gnu.org>
23283
23284 * files.el (file-ownership-preserved-p): Pass `integer' as an
23285 explicit 2nd argument to `file-attributes'. If the file's owner
23286 is the Administrators group on Windows, and the current user is
23287 Administrator, consider that a match.
23288
23289 * server.el (server-ensure-safe-dir): Consider server directory
23290 safe on MS-Windows if its owner is the Administrators group while
23291 the current Emacs user is Administrator. Use `=' to compare
23292 numerical UIDs, since they could be integers or floats.
23293
23294 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
23295
23296 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23297
23298 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
23299
23300 Sync with Tramp 2.2.1.
23301
23302 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23303
23304 * net/trampver.el: Update release number.
23305
23306 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23307
23308 * progmodes/compile.el (compilation--previous-directory): Fix up
23309 various nil/dead-marker mismatches (bug#8014).
23310 (compilation-directory-properties, compilation-error-properties):
23311 Don't call it at a position past the one we're about to change.
23312
23313 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23314 Disable obsolescence warnings in the file that declares it.
23315
23316 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23317
23318 * allout-widgets.el (allout-widgets-tally):
23319 Initialize allout-widgets-tally as a hash table rather than nil to
23320 prevent mode-line redisplay warnings. Also, clarify the module
23321 description and fix a comment typo.
23322
23323 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
23324
23325 * help-fns.el (describe-variable): Don't complete keywords.
23326 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23327
23328 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
23329
23330 * emacs-lisp/package.el (package-version-join): Impose a standard
23331 string representation for pre/alpha/beta version lists.
23332 (package-unpack-single): Standardize the directory name by passing
23333 it through package-version-join.
23334 (package-strip-rcs-id): Accept any version string that does not
23335 signal an error in version-to-list.
23336
23337 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
23338
23339 * simple.el (delete-trailing-whitespace): Return nil for the
23340 benefit of `write-file-functions'.
23341
23342 2011-03-10 Glenn Morris <rgm@gnu.org>
23343
23344 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23345
23346 * vc/vc-git.el (vc-git-program): New option.
23347 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23348 (vc-git--call): Use it.
23349
23350 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23351
23352 * cus-edit.el (Custom-newline): If no button at point, look
23353 for a subgroup button at start-of-line. (Bug#2298)
23354
23355 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23356
23357 2011-03-10 Julien Danjou <julien@danjou.info>
23358
23359 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23360 `cursor-type' is nil.
23361
23362 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23363
23364 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23365
23366 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23367
23368 * allout.el: Change so yank of distinctive-bullet items
23369 preserves the existing header prefix, rebulleting it if necessary,
23370 rather than replacing it. This is necessary for proper operation
23371 of cooperative addons like allout-widgets.
23372 (allout-make-topic-prefix, allout-rebullet-heading):
23373 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23374 value as alternate bullet to be used, instead of prompting the user
23375 for a bullet character.
23376
23377 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
23378
23379 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23380 Do not use `tramp-file-name-port', because this returns also
23381 `tramp-default-port'.
23382
23383 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23384
23385 * net/rcirc.el (rcirc-handler-001): Remove useless
23386 with-rcirc-process-buffer.
23387 (rcirc-check-auth-status): Swap arguments to string-match.
23388
23389 2011-03-09 Glenn Morris <rgm@gnu.org>
23390
23391 * shell.el (shell-mode):
23392 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23393
23394 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23395 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23396
23397 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23398
23399 * emacs-lisp/package.el (package-refresh-contents)
23400 (package-menu-execute): Use condition-case-no-debug.
23401
23402 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
23403
23404 * simple.el (shell-command-to-string): Use `process-file'.
23405
23406 * emacs-lisp/package.el (package-tar-file-info): Handle also
23407 remote files.
23408
23409 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23410 Use `equal' for upload base check.
23411
23412 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23413
23414 * textmodes/texinfo.el (texinfo-environments):
23415 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23416
23417 2011-03-08 Glenn Morris <rgm@gnu.org>
23418
23419 * cus-start.el (cursor-in-non-selected-windows):
23420 Fix :set quoting oddness. (Bug#8192)
23421
23422 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23423 in some setf expressions. (Bug#2159)
23424
23425 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23426
23427 * custom.el (custom-available-themes): Return themes in
23428 alphabetical order.
23429
23430 See ChangeLog.15 for earlier changes.
23431
23432 ;; Local Variables:
23433 ;; coding: utf-8
23434 ;; End:
23435
23436 Copyright (C) 2011-2013 Free Software Foundation, Inc.
23437
23438 This file is part of GNU Emacs.
23439
23440 GNU Emacs is free software: you can redistribute it and/or modify
23441 it under the terms of the GNU General Public License as published by
23442 the Free Software Foundation, either version 3 of the License, or
23443 (at your option) any later version.
23444
23445 GNU Emacs is distributed in the hope that it will be useful,
23446 but WITHOUT ANY WARRANTY; without even the implied warranty of
23447 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23448 GNU General Public License for more details.
23449
23450 You should have received a copy of the GNU General Public License
23451 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.