1 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3 * bookmark.el (bookmark-version-control): Give tags in the
4 :type choices (Bug#12309), and improve doc string.
6 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8 Revert the FOLLOW-SYMLINKS change for file-attributes.
9 * files.el (remote-file-name-inhibit-cache, after-find-file):
10 * time.el (display-time-file-nonempty-p): Undo last change.
12 * profiler.el (profiler-sampling-interval): Change default back to 1.
14 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
16 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
18 Shell output catching a la gud-gdb.
19 * progmodes/python.el (python-shell-fetch-lines-in-progress)
20 (python-shell-fetch-lines-string, python-shell-fetched-lines): New
22 (python-shell-fetch-lines-filter): New function.
23 (python-shell-send-string-no-output): Use them.
25 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
27 * profiler.el (profiler-sampling-interval): Rename from
28 profiler-sample-interval.
29 (profiler-sampling-interval): Default to 10.
30 (profiler-find-profile): New command (was profiler-find-log).
31 (profiler-find-profile-other-window): New command.
32 (profiler-find-profile-other-frame): New command.
33 (profiler-profile): Introduce API-level data structure.
35 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
37 file-attributes has a new optional arg FOLLOW-SYMLINKS.
38 * files.el (remote-file-name-inhibit-cache):
39 * time.el (display-time-file-nonempty-p): Use it.
40 * files.el (after-find-file): Don't chase links before calling
41 file-exists-p, as file-exists-p already does the right thing.
43 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
45 Merge from standalone RefTeX repository.
47 The following ChangeLog entries are shortened versions of the
48 original ones with file paths adapted. A not so strongly edited
49 version of the original ChangeLog can be found in the commit log.
51 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
52 (reftex-arg-cite): Use `reftex-cite-key-separator'. Correctly
53 handle new value type returned by `reftex-citation'.
55 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
56 that entries with whitespace at various places are found. Doc
57 fix. Include entries that are cross-referenced from cited entries.
58 Include @String definitions in the resulting bib file. Add header
59 and footer defined in `reftex-create-bibtex-header' and
60 `reftex-create-bibtex-footer'.
61 (reftex-do-citation): Make it possible again to insert
62 non-existent entries. Save match data when asking for optional
63 arguments. Return all keys, not just the first one.
64 (reftex-all-used-citation-keys): Fix regexp to correctly extract
65 all citations in the same line.
66 (reftex-parse-bibtex-entry): Accept additional optional argument
67 `raw' and keep quotes or braces if it is non-nil. Match fields
68 containing hyphens besides word constituents.
69 (reftex-get-string-refs): New function.
70 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
71 and ask if it should be reread in case it did.
72 (reftex-pop-to-bibtex-entry)
73 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
74 entries with spaces or tabs in front of arguments.
75 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
76 (reftex-parse-bibtex-entry, reftex-create-bibtex-file): Match
77 entries containing numbers and symbol constituents.
78 (reftex-do-citation, reftex-figure-out-cite-format): Use
79 `reftex-cite-key-separator'.
81 * textmodes/reftex-dcr.el: Move provide statement to end of file.
82 (reftex-mouse-view-crossref): Explain why point is set.
84 * textmodes/reftex-global.el: Whitespace changes.
86 * textmodes/reftex-index.el: Move provide statement to end of
88 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
89 (reftex-index-visit-phrases-buffer): Set marker when visiting
90 buffer. This allows for returning from the phrases file to the
91 file one was just editing instead of the file where the last
92 phrases was added from.
93 (reftex-index-phrases-syntax-table): New variable. Give ?\"
94 punctuation syntax as it usually is not used as string quote in
95 TeX-related modes and may occur unmatched. The change also
96 prevents fontification of quoted content.
97 (reftex-index-phrases-mode): Use it.
99 * textmodes/reftex-parse.el (reftex-parse-from-file): Move
100 backward one char if a `\' was matched after a section macro.
101 (reftex-parse-from-file): Use beginning of match instead of end as
104 * textmodes/reftex-ref.el: Adapt creation of
105 `reftex-<package>-<macro>' functions to new structure of
106 `reftex-ref-style-alist'.
107 (reftex-reference): Use `reftex-ref-style-list' function. Adapt
108 to new structure of `reftex-ref-style-alist'. Prompt for a
109 reference macro if `reftex-ref-macro-prompt' is non-nil.
110 (reftex-reference): Pass refstyle to `reftex-format-special'.
111 Determine reference macro by looking at
112 `reftex-ref-style-default-list' and `reftex-ref-style-alist'. Use
113 only one special format function.
114 (reftex-varioref-vref, reftex-fancyref-fref)
115 (reftex-fancyref-Fref): Remove definitions. The functions are now
116 generated from `reftex-ref-style-alist'.
117 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
119 (reftex-format-special): New function.
121 * textmodes/reftex-sel.el
122 (reftex-select-cycle-ref-style-internal): Adapt to new structure
123 of `reftex-ref-style-alist'. Remove code for testing macro type.
124 (reftex-select-toggle-varioref)
125 (reftex-select-toggle-fancyref): Remove.
126 (reftex-select-cycle-ref-style-internal)
127 (reftex-select-cycle-ref-style-forward)
128 (reftex-select-cycle-ref-style-backward): New functions.
129 (reftex-select-label-map): Use `v' and `V' for general cycling
130 through reference styles. Add `p' for switching between number
131 and page reference types.
133 * textmodes/reftex-toc.el (reftex-re-enlarge): Call
134 `enlarge-window' only if there is something to do because in Emacs
135 the horizontal version throws an error even if the parameter is 0.
137 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
138 (reftex-plug-into-AUCTeX): Doc fix.
139 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
140 string. Adapt to new name.
141 (reftex-ref-style-alist): Change structure so that it is not
142 possible to use multiple different package names within a style.
143 Remove the symbols for symbols for macro type distinction. Add
144 characters for macro selection.
145 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
146 (reftex-create-bibtex-footer): New variables.
147 (reftex-format-ref-function): Mention third argument of special
149 (reftex-ref-style-alist, reftex-ref-style-default-list): New
151 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
152 to new implementation. Mark as obsolete. Add compatibility code
153 for honoring the variable values in case they are set.
154 (reftex-cite-format-builtin, reftex-bibliography-commands): Add
156 (reftex-format-ref-function, reftex-format-cite-function): Fix
158 (reftex-cite-key-separator): New variable.
160 * textmodes/reftex.el (reftex-syntax-table-for-bib)
161 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
162 `reftex-syntax-table' because parens have to retain their paren
163 syntax in order for parsing of BibTeX entries like @book(...) to
165 (reftex-in-comment): Do not error out if `comment-start-skip' is
166 not set. Deal correctly with escaped comment characters.
167 (reftex-tie-multifile-symbols): Add doc string. Initialize
168 `reftex-ref-style-list'.
169 (reftex-untie-multifile-symbols): Add doc string.
170 (reftex-add-index-macros): Doc fix.
171 (reftex-ref-style-activate, reftex-ref-style-toggle)
172 (reftex-ref-style-list): New functions.
173 (reftex-mode-menu): Use them. Adapt to new structure of
174 `reftex-ref-style-alist'.
175 (reftex-select-with-char): Kill the RefTeX Select buffer when
177 (reftex-remove-if): New function.
178 (reftex-erase-all-selection-and-index-buffers)
179 (reftex-mode-menu): Reference styles are now computed from
180 `reftex-ref-style-alist'. Fix typo.
181 (reftex-report-bug): New function.
182 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
183 algorithms with O(n log n). Introduce optional argument SORT (not
186 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
188 Enhancements for triple-quote string syntax.
189 * progmodes/python.el (python-syntax-propertize-function): Match
190 both quote cases in one regexp.
191 (python-syntax-stringify): Handle matches properly.
193 2012-09-30 Juri Linkov <juri@jurta.org>
195 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
196 to nil around the call to `add-text-properties' to prevent
197 directory time modification by lock_file. (Bug#2295)
198 * tar-mode.el (tar-summarize-buffer): Idem.
200 2012-09-30 Juri Linkov <juri@jurta.org>
202 * facemenu.el (list-colors-sort): Add option "Luminance".
203 (list-colors-sort-key): Implement it.
205 * vc/diff-mode.el (diff-refine-removed):
206 * vc/ediff-init.el (ediff-fine-diff-A):
207 * vc/smerge-mode.el (smerge-refined-removed):
208 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
210 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
212 * term/ns-win.el (x-file-dialog): New function.
214 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
216 * ido.el (ido-max-directory-size): Default to nil; the current
217 default is small for POSIX systems, and impractical on Windows 7
218 now that lstat returns directory sizes for NTFS.
220 2012-09-30 Martin Rudalics <rudalics@gmx.at>
222 In buffer display functions handle window-height/window-width
223 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
224 * window.el (window--display-buffer): New argument ALIST. Obey
225 window-height and window-width alist entries.
226 (window--try-to-split-window): New argument ALIST. Bind
227 window-combination-limit to t when the window's size shall be
228 changed and window-combination-limit equals `window-size'.
229 (display-buffer-in-atom-window)
230 (display-buffer-in-major-side-window)
231 (display-buffer-in-side-window, display-buffer-same-window)
232 (display-buffer-reuse-window, display-buffer-pop-up-frame)
233 (display-buffer-pop-up-window, display-buffer-below-selected)
234 (display-buffer-at-bottom, display-buffer-in-previous-window)
235 (display-buffer-use-some-window): Adjust all callers of
236 window--display-buffer and window--try-to-split-window.
237 (fit-frame-to-buffer): New option.
238 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
240 (display-buffer-in-major-side-window): Evaluate window-height /
241 window-width alist entries.
243 * help.el (temp-buffer-resize-frames)
244 (temp-buffer-resize-regexps): Remove options.
245 (temp-buffer-resize-mode): Adjust doc-string.
246 (resize-temp-buffer-window): Don't consult
247 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
248 temp-buffer-resize-frames.
250 * dired.el (dired-mark-pop-up): Call
251 display-buffer-below-selected with a fit-window-to-buffer alist
254 2012-09-30 Chong Yidong <cyd@gnu.org>
256 * server.el (server-host): Document the security implications.
257 (server-auth-key): Doc fix.
259 * startup.el (initial-buffer-choice): Doc fix.
261 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
263 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
266 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
268 * help-fns.el (help-fns--obsolete): Fix last change.
270 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
272 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
273 (minor-mode-map-alist): Remove redundant code.
275 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
277 (cvs-insert-visited-file): New function.
278 (find-file-hook): Use it.
280 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
282 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
284 (log-edit-empty-buffer-p): Don't require a space after a header.
286 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
288 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
290 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
293 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
295 2012-09-29 Glenn Morris <rgm@gnu.org>
297 * winner.el (winner-mode): Remove variable (let define-minor-mode
299 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
301 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
302 (winner-mode): Use define-minor-mode.
304 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
305 the full definition in loaddefs, rather than duplicating it.
307 * help-macro.el (three-step-help): No need to autoload defcustom.
309 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
310 (inferior-lisp-program, inferior-lisp-load-command)
311 (inferior-lisp-prompt, inferior-lisp-mode-hook):
312 No need to autoload defcustoms.
314 * hippie-exp.el (hippie-expand-try-functions-list)
315 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
316 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
317 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
318 (hippie-expand-only-buffers): No need to autoload defcustoms.
319 * progmodes/vhdl-mode.el (vhdl-line-expand):
320 Explicitly load hippie-exp, so it does not get autoloaded
321 while hippie-expand-try-functions-list is let-bound.
323 2012-09-28 Glenn Morris <rgm@gnu.org>
325 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
327 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
328 Only "cl.el" counts as cl these days.
330 2012-09-28 Juri Linkov <juri@jurta.org>
332 Display archive errors in the echo area instead of inserting
335 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
336 to STDERR-TEST that can be a regexp matching a successful output.
337 Create a temporary file and redirect stderr to it. Search for
338 STDERR-TEST in the stderr output and display it in the echo area
339 if no match is found.
340 (archive-extract-by-file): New function like
341 `archive-extract-by-stdout' but extracting archives to files
342 and looking for successful matches in stdout. Function body is
343 mostly copied from `archive-rar-extract'.
344 (archive-rar-extract): Use `archive-extract-by-file'.
345 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
347 2012-09-28 Leo Liu <sdl.web@gmail.com>
349 * pcomplete.el (pcomplete-show-completions): Use
350 minibuffer-message to make pcomplete usable in minibuffer.
352 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
354 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
356 * type-break.el: Use lexical-binding.
357 (type-break-mode): Use define-minor-mode.
359 * emacs-lisp/pcase.el (pcase--mark-used): New.
360 (pcase--u1): Use it (bug#12512).
362 * custom.el (load-theme): Set buffer-file-name so the load is recorded
363 in load-history with the right file name.
365 2012-09-28 Tassilo Horn <tsdh@gnu.org>
367 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
368 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
369 (doc-view-get-bounding-box): Make bounding box slicing work for
370 ODF and DVI documents.
372 2012-09-28 Glenn Morris <rgm@gnu.org>
374 * type-break.el (type-break-mode, type-break-interval)
375 (type-break-good-rest-interval, type-break-keystroke-threshold):
377 (type-break-good-rest-interval, type-break-keystroke-threshold):
380 2012-09-28 Chong Yidong <cyd@gnu.org>
382 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
385 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
387 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
389 2012-09-27 Glenn Morris <rgm@gnu.org>
391 * faces.el (x-display-name): Declare (for without-x builds).
393 * linum.el (linum-format): Don't autoload it. Improve :type.
395 * progmodes/tcl.el: Don't require outline when compiling.
396 (outline-regexp, outline-level): Declare.
397 * textmodes/sgml-mode.el: Don't require outline when compiling.
398 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
400 * term.el (term-ansi-reset):
401 Try setting term-ansi-face-already-done to nil. (Bug#11785)
403 * vc/vc.el (vc-next-action): Only gripe about committing read-only
404 files for RCS and SCCS. (Bug#9781)
406 2012-09-27 Chong Yidong <cyd@gnu.org>
408 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
409 change; value should be t.
411 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
413 * image-mode.el: Use lexical-binding.
414 (image-mode-winprops): Use t to stand for the window of
415 a buffer that's not displayed.
416 * doc-view.el (doc-view-new-window-function): Handle the new
418 (doc-view-enlarge): Make it a real nop if the size is not changed.
419 (doc-view-display): Handle the case where the buffer is not (yet?)
420 displayed in any window.
421 (doc-view-saved-settings): New var.
422 (doc-view-mode): Use it.
423 (doc-view-fallback-mode): Set it.
425 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
427 (minibuffer-eldef-shorten-default): New var.
428 (minibuffer-default-in-prompt-regexps): Use it for new default.
429 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
431 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
433 * international/uni-bidi.el:
434 * international/uni-category.el:
435 * international/uni-name.el:
436 * international/uni-numeric.el: Regenerate.
438 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
439 Stefan Monnier <monnier@iro.umontreal.ca>
441 * profiler.el: New file.
443 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
445 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
446 (testcover-reinstrument): Simplify with CSE.
448 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
450 * window.el (temp-buffer-window-setup): Fix typo in docstring.
452 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
454 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
455 (verilog-auto-input, verilog-auto-insert-lisp)
456 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
457 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
458 (verilog-auto-unused, verilog-auto-wire)
459 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
460 newline. Reported by Andrew Jones.
461 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
462 Reported by Brad Dobbie.
463 (verilog-batch-delete-trailing-whitespace):
464 Create verilog-batch-delete-trailing-whitespace.
465 Reported by Brad Dobbie.
466 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
467 parameters from another module. Reported by Dan Katz.
468 (verilog-auto, verilog-auto-assign-modport)
469 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
470 AUTOINOUTMODPORT for UVM interface module shell generation.
471 Reported by Brad Dobbie.
472 (verilog-auto-inst-interfaced-ports): Make default nil, as more
474 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
475 Reported by Matt Martin.
477 2012-09-25 Martin Rudalics <rudalics@gmx.at>
479 * window.el (window--resize-child-windows): When resizing child
480 windows proportionally, process them in reverse order to
481 preserve the "when splitting a window the new one gets the odd
483 (window--resize-root-window-vertically): When resizing the
484 minibuffer window try to affect only windows at the bottom of the
487 2012-09-25 Chong Yidong <cyd@gnu.org>
489 * subr.el (declare): Doc fix.
491 * help-fns.el (help-fns--obsolete): Handle macros properly.
493 2012-09-25 Chong Yidong <cyd@gnu.org>
495 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
496 this function obsolete.
498 * calendar/cal-x.el (calendar-two-frame-setup)
499 (calendar-only-one-frame-setup, calendar-one-frame-setup):
500 * calendar/calendar.el (american-calendar, european-calendar)
502 * comint.el (comint-dynamic-simple-complete)
503 (comint-dynamic-complete-as-filename, comint-unquote-filename):
504 * desktop.el (desktop-load-default):
505 * dired-x.el (dired-omit-here-always)
506 (dired-hack-local-variables, dired-default-directory):
507 * emacs-lisp/derived.el (derived-mode-class):
508 * emacs-lisp/timer.el (timer-set-time-with-usecs):
509 * emacs-lock.el (toggle-emacs-lock):
510 * epa.el (epa-display-verify-result):
511 * epg.el (epg-sign-keys, epg-start-sign-keys)
512 (epg-passphrase-callback-function):
513 * eshell/esh-util.el (eshell-for):
514 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
515 (eshell-add-to-window-buffer-names):
516 * files.el (locate-file-completion):
517 * imenu.el (imenu-example--create-c-index)
518 (imenu-example--create-lisp-index)
519 (imenu-example--lisp-extract-index-name)
520 (imenu-example--name-and-position):
521 * international/mule-cmds.el (princ-list):
522 * international/mule-diag.el (decode-codepage-char):
523 * international/mule-util.el (detect-coding-with-priority):
524 * iswitchb.el (iswitchb-read-buffer):
525 * mail/mailalias.el (mail-complete):
526 * mail/sendmail.el (mail-sent-via):
527 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
528 (mouse-major-mode-menu):
529 * password-cache.el (password-read-and-add):
530 * pcomplete.el (pcomplete-parse-comint-arguments):
531 * progmodes/sh-script.el (sh-maybe-here-document):
532 * replace.el (query-replace-regexp-eval):
533 * savehist.el (savehist-load):
534 * simple.el (choose-completion-delete-max-match):
535 * term.el (term-dynamic-simple-complete):
536 * vc/ediff-init.el (ediff-check-version):
537 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
538 * vc/vc.el (vc-diff-switches-list):
539 * view.el (view-return-to-alist-update): Likewise.
541 * subr.el (eval-next-after-load, makehash, insert-string)
542 (assoc-ignore-representation, assoc-ignore-case): Use declare to
544 (mode-line-inverse-video): Variable deleted.
546 * international/mule-util.el (string-to-sequence): Remove.
548 * calendar/calendar.el (calendar-version):
549 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
550 (icalendar-convert-diary-to-ical):
551 * cus-edit.el (custom-mode):
552 * ansi-color.el (ansi-color-unfontify-region):
553 * international/latin1-disp.el (latin1-char-displayable-p):
554 * progmodes/cwarn.el (turn-on-cwarn-mode):
555 * progmodes/which-func.el (which-func-update-1):
556 Use define-obsolete-function-alias.
558 * net/newst-backend.el (newsticker-cache-filename):
559 * net/newst-treeview.el (newsticker-groups-filename):
560 Fix incorrect obsolescence declaration.
562 * allout.el (allout-passphrase-hint-string): Likewise.
563 (allout-init): Use a declare form to mark obsolete.
565 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
566 this applies to functions.
568 * iswitchb.el (iswitchb-read-buffer): Move code of
569 iswitchb-define-mode-map here, and delete that obsolete function.
571 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
572 font-lock-reference-face.
574 2012-09-25 Glenn Morris <rgm@gnu.org>
576 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
579 * eshell/em-term.el (eshell-term-name):
580 Default to term-term-name. (Bug#12485)
582 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
584 * progmodes/python.el (python-shell-send-buffer): Better handling
585 of "if __name__ == '__main__':" conditionals when sending the buffer.
587 2012-09-24 Glenn Morris <rgm@gnu.org>
589 * eshell/esh-cmd.el (eshell-find-alias-function):
590 Tighten up file-name regexp. (Bug#12499)
592 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
594 Enhancements for triple-quote string syntax.
595 * progmodes/python.el (python-quote-syntax): Remove.
596 (python-syntax-propertize-function): New value.
597 (python-syntax-count-quotes, python-syntax-stringify):
600 2012-09-24 Chong Yidong <cyd@gnu.org>
602 * mail/supercite.el (sc-version): Remove obsolete function.
603 (sc-describe): Don't mark as obsolete, since it is bound.
604 (sc-submit-bug-report): Remove.
606 * vc/log-edit.el (cvs-changelog-full-paragraphs)
607 (cvs-commit-buffer-require-final-newline): Remove.
608 (log-edit-require-final-newline)
609 (log-edit-changelog-full-paragraphs): Default to t.
611 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
612 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
613 * vc/vc.el (vc-checkout-carefully): Likewise.
615 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
616 (emerge-version): Remove.
618 * progmodes/compile.el (compile-internal): Remove.
619 (compilation-parse-errors-function): Fix typo.
621 * international/mule.el (set-char-table-default): Remove.
622 (set-coding-priority, make-coding-system, generic-char-p)
623 (charset-list, charset-bytes, charset-id): Use declare to mark
624 functions as obsolete.
626 * vc/pcvs-defs.el (cvs-buffer-name-alist)
627 (cvs-invert-ignore-marks): Remove references to obsolete vars.
628 * vc/vc-hooks.el (vc-default-registered): Don't use
631 * font-lock.el (font-lock-reference-face):
632 Use define-obsolete-variable-alias.
634 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
635 * calendar/calendar.el (calendar-font-lock-keywords):
636 * calendar/diary-lib.el (diary-font-lock-keywords)
637 (diary-fancy-font-lock-keywords):
638 * textmodes/reftex-sel.el (reftex-insert-docstruct):
639 * textmodes/reftex-index.el (reftex-insert-index):
640 * textmodes/reftex-cite.el (reftex-format-bib-entry):
641 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
642 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
643 * progmodes/prolog.el (prolog-font-lock-keywords):
644 * progmodes/idlwave.el (idlwave-idl-keywords):
645 * progmodes/ada-mode.el (ada-font-lock-keywords):
646 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
648 2012-09-24 Glenn Morris <rgm@gnu.org>
650 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
652 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
654 * progmodes/python.el (python-indent-line): More consistent cursor
657 2012-09-23 Stefan Merten <smerten@oekonux.de>
659 * textmodes/rst.el: Fix compiler warning.
661 2012-09-23 Roland Winkler <winkler@gnu.org>
663 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
664 Transcribe also LaTeX hyphenation.
665 (bibtex-reformat): Bug fix. Do not quote twice the elements of
666 bibtex-reformat-previous-options.
668 2012-09-23 Roland Winkler <winkler@gnu.org>
670 * proced.el (proced-renice-command): New variable.
671 (proced-marked-processes): New function.
672 (proced-with-processes-buffer): New macro.
673 (proced-send-signal): Use them.
674 (proced-renice): New command bound to r.
676 2012-09-23 Roland Winkler <winkler@gnu.org>
678 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
679 ibuffer-saved-filter-groups has one element, shortcut the call of
680 completing-read. (Bug#12331)
682 2012-09-23 Chong Yidong <cyd@gnu.org>
684 * bindings.el (mode-line-toggle-read-only):
685 * bs.el (bs-toggle-readonly):
686 * buff-menu.el (Buffer-menu-toggle-read-only):
687 * dired.el (dired-toggle-read-only):
688 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
690 2012-09-23 Chong Yidong <cyd@gnu.org>
692 * image.el (image-type-available-p): Adapt to init-image-library
695 2012-09-22 Juri Linkov <juri@jurta.org>
697 * dired.el (dired-mode-map): Add [remap read-only-mode] for
698 `dired-toggle-read-only'. (Bug#12462)
700 2012-09-22 Martin Rudalics <rudalics@gmx.at>
702 * subr.el (temp-output-buffer-show): New function.
703 (with-output-to-temp-buffer): Call temp-output-buffer-show
704 instead of internal-temp-output-buffer-show.
706 2012-09-22 Chong Yidong <cyd@gnu.org>
708 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
711 * repeat.el (repeat): Doc fix (Bug#12348).
713 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
716 * simple.el (shell-command-on-region): Doc fix.
717 (read-only-mode): Doc fix.
719 2012-09-22 Eli Zaretskii <eliz@gnu.org>
721 * emacs-lisp/timer.el (run-with-idle-timer)
722 (timer-activate-when-idle): Warn against reinvoking an idle timer
723 from within its own timer action. (Bug#12447)
725 2012-09-22 Martin Rudalics <rudalics@gmx.at>
727 * cus-start.el (window-combination-limit): Add new optional
729 * window.el (temp-buffer-window-show)
730 (window--try-to-split-window): Handle new values of
731 window-combination-limit (Bug#1806).
732 (split-window): Test window-combination-limit for t instead of
734 (display-buffer-at-bottom): New buffer display action function.
735 * help.el (temp-buffer-resize-regexps): New option.
736 (temp-buffer-resize-mode): Rewrite doc-string.
737 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
738 Don't resize reused window. Suggested by Glenn Morris.
740 2012-09-22 Stefan Merten <smerten@oekonux.de>
742 * textmodes/rst.el: Revamp section title faces.
743 (rst-official-version)
744 (rst-package-emacs-version-alist): Sync with official version
746 (rst-faces-defaults, rst-set-level-default)
747 (rst-level-face-max, rst-level-face-base-color)
748 (rst-level-face-base-light, rst-level-face-format-light)
749 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
750 (rst-adornment-faces-alist): Match new setup.
751 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
752 (rst-level-5, rst-level-6): New faces.
754 2012-09-22 Chong Yidong <cyd@gnu.org>
756 * simple.el (undo): Handle indirect buffers (Bug#8207).
758 2012-09-21 Leo Liu <sdl.web@gmail.com>
760 IDO: Disable match re-ordering for buffer switching.
761 * ido.el (ido-buffer-disable-smart-matches): New variable.
762 (ido-set-matches-1): Use it. (Bug#2042)
764 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
766 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
767 Fix 2011-05-17 change. (Bug#12418)
769 2012-09-21 Leo Liu <sdl.web@gmail.com>
771 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
773 2012-09-21 Glenn Morris <rgm@gnu.org>
775 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
776 Be more robust about locating simple.el.
778 2012-09-21 Glenn Morris <rgm@gnu.org>
780 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
782 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
784 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
786 2012-09-20 Juri Linkov <juri@jurta.org>
788 * replace.el (query-replace-read-from): Use `read-regexp' instead
789 of `read-from-minibuffer' when `regexp-flag' is non-nil.
790 (occur-read-primary-args): Use `read-regexp' instead of
792 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
793 `read-from-minibuffer'.
794 * isearch.el (isearch-occur): Use `read-regexp' instead of
796 * dired.el (dired-read-regexp): Use `read-regexp' instead of
797 `read-from-minibuffer'.
798 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
799 of `read-string'. (Bug#7567)
801 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
802 and allow accepting a list of strings prepended to a list of
803 standard default values. Doc fix. (Bug#12321)
805 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
807 * replace.el (read-regexp): Don't add ": " when PROMPT already
808 ends with a colon and space. (Bug#12321)
810 2012-09-20 Tassilo Horn <tsdh@gnu.org>
812 * doc-view.el (doc-view-display): Better fix for the cl-assertion
815 2012-09-20 Stefan Merten <smerten@oekonux.de>
817 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
818 Fixes feature request bug#11711.
819 (rst-mode): Create `imenu-create-index-function'.
820 (rst-get-stripped-line): Delete after refactoring.
821 (rst-section-tree, rst-section-tree-rec)
822 (rst-section-tree-point): Refactor and document properly.
823 (rst-imenu-find-adornments-for-position)
824 (rst-imenu-convert-cell, rst-imenu-create-index):
827 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
829 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
830 (macroexp--expand-all): Use it.
831 (macroexp--funcall-and-return): Remove by folding it into its sole
832 caller (macroexp--warn-and-return).
833 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
834 Use macroexp--obsolete-warning.
836 * calc/calc.el: Fix last change by removing the whole chunk, since it
837 was only needed back when Calc was not bundled.
839 2012-09-20 Martin Rudalics <rudalics@gmx.at>
841 * emacs-lisp/debug.el (debug): Restore assignment to
842 debugger-old-buffer removed on 2012-09-08.
844 2012-09-20 Juri Linkov <juri@jurta.org>
846 * dired-aux.el (dired-diff): Remove (require 'diff) since
847 `diff-latest-backup-file' is now autoloaded.
849 2012-09-20 Chong Yidong <cyd@gnu.org>
851 * vc/diff.el (diff-latest-backup-file): Autoload.
853 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
855 * calc/calc.el: Remove redundant autoload shape check.
856 (sel-mode): Don't defvar.
857 (calc-get-stack-element): Add `sel-mode' arg instead.
858 (calc-top, calc-top-list): Pass it this additional argument.
859 * calc/calc-store.el (calc-store-map):
860 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
861 (calc-map-equation, calc-outer-product, calc-inner-product):
862 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
864 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
866 2012-09-19 Juri Linkov <juri@jurta.org>
868 * dired-aux.el (dired-diff): Add (require 'diff) because
869 `diff-latest-backup-file' is not autoloaded.
870 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
871 of `dired-get-filename' to t to not report error when there is
872 no default file on the current line.
874 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
876 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
877 macroexp--eval-if-compile.
878 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
879 (macroexp--expand-all): Use them (bug#12371).
881 * doc-view.el (doc-view-guess-paper-size)
882 (doc-view-scale-bounding-box): Fix unbound `caddr'.
884 2012-09-19 Tassilo Horn <tsdh@gnu.org>
886 New feature: set optimal slice from BoundingBox information.
887 * doc-view.el (doc-view-mode-map): Add keybinding.
888 (doc-view-menu): Add menu entry.
889 (doc-view-set-slice): Adapt docstring.
890 (doc-view-get-bounding-box, doc-view-guess-paper-size)
891 (doc-view-scale-bounding-box)
892 (doc-view-set-slice-from-bounding-box): New functions.
893 (doc-view-paper-sizes): New defvar.
895 2012-09-19 Glenn Morris <rgm@gnu.org>
897 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
898 (byte-compile-log-warning): Autoload. (Bug#12371)
900 * calendar/calendar.el (calendar-american-month-header)
901 (calendar-european-month-header, calendar-iso-month-header)
902 (calendar-month-header): New options.
903 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
904 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
906 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
908 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
910 2012-09-18 Juri Linkov <juri@jurta.org>
912 * dired-aux.el (dired-diff): Restore original functionality of
913 getting the default value, but keep new feature of using the
914 latest existing backup file (`diff-latest-backup-file').
916 2012-09-18 Juri Linkov <juri@jurta.org>
918 * dired.el (dired-mark): If the region is active in Transient Mark
919 mode, mark all files in the active region. Doc fix.
920 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
923 2012-09-18 Juri Linkov <juri@jurta.org>
925 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
926 attributes for M-n are pulled from the file at point.
927 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
928 Suggested by Drew Adams. (Bug#10624)
930 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
932 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
933 whitespace after "end".
934 (ruby-do-end-to-brace): Collapse block to one line if it fits
937 2012-09-18 Martin Rudalics <rudalics@gmx.at>
939 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
941 (debug): Don't remove debugger window when debugger is expected
944 2012-09-18 Chong Yidong <cyd@gnu.org>
946 * custom.el (defface): Doc fix.
948 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
950 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
952 * progmodes/compile.el (compilation-start): Use compilation-always-kill
953 to initialize query-on-exit; then test that instead (bug#12288).
955 2012-09-17 Stefan Merten <smerten@oekonux.de>
957 * textmodes/rst.el: Add support for `testcover'.
958 (rst-defcustom-testcover, rst-testcover-add-compose)
959 (rst-testcover-add-1value): New functions.
960 (rst-portable-mark-active-p): Replace by `use-region-p'.
961 (rst-update-section, rst-classify-adornment)
962 (rst-find-title-line): Mark `1value' forms.
963 (rst-classify-adornment): Remove superfluous form.
964 (rst-update-section, rst-get-adornments-around)
965 (rst-adornment-complete-p, rst-get-next-adornment)
966 (rst-adjust, rst-promote-region)
967 (rst-display-adornments-hierarchy, rst-straighten-adornments)
968 (rst-find-pfx-in-region, rst-section-tree-rec)
969 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
970 (rst-toc-node, rst-toc, rst-forward-section)
971 (rst-iterate-leftmost-paragraphs)
972 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
973 (rst-bullet-list-region)
974 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
975 (rst-compile-find-conf, rst-compile)
976 (rst-repeat-last-character): Fix style.
978 2012-09-17 Chong Yidong <cyd@gnu.org>
980 * comint.el (comint--complete-file-name-data): Don't add a space
981 if the status is `sole'; that adds a gratuitous space in the
982 completion-cycling case (Bug#12092).
984 * pcomplete.el (pcomplete-completions-at-point): Likewise.
986 2012-09-17 Richard Stallman <rms@gnu.org>
988 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
989 only in the mime-shown mode, not in raw mode.
990 (rmail-mime): Toggle off mime by displaying the message without
991 mime processing. (Bug#12305)
993 * mail/rmail.el (rmail-retry-failure):
994 Turn off mime processing first. (Bug#12037)
996 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
998 2012-09-17 Chong Yidong <cyd@gnu.org>
1000 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1001 (shell-dynamic-complete-functions): Convert to defcustom.
1002 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1004 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1005 * comint.el (comint-prompt-read-only):
1006 * custom.el (defcustom):
1007 * hi-lock.el (hi-lock-mode):
1008 * ibuffer.el (ibuffer-formats):
1009 * ielm.el (ielm-prompt-read-only):
1010 * novice.el (disable-command):
1011 * saveplace.el (toggle-save-place):
1012 * speedbar.el (speedbar-supported-extension-expressions):
1013 * startup.el (auto-save-list-file-prefix, init-file-user)
1014 (after-init-hook, inhibit-startup-echo-area-message):
1015 * strokes.el (strokes-help):
1016 * time-stamp.el (time-stamp):
1017 * calendar/calendar.el (calendar, diary-file):
1018 * calendar/diary-lib.el (diary-mail-entries, diary)
1019 (diary-list-entries-hook):
1020 * calendar/holidays.el (holidays, calendar-holidays):
1021 * calendar/lunar.el (lunar-phases):
1022 * calendar/solar.el (sunrise-sunset):
1023 * emulation/edt.el (edt-load-keys):
1024 * emulation/viper.el (viper-mode):
1025 * eshell/em-alias.el (eshell-command-aliases-list):
1026 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1027 * international/ogonek.el (ogonek-information):
1028 * net/tramp-cmds.el (tramp-bug):
1029 * net/quickurl.el (quickurl-reread-hook-postfix):
1030 * play/decipher.el (decipher-font-lock-keywords):
1031 * progmodes/cc-styles.el (c-set-style):
1032 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1033 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1034 * progmodes/octave-mod.el (octave-mode):
1035 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1036 * progmodes/verilog-mode.el (verilog-read-defines):
1037 * textmodes/two-column.el (2C-mode): Likewise.
1039 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1041 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1042 that holds many addresses.
1044 2012-09-16 Chong Yidong <cyd@gnu.org>
1046 * align.el (align-areas): Call the indication function with
1047 positions instead of markers for arguments (Bug#12343).
1049 * files.el (parse-colon-path): Use split-string (Bug#12351).
1051 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1052 (display-buffer-function): Mark as obsolete.
1054 * progmodes/compile.el (compilation-parse-errors): Accept list
1055 values similar to font-lock-keywords (Bug#12136).
1056 Suggested by Oleksandr Manzyuk.
1057 (compilation-error-regexp-alist): Doc fix.
1059 2012-09-15 Glenn Morris <rgm@gnu.org>
1061 * version.el (emacs-bzr-version-bzr): New function.
1062 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1064 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1065 checkouts, check the parent dirstate matches the branch.
1066 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1069 * version.el (emacs-bzr-version): Doc fix.
1070 (emacs-bzr-version-dirstate): New function.
1071 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1072 is local try and check that it matches the branch. If not, just
1073 use dirstate information. (Bug#12441)
1075 2012-09-14 Juri Linkov <juri@jurta.org>
1077 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1080 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1084 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1085 Remove obsolete byte-compiler hack that tried to silence some warnings.
1086 (edebug-submit-bug-report): Remove.
1087 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1088 Remove aliases, use the un-prefixed name instead.
1089 (edebug-pop-to-buffer): Consider other frames.
1090 (edebug-original-read):: Make it more obvious that it's always defined.
1091 (edebug--make-form-data-entry, edebug--form-data-name)
1092 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1093 single-dashed name, and implement with cl-defstruct.
1094 (edebug-set-form-data-entry): Use the standard accessors.
1095 (edebug-make-top-form-data-entry): Use push.
1096 (edebug-no-match): Drop useless `funcall'.
1097 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1099 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1100 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1101 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1102 (easy-menu-define, with-custom-print): Remove redundant specs.
1103 (edebug-outside-overriding-local-map)
1104 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1105 (edebug--display): Bind unread-command-events directly to nil rather
1106 than binding it to unread-command-events and later setting it to nil.
1107 (edebug--display): Kill edebug-eval-buffer here...
1108 (edebug--recursive-edit): ...rather than here.
1109 Bind standard-output and standard-input.
1110 (edebug-eval): Check cl-macroexpand-all is fboundp.
1111 (edebug-temp-display-freq-count): Fix last change.
1113 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1114 * subr.el (noreturn, 1value): Add `debug' spec.
1115 * emacs-lisp/advice.el: Require cl-lib.
1116 (ad-copy-tree): Remove, use copy-tree instead.
1117 (ad-dolist): Remove use dolist or cl-dolist instead.
1118 (ad-do-return): Remove, use cl-return instead.
1119 (defadvice): Add `debug' spec.
1121 2012-09-13 Juri Linkov <juri@jurta.org>
1123 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1126 2012-09-13 Glenn Morris <rgm@gnu.org>
1128 * calc/calc.el (math-compose-expr):
1129 * calc/calc-ext.el (math-compose-expr):
1130 * progmodes/cc-defs.el (cl-macroexpand-all):
1131 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1132 (cl-macroexpand-all): Update declarations.
1134 * vc/vc.el: No need to require ediff.
1135 (ediff-load-version-control): Declare.
1136 (ediff-vc-internal): Fix declaration.
1137 (vc-version-ediff): Require ediff.
1139 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1141 Use a more backwards-compatible timer format (Bug#12430).
1142 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1143 being right after USECS, as that better supports old code that
1144 inadvisedly looked directly at the timer vector.
1146 2012-09-13 Kenichi Handa <handa@gnu.org>
1148 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1149 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1150 `coding-priority' property of these language environment.
1152 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1154 Fix glitches caused by addition of psec to timers (Bug#12430).
1155 * image.el (image-animate-timer):
1156 * time.el (display-time-world-timer):
1157 Use timer--function and timer--args rather than raw access to
1160 2012-09-13 Glenn Morris <rgm@gnu.org>
1162 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1163 If not compiling a file, try using load-file-name.
1165 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1169 (edebug-update-eval-list): Use `push'.
1171 * emacs-lisp/edebug.el: Use lexical-binding.
1172 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1173 Mark unused args with underscore.
1174 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1175 (edebug-form-data): Use defvar-local.
1176 (edebug-make-before-and-after-form, edebug-make-after-form):
1178 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1179 Not dynamically scoped any more.
1180 (edebug--enter-trace): Add arguments `function' and `args'.
1181 Rename from edebug-enter-trace.
1182 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1183 (edebug--update-coverage): Add `after-index' and `value' args.
1184 Rename from edebug-update-coverage.
1185 (edebug-slow-after): Call it accordingly.
1186 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1187 edebug-recursive-edit.
1188 (edebug--display): Call it accordingly. Add args `value',
1189 `offset-index', and `arg-mode'. Rename from edebug-display.
1190 (edebug-debugger, edebug): Call it accordingly.
1191 (edebug-eval-display-list): Use dolist.
1193 2012-09-12 Juri Linkov <juri@jurta.org>
1195 * info.el (Info-search): Don't check for isearch-mode and
1196 isearch-regexp before let-binding search-spaces-regexp to
1197 Info-search-whitespace-regexp.
1198 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1199 search-whitespace-regexp if isearch-lax-whitespace or
1200 isearch-regexp-lax-whitespace is non-nil.
1201 (Info-mode): Don't set local variable search-whitespace-regexp.
1202 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1204 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1206 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1207 (debugger-env-macro): Remove support for unread-command-char.
1209 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1210 the temporary map re-appearing on emulation-mode-map-alists.
1212 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1215 * ehelp.el (with-electric-help): Accept functions in
1216 electric-help-form-to-execute.
1217 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1218 And replace unread-command-char -> unread-command-events.
1220 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
1222 Sync with Tramp 2.2.6.
1224 * net/tramp.el (tramp-accept-process-output): Don't use
1225 JUST-THIS-ONE in the XEmacs case.
1227 * net/trampver.el: Update release number.
1229 2012-09-12 Martin Rudalics <rudalics@gmx.at>
1231 * emacs-lisp/debug.el (debugger-previous-window-height):
1233 (debug): When debugger-jumping-flag is non-nil try to restore
1234 height of debugger window. (Bug#8789)
1236 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1239 overriding-local-map and pre/post-command-hook here.
1240 (edebug-recursive-edit): Do it here instead (bug#12345).
1241 (edebug-outside-unread-command-char): Remove all uses of
1242 unread-command-char.
1244 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1245 inhibit-debugger is bound instead.
1247 2012-09-11 Bastien Guerry <bzg@gnu.org>
1249 * subr.el (set-temporary-overlay-map): Add a docstring.
1252 2012-09-11 Bastien Guerry <bzg@gnu.org>
1254 * minibuffer.el (completion-table-subvert): Fix docstring.
1257 2012-09-11 Bastien Guerry <bzg@gnu.org>
1259 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
1261 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1263 * progmodes/sql.el: Version 3.1
1264 (sql-db2-escape-newlines): New variable.
1265 (sql-escape-newlines-filter): Use it.
1267 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1269 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1271 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1273 * vc/diff-mode.el (diff-mode-menu):
1274 Bind diff-remove-trailing-whitespace.
1276 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1279 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1280 (emacs-lisp-byte-code-mode): New functions.
1281 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1282 (eval-defun-2): Remove bogus interactive spec.
1283 (lisp-indent-line): Remove redundant whole-exp code, now done in
1284 indent-according-to-mode.
1285 (save-match-data): Remove redundant indent data.
1287 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1290 2012-09-09 Juri Linkov <juri@jurta.org>
1292 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1293 (replace-lax-whitespace, query-replace-regexp)
1294 (query-replace-regexp-eval, replace-regexp): Doc fix.
1295 (perform-replace, replace-highlight): Let-bind
1296 isearch-lax-whitespace to replace-lax-whitespace and
1297 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1299 * isearch.el (isearch-query-replace): Let-bind
1300 replace-lax-whitespace to isearch-lax-whitespace and
1301 replace-regexp-lax-whitespace to
1302 isearch-regexp-lax-whitespace. (Bug#10885)
1304 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1306 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1308 2012-09-09 Alan Mackenzie <acm@muc.de>
1310 * progmodes/cc-engine.el (c-state-cache-init):
1311 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1312 (c-record-parse-state-state):
1313 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1315 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1317 * register.el (register-separator): Rename from
1318 separator-register. All uses changed. Doc fix.
1319 (register): Fix version.
1321 2012-09-09 Chong Yidong <cyd@gnu.org>
1323 * replace.el (query-replace-map): Bind four new symbols for
1324 requesting window scrolling.
1326 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1327 query-replace-map (Bug#8948).
1329 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1331 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1332 since they are now in query-replace-map.
1334 * window.el (scroll-other-window-down): Make the arg optional.
1336 2012-09-09 Chong Yidong <cyd@gnu.org>
1338 * files.el (hack-local-variables-confirm): Use quit-window to kill
1339 the *Local Variables* buffer.
1341 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1343 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1344 not just expect to be at its beginning. Adjust callees.
1345 Succeed when do-end block has no space before the pipe character.
1346 (ruby-brace-to-do-end): When the original block is one-liner,
1347 convert to multiline. Reindent the result.
1349 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1351 * register.el (register): New group.
1352 (register-separator): New user option.
1353 (increment-register): Route it to `append-to-register', if
1354 register contains text. Implication is that `C-x r +' can now be
1355 used for appending to a text register (bug#12217).
1356 (append-to-register, prepend-to-register): Add separator based on
1357 `register-separator.
1359 2012-09-08 Alan Mackenzie <acm@muc.de>
1361 AWK Mode: make auto-newline work when there's "==" in the pattern.
1362 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1364 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1365 Test more rigorously for "=" token.
1367 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1369 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1370 Only fail when reached LIMIT.
1372 2012-09-08 Chong Yidong <cyd@gnu.org>
1374 * dired.el (dired-mode-map): Don't bind M-=.
1376 * dired-aux.el (dired-diff): Use backup file as default.
1378 2012-09-08 Drew Adams <drew.adams@oracle.com>
1380 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1382 2012-09-08 Chong Yidong <cyd@gnu.org>
1384 * subr.el (syntax-after, syntax-class): Doc fix.
1386 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1388 * window.el (display-buffer-in-previous-window): New buffer
1389 display action function.
1391 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1392 (debugger-previous-window): New variable.
1393 (debug): Rewrite using display-buffer-in-previous-window,
1394 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1396 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1400 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1402 * progmodes/python.el (python-shell-send-string):
1403 When default-directory is remote, create temp file on remote
1405 (python-shell-send-file): When file is remote, pass local view of
1406 file paths to remote Python interpreter. (Bug#12340)
1408 2012-09-07 Chong Yidong <cyd@gnu.org>
1410 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1412 * files.el (after-find-file): Don't fail on a read-only buffer if
1413 require-final-newline is `visit' or `visit-save' (Bug#11156).
1415 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1417 * userlock.el (ask-user-about-supersession-threat):
1418 Use read-char-choice (Bug#12093).
1420 2012-09-07 Chong Yidong <cyd@gnu.org>
1422 * subr.el (buffer-narrowed-p): New function.
1424 * ses.el (ses-widen):
1425 * simple.el (count-words--buffer-message):
1426 * net/browse-url.el (browse-url-of-buffer): Use it
1428 * simple.el (count-words-region): Don't signal an error if there
1429 is a non-nil prefix arg and the mark is not set.
1431 * help.el (describe-key-briefly): Allow the message to be seen
1432 when invoked from the minibuffer (Bug#7014).
1434 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1436 * progmodes/ruby-mode.el (ruby-end-of-defun)
1437 (ruby-beginning-of-defun): Simplify, allow indentation before
1438 block beginning and end keywords.
1439 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1440 (ruby-end-of-defun): Expect that the point is at the beginning of
1443 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1445 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1447 (cl--make-usage-args): Strip _ from argument names.
1449 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1451 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1452 obsolete alias speedbar-key-map.
1453 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1454 (vhdl-index-menu-init): Don't use obsolete variable
1455 font-lock-maximum-size.
1457 2012-09-06 Chong Yidong <cyd@gnu.org>
1459 * frame.el (window-system-version): Mark as obsolete.
1461 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1462 of obsolete variable speedbar-key-map.
1464 2012-09-06 Juri Linkov <juri@jurta.org>
1466 * replace.el (replace-lax-whitespace): New defcustom.
1467 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1468 (replace-string, replace-regexp): Mention it in docstrings.
1469 (perform-replace, replace-highlight): Let-bind
1470 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1471 to the values of replace-lax-whitespace and regexp-flag.
1472 Don't let-bind search-whitespace-regexp. (Bug#10885)
1474 * isearch.el (isearch-query-replace): Let-bind
1475 replace-lax-whitespace instead of let-binding
1476 replace-search-function and replace-re-search-function.
1477 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1478 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1479 (isearch-toggle-symbol): Set isearch-regexp to nil
1480 in isearch-word mode (like in isearch-toggle-word).
1482 2012-09-06 Juri Linkov <juri@jurta.org>
1484 * replace.el (replace-search-function)
1485 (replace-re-search-function): Set default values to nil.
1486 (perform-replace): Let-bind isearch-related variables based on
1487 replace-related values, call `isearch-search-fun' and let-bind
1488 the result to `search-function'. Remove code that sets
1489 `search-function' and `search-string' separately for
1491 (replace-highlight): Add new argument `delimited-flag' and
1492 rename other arguments to the names used in `perform-replace'.
1493 Let-bind `isearch-word' to the argument `delimited-flag'.
1494 (Bug#10885, bug#10887)
1496 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1498 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1499 ruby-beginning-of-indent, simplify, allow all keywords to have
1500 indentation before them.
1501 (ruby-beginning-of-indent): Adjust for above. Search until the
1502 found point is not inside a string or comment.
1503 (ruby-font-lock-keywords): Allow symbols to start with "@"
1504 character, give them higher priority than variables.
1505 (ruby-syntax-propertize-function)
1506 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1507 matchers. Expression expansions are not comments when inside a
1508 string, and there comment syntax status is irrelevant.
1509 (ruby-match-expression-expansion): New function. Check that
1510 expression expansion is inside a string, and it's not escaped.
1511 (ruby-font-lock-keywords): Use it.
1513 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1515 * help.el (temp-buffer-max-height): New default value.
1516 (temp-buffer-resize-frames): New option.
1517 (resize-temp-buffer-window): Optionally resize frame.
1519 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1520 (fit-frame-to-buffer): New function.
1522 2012-09-05 Glenn Morris <rgm@gnu.org>
1524 * emulation/cua-rect.el (cua--init-rectangles):
1525 * textmodes/picture.el (picture-mode-map):
1526 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1527 like forward-char and backward-char. (Bug#12317)
1529 2012-09-05 Leo Liu <sdl.web@gmail.com>
1531 * progmodes/flymake.el (flymake-warning-re): New variable.
1532 (flymake-parse-line): Use it.
1534 2012-09-05 Glenn Morris <rgm@gnu.org>
1536 * calendar/holidays.el (holiday-christian-holidays):
1537 Rename an entry. (Bug#12289)
1539 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1541 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1544 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1546 * loadup.el: Load macroexp. Remove hack.
1547 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1548 (macroexp--expand-all): Use it to get better warnings.
1549 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1550 (internal-macroexpand-for-load): New functions.
1551 (macroexp--pending-eager-loads): New var.
1552 (emacs-startup-hook): New hack to replace one in loadup.el.
1553 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1554 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1555 (cl-psetf): Simplify.
1556 (cl-defstruct): Add indent rule.
1558 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1560 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1561 over `user-mail-address' for the SMTP MAIL FROM envelope.
1562 (smtpmail-via-smtp): Ditto.
1564 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1566 * progmodes/ruby-mode.el: Clean up keybindings.
1567 (ruby-mode-map): Don't bind ruby-electric-brace,
1568 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1569 backward-kill-word, reindent-then-newline-and-indent.
1570 (ruby-mark-defun): Remove.
1571 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1572 (ruby-mode): Set local beginning-of-defun-function and
1573 end-of-defun-function values.
1575 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1577 * window.el (temp-buffer-window-setup-hook)
1578 (temp-buffer-window-show-hook): New hooks.
1579 (temp-buffer-window-setup, temp-buffer-window-show)
1580 (with-temp-buffer-window): New functions.
1581 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1582 (special-display-popup-frame): Make sure the window used shows BUFFER.
1584 * help.el (temp-buffer-resize-mode): Fix doc-string.
1585 (resize-temp-buffer-window): New optional argument WINDOW.
1587 * files.el (recover-file, save-buffers-kill-emacs):
1588 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1590 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1592 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1593 remote definition of `default-directory', ensure we can connect.
1595 2012-09-02 Juri Linkov <juri@jurta.org>
1597 Toggle whitespace matching mode with M-s SPC.
1598 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1600 * isearch.el (search-whitespace-regexp): Doc fix.
1601 Remove cons cell customization.
1602 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1603 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1605 (isearch-forward, isearch-forward-regexp): Doc fix.
1606 (isearch-toggle-lax-whitespace): New command.
1607 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1608 (re-search-forward-lax-whitespace)
1609 (re-search-backward-lax-whitespace): New functions.
1610 (isearch-whitespace-regexp): Remove function.
1611 (isearch-query-replace): Let-bind replace-search-function and
1612 replace-re-search-function.
1613 (isearch-occur): Let-bind search-spaces-regexp according to the
1614 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1615 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1616 condition for C-q SPC.
1617 (isearch-search-fun-default): Use new functions mentioned above.
1618 (isearch-search-forward, isearch-search-backward): Remove functions.
1619 (isearch-search): Don't let-bind search-spaces-regexp.
1620 (isearch-lazy-highlight-space-regexp): Remove variable.
1621 (isearch-lazy-highlight-lax-whitespace)
1622 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1623 (isearch-lazy-highlight-new-loop): Use them.
1624 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1626 2012-09-02 Chong Yidong <cyd@gnu.org>
1628 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1630 2012-09-02 Glenn Morris <rgm@gnu.org>
1632 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1634 2012-09-01 Glenn Morris <rgm@gnu.org>
1636 * term.el: Tidy up menu definitions.
1637 (term-mode-map): Use easymenu for In/Out, Complete menus.
1638 (term-pager-break-map): Initialize in the defvar.
1639 (term-terminal-menu, term-signals-menu): Define with easymenu.
1640 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1641 (term-pager-menu): New, extracted from term-process-pager.
1642 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1643 (term-update-mode-line): Propertize line/char and page items.
1644 (term-process-pager): Move keymap initialization elsewhere.
1646 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1648 * window.el (switch-to-prev-buffer): Handle additional values of
1649 BURY-OR-KILL argument. Don't switch in minibuffer window.
1650 (switch-to-next-buffer): Don't switch in minibuffer window.
1651 (quit-restore-window): New function based on quit-window.
1652 Handle additional values of former KILL argument.
1653 (quit-window): Call quit-restore-window with appropriate
1654 interpretation of KILL argument.
1655 (display-buffer-below-selected): New buffer display action
1658 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1660 * minibuffer.el (completion-at-point-functions): Complete docstring
1663 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1665 Better seed support for (random).
1666 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1667 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1668 * play/mpuz.el, play/tetris.el, play/zone.el:
1669 * calc/calc-comb.el (math-init-random-base):
1670 * play/blackbox.el (bb-init-board):
1671 * play/life.el (life):
1672 * server.el (server-use-tcp):
1673 * type-break.el (type-break):
1674 Remove unnecessary call to (random t).
1675 * net/sasl.el (sasl-unique-id-function):
1676 Change (random t) to (random), now that the latter is more random.
1677 * play/life.el (life-initialized): Remove no-longer-needed var.
1679 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1681 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1682 Consider frame's buffer predicate when choosing the buffer.
1685 2012-08-30 Richard Stallman <rms@gnu.org>
1687 * simple.el (special-mode-map): Delete binding for `z'.
1689 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1691 * progmodes/compile.el (compilation-always-kill): Doc fix.
1693 2012-08-30 Chong Yidong <cyd@gnu.org>
1695 * window.el (display-buffer-reuse-frames): Make the obsolescence
1696 message more informative.
1698 2012-08-30 Glenn Morris <rgm@gnu.org>
1700 * paren.el (show-paren-delay):
1701 Add a :set function. Doc fix. (Bug#12297)
1703 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1705 * progmodes/compile.el (compilation-always-kill): New var.
1706 (compilation-start): Use it.
1708 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1710 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1711 * files.el (read-only-mode): Move to simple.el.
1713 * files.el (read-only-mode): New minor mode.
1714 (toggle-read-only): Use it and mark obsolete.
1715 (find-file--read-only):
1716 * vc/vc.el (vc-next-action, vc-checkout):
1717 * vc/vc-cvs.el (vc-cvs-checkout):
1718 * obsolete/vc-mcvs.el (vc-mcvs-update):
1719 * ffap.el (ffap--toggle-read-only): Update callers.
1721 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1723 * eshell/esh-ext.el (eshell-external-command): Do not examine
1724 remote shell scripts.
1725 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1727 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1730 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1734 2012-08-28 Leo Liu <sdl.web@gmail.com>
1736 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1737 completion-at-point. (Bug#12220)
1739 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1741 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1743 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1745 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1746 be buffer-local; add delete-trailing-whitespace (bug#12259).
1748 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1750 * progmodes/hideif.el (hif-compress-define-list):
1751 Fix typo. (Bug#11951)
1753 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1755 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1756 buffer local setting.
1758 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1759 rcirc-encode-coding-system.
1761 2012-08-28 Leo Liu <sdl.web@gmail.com>
1763 * net/rcirc.el (rcirc-split-message): New function.
1764 (rcirc-send-message): Use it. (Bug#12051)
1766 2012-08-28 Juri Linkov <juri@jurta.org>
1768 * info.el (Info-fontify-node): Hide empty lines at the end of
1769 the node. (Bug#12272)
1771 2012-08-27 Drew Adams <drew.adams@oracle.com>
1773 * dired.el (dired-pop-to-buffer): Make window start at beginning
1774 of buffer (Bug#12281).
1776 2012-08-26 Chong Yidong <cyd@gnu.org>
1778 * window.el (special-display-regexps, special-display-frame-alist)
1779 (special-display-buffer-names, special-display-function)
1780 (display-buffer-reuse-frames): Mark as obsolete.
1782 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1784 * help.el (help-print-return-message): Don't treat
1785 display-buffer-reuse-frames specially.
1787 2012-08-26 Chong Yidong <cyd@gnu.org>
1789 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1790 New variable, replacing gdb-frame-parameters.
1791 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1792 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1793 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1794 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1795 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1796 the functions directly with gdb-display-buffer-other-frame-action.
1797 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1798 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1799 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1800 (gdb-display-registers-buffer): Define directly.
1801 (def-gdb-display-buffer): Macro deleted.
1802 (gdb-display-buffer): Remove second and third args, callers don't
1803 use them. Defer to the default display-buffer behavior, apart
1804 from making windows dedicated.
1805 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1807 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1809 * window.el (display-buffer-pop-up-frame): Handle a
1810 pop-up-frame-parameters alist entry.
1811 (display-buffer): Document it.
1813 2012-08-26 Chong Yidong <cyd@gnu.org>
1815 * isearch.el (search-whitespace-regexp): Make string and nil
1816 values apply to both ordinary and regexp search. Allow a cons
1817 cell value to distinguish between the two.
1818 (isearch-whitespace-regexp, isearch-search-forward)
1819 (isearch-search-backward): New functions.
1820 (isearch-occur, isearch-search-fun-default, isearch-search)
1821 (isearch-lazy-highlight-new-loop): Use them.
1822 (isearch-forward, isearch-forward-regexp): Doc fix.
1824 2012-08-26 Chong Yidong <cyd@gnu.org>
1826 * faces.el (help-argument-name): Always inherit from italic
1829 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1831 * window.el (window--even-window-heights): Even heights when
1832 WINDOW and the selected window form a vertical combination.
1833 (display-buffer-use-some-window): Provide that window used gets
1834 sized back by quit-window. (Bug#11880) and (Bug#12091)
1836 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1838 Fix file time stamp problem with bzr and CVS (Bug#12001).
1839 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1840 in the file's time stamp, since the version control system loses
1843 2012-08-22 Juri Linkov <juri@jurta.org>
1845 * info.el (Info-fontify-node): Hide the suffix of the
1846 Info file name in the header line. (Bug#12187)
1848 2012-08-22 Glenn Morris <rgm@gnu.org>
1850 * calendar/cal-tex.el (cal-tex-weekly-common):
1851 Restore leading blank page.
1853 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1855 * misc.el (forward-to-word, backward-to-word): Activate or extend
1856 the region under `shift-select-mode'. (Bug#12231)
1858 2012-08-22 Bastien Guerry <bzg@gnu.org>
1860 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1861 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1862 gives details on why the space is never needed.
1864 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1866 * window.el (walk-window-tree, window-with-parameter):
1867 New optional argument MINIBUF to control whether these functions
1868 should run on the minibuffer window.
1869 (window-at-side-list): Don't operate on minibuffer window.
1870 (window-in-direction): Simplify and rewrite doc-string.
1871 (window--size-ignore): Rename to window--size-ignore-p.
1873 (display-buffer-in-atom-window, window--major-non-side-window)
1874 (window--major-side-window, display-buffer-in-major-side-window)
1875 (delete-side-window, display-buffer-in-side-window):
1877 (window--side-check, window-deletable-p, delete-window)
1878 (delete-other-windows, split-window): Handle side windows and
1879 atomic windows appropriately.
1880 (window--display-buffer): Call display-buffer-record-window also
1881 when the window buffer did not change.
1883 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1885 * help-fns.el (help-fns--key-bindings):
1886 Abbreviate non-symbol remap targets. (Bug#12174)
1888 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1890 * dired.el (dired-mark-remembered): Don't clobber point.
1893 2012-08-22 Glenn Morris <rgm@gnu.org>
1895 * progmodes/bug-reference.el (bug-reference): New custom group.
1896 (bug-reference-bug-regexp): Make it a defcustom.
1898 2012-08-22 Daiki Ueno <ueno@unixuser.org>
1900 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1901 (js-paren-indent-offset, js-square-indent-offset)
1902 (js-curly-indent-offset): Add :safe (Bug#12257).
1904 2012-08-22 Edward O'Connor <hober0@gmail.com>
1906 * json.el (json-key-format): Add error properties.
1907 (json-encode-key): New function.
1908 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1909 Use json-encode-key.
1911 2012-08-22 Glenn Morris <rgm@gnu.org>
1913 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1914 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1915 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1916 Update for above change.
1918 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1920 * cus-face.el (custom-face-attributes): Fix customize type for the
1921 :underline attribute. (Bug#11805)
1923 2012-08-21 Martin Rudalics <rudalics@gmx.at>
1925 * window.el (window-point-1, set-window-point-1): Remove.
1926 (window-in-direction, record-window-buffer)
1927 (set-window-buffer-start-and-point, split-window-below)
1928 (window--state-get-1, display-buffer-record-window):
1929 Replace calls to window-point-1 and set-window-point-1 by calls to
1930 window-point and set-window-point respectively.
1932 2012-08-21 Glenn Morris <rgm@gnu.org>
1934 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1935 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1938 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1939 (cal-tex-shortday): New function.
1940 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1941 (cal-tex-cursor-filofax-daily): Use the above.
1943 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1945 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1946 (cal-tex-cursor-filofax-week): Use them.
1948 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1950 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1951 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1953 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1954 (cal-tex-end-document): Don't rely on buffer name.
1956 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1958 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1959 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1960 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1963 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1964 (cal-tex-cursor-week, cal-tex-cursor-week2)
1965 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1966 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1967 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1968 (cal-tex-insert-preamble, cal-tex-b-document)
1969 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1970 Improve cal-tex-cmd usage.
1972 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1973 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1974 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1975 (cal-tex-weekly-paper): New function.
1976 (cal-tex-cursor-week, cal-tex-cursor-week2)
1977 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1978 (cal-tex-cursor-day): Use it.
1980 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1981 (cal-tex-cursor-filofax-week): Remove leading blank page.
1983 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1984 Add autoload cookie. For now at least, don't use color, since
1985 no other cal-tex function does.
1987 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1988 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1989 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1991 2012-08-21 Juri Linkov <juri@jurta.org>
1993 * info.el (Info-file-attributes): New variable.
1994 (info-insert-file-contents): Add file attributes to
1995 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1996 `Info-toc-nodes' when previous modtime of the Info file is less
1998 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1999 of info.el. (Bug#12230)
2001 2012-08-20 Glenn Morris <rgm@gnu.org>
2003 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2004 * calendar/holidays.el (calendar-holiday-list):
2005 Report errors with display-warning rather than beep'n'sleep.
2007 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2009 * net/tramp.el (tramp-accept-process-output): Accept only output
2010 from PROC. Otherwise, process filters and sentinels might be
2011 confused. (Bug#12145)
2013 2012-08-20 Chong Yidong <cyd@gnu.org>
2015 * descr-text.el (describe-text-properties-1): Use overlays-in to
2016 report on empty overlays (Bug#3322).
2018 2012-08-20 Glenn Morris <rgm@gnu.org>
2020 * mail/rmailout.el (rmail-output-read-file-name):
2021 Trap and report errors in rmail-output-file-alist elements.
2023 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2024 since most non-font-lock faces are not also variables).
2026 2012-08-20 Edward Reingold <reingold@iit.edu>
2028 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2029 New function. (Bug12160)
2031 2012-08-19 Glenn Morris <rgm@gnu.org>
2033 * mail/rmailout.el (rmail-output-read-file-name):
2034 Fix previous change (when the alist is nil or does not match).
2036 2012-08-19 Chong Yidong <cyd@gnu.org>
2038 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2041 2012-08-18 Chong Yidong <cyd@gnu.org>
2043 * simple.el (yank-handled-properties): New defcustom.
2044 (yank-excluded-properties): Add font-lock-face and category.
2047 * subr.el (remove-yank-excluded-properties):
2048 Obey yank-handled-properties. The special handling of font-lock-face
2049 and category is now done this way, instead of being hard-coded.
2050 (insert-for-yank-1): Remove font-lock-face handling.
2051 (yank-handle-font-lock-face-property)
2052 (yank-handle-category-property): New function.
2054 2012-08-17 Glenn Morris <rgm@gnu.org>
2056 * mail/rmailout.el (rmail-output-read-file-name):
2057 Check rmail-output-file-alist against the full message body
2058 in the correct rmail buffer. (Bug#12214)
2060 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2062 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2063 Eliminate superfluous prompt. (Bug#12203)
2065 2012-08-17 Chong Yidong <cyd@gnu.org>
2067 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2068 font spec, set the font directly (Bug#3228).
2070 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2072 * window.el (delete-window): Fix last fix.
2074 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2076 * window.el (window-valid-p): Move to window.c.
2077 (window-child, window-child-count, window-last-child)
2078 (window-normalize-window, window-combined-p)
2079 (window-combinations, window-atom-root, window-min-size)
2080 (window-sizable, window-sizable-p, window-size-fixed-p)
2081 (window-min-delta, window-max-delta, window--resizable)
2082 (window--resizable-p, window-resizable, window-total-size)
2083 (window-full-height-p, window-full-width-p, window-body-size)
2084 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2085 (minimize-window, window-deletable-p, delete-window)
2086 (delete-other-windows, set-window-buffer-start-and-point)
2087 (next-buffer, previous-buffer, split-window, balance-windows-2)
2088 (set-window-text-height, window-buffer-height)
2089 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2090 (truncated-partial-width-window-p): Minor code adjustments.
2091 In doc-strings state whether the argument window has to denote a
2092 live, valid or any window.
2094 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2096 * progmodes/subword.el (subword-forward-function)
2097 (subword-backward-function, subword-forward-regexp)
2098 (subword-backward-regexp): New variables.
2099 (subword-forward, subword-forward-internal, subword-backward-internal):
2100 Use new variables, eg so that different "word" definitions
2101 can be easily used. (Bug#11411)
2103 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2105 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2106 for composite selectors.
2107 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2108 operation just because we can't find a previous revision.
2110 2012-08-15 Chong Yidong <cyd@gnu.org>
2112 * frame.el (set-frame-font): Accept font objects.
2114 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2116 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2118 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2120 * man.el (Man-overstrike-face, Man-underline-face)
2121 (Man-reverse-face): Remove variables.
2122 (Man-overstrike, Man-underline, Man-reverse): New faces.
2123 (Man-fontify-manpage): Use them instead of the variables.
2124 (Man-cleanup-manpage): Comment change.
2125 (Man-ansi-color-map): New variable.
2126 (Man-fontify-manpage): Use it.
2127 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2129 Implement ANSI SGR parameters 22-27 (bug#12146).
2130 * ansi-color.el (ansi-colors): Doc fix.
2131 (ansi-color-context, ansi-color-context-region): Doc fix.
2132 (ansi-color--find-face): New function.
2133 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2134 Rename the local variable `face' to `codes' since it is now a list of
2135 ansi codes. Doc fix.
2136 (ansi-color-get-face): Remove.
2137 (ansi-color-parse-sequence): New function, derived from
2138 ansi-color-get-face.
2139 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2142 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2144 * subr.el (read-passwd): Allow use from a minibuffer.
2146 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2148 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2149 inside comments and strings as identifiers.
2151 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2152 expression to evaluate. This allows to evaluate expressions with
2153 embedded whitespace.
2154 (gud-tooltip-tips): Add a blank before the newline in the
2155 message-box text, for the benefit of message-box emulation on
2158 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2159 messages from GDB, pop them up in a tooltip to give feedback to
2161 (gdb-tooltip-print-1): Quote the expression to evaluate.
2162 This allows to evaluate expressions with embedded whitespace.
2163 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2164 if the TTY name is nil or empty (which happens when communicating
2165 with the inferior via pipes, e.g. on MS-Windows).
2166 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2167 don't send that to the GUD buffer.
2169 2012-08-14 Glenn Morris <rgm@gnu.org>
2171 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2172 Optimize away setq-default with no args, as for setq. (Bug#12195)
2174 2012-08-14 Chong Yidong <cyd@gnu.org>
2176 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2178 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2181 2012-08-14 Glenn Morris <rgm@gnu.org>
2183 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2185 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2187 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2188 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2189 Use cached shell name.
2191 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2193 * progmodes/python.el (python-shell-send-string):
2194 (python-shell-send-setup-code): Do not use `format' with `message'.
2196 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2198 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2199 (ruby-percent-literal-beg-re): New constant.
2200 (ruby-syntax-general-delimiters-goto-beg): Rename to
2201 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2202 (ruby-syntax-propertize-general-delimiters): Rename to
2203 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2204 popular term. Adjust comments everywhere.
2205 (ruby-syntax-propertize-percent-literal): Only propertize when not
2206 inside a simple string or comment. When the literal is unclosed,
2207 leave the text after it unpropertized.
2208 (ruby-syntax-methods-before-regexp): New constant.
2209 (ruby-syntax-propertize-function): Use it to recognize regexps.
2210 Don't look at the text after regexp, just use the whitelist.
2212 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2214 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2215 non-nil always load the compiled file if it exists. (Bug#12197)
2217 2012-08-14 Chong Yidong <cyd@gnu.org>
2219 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2220 (hi-lock-set-pattern): When deciding whether to use font lock or
2221 overlays, look at font-lock-mode instead of font-lock-fontified
2223 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2224 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2226 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2228 * subr.el (internal--after-with-selected-window): Fix typo
2231 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2233 Use `completion-table-dynamic' for completion functions.
2234 * progmodes/python.el
2235 (python-shell-completion--do-completion-at-point)
2236 (python-shell-completion--get-completions):
2238 (python-shell-completion-complete-at-point): New function.
2239 (python-completion-complete-at-point): Use it.
2241 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2243 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2244 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2246 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * subr.el (function-get): Refine `autoload' arg so it can also
2249 autoload functions for gv.el (bug#12191).
2250 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2253 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2254 Prefer pcase-let over destructuring-bind.
2255 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2256 Also, remove whitespace as we go, rather than after accumulating the
2259 * subr.el (internal--before-with-selected-window)
2260 (internal--after-with-selected-window): Fix typo seleted->selected.
2261 (with-selected-window): Adjust callers.
2262 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2264 2012-08-13 Bastien Guerry <bzg@gnu.org>
2266 * window.el (special-display-popup-frame): Minor docstring
2267 enhancement. (Bug#12172)
2269 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2271 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2273 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2276 * files.el (hack-local-variables-filter): Remove useless eval.
2278 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2280 * subr.el (with-selected-window): Fix last change.
2282 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2284 * subr.el (internal--before-with-seleted-window)
2285 (internal--after-with-seleted-window): New functions.
2286 (with-selected-window): Use them, to replace dependency on
2289 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2291 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2292 binding for `newline'.
2293 (ruby-move-to-block): When moving backward, stop at block opening,
2295 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2296 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2297 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2298 `ruby-toggle-block'.
2300 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * ibuffer.el (ibuffer-do-toggle-read-only):
2303 * dired.el (dired-toggle-read-only):
2304 * buff-menu.el (Buffer-menu-toggle-read-only):
2305 * bindings.el (mode-line-toggle-read-only):
2306 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2308 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2310 * descr-text.el (describe-char): Put the overlays over the
2311 "displayed as" character.
2313 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2315 * calc/calc-units.el (math-default-units-table): Give an
2317 (math-put-default-units): Add options to put composite units and
2318 unit systems in the default units table.
2319 (calc-convert-units): Send composite units to
2320 `math-put-default-units' when appropriate.
2322 2012-08-11 Glenn Morris <rgm@gnu.org>
2324 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2326 * tutorial.el (help-with-tutorial):
2327 * emacs-lisp/copyright.el (copyright-update-directory):
2328 * emacs-lisp/autoload.el (autoload-find-generated-file)
2329 (autoload-find-file): Disable local eval: (for insurance).
2331 * files.el (hack-local-variables-filter): If an eval: form is not
2332 known to be safe, and enable-local-variables is :safe, then ignore
2333 the form totally, as is done for non-eval forms. (Bug#12155)
2334 This is CVE-2012-3479.
2336 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2339 (rx-form): Simplify.
2341 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2343 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2344 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2345 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2346 (ruby-syntax-propertize-function): Adjust for changes in
2347 `ruby-syntax-propertize-heredoc'.
2349 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2351 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2352 binding (use `M-;' instead).
2353 (ruby-singleton-class-p): New function.
2354 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2356 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2360 2012-08-10 Chong Yidong <cyd@gnu.org>
2362 * progmodes/python.el (python-shell-get-process-name): Don't mess
2363 with same-window-buffer-names.
2365 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2366 (eshell-remove-from-window-buffer-names): Make obsolete.
2367 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2368 (eshell): Just use pop-to-buffer-same-window instead.
2370 2012-08-10 Chong Yidong <cyd@gnu.org>
2372 * bindings.el: Bind M-= back to count-words-region.
2374 * simple.el (count-words-region): Accept a prefix arg for acting
2375 on the entire buffer.
2376 (count-words--buffer-message): New helper function.
2378 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2380 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2381 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2382 (event-start, event-end): Use posn-at-point to return a more
2384 (posnp): New function.
2385 * mouse.el (popup-menu-normalize-position): Use it.
2387 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2389 * mouse.el (popup-menu-normalize-position): New function.
2390 (popup-menu): Use `popup-menu-normalize-position' to normalize
2391 the form for POSITION argument.
2393 * term/x-win.el (x-menu-bar-open):
2394 Use the value returend from (posn-at-point) as position
2395 passed to `popup-menu'.
2397 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2399 * calc/calccomp.el (math-compose-expr): Add extra argument
2400 indicating that parentheses should be put around products in
2401 denominators. Give multiplication precedence over division during
2404 2012-08-09 Chong Yidong <cyd@gnu.org>
2406 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2407 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2408 (Man-untabify-command, manual-program): Convert to defcustom
2411 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2413 * descr-text.el (describe-char): Don't insert extra newlines
2416 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2417 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2419 * align.el (align-region): Delete temporary markers (Bug#10047).
2420 Plus some code cleanups.
2422 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2424 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2425 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2426 (python-shell-internal-last-output): Use make-local-variable
2427 instead of make-variable-buffer-local.
2429 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2431 * progmodes/python.el: Enhancements to forward-sexp.
2432 (python-nav-forward-sexp): Rename from
2433 python-nav-forward-sexp-function.
2434 (python-nav--forward-sexp, python-nav--backward-sexp):
2437 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2439 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2440 modes and simplification modes.
2442 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * delsel.el (delete-selection-pre-hook): Don't propagate the
2445 file-supersession signals (bug#12161).
2447 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2449 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2450 (cl-map-extents): Add compatibility aliases (bug#12135).
2452 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2454 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2455 tests by `ignore-error'.
2456 (tramp-find-shell): Open also a new shell, when cache is already
2457 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2459 2012-08-08 Juri Linkov <juri@jurta.org>
2461 * bookmark.el: Add `defaults' property to the bookmark record.
2462 (bookmark-current-buffer): Doc fix.
2463 (bookmark-make-record): Add `defaults' property with default values
2464 to the bookmark record.
2465 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2466 with `bookmark-insert-current-bookmark'.
2467 (bookmark-set): Get `defaults' property from the bookmark record
2468 and use it in `read-from-minibuffer'.
2469 (bookmark-insert-current-bookmark): Remove function.
2471 * info.el (Info-bookmark-make-record): Add `defaults' property
2472 with values of canonical Info node name, the current Info file
2473 name and the current Info node name. (Bug#12107)
2475 2012-08-08 Juri Linkov <juri@jurta.org>
2477 * files.el (basic-save-buffer): Use `buffer-name' as the default
2478 of `read-file-name' when buffer is not visiting a file (bug#12128).
2480 2012-08-08 Juri Linkov <juri@jurta.org>
2482 * info.el (Info-isearch-search): Doc fix.
2483 (Info-search): Change search-failed message from "initial node" to
2484 "end of node" (bug#12078).
2485 (Info-isearch-search): Change `isearch-string-state' to
2486 `isearch--state-string'.
2488 2012-08-08 Glenn Morris <rgm@gnu.org>
2490 * language/persian.el: Remove file.
2491 * language/misc-lang.el: Move unique part of persian.el here.
2492 * loadup.el: Remove language/persian.
2494 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2496 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2498 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2500 * progmodes/python.el Fixed defsubst warning.
2501 (python-syntax-context) Rename from python-info-ppss-context.
2502 (python-syntax-context-type): Rename from
2503 python-info-ppss-context-type.
2504 (python-syntax-comment-or-string-p): Rename from
2505 python-info-ppss-comment-or-string-p.
2507 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2509 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2511 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2513 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2514 a defcustom that is quoted with backquote.
2516 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2517 Fix handling of interactive spec when the body uses return.
2518 (math-do-arg-check, math-define-function-body): Use backquote forms.
2519 * calc/calc-ext.el (math-defcache): Likewise.
2520 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2521 * allout.el (allout-new-exposure): Likewise.
2522 * calc/calcalg2.el (math-tracing-integral): Likewise.
2523 * info.el (Info-last-menu-item): Likewise.
2524 * emulation/vip.el (vip-loop): Likewise.
2525 * textmodes/artist.el (artist-funcall): Likewise.
2526 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2527 Construct menu-item directly.
2529 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2532 2012-08-07 Chong Yidong <cyd@gnu.org>
2534 * simple.el (deactivate-mark): Preserve text properties when
2535 saving the primary selection (Bug#8384).
2537 2012-08-07 Kevin Ryde <user42@zip.com.au>
2539 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2540 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2541 and continue processing (Bug#12110).
2543 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2546 syntax-propertize-function (bug#10095).
2548 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2551 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2552 describe-function-1.
2553 (describe-function-1): Use them. Move compiler macro after sig.
2554 (help-fns--compiler-macro): Use function-get. Assume we're already in
2555 standard-output. Adjust layout to new call order.
2557 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2558 re-binding a symbol that has a symbol-macro (bug#12119).
2560 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2562 * language/persian.el: New file. (Bug#11812)
2563 * loadup.el: Add language/persian.el.
2565 2012-08-06 Chong Yidong <cyd@gnu.org>
2567 * window.el (window--maybe-raise-frame): New function.
2568 (window--display-buffer): Split off from here.
2569 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2570 (display-buffer-pop-up-window, display-buffer-use-some-window):
2571 Obey an inhibit-switch-frame action alist entry.
2572 (display-buffer): Update doc.
2574 * replace.el (occur-after-change-function): Avoid losing focus by
2575 using the inhibit-switch-frame display parameter (Bug#12139).
2577 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2579 Make internal shell process buffer names start with space.
2580 * progmodes/python.el (python-shell-make-comint): Add optional
2582 (run-python-internal): Use it.
2583 (python-shell-internal-get-or-create-process): Check for new
2584 internal buffer names.
2586 2012-08-06 Glenn Morris <rgm@gnu.org>
2588 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2589 Do less getting and setting of environment variables.
2591 2012-08-05 Chong Yidong <cyd@gnu.org>
2593 * proced.el (proced): Add substitution string to docstring to
2594 trigger autoloading of the proced library on C-h f (Bug#1768).
2596 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2597 Don't show defvars which have no second argument (Bug#8638).
2599 * imenu.el (imenu-generic-expression): Move documentation here
2600 from imenu--generic-function.
2601 (imenu--generic-function): Refer to imenu-generic-expression.
2603 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2605 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2606 indentation declaration.
2607 (viper-loop): Add indentation declaration (Bug#7025).
2609 2012-08-05 Chong Yidong <cyd@gnu.org>
2611 * help-fns.el (describe-variable): Add hyperlink for
2612 directory-local variables files. Improve buffer-local and
2613 permanent-local reporting; suggested by MON KEY (Bug#6644).
2615 * help-mode.el (help-dir-local-var-def): New button type.
2617 * files.el (kill-buffer-hook): Provide a defvar.
2619 2012-08-05 Glenn Morris <rgm@gnu.org>
2621 * eshell/esh-ext.el (eshell/addpath):
2622 Also update eshell-path-env. (Bug#12013)
2624 2012-08-05 Chong Yidong <cyd@gnu.org>
2626 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2628 * fringe.el (fringe-styles): Add docstring.
2629 (fringe--check-mode): New function.
2630 (set-fringe-mode, set-fringe-style): Use it.
2631 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2633 * files.el (set-auto-mode): Fix invalid setq call.
2635 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2637 * isearch.el: Misc simplification; use defstruct.
2638 (isearch-mode-map): Dense maps now work like sparse ones.
2639 (isearch--state): New defstruct.
2640 (isearch-string-state, isearch-message-state, isearch-point-state)
2641 (isearch-success-state, isearch-forward-state)
2642 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2643 (isearch-wrapped-state, isearch-barrier-state)
2644 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2645 replaced by defstruct's accessors.
2646 (isearch--set-state): Rename from isearch-top-state and change
2648 (isearch-push-state): Use new isearch--get-state.
2649 (isearch-toggle-word): Disable regexp when enabling word.
2650 (isearch-message-prefix): Remove unused arg _c-q-hack.
2651 (isearch-message-suffix): Remove unused arg _ellipsis.
2653 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2655 * simple.el (list-processes--refresh): For a server use :host or
2656 :local as the address.
2657 (list-processes): Doc fix.
2659 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
2661 * lisp/mpc.el: Support password in host argument.
2662 (mpc--proc-connect): Parse and use new password element.
2663 Set mpc-proc variable instead of returning process.
2664 (mpc-proc): Adjust accordingly.
2666 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2668 * whitespace.el (whitespace-display-mappings): Use Unicode
2669 codepoints, instead of emacs-mule codepoints. See
2670 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2673 * files.el (file-truename): Don't skip symlink-chasing part on
2674 windows-nt. Incorporate the resolution of 8+3 short aliases on
2675 Windows into the loop that recursively chases symlinks.
2676 Compare directory and its parent case-insensitively on MS-Windows and
2679 2012-08-03 Chong Yidong <cyd@gnu.org>
2681 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2683 * sort.el (sort-regexp-fields): Doc fix.
2685 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2687 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2688 labels regex position point at the expected place.
2690 2012-08-03 MON KEY <monkey@sandpframing.com>
2692 * net/imap.el (imap-interactive-login, imap-authenticate)
2693 (imap-mailbox-lsub, imap-mailbox-list)
2694 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2695 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2696 (imap-parse-response): Doc fix.
2698 2012-08-03 João Távora <joaotavora@gmail.com>
2700 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2701 if sexp scanning does not move point (Bug#5734).
2703 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2705 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2706 Add listings, minted, and ctable packages.
2707 (reftex-label-alist-builtin): Move listings, minted, and ctable
2708 entries before LaTeX.
2709 (reftex-label-alist): Docfix.
2711 2012-08-02 Bastien Guerry <bzg@gnu.org>
2713 * replace.el (occur): Fix docstring (bug#12122).
2715 2012-08-02 Glenn Morris <rgm@gnu.org>
2717 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2719 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2721 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2722 * international/mule-cmds.el: Create
2723 inactivate-current-input-method-function as an obsolete alias for
2724 deactivate-current-input-method-function. See Katsumi Yamaoka in
2725 <http://bugs.gnu.org/10150#46>.
2727 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2729 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2732 2012-08-01 Glenn Morris <rgm@gnu.org>
2734 * progmodes/autoconf.el (autoconf-definition-regexp):
2735 Add AH_TEMPLATE, adjust submatch numbering.
2736 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2737 (autoconf-current-defun-function): Update for above change.
2738 (autoconf-current-defun-function): First skip to end of current word.
2740 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2742 * calendar/cal-html.el (cal-html-insert-agenda-days):
2743 Fix typo. (Bug#12018)
2745 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2747 Shell processes: enhancements to startup and CEDET compatibility.
2748 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2749 (python-shell-make-comint): accept-process-output at startup.
2750 (run-python-internal): Set inferior-python-mode-hook to nil.
2751 (python-shell-internal-get-or-create-process): call sit-for.
2752 (python-preoutput-result): Add obsolete alias.
2753 (python-shell-internal-send-string): Use it.
2754 (python-shell-send-setup-code): Remove call to
2755 accept-process-output.
2757 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2759 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2762 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2764 * calc-mode.el (calc-basic-simplification-mode): Rename from
2765 `calc-limited-simplification-mode'.
2766 (calc-alg-simplification-mode): New function.
2767 (calc-set-simplify-mode): Adjust message.
2769 * calc.el (calc-set-mode-line): Adjust mode line display for
2770 basic simplification mode.
2772 * calc-help.el (calc-m-prefix-help): Update help message.
2774 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2775 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2777 2012-07-31 Bastien Guerry <bzg@gnu.org>
2779 * man.el (man): Fix comment. (bug#12101)
2781 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2783 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2784 Don't return a non-nil value when no suitable buffer was found.
2786 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2788 * progmodes/python.el (run-python-internal): Disable font lock for
2791 2012-07-30 Stefan Merten <smerten@oekonux.de>
2793 * textmodes/rst.el: Silence `checkdoc-ispell'.
2794 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2795 (rst-official-version, rst-official-cvs-rev)
2796 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2797 (rst-mode-map): New key binding.
2799 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2801 Update .PHONY listings in makefiles.
2802 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2803 autoloads, update-subdirs, updates, bzr-update, update-authors,
2804 compile-onefile, compile-calc, backup-compiled-files,
2805 compile-after-backup, compile-one-process, mh-autoloads,
2806 bootstrap-clean, distclean, maintainer-clean.
2808 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2810 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2811 (calc-set-mode-line): Don't display "AlgSimp ".
2813 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2814 (calc-lim-simplify-mode): New function.
2815 (calc-set-simplify-mode): Default to 'alg.
2816 (calc-default-simplify-mode): Make algebraic simplifications
2819 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2820 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2822 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2823 indicate new simplification modes.
2825 * calc/README: Mention new default simplification mode.
2827 * calc/calc.el (math-normalize-error): New variable.
2828 (math-normalize): Set `math-normalize-error' to t
2829 when there's an error.
2831 * calc/calc-alg.el (math-simplify): Don't simplify when
2832 `math-normalize' returns an error.
2834 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2836 * international/mule-cmds.el (set-locale-environment): Revert last
2837 change, since display-graphic-p returns nil when this function is
2838 called during startup. Instead...
2840 * term/w32console.el (terminal-init-w32console): ...setup the
2841 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2843 2012-07-29 Juri Linkov <juri@jurta.org>
2845 * simple.el (goto-line): Don't display default line number in the
2846 prompt because it should be displayed by `read-number' (bug#9952).
2847 Add the current line number to the defaults of `goto-line' to
2848 allow its easier modification by users with `M-n' (bug#9201).
2850 * subr.el (read-number): Support multiple default values like in
2851 other minibuffer reading functions. Replace `read' with
2852 `string-to-number' for consistency with `number-to-string'.
2854 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2856 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2857 * emulation/viper-init.el (viper-deactivate-input-method-action):
2858 Rename from viper-inactivate-input-method-action.
2859 (viper-deactivate-input-method):
2860 Rename from viper-inactivate-input-method.
2861 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2862 * international/mule-cmds.el (deactivate-input-method):
2863 Rename from inactivate-input-method.
2864 Also run input-method-deactivate-hook.
2865 (deactivate-current-input-method-function):
2866 Rename from inactivate-current-input-method-function.
2867 (input-method-deactivate-hook): New hook.
2868 (input-method-inactivate-hook): Mark obsolete.
2869 (inactivate-input-method): Mark obsolete.
2871 * international/quail.el (quail-activate):
2872 Also run quail-deactivate-hook.
2873 (quail-deactivate): Rename from quail-inactivate.
2874 * international/robin.el (robin-activate):
2875 Also run robin-deactivate-hook.
2876 (robin-deactivate): Rename from robin-inactivate.
2878 2012-07-29 Chong Yidong <cyd@gnu.org>
2880 * simple.el (indicate-copied-region): New function.
2881 (kill-ring-save): Split off from here.
2883 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2884 (kill-rectangle): Set deactivate-mark to t on read-only error.
2886 * register.el (copy-to-register, copy-rectangle-to-register):
2887 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2888 (append-to-register, prepend-to-register): Call indicate-copied-region.
2890 2012-07-29 Juri Linkov <juri@jurta.org>
2892 * simple.el (async-shell-command-buffer): New defcustom.
2893 (shell-command): Use it. (Bug#4719)
2895 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2897 * international/mule-cmds.el (set-locale-environment): In a
2898 console session on MS-Windows, set up keyboard and terminal
2899 encoding from the OEM codepage, not the ANSI codepage.
2902 2012-07-28 Chong Yidong <cyd@gnu.org>
2904 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2907 2012-07-28 Leo Liu <sdl.web@gmail.com>
2909 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2910 the alist (bug#12029).
2912 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2914 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2915 (compile-always, compile-first)
2916 ($(lisp)/calendar/cal-loaddefs.el)
2917 ($(lisp)/calendar/diary-loaddefs.el)
2918 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2919 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2920 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2921 instead of on update-subdirs.
2922 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2924 2012-07-28 Chong Yidong <cyd@gnu.org>
2926 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2927 directory if vc-deduce-backend returns nil (Bug#7350).
2929 * simple.el (delete-trailing-lines): New option.
2930 (delete-trailing-whitespace): Obey it (Bug#11879).
2932 2012-07-28 David Engster <deng@randomsample.de>
2934 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2935 Explanation of new 'symbol-qnames feature in doc-strings.
2936 (xml-maybe-do-ns): Return expanded names as plain symbols if
2937 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2938 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2940 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2942 Consistent completion in inferior python with emacs -nw.
2943 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2944 binding in inferior-python-mode-map with "\t".
2945 (python-shell-completion-complete-at-point)
2946 (python-completion-complete-at-point): Remove interactive spec.
2948 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2950 * calc/calccomp.el (math-compose-expr): Undo previous change.
2952 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2954 * progmodes/python.el (python-mode-map): Add keybinding for
2956 (python-shell-make-comint): Fix pop-to-buffer call.
2957 (run-python): Autoload. New arg SHOW.
2958 (python-shell-get-or-create-process): Do not pop python process
2961 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
2963 * notifications.el (notifications-on-action-signal)
2964 (notifications-on-closed-signal): Use also the bus address for the map.
2965 (notifications-notify, notifications-close-notification)
2966 (notifications-get-capabilities): Add optional argument BUS.
2968 2012-07-27 Tassilo Horn <tsdh@gnu.org>
2970 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2971 Add support for the lstlisting and minted environments, and for the
2973 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2974 labels written in keyvals syntax.
2976 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2978 * calc/calccomp.el (math-compose-expr): Use parentheses when
2979 there is a product in the denominator of a fraction.
2981 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2983 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2984 ($(lisp)/calendar/diary-loaddefs.el)
2985 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2986 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2987 Fixes failures in parallel bootstrap because subdirs.el is being
2988 rewritten while the autoload files are built at the same time,
2989 which needs to load subdirs.el.
2991 2012-07-26 Martin Rudalics <rudalics@gmx.at>
2993 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2994 (mouse-drag-line): Don't exit tracking when a switch-frame or
2995 switch-window event occurs (Bug#12006).
2997 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * mouse.el (popup-menu): Fix last change.
3001 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3003 Autoload from Lisp with more care. Follow aliases when looking for
3004 function properties.
3005 * subr.el (autoloadp): New function.
3006 (symbol-file): Use it.
3007 (function-get): New function.
3008 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3010 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3011 (lisp-indent-function):
3012 * emacs-lisp/gv.el (gv-get):
3013 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3014 * emacs-lisp/byte-opt.el (byte-optimize-form):
3015 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3016 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3018 * emacs-lisp/cl.el: Don't propagate function properties any more.
3020 * speedbar.el (speedbar-add-localized-speedbar-support):
3021 * emacs-lisp/disass.el (disassemble-internal):
3022 * desktop.el (desktop-load-file):
3023 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3024 (describe-function-1):
3025 * emacs-lisp/find-func.el (find-function-noselect):
3026 * emacs-lisp/elp.el (elp-instrument-function):
3027 * emacs-lisp/advice.el (ad-has-proper-definition):
3028 * apropos.el (apropos-safe-documentation, apropos-macrop):
3029 * emacs-lisp/debug.el (debug-on-entry):
3030 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3031 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3032 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3034 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3036 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3037 function, not an obsolete variable (Bug#12046).
3039 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3041 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3043 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3045 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3046 window only if it is still live (Bug#12034).
3048 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3050 * subr.el (redirect-frame-focus): Add advertised calling
3051 convention (Bug#12030).
3053 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3055 Prefer typical American spelling for "acknowledgment".
3056 * vc/add-log.el (change-log-acknowledgment): Rename from
3057 change-log-acknowledgement, with an alias for the old name.
3059 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3061 * calc-alg.el (math-simplify-divide): Don't cross multiply
3062 in an equation when the lhs is a variable.
3064 2012-07-24 Julien Danjou <julien@danjou.info>
3066 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3069 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3071 * startup.el (command-line): Don't display an empty user name in
3072 the error message about non-existent home directory, when
3073 init-file-user was set to an empty string. See
3074 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3075 for the details and context.
3077 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3079 * ses.el (ses-cell-formula-aset): New macro.
3080 (ses-cell-references-aset): New macro.
3081 (ses-cell-p): New function.
3082 (ses-rename-cell): Do no longer rely on complex operations like
3083 ses-cell-set-formula or ses-set-cell to change the cell and handle
3084 the undo at the same time, but rather use lower level new macros
3085 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3086 the undo directly. Refresh the mode line.
3088 2012-07-21 Leo Liu <sdl.web@gmail.com>
3090 * progmodes/cc-cmds.el (c-defun-name):
3091 Use match-string-no-properties instead for consistency.
3093 2012-07-20 Leo Liu <sdl.web@gmail.com>
3095 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3098 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3100 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3102 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3103 * progmodes/bug-reference.el, misearch.el: Provide themselves
3106 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3107 of narrowed buffer (bug#11966).
3109 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3111 * ses.el (ses-rename-cell): Set new name also in reference list of
3112 cells of which the renamed cell depends.
3114 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3116 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3117 to check whether menu-bar is shown or not. If not shown,
3118 show the menu-bar as a popup menu instead of using tmm.
3119 * mouse.el (popup-menu): Accept `point' as `position' argument.
3121 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3123 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3124 up inside string symbol literal (bug#11923).
3126 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3128 * startup.el (fancy-startup-text): Read the whole tutorial, not
3129 just its first 256 bytes. Prevents gibberish in display of the
3132 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3134 Drop idle buffer compaction due to an absence of the
3136 * compact.el: Remove.
3138 2012-07-19 Sam Steingold <sds@gnu.org>
3140 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3141 vc-bzr-pull & vc-bzr-merge-branch.
3142 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3143 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3144 for consistency with compilation-error-regexp-alist.
3145 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3146 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3147 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3148 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3150 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3152 * emacs-lisp/chart.el: Use lexical-binding.
3153 (chart-emacs-storage): Don't hardcode the list of entries.
3155 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3157 Next round of tweaks caused by Fgarbage_collect changes.
3158 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3160 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3162 Compact buffers when idle.
3163 * compact.el: New file.
3165 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3167 * subr.el (eventp): Presume that if it looks vaguely like an event,
3168 it's an event (bug#10190).
3170 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3172 Enhancements to ppss related code (thanks Stefan).
3173 * progmodes/python.el (python-indent-context)
3174 (python-indent-calculate-indentation, python-indent-dedent-line)
3175 (python-indent-electric-colon, python-nav-forward-block)
3176 (python-mode-abbrev-table)
3177 (python-info-assignment-continuation-line-p): Simplify checks
3179 (python-info-continuation-line-p): Cleanup.
3180 (python-info-ppss-context): Do not catch 'quote.
3181 (python-info-ppss-context-type)
3182 (python-info-ppss-comment-or-string-p): Simplify.
3184 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3186 * progmodes/python.el: Enhancements to eldoc support.
3187 (python-info-current-symbol): New function.
3188 (python-eldoc-at-point): Use python-info-current-symbol.
3189 (python-info-current-defun): Fix cornercase on first defun scan.
3190 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3191 and signal error when no inferior python process is available.
3193 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3195 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3196 assume it's always t.
3197 (vc-git-registered): Remove caching, the function is only called
3199 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3201 2012-07-18 Chong Yidong <cyd@gnu.org>
3203 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3205 * simple.el (count-words): Report on narrowing (Bug#9959).
3207 * bindings.el: Bind M-= to count-words.
3209 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3211 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3213 * progmodes/sh-script.el (sh-imenu-generic-expression):
3214 Capture a function with `function' keyword and without parentheses
3215 like "function FOO" (bug#11856).
3217 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3219 * window.el (split-window-sensibly): Make WINDOW argument
3222 2012-07-18 Chong Yidong <cyd@gnu.org>
3224 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3226 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3227 and make C-x 8 RET exit isearch (Bug#11439).
3229 * international/iso-transl.el: Move isearch-mode-map key
3230 definitions to isearch.el.
3232 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3234 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3235 (eieio-defclass): Use gv-define-setter when possible.
3237 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3239 Reflect recent changes in Fgarbage_collect.
3240 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3241 reflect new format of data returned by Fgarbage_collect.
3243 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3245 New utility functions + python-info-ppss-context fix (Bug#11910).
3246 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3247 (python-info-ppss-comment-or-string-p): New functions.
3248 (python-info-ppss-context): Small fix for string check.
3250 2012-07-17 Juri Linkov <juri@jurta.org>
3252 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3253 (dired-do-async-shell-command): Don't add `*' at the end of the
3254 command (Bug#11815).
3255 (dired-do-shell-command): Doc fix.
3256 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3257 Join the individual commands using either "&" or ";" as the
3258 separator depending on the values of these trailing characters.
3259 At the end re-add the trailing "&". (Bug#10598)
3261 * simple.el (async-shell-command): Sync the interactive spec with
3262 `shell-command'. Doc fix.
3263 (shell-command): Doc fix.
3265 2012-07-17 Juri Linkov <juri@jurta.org>
3267 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3269 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3271 Final renames and doc fixes for movement commands (bug#11899).
3272 * progmodes/python.el (python-nav-beginning-of-statement):
3273 Rename from python-nav-statement-start.
3274 (python-nav-end-of-statement): Rename from
3275 python-nav-statement-end.
3276 (python-nav-beginning-of-block): Rename from
3277 python-nav-block-start.
3278 (python-nav-end-of-block): Rename from python-nav-block-end.
3280 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3282 * progmodes/python.el (python-shell-send-string-no-output):
3283 Allow accept-process-output to quit, keeping shell process ready for
3284 future interactions (Bug#11868).
3286 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3288 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3290 * emacs-lisp/elint.el (elint-find-args-in-code):
3291 Use help-function-arglist, so as to handle lexical byte-code.
3293 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3296 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3298 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3299 Avoid spuriously marking the buffer as modified because of c-is-sws.
3301 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3302 as not-a-comment (bug#11946).
3304 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3305 for uninterned vars.
3307 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3308 Use read-event since we don't really want to read chars but bytes.
3310 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3311 $$..$$ but also $..$ using regexps (bug#11953).
3312 Use tex-verbatim for \url and \path.
3313 (tex-font-lock-keywords): Define as defconst like the others.
3314 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3316 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3318 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3319 alias for insert-char.
3321 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3323 * progmodes/python.el: Simplified imenu implementation.
3324 (python-nav-jump-to-defun): Remove command.
3325 (python-mode-map): Use `imenu' instead.
3326 (python-nav-list-defun-positions-cache)
3327 (python-imenu-include-defun-type, python-imenu-make-tree)
3328 (python-imenu-subtree-root-label, python-imenu-index-alist):
3330 (python-nav-list-defun-positions, python-nav-read-defun)
3331 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3332 (python-imenu-make-tree, python-imenu-create-index):
3334 (python-mode): Update to interact with imenu by setting
3335 `imenu-extract-index-name-function' only.
3337 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3339 * progmodes/python.el: Enhancements to navigation commands.
3340 (python-nav-backward-sentence)
3341 (python-nav-forward-sentence): Remove.
3342 (python-nav-backward-statement, python-nav-forward-statement)
3343 (python-nav-statement-start, python-nav-statement-end)
3344 (python-nav-backward-block, python-nav-forward-block)
3345 (python-nav-block-start, python-nav-block-end)
3346 (python-nav-forward-sexp-function)
3347 (python-info-current-line-comment-p)
3348 (python-info-current-line-empty-p): New functions.
3349 (python-indent-context): Use `python-nav-statement-start'.
3351 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3353 * eshell/em-ls.el (eshell/ls): Use `apply'.
3355 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3356 multi-hops, instead of Tramp internals.
3358 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3360 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3361 when F1 and F2 are located on different hosts.
3363 2012-07-14 Chong Yidong <cyd@gnu.org>
3365 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3366 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3367 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3368 (xterm-mouse--read-event-sequence-1000)
3369 (xterm-mouse--read-event-sequence-1006): New functions. For old
3370 mouse protocol, handle M-mouse-X events correctly.
3371 (xterm-mouse-event): New arg specifying mouse protocol.
3372 (turn-on-xterm-mouse-tracking-on-terminal)
3373 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3374 sequence to toggle extended coordinates on newer XTerms.
3375 This appears to be harmless on terminals which do not support this.
3377 2012-07-14 Leo Liu <sdl.web@gmail.com>
3379 Add fringe bitmap indicators for flymake. (Bug#11253)
3380 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3381 (flymake-make-overlay): New arg BITMAP.
3382 (flymake-error-bitmap, flymake-warning-bitmap)
3383 (flymake-fringe-indicator-position): New user variables.
3385 * fringe.el: New bitmap exclamation-mark.
3387 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3389 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3392 2012-07-14 Chong Yidong <cyd@gnu.org>
3394 * electric.el (electric-pair-post-self-insert-function): Fix pair
3395 insertion in empty-region case (Bug#11520).
3397 2012-07-14 Chong Yidong <cyd@gnu.org>
3399 * bindings.el: Consolidate ctl-x-r-map bindings.
3400 Bind copy-rectangle-as-kill to C-x r w.
3402 * rect.el, register.el: Move bindings to bindings.el.
3404 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3406 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3408 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3410 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3412 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3414 * bindings.el (top): Use `mapc' instead of `mapcar'.
3416 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3418 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3420 * progmodes/sql.el (sql-comint): Suppress the check for program on
3421 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3424 2012-07-13 Chong Yidong <cyd@gnu.org>
3426 * bindings.el: Assign a non-nil permanent-local property to
3427 per-buffer variables which lack a default value (Bug#11930).
3429 * help-fns.el (describe-variable): In the "automatically becomes
3430 local" notice, take note of permanent-local variables.
3432 2012-07-13 Chong Yidong <cyd@gnu.org>
3434 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3435 to allow printing the message when called from Lisp.
3437 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3438 Remove toggle-read-only.
3440 * bs.el (bs-toggle-readonly):
3441 * buff-menu.el (Buffer-menu-toggle-read-only):
3442 Remove with-no-warnings around toggle-read-only.
3444 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3445 Remove with-no-warnings around toggle-read-only.
3446 (ffap-read-only, ffap-read-only-other-window)
3447 (ffap-read-only-other-frame): Callers changed.
3449 * help-mode.el: Don't require view package.
3450 (help-mode-finish): Set buffer-read-only instead of calling
3453 * bindings.el (mode-line-toggle-read-only):
3454 * dired.el (dired-toggle-read-only):
3455 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3456 with non-nil second arg.
3458 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3459 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3462 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3464 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3467 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3469 More CL cleanups and reduction of use of cl.el.
3470 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3471 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3472 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3473 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3474 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3475 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3476 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3477 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3478 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3479 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3480 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3481 * eshell/em-cmpl.el, eshell/em-banner.el:
3482 * calendar/parse-time.el: Use cl-lib.
3483 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3484 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3485 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3486 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3487 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3488 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3489 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3490 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3491 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3492 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3493 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3494 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3495 `lambda' rather than with `quote'.
3496 (eshell-do-opt): Adjust accordingly.
3497 (eshell-process-option): Simplify.
3498 * eshell/esh-var.el:
3499 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3500 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3501 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3502 to `pcase--dontcare'.
3503 * emacs-lisp/cl.el (labels): Mark obsolete.
3504 (cl--letf, letf): Move to cl-lib.
3505 (cl--letf*, letf*): Remove.
3506 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3507 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3508 (cl-progv): Rewrite.
3509 (cl--letf, cl-letf): Move from cl.el.
3510 (cl-letf*): New macro.
3511 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3513 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3515 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3517 2012-07-11 Chong Yidong <cyd@gnu.org>
3519 * vc/log-edit.el (log-edit-vc-backend): New variable.
3520 (log-edit): Doc fix.
3522 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3523 argument of log-edit to set up all local variables.
3524 (vc-start-logentry): New optional arg specifying VC backend.
3526 * vc/vc.el (vc-checkin): Use it.
3527 (vc-deduce-fileset): Handle Log Edit buffers.
3528 (vc-diff): Make first argument optional too.
3530 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3532 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3534 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3535 command, just in case. The function is not needed anymore.
3536 (eshell-external-command): Do not call `eshell-remote-command'.
3538 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3540 Reduce use of (require 'cl).
3541 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3542 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3543 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3544 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3545 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3546 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3547 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3548 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3549 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3550 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3551 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3552 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3553 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3554 (byte-compile-unfold-bcf, byte-compile-check-variable):
3555 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3556 (byte-compile-nilconstp):
3557 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3558 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3560 * emacs-lisp/gv.el (cond): Make it a valid place.
3561 (if): Simplify slightly.
3563 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3564 (pcase--self-quoting-p): New function.
3565 (pcase--u1): Use it.
3567 2012-07-10 Glenn Morris <rgm@gnu.org>
3569 * emacs-lisp/authors.el (authors-fixed-entries):
3570 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3572 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3574 Rename configure.in to configure.ac (Bug#11603).
3575 * emacs-lisp/authors.el (authors-canonical-file-name):
3576 * progmodes/autoconf.el (autoconf-mode):
3577 Prefer configure.ac to configure.in.
3579 2012-07-08 Chong Yidong <cyd@gnu.org>
3581 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3582 Implement the mouse-1-click-follows-link handling properly.
3584 * info.el (Info-link-keymap): Use follow-link mechanism for
3585 header-line links (Bug#374).
3587 * simple.el (deactivate-mark): Do not set the primary selection
3588 if another program has acquired it (Bug#11772).
3590 2012-07-07 Kevin Ryde <user42@zip.com.au>
3592 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3593 (woman-decode-region): Replace escaped-escapes without destroying
3594 bold or underline (Bug#11552).
3595 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3597 2012-07-07 Chong Yidong <cyd@gnu.org>
3599 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3600 (interprogram-cut-function, interprogram-paste-function):
3601 Mention that we typically mean the clipboard.
3603 2012-07-06 Glenn Morris <rgm@gnu.org>
3605 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3607 * files.el (toggle-read-only): Restrict message to interactive use.
3609 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3611 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3613 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3615 2012-07-06 Glenn Morris <rgm@gnu.org>
3617 * Makefile.in (compile-one-process): Rename from "recompile".
3619 * Makefile.in (bzr-update): "compile" is the same as "recompile
3620 autoloads", but parallelizable, so use that instead.
3622 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3624 * window.el (quit-window): Always restore window height when
3625 it's saved in quit-restore parameter (Bug#11810).
3627 2012-07-06 Glenn Morris <rgm@gnu.org>
3629 * simple.el (kill-whole-line): Doc tweak.
3631 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3633 * files.el (file-relative-name): Compare file names
3634 case-insensitively if on MS-Windows or MS-DOS, or if
3635 read-file-name-completion-ignore-case is non-nil. Don't use
3636 case-fold-search for this purpose. (Bug#11827)
3638 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3640 * calendar/cal-dst.el (calendar-current-time-zone):
3641 Return calendar-current-time-zone-cache if non-nil.
3643 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3644 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3646 * calendar/cal-dst.el (calendar-current-time-zone):
3647 Return calendar-current-time-zone-cache if non-nil.
3649 2012-07-06 Glenn Morris <rgm@gnu.org>
3651 * Makefile.in (cvs-update): Remove old alias.
3653 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3655 Sync with Tramp 2.2.6-pre.
3657 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3658 compatible declaration.
3660 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3661 Protect `list-load-path-shadows' call.
3663 * net/tramp-compat.el (top): Require packages, which aren't
3664 autoloaded anymore for XEmacs. Protect call of
3665 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3666 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3667 it hurts at least for SXEmacs.
3668 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3669 standard-value for `temporary-file-directory'.
3671 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3672 Redirect stderr to /dev/null.
3673 (tramp-sh-handle-write-region): uid and gid can be floats.
3674 Reported by Russell Sim <russell.sim@gmail.com>.
3675 (tramp-sh-handle-vc-registered): Hide errors.
3676 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3677 and `start-file-process'.
3678 (tramp-maybe-open-connection): Check also whether `non-essential'
3681 2012-07-04 Chong Yidong <cyd@gnu.org>
3683 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3684 (xml-parse-tag): Likewise, and avoid changing entity tables.
3685 (xml-syntax-table): Define from scratch, making sure not to give
3686 x2000 and other Unicode spaces whitespace syntax, since those are
3688 (xml-parse-fragment): Delete unused function.
3689 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3690 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3691 (xml-entity-ref, xml-pe-reference-re)
3692 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3693 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3694 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3695 (xml-entity-value-re): Use syntax references in regexps where
3696 possible; no need to define inside a let-binding.
3697 (xml-parse-dtd): Use xml-pe-reference-re.
3698 (xml-entity-or-char-ref-re): New defconst.
3699 (xml-parse-string, xml-substitute-special): Use it.
3701 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3703 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3704 (find-file--read-only): New function.
3705 (find-file-read-only, find-file-read-only-other-window)
3706 (find-file-read-only-other-frame): Use it.
3707 (insert-file-contents-literally): Don't `fset'.
3708 (get-free-disk-space): Use locate-dominating-file.
3710 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3711 function is already compiled.
3713 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3715 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3717 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3718 files on the same host.
3720 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3722 * help-fns.el (describe-function-1): Only call
3723 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3725 2012-07-03 Chong Yidong <cyd@gnu.org>
3727 * xml.el: Protect parser against XML bombs.
3728 (xml-entity-expansion-limit): New variable.
3729 (xml-parse-string, xml-substitute-special): Use it.
3730 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3732 2012-07-03 Glenn Morris <rgm@gnu.org>
3734 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3735 Allow linking to specific messages in debbugs reports (eg 123#5).
3737 2012-07-02 Chong Yidong <cyd@gnu.org>
3739 * xml.el: Fix entity and character reference expansion, allowing
3740 them to expand into markup as per XML spec.
3741 (xml-default-ns): New variable.
3742 (xml-entity-alist): Use XML spec definitions for lt and amp.
3743 (xml-parse-region): Make first two arguments optional.
3744 Discard text properties.
3745 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3746 All callers changed.
3747 (xml-parse-tag): Call xml-parse-tag-1. For backward
3748 compatibility, this function should not modify buffer contents.
3749 (xml-parse-tag-1): Fix opening-tag regexp.
3750 (xml-parse-string): Rewrite, handling entity and character
3751 references properly.
3752 (xml--entity-replacement-text): Signal an error if a parameter
3753 entity is undefined.
3755 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3757 * comint.el (comint-output-filter): Filter out repeated prompts.
3759 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3760 and file-name-absolute-p.
3761 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3764 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3767 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3768 Rename from byte-compile--refiy-function. All uses changed.
3770 2012-07-01 Chong Yidong <cyd@gnu.org>
3772 * xml.el (xml--parse-buffer): New function. Move most of
3773 xml-parse-region here.
3774 (xml-parse-region): Copy region into a temporary buffer, since
3775 parameter entity substitution requires changing buffer contents.
3776 Use xml--parse-buffer.
3777 (xml-parse-file): Use xml--parse-buffer.
3778 (xml-parse-dtd): Make parameter entity substitution work right.
3779 Use proper regexps for ELEMENT declarations (Bug#7172).
3781 2012-06-30 Glenn Morris <rgm@gnu.org>
3783 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3785 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3786 Remove outdated and unnecessary dbus declarations.
3788 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3790 * emacs-lisp/timer.el (timer-until): Subtract results of
3791 float-time, instead of taking float-time of the result of
3792 time-subtract, since float-time signals an error for negative time
3795 2012-06-30 Chong Yidong <cyd@gnu.org>
3797 * xml.el (xml-*-re): Convert defvars into defconsts, and
3798 eval-and-compile them so eval-and-compile works on derivatives.
3799 (xml--entity-replacement-text): Use eval-and-comple.
3801 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3803 * vc/vc-git.el (vc-git-registered): Use cache property
3805 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3806 `vc-git-working-revision' in order to benefit from the cache.
3807 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3809 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3811 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3812 removed (likely outside Emacs). (Bug#11757)
3814 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * emacs-lisp/cl-lib.el: Require macroexp.
3818 2012-06-30 Chong Yidong <cyd@gnu.org>
3820 * xml.el: Implement XML parameter entities.
3821 (xml-parameter-entity-alist): New variable.
3822 (xml-parse-region, xml-parse-fragment): Preserve previous values
3823 of xml-entity-alist and xml-parameter-entity-alist, so that
3824 repeated calls on different documents do not change them.
3825 (xml-parse-tag): Fix doctype regexp.
3826 (xml--entity-replacement-text): New function.
3827 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3828 properly requires url retrieval which is unimplemented.
3829 (xml-escape-string): Doc fix.
3831 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3833 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3835 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3837 * fringe.el (fringe-mode): Doc fix.
3839 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3841 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3843 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3844 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3846 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3848 * calendar/cal-dst.el (calendar-current-time-zone):
3849 Return calendar-current-time-zone-cache if non-nil.
3851 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3853 * progmodes/which-func.el (which-func-format):
3854 Add mouse-face. (Bug#11698)
3856 2012-06-29 Leo Liu <sdl.web@gmail.com>
3858 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3860 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * minibuffer.el (minibuffer-confirm-exit-commands):
3863 Add completion-at-point (bug#11725).
3865 2012-06-29 Glenn Morris <rgm@gnu.org>
3867 * progmodes/f90.el (f90-font-lock-keywords-2):
3868 Add some preprocessor elements. (Bug#10499)
3870 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3872 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3873 Use syntax-propertize (bug#11739).
3875 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3877 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3879 2012-06-28 Julien Danjou <julien@danjou.info>
3881 * term.el (term-handle-colors-array): Use a set of new faces to
3882 color the terminal. Also uses :inverse-video property.
3883 (term-default-fg-color): Set to nil by default, deprecate in favor
3885 (term-default-bg-color): Set to nil by default, deprecate in favor
3887 (term-current-face): Use `term-face' by default.
3888 (term-bold-attribute): Variable deleted.
3890 2012-06-28 Glenn Morris <rgm@gnu.org>
3892 * simple.el (completion-list-mode-finish):
3893 Don't use toggle-read-only. (Since completion-list-mode has
3894 a special mode-class, it wasn't doing anything extra anyway.)
3896 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3898 Make inlining of other-mode interpreted functions work (bug#11799).
3899 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3900 (byte-compile): Use it to fix compilation of lexical-binding closures.
3901 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3902 function, if needed.
3904 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * help-mode.el (help-make-xrefs): Don't just withstand
3907 cyclic-variable-indirection but any error in documentation-property.
3909 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3911 * bindings.el (bindings--define-key): New function.
3912 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3913 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3914 * bindings.el: Use it to purecopy define-key bindings.
3916 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3918 * emacs-lisp/cl.el (flet): Mark obsolete.
3919 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3920 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3921 * progmodes/js.el (js-c-fill-paragraph):
3922 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3923 (ebrowse-switch-member-buffer-to-derived-class):
3924 * play/5x5.el (5x5-solver): Use cl-flet.
3926 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3927 (cl--symbol-function): New macro.
3928 (cl--letf, cl--letf*): Use it.
3930 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3931 Strip "toggle-" if any.
3933 2012-06-27 Glenn Morris <rgm@gnu.org>
3935 * info.el (Info-default-directory-list): Move here from paths.el.
3936 * paths.el: Remove file, which is now empty.
3937 * loadup.el: No longer load "paths".
3939 * custom.el (custom-initialize-delay): Doc fix.
3941 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3942 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3943 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3944 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3945 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3946 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3947 * eshell/eshell.el (eshell-defgroup): Remove alias.
3949 2012-06-27 Chong Yidong <cyd@gnu.org>
3951 * help.el (help-enable-auto-load): New variable.
3953 * help-fns.el (help-fns--autoloaded-p): New function.
3954 (describe-function-1): Refer to a function as "autoloaded" if it
3955 was autoloaded at any time in the past. Perform autoloading if
3956 help-enable-auto-load is non-nil.
3958 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3960 * makefile.w32-in (compile, compile-always): Depend on
3961 update-subdirs, not on subdirs.el. Otherwise, several different
3962 sub-targets of 'bootstrap' running in parallel could
3963 simultaneously write to subdirs.el, producing a garbled file.
3965 2012-06-26 Sam Steingold <sds@gnu.org>
3967 * files.el (file-name-base): New convenience function.
3968 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3969 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3970 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3971 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3972 * textmodes/ispell.el, textmodes/reftex-ref.el:
3973 * textmodes/tex-mode.el: Use it.
3974 Did not touch cedet and org because they are maintained elsewhere.
3976 2012-06-26 Martin Rudalics <rudalics@gmx.at>
3978 * calendar/calendar.el (calendar-exit): Don't try to delete or
3979 iconify last frame. See:
3980 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3982 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3984 * server.el (server-process-filter): Remember dir in the
3985 process's `server-client-directory' properties.
3987 2012-06-24 Chong Yidong <cyd@gnu.org>
3989 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3992 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
3994 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3996 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * help-fns.el (describe-variable): Don't croak when doc is not found.
3999 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4000 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4001 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4002 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4003 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4005 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4007 2012-06-23 Chong Yidong <cyd@gnu.org>
4009 * info.el (Info-mouse-follow-link): Accept symbol values of
4010 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4011 (Info-fontify-node): Use Info-link-keymap for all navigation
4012 buttons, with link-args property to perform the desired action.
4013 (Info-link-keymap): Doc fix.
4014 (Info-next-link-keymap, Info-prev-link-keymap)
4015 (Info-up-link-keymap): Delete now-unused keymaps.
4017 2012-06-23 Chong Yidong <cyd@gnu.org>
4019 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4021 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4024 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4026 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4028 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4031 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4032 the requote function doesn't work properly (bug#11714).
4034 2012-06-23 Glenn Morris <rgm@gnu.org>
4036 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4038 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4040 Further GV/CL cleanups.
4041 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4043 (gv--defun-declaration): New function.
4044 (defun-declarations-alist): Use it.
4045 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4046 (gv-place): Autoload.
4047 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4048 original definition of dotimes and dolist.
4049 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4050 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4051 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4052 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4053 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4054 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4055 to the function's definition.
4056 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4060 * env.el: Don't use CL.
4062 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4064 Support higher-resolution time stamps (Bug#9000).
4066 * calendar/time-date.el (with-decoded-time-value): New arg
4067 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4068 (encode-time-value): New optional arg PICO. New type 3.
4069 (time-to-seconds) [!float-time]: Support the new picoseconds
4070 component if it's used.
4071 (seconds-to-time, time-subtract, time-add):
4072 Support ps-resolution time stamps as well.
4074 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4075 (timerp): Timer vectors now have length 9, not 8.
4076 (timer--time): Support new-style (4-part) time stamps.
4077 (timer-next-integral-multiple-of-time): Time stamps now have
4078 picosecond resolution, so take a bit more care about rounding.
4079 (timer-relative-time, timer-inc-time): New optional arg psecs.
4080 (timer-set-time-with-usecs): Set psecs to 0.
4081 (timer--activate): Check psecs component, too.
4083 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4085 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4088 Move the non-essential binding to the post/pre-command-hook where it is
4089 more obviously correct.
4091 * subr.el (read-passwd): Don't use a history at all.
4092 * savehist.el (savehist-save): Remove password saved accidentally
4093 because of the above bug.
4095 2012-06-22 Bastien Guerry <bzg@gnu.org>
4097 * files.el (toggle-read-only): Display a message telling whether
4098 the buffer is read-only or not (bug#11726).
4100 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * emacs-lisp/gv.el: New file.
4103 * subr.el (push, pop): Extend to generalized variables.
4104 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4105 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4106 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4107 gv-define-simple-setter, and gv-define-expander.
4108 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4109 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4110 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4111 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4112 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4114 (cl-defstruct): Don't define setf-method any more.
4115 * emacs-lisp/cl.el (flet): Don't autoload.
4116 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4117 (define-setf-expander, defsetf, define-modify-macro)
4118 (cl-struct-setf-expander): Move from cl-lib.el.
4119 * emacs-lisp/syntax.el:
4120 * emacs-lisp/ewoc.el:
4121 * emacs-lisp/smie.el:
4122 * emacs-lisp/cconv.el:
4123 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4124 (timer--time): Use gv-define-simple-setter.
4125 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4126 to avoid coding-system problems in subr.el. Adjust all users.
4127 (macroexp--maxsize, macroexp-small-p): New functions.
4128 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4129 * scroll-bar.el (scroll-bar-mode):
4130 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4131 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4132 * winner.el (winner-configuration, winner-make-point-alist)
4133 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4134 * files.el (locate-file-completion-table): Avoid list*.
4136 2012-06-22 Chong Yidong <cyd@gnu.org>
4138 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4139 (dired-create-files): Doc fix (Bug#11329).
4140 (dired-do-copy): Doc fix (Bug#11334).
4141 (dired-mark-read-string): Doc fix (Bug#11553).
4143 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4144 Doc fix (Bug#11326).
4145 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4146 (dired-dwim-target): Doc fix.
4148 * wdired.el (wdired-mode): Doc fix.
4150 2012-06-22 Glenn Morris <rgm@gnu.org>
4152 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4153 (pcmpl-rpm-cache-stamp-file): New constant.
4154 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4155 (pcmpl-rpm-packages): Optionally cache list of packages.
4157 * pcmpl-rpm.el (pcmpl-rpm): New group.
4158 (pcmpl-rpm-query-options): New option.
4159 (pcmpl-rpm-packages): No need to inline it.
4160 Use pcmpl-rpm-query-options.
4162 * calendar/calendar.el (calendar-in-read-only-buffer):
4163 Avoid some needless mode changes.
4165 2012-06-21 Chong Yidong <cyd@gnu.org>
4167 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4168 (desktop-path): Remove . from the default value (Bug#10977).
4169 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4171 2012-06-20 Chong Yidong <cyd@gnu.org>
4173 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4175 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4177 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4180 2012-06-20 Chong Yidong <cyd@gnu.org>
4182 * term.el (term-window-width): Handle the case of a missing right
4184 (term-check-size): Use window-text-height (Bug#5445).
4185 (term-mode): Use define-derived-mode. Minor cleanups.
4186 Set font-lock-defaults (Bug#7692).
4187 (term-move-columns, term-insert-char, term-emulate-terminal)
4188 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4190 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4192 * net/ange-ftp.el (ange-ftp-get-passwd):
4193 Bind `enable-recursive-minibuffers'.
4194 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4196 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4198 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4200 2012-06-19 Glenn Morris <rgm@gnu.org>
4202 * progmodes/python.el (python-mode): Derive from prog-mode.
4204 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4206 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4207 (edt-user-menu-bar-update-buffers): New functions.
4208 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4210 2012-06-19 Chong Yidong <cyd@gnu.org>
4212 * subr.el (with-selected-window): Preserve the selected window's
4213 terminal's top-frame (Bug#4702).
4215 * window.el (save-selected-window): Likewise.
4217 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4219 * progmodes/python.el (python-rx-constituents): Move backquote.
4220 (python-skeleton-define, python-define-auxiliary-skeleton):
4223 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4225 * minibuffer.el (read-file-name-default): Revert the patch from
4228 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4230 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4231 (pcase--u1, pcase--q1): Don't use apply-partially.
4233 2012-06-18 Glenn Morris <rgm@gnu.org>
4235 * progmodes/python.el (python-proc, python-buffer)
4236 (python-send-receive, python-send-string): Fix obsolete versions.
4238 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4240 * window.el (special-display-p): Completely remove stringp
4241 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4243 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4245 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4247 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4249 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4250 * net/tramp-sh.el (tramp-maybe-open-connection):
4251 Throw if `non-essential' is non-nil.
4253 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4255 * window.el (special-display-p): Signal an error if BUFFER-NAME
4256 is not a string (Bug#11713).
4258 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4260 * progmodes/python.el (python-info-beginning-of-backslash):
4261 Rename from python-info-beginning-of-backlash, as a spelling fix.
4263 2012-06-17 Chong Yidong <cyd@gnu.org>
4265 * term.el (term-emulate-terminal): If term-check-size is called,
4266 move point to the process mark without resetting point (Bug#4635).
4268 2012-06-17 Glenn Morris <rgm@gnu.org>
4270 * international/mule-cmds.el (mule-menu-keymap)
4271 (set-language-environment, set-locale-environment): Doc tweaks.
4273 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4275 * cus-face.el (custom-face-attributes): Add wave-style underline
4277 * faces.el (set-face-attribute): Update docstring to describe
4278 wave-style underline attribute.
4280 2012-06-16 Chong Yidong <cyd@gnu.org>
4282 * term/xterm.el (terminal-init-xterm): Discard input before
4283 querying background mode (Bug#10959).
4285 2012-06-16 Stefan Merten <smerten@oekonux.de>
4287 * textmodes/rst.el: Added and corrected some comments.
4288 (rst-re-alist-def): Improve symbol syntax.
4289 (rst-mode-syntax-table): Correct syntax entries.
4290 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4291 (rst-official-version, rst-official-cvs-rev): Update version
4294 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4296 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4297 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4299 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4301 * progmodes/python.el: New python.el merge.
4302 (python-guess-indent): Obsolete var.
4303 (python-indent-guess-indent-offset): New defcustom.
4304 (python-indent): Obsolete var.
4305 (python-indent-offset): New defcustom.
4306 (python-python-command, python-jython-command): Delete var.
4307 (python-shell-interpreter): New defcustom.
4308 (python-pdbtrack-do-tracking-p): Delete var.
4309 (python-pdbtrack-activate): New defcustom.
4310 (python-use-skeletons): Obsolete var.
4311 (python-skeleton-autoinsert): New defcustom.
4312 (inferior-python-filter-regexp, python-continuation-offset)
4313 (python-honour-comment-indentation, python-indent-string-contents)
4314 (python-jython-packages, python-mode-hook)
4315 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4316 (python-shell-prompt-alist)
4317 (python-source-modes): Delete defcustoms.
4318 (python-check-buffer-name, python-eldoc-setup-code)
4319 (python-eldoc-string-code, python-ffap-setup-code)
4320 (python-ffap-string-code, python-fill-comment-function)
4321 (python-fill-decorator-function, python-fill-paren-function)
4322 (python-fill-string-function, python-imenu-include-defun-type)
4323 (python-imenu-make-tree, python-imenu-subtree-root-label)
4324 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4325 (python-shell-compilation-regexp-alist)
4326 (python-shell-completion-module-string-code)
4327 (python-shell-completion-pdb-string-code)
4328 (python-shell-completion-setup-code)
4329 (python-shell-completion-string-code)
4330 (python-shell-enable-font-lock, python-shell-exec-path)
4331 (python-shell-extra-pythonpaths)
4332 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4333 (python-shell-process-environment)
4334 (python-shell-prompt-block-regexp)
4335 (python-shell-prompt-output-regexp)
4336 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4337 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4338 (python-shell-virtualenv-path): New defcustoms.
4339 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4340 (inferior-python-mode-syntax-table, python--prompt-regexp)
4341 (python-buffer, python-command python-python-command)
4342 (python-default-template, python-imports, python-indent-index)
4343 (python-indent-list, python-indent-list-length)
4344 (python-mode-running, python-pdbtrack-is-tracking-p)
4345 (python-preoutput-continuation, python-preoutput-leftover)
4346 (python-preoutput-result, python-preoutput-skip-next-prompt)
4347 (python-prev-dir/file, python-recursing)
4348 (python-saved-check-command, python-version-checked)
4349 (python-which-func-length-limit)
4350 (view-return-to-alist): Delete vars.
4351 (python-check-custom-command, python-dotty-syntax-table)
4352 (python-imenu-index-alist, python-indent-current-level)
4353 (python-indent-dedenters, python-indent-levels)
4354 (python-nav-beginning-of-defun-regexp)
4355 (python-nav-list-defun-positions-cache)
4356 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4357 (python-shell-internal-buffer)
4358 (python-skeleton-available): New vars.
4359 (def-python-skeleton): Delete macro.
4360 (python-skeleton-define): New macro.
4361 (python-define-auxiliary-skeleton, python-rx): New macros.
4362 (python-insert-class): Delete command.
4363 (python-skeleton-class): New command.
4364 (python-insert-def): Delete command.
4365 (python-skeleton-def): New command.
4366 (python-insert-for): Delete command.
4367 (python-skeleton-for): New command.
4368 (python-insert-if): Delete command.
4369 (python-skeleton-if): New command.
4370 (python-insert-try/except, python-insert-try/finally): Delete commands.
4371 (python-skeleton-try): New command.
4372 (python-insert-while): Delete command.
4373 (python-skeleton-while): New command.
4374 (python-backspace): Delete command.
4375 (python-indent-dedent-line-backspace): New command.
4376 (python-electric-colon): Delete command.
4377 (python-indent-electric-colon): New command.
4378 (python-guess-indent): Delete command.
4379 (python-indent-guess-indent-offset): New command.
4380 (python-shift-left): Delete command.
4381 (python-indent-shift-left): New command.
4382 (python-shift-right): Delete command.
4383 (python-indent-shift-right): New command.
4384 (python-find-function): Delete command.
4385 (python-nav-jump-to-defun): New command.
4386 (python-next-statement): Delete command.
4387 (python-nav-forward-sentence): New command.
4388 (python-previous-statement): Delete command.
4389 (python-nav-backward-sentence): New command.
4390 (python-fill-paragraph): Delete command.
4391 (python-fill-paragraph-function): New command.
4392 (python-send-buffer): Delete command.
4393 (python-shell-send-buffer): New command.
4394 (python-send-defun): Delete command.
4395 (python-shell-send-defun): New command.
4396 (python-send-region, python-send-region-and-go): Delete commands.
4397 (python-shell-send-region)
4398 (python-shell-switch-to-shell): New commands.
4399 (python-send-string): Delete command.
4400 (python-shell-send-string): New command.
4401 (python-switch-to-python): Delete command.
4402 (python-shell-switch-to-shell): New command.
4403 (python-describe-symbol): Delete command.
4404 (python-eldoc-at-point): New command.
4405 (python--set-prompt-regexp, python-args-to-list)
4406 (python-after-info-look, python-check-version)
4407 (python-check-comint-prompt, python-find-imports)
4408 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4409 (python-unload-function, python-expand-template)
4410 (python-maybe-jython, python-preoutput-filter)
4411 (python-pdbtrack-get-source-buffer)
4412 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4413 (python-pdbtrack-toggle-stack-tracking)
4414 (python-pdbtrack-track-stack-file, python-initial-text)
4415 (python-first-word, python-comment-line-p, python-send-command)
4416 (python-setup-brm, python-sentinel, python-set-proc)
4417 (python-skip-out, python-input-filter, python-outdent-p)
4418 (python-outline-level, python-backslash-continuation-line-p)
4419 (python-end-of-block, python-end-of-statement, python-mark-block)
4420 (python-beginning-of-block, python-beginning-of-statement)
4421 (python-blank-line-p, python-beginning-of-string)
4422 (python-open-block-statement-p): Delete functions.
4423 (python-indent-line, python-indent-line-1): Delete functions.
4424 (python-indent-line): New function.
4425 (python-indentation-levels): Delete function.
4426 (python-indent-calculate-levels): New function.
4427 (python-proc): Delete function.
4428 (python-shell-get-process): New function.
4429 (python-send-receive): Delete function.
4430 (python-shell-send-string-no-output): New function.
4431 (python-module-path): Delete function.
4432 (python-ffap-module-path): New function.
4433 (python-completion-at-point)
4434 (python-symbol-completions): Delete functions.
4435 (python-completion-complete-at-point): New function.
4436 (python-load-file): Delete function.
4437 (python-shell-send-file): New function.
4438 (python-calculate-indentation): Delete function.
4439 (python-indent-calculate-indentation): New function.
4440 (python-skip-comments/blanks): Delete function.
4441 (python-util-forward-comment): New function.
4442 (python-continuation-line-p): Delete function.
4443 (python-info-continuation-line-p): New function.
4444 (python-which-func, python-current-defun): Delete function.
4445 (python-info-current-defun): New function.
4446 (python-beginning-of-defun): Delete function.
4447 (python-nav-beginning-of-defun): New function.
4448 (python-close-block-statement-p)
4449 (python-block-end-p): Delete function.
4450 (python-info-closing-block): New function.
4451 (python-comint-output-filter-function)
4452 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4453 (python-fill-comment, python-fill-decorator, python-fill-paren)
4454 (python-fill-string, python-imenu-make-element-tree)
4455 (python-imenu-make-tree, python-imenu-tree-assoc)
4456 (python-indent-context, python-indent-dedent-line)
4457 (python-indent-line-function)
4458 (python-indent-post-self-insert-function)
4459 (python-indent-toggle-levels)
4460 (python-info-assignment-continuation-line-p)
4461 (python-info-beginning-of-backlash)
4462 (python-info-block-continuation-line-p)
4463 (python-info-closing-block-message)
4464 (python-info-line-ends-backslash-p)
4465 (python-info-looking-at-beginning-of-defun)
4466 (python-info-ppss-context, python-info-ppss-context-type)
4467 (python-nav-list-defun-positions, python-nav-read-defun)
4468 (python-nav-sentence-end, python-nav-sentence-start)
4469 (python-pdbtrack-comint-output-filter-function)
4470 (python-pdbtrack-set-tracked-buffer)
4471 (python-shell-calculate-exec-path)
4472 (python-shell-calculate-process-environment)
4473 (python-shell-completion--do-completion-at-point)
4474 (python-shell-completion--get-completions)
4475 (python-shell-completion-complete-at-point)
4476 (python-shell-completion-complete-or-indent)
4477 (python-shell-get-or-create-process)
4478 (python-shell-get-process-name)
4479 (python-shell-internal-get-or-create-process)
4480 (python-shell-internal-get-process-name)
4481 (python-shell-internal-send-string, python-shell-make-comint)
4482 (python-shell-parse-command, python-shell-send-setup-code)
4483 (python-skeleton-add-menu-items)
4484 (python-util-clone-local-variables, python-util-position)
4485 (run-python-internal, python-indentation-levels)
4486 (python-nav-beginning-of-defun)
4487 (python-completion-complete-at-point): New functions.
4488 (run-python): Change arguments. New API requirements.
4490 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4492 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4495 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4496 (macroexp--expand-all): Use it.
4498 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4499 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4500 Use `cl-function' instead.
4502 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4504 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4505 Suggested by Stefan Monnier while discussing bug#11657.
4507 2012-06-14 Sam Steingold <sds@gnu.org>
4509 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4511 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4513 * play/doctor.el (doctor-doc): Remove parameter and use
4514 doctor-sent instead of sent.
4515 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4517 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4519 * files.el: Require cl-lib.
4520 (file-name-non-special): Replace case -> cl-case.
4522 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4524 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4525 mapping from #' to function*.
4527 2012-06-13 Chong Yidong <cyd@gnu.org>
4529 * mouse.el (mouse-drag-track): Do not set the mark if the user
4530 releases the mouse without selecting anything (Bug#11588).
4532 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4535 as well (bug#11646).
4537 * loadup.el: Count byte-code functions as well.
4539 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4540 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4542 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4543 (bug#11649). Add cl-defun and cl-defmacro.
4545 2012-06-13 Drew Adams <drew.adams@oracle.com>
4547 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4550 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4552 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4553 Otherwise, it blocks in batch mode.
4555 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4557 * help-mode.el (bookmark-make-record-default): Declare.
4559 2012-06-13 Chong Yidong <cyd@gnu.org>
4561 * emacs-lisp/package.el (list-packages): Compute a list of
4562 packages that are newly-available since the last list-packages
4564 (package-menu--new-package-list): New var.
4565 (package-menu--generate, package-menu--print-info)
4566 (package-menu--status-predicate, package-menu-mark-install):
4567 Handle new status label "new".
4569 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4571 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4572 conversion to backquotes.
4574 2012-06-12 Chong Yidong <cyd@gnu.org>
4576 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4577 Rename from gud-inhibit-global-bindings.
4579 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4581 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4582 hook from nxml-glyph-set-hook.
4584 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4587 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4589 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4590 Convert to defcustom.
4592 2012-06-12 Drew Adams <drew.adams@oracle.com>
4594 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4596 (help-mode): Use them.
4598 2012-06-11 Glenn Morris <rgm@gnu.org>
4600 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4601 Use preprocessor face for directives.
4602 (fortran-directive-re): Doc fix.
4604 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4607 conversion to backquotes (bug#11652).
4609 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4610 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4611 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4612 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4613 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4614 (cl-ninth, cl-tenth): Mark them as inlinable.
4615 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4616 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4617 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4618 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4619 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4620 (cl-list*, cl-adjoin): Don't put an autoload manually.
4621 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4622 (cl--compiler-macro-list*): Add autoload cookie.
4623 (cl--compiler-macro-cXXr): New function.
4625 * help-fns.el (help-fns--compiler-macro): New function extracted from
4626 describe-function-1; follow aliases and use `compiler-macro' property.
4627 (describe-function-1): Use it.
4629 2012-06-11 Chong Yidong <cyd@gnu.org>
4631 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4632 is uninstalled, if imagemagick is installed.
4634 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4636 * emacs-lisp/cl-lib.el: Use lexical-binding.
4637 (cl-map-extents, cl-maclisp-member): Remove.
4638 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4639 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4640 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4641 * emacs-lisp/cl-extra.el: Use lexical-binding.
4642 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4643 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4644 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4645 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4646 * emacs-lisp/cl-seq.el: Use lexical-binding.
4647 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4648 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4649 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4650 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4651 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4654 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4656 Sync with Tramp 2.2.6-pre.
4658 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4659 `print-length' and `print-level' to nil, in order to avoid
4660 truncation. Reported by Christopher Schmidt
4661 <christopher@ristopher.com>.
4663 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4665 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4667 (tramp-compat-copy-directory): Add optional argument
4668 COPY-CONTENTS. It is not handled yet.
4670 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4671 (tramp-ftp-file-name-p): Simplify.
4673 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4674 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4677 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4678 (tramp-methods): Do not use `tramp-password-end-of-line'.
4679 (tramp-completion-function-alist-putty): Handle UNIX case.
4680 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4681 (tramp-do-file-attributes-with-stat)
4682 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4683 gid as real numbers. They could run out of integer range on cygwin.
4684 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4685 (tramp-sh-handle-expand-file-name): Handle hops.
4686 (tramp-open-connection-setup-interactive-shell):
4687 Use `tramp-cleanup'. Move check for busyboxes ...
4688 (tramp-find-shell): ... here. Simplify implementation.
4689 Set "remote-shell" property also for alternative shells.
4690 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4691 If failing, a regular file would be written otherwise.
4692 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4693 (tramp-find-inline-encoding): Cache the coding commands in the
4694 process cache. Apply test command on the remote side, if defined.
4695 (tramp-find-inline-compress): Cache the compress commands in the
4697 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4698 when requested. Handle hops.
4699 (tramp-current-connection): New defvar.
4700 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4701 Throw `suppress', if there was a failed connection shortly before.
4702 Handle user interrupt. (Bug#10187)
4703 (tramp-get-inline-compress, tramp-get-inline-coding):
4704 Read connection properties from the process cache.
4706 * net/tramp-smb.el (tramp-smb-server-version)
4707 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4709 (tramp-smb-prompt): Extend for powershell prompt.
4710 (tramp-smb-file-name-handler-alist): Add handlers for
4711 `process-file', `shell-command' and `start-file-process'.
4712 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4713 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4714 (tramp-smb-file-name-p): Simplify.
4715 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4716 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4717 (tramp-smb-shell-quote-argument): New defuns.
4718 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4719 Implement using "tar". By this, time-stamps are preserved.
4720 (tramp-smb-handle-copy-file): Handle also the case of directories.
4721 (tramp-smb-do-file-attributes-with-stat)
4722 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4723 Use `tramp-get-connection-buffer').
4724 (tramp-smb-handle-rename-file): Use "rename", when source and
4725 target are on the same share.
4726 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4727 Use `tramp-smb-server-version'.
4728 (tramp-smb-wait-for-output): Remove prompt.
4730 * net/tramp.el (top): Require 'cl.
4731 (tramp-methods, tramp-rsh-end-of-line):
4732 Remove `tramp-password-end-of-line' from docstring.
4733 (tramp-save-ad-hoc-proxies): New defcustom.
4734 (tramp-completion-function-alist): Adapt docstring.
4735 (tramp-default-password-end-of-line): Remove defcustom.
4736 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4737 (tramp-user-regexp, tramp-file-name-regexp-unified)
4738 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4739 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4740 (tramp-remote-file-name-spec-regexp): New defconst.
4741 (tramp-file-name-structure): Extend structure for hops.
4742 (tramp-get-method-parameter): Move up.
4743 (tramp-file-name-p, tramp-dissect-file-name)
4744 (with-parsed-tramp-file-name): Handle hops.
4745 (tramp-file-name-hop): New defun.
4746 (tramp-make-tramp-file-name): New optional arg HOP.
4747 (tramp-message-show-progress-reporter-message): New defvar.
4748 (tramp-with-progress-reporter): Use it. We cannot use
4749 `tramp-message-show-message' here, because this suppresses also
4751 (tramp-error-with-buffer): Suppress buffer view, if
4752 `tramp-message-show-message' is nil.
4753 Use `tramp-get-connection-buffer'.
4754 (tramp-cleanup): New defun.
4755 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4756 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4758 (tramp-completion-handle-file-name-all-completions): Handle hops.
4759 Fix an error when called from ido.
4760 (tramp-completion-dissect-file-name): Use better local variable
4761 name. Add hop to the vector.
4762 (tramp-handle-insert-file-contents): Use progress-reporter for the
4764 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4766 (tramp-check-for-regexp): Simplify search.
4767 (tramp-enter-password): Remove it. Move implementation ...
4768 (tramp-action-password): ... here.
4769 (tramp-mode-string-to-int, tramp-local-host-p)
4770 (tramp-make-tramp-temp-file, tramp-read-passwd)
4771 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4772 Set tramp-autoload cookie.
4774 * net/trampver.el: Update release number.
4776 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4777 Michael Albinus <michael.albinus@gmx.de>
4779 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4780 (tramp-parse-group, tramp-parse-file)
4781 (tramp-parse-shostkeys-sknownhosts): New defuns.
4782 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4783 (tramp-parse-shosts-group, tramp-parse-sconfig)
4784 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4785 (tramp-parse-sknownhosts, tramp-parse-hosts)
4786 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4788 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4789 (tramp-parse-putty-group): Don't narrow.
4790 (tramp-parse-putty): Make a loop.
4791 (tramp-file-name-handler): Catch the `suppress' signal.
4793 2012-06-11 Chong Yidong <cyd@gnu.org>
4795 * image.el (imagemagick-register-types): Put the ImageMagick entry
4796 at the end of image-type-file-name-regexps.
4798 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4800 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4801 (pcase, pcase-let*, pcase-dolist): Use them.
4803 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4805 * emacs-lisp/pcase.el (pcase--let*): New function.
4806 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4807 (pcase--expand): Use macroexp-let².
4809 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4812 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4813 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4814 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4815 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4816 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4818 2012-06-10 Glenn Morris <rgm@gnu.org>
4820 * mail/rmail.el (rmail-yank-current-message): Leave point at
4821 correct position. (Bug#11660)
4823 2012-06-10 Chong Yidong <cyd@gnu.org>
4825 * allout-widgets.el: Fix code header.
4827 2012-06-10 Chong Yidong <cyd@gnu.org>
4829 * cus-edit.el (customize-changed-options-previous-release):
4832 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4834 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4836 2012-06-09 Chong Yidong <cyd@gnu.org>
4838 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4840 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4842 * window.el (special-display-popup-frame): Don't use
4843 window--display-buffer (Bug#11651).
4845 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4847 Fix parallel builds: make sure loaddefs.el is not being written
4848 while Lisp files are compiled.
4849 (compile): Don't depend on 'mh-autoloads'.
4850 (compile-CMD, compile-SH): Depend on 'autoloads'.
4851 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4853 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4855 2012-06-09 Chong Yidong <cyd@gnu.org>
4857 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4858 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4859 Doc fixes (Bug#11225).
4861 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4863 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4864 a function if there's a clear indication that it has a compiler-macro.
4865 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4866 (macro-declarations-alist): Add arglist to declaration functions.
4867 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4868 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4869 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4870 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4871 Also add autoload to find the compiler macro.
4872 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4873 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4874 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4875 (cl--compiler-macro-get): New functions, replacing calls to
4876 cl-define-compiler-macro.
4877 (cl-typep) [compiler-macro]: Use macroexp-let².
4879 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4881 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4882 string properly, fixes Bug#11473.
4884 2012-06-08 Chong Yidong <cyd@gnu.org>
4886 * faces.el (set-face-attribute): Doc fix.
4887 (modify-face): Don't use :bold and :italic.
4888 (error, warning, success): Tweak definitions.
4890 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4891 (custom-modified, custom-set, custom-changed, custom-themed)
4892 (custom-saved, custom-button, custom-button-mouse)
4893 (custom-button-pressed, custom-state, custom-comment-tag)
4894 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4895 (custom-group-subtitle): Use new-style face specs.
4896 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4897 (custom-set-face, custom-changed-face, custom-saved-face)
4898 (custom-button-face, custom-button-pressed-face)
4899 (custom-documentation-face, custom-state-face)
4900 (custom-comment-face, custom-comment-tag-face)
4901 (custom-variable-tag-face, custom-variable-button-face)
4902 (custom-face-tag-face, custom-group-tag-face-1)
4903 (custom-group-tag-face): Remove obsolete face alias.
4905 * epa.el (epa-validity-high, epa-validity-medium)
4906 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4907 (epa-field-name, epa-field-body):
4908 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4909 (font-lock-keyword-face, font-lock-builtin-face)
4910 (font-lock-function-name-face, font-lock-variable-name-face)
4911 (font-lock-type-face, font-lock-constant-face):
4912 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4913 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4914 * speedbar.el (speedbar-button-face, speedbar-file-face)
4915 (speedbar-directory-face, speedbar-tag-face)
4916 (speedbar-selected-face, speedbar-highlight-face)
4917 (speedbar-separator-face):
4918 * whitespace.el (whitespace-newline, whitespace-space)
4919 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4920 (whitespace-line, whitespace-space-before-tab)
4921 (whitespace-space-after-tab, whitespace-indentation)
4923 * emulation/cua-base.el (cua-global-mark):
4924 * eshell/em-prompt.el (eshell-prompt):
4925 * net/newst-plainview.el (newsticker-new-item-face)
4926 (newsticker-old-item-face, newsticker-immortal-item-face)
4927 (newsticker-obsolete-item-face, newsticker-date-face)
4928 (newsticker-statistics-face, newsticker-default-face):
4929 * net/newst-reader.el (newsticker-feed-face)
4930 (newsticker-extra-face, newsticker-enclosure-face):
4931 * net/newst-treeview.el (newsticker-treeview-face)
4932 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4933 (newsticker-treeview-immortal-face)
4934 (newsticker-treeview-obsolete-face)
4935 (newsticker-treeview-selection-face):
4936 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4937 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4938 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4939 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4940 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4941 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4942 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4944 * progmodes/vera-mode.el (vera-font-lock-number)
4945 (vera-font-lock-function, vera-font-lock-interface):
4946 * textmodes/table.el (table-cell): Use new-style face specs, and
4947 don't use the old :bold and :italic attributes.
4949 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4950 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4951 (ebrowse-member-class, ebrowse-progress): Likewise.
4952 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4953 (ebrowse-file-name-face, ebrowse-default-face)
4954 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4955 (ebrowse-progress-face): Remove obsolete faces.
4957 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4958 Inherit from error and warning faces respectively.
4960 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4962 (flyspell-incorrect-face, flyspell-duplicate-face):
4963 Remove obsolete aliases.
4965 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
4967 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4970 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4972 * startup.el (argv, argi): Make lexically scoped.
4973 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4974 * emacs-lisp/cl-macs.el: Use lexical-binding.
4975 Rename cl-bind-* to cl--bind-*.
4976 * files.el: Don't require `cl' since it doesn't use it.
4977 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4979 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
4981 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4982 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4983 instead of calling external sort utility.
4984 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4986 2012-06-08 Eli Zaretskii <eliz@gnu.org>
4988 * descr-text.el (describe-char): Mention how to insert the
4989 character, if the current input method doesn't support it.
4990 See the discussion in this thread for the details:
4991 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4993 2012-06-08 Sam Steingold <sds@gnu.org>
4995 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4996 XF86Back to previous-buffer.
4997 (minibuffer-local-map): Bind them to next-history-element and
4998 previous-history-element respectively.
4999 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5000 help-go-back respectively.
5001 * info.el (Info-mode-map): Bind them to Info-history-forward and
5002 Info-history-back respectively.
5003 These are the keys next to Up on the ThinkPad keyboard.
5005 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5007 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5008 * emacs-lisp/cl-macs.el: Provide itself.
5009 (cl--labels-convert-cache): New var.
5010 (cl--labels-convert): New function.
5011 (cl-flet, cl-labels): New implementation with new semantics, relying on
5013 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5014 (cl-closure-vars, cl--function-convert-cache)
5015 (cl--function-convert): Move from cl-macs.el.
5016 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5017 rename by removing the "cl-" prefix.
5018 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5020 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5023 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5024 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5025 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5026 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5027 (cl-hash-table-count): Add old compatibility aliases.
5029 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5030 Use macroexpand-all-environment instead.
5031 (cl--old-macroexpand): New var.
5032 (cl--sm-macroexpand): New function.
5033 (cl-symbol-macrolet): Use it during macro expansion.
5034 (cl--function-convert-cache): New var.
5035 (cl--function-convert): New function, extracted from
5037 (cl-lexical-let): Use it.
5039 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5040 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5041 (cl-member): Remove old alias.
5043 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5044 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5045 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5046 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5047 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5048 (cl-macroexpand-cmacs): Remove var.
5049 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5050 Use macroexpand-all instead.
5052 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5055 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5056 (macroexp-copyable-p): New functions and macros.
5057 * emacs-lisp/edebug.el (edebug-unwrap):
5058 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5059 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5060 (pcase--let*): Remove.
5061 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5062 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5063 macroexp-const-p instead.
5064 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5066 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5067 instead of "cl-" for internal definitions. Use macroexp-const-p.
5068 (cl-old-bc-file-form): Remove var.
5069 (cl-const-exprs-p): Remove fun.
5070 (cl-labels, cl-macrolet): Use backquote.
5071 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5072 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5073 (cl-define-setf-expander): Rename from cl-define-setf-method.
5074 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5076 * international/mule-cmds.el: Don't require CL.
5077 (view-hello-file): Don't use `letf'.
5079 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5081 * tmm.el (tmm-prompt): Use string-prefix-p.
5082 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5083 (tmm-add-prompt): Use minibuffer-completion-help.
5084 (tmm-delete-map): Remove.
5086 * subr.el (kbd): Make it its own function.
5088 2012-06-07 Stefan Merten <smerten@oekonux.de>
5090 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5091 Silence compiler warnings. Fix versions.
5092 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5093 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5094 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5095 (rst-package-emacs-version-alist): Correct Emacs version to
5096 represent major merge with upstream.
5097 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5099 2012-06-06 Glenn Morris <rgm@gnu.org>
5101 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5102 Only print environment variables if set.
5104 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5106 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5107 (macroexp--cons): Rename from maybe-cons.
5108 (macroexp--accumulate): Rename from macroexp-accumulate.
5109 (macroexp--all-forms): Rename from macroexpand-all-forms.
5110 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5111 (macroexp--expand-all): Rename from macroexpand-all-1.
5113 2012-06-06 Sam Steingold <sds@gnu.org>
5115 * calendar/calendar.el (calendar-in-read-only-buffer):
5116 Call `special-mode' to enable the standard read-only keybindings.
5118 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5120 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5121 with "loading" messages (bug#11635).
5123 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5125 * files.el (enable-remote-dir-locals): New option.
5126 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5128 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5129 Ensure, that the temp directory is local.
5131 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5132 `temporary-file-directory'.
5134 * progmodes/python.el (python-send-region): Ensure, that the
5135 temporary file is created also in the remote case.
5137 2012-06-06 Glenn Morris <rgm@gnu.org>
5139 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5140 (vc-rcs-update-changelog): Use it.
5142 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5144 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5145 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5146 (vc-sccs-diff): Replace use of the external vcdiff script.
5148 2012-06-05 Glenn Morris <rgm@gnu.org>
5150 * ledit.el: Move to obsolete/.
5152 2012-06-05 Sam Steingold <sds@gnu.org>
5154 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5157 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * emacs-lisp/cust-print.el: Move to obsolete.
5161 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5162 compiler-macro expansion.
5164 Add native compiler-macro support.
5165 * emacs-lisp/macroexp.el (macroexpand-all-1):
5166 Support compiler-macros directly. Properly follow aliases and apply
5167 the compiler macros more thoroughly.
5168 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5169 macroexpand now properly follows aliases.
5170 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5171 (cl-compiler-macroexpand): Use new prop.
5172 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5174 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5176 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5178 * window.el (get-lru-window, get-mru-window, get-largest-window):
5179 New argument NOT-SELECTED to avoid picking the selected window.
5180 (window--display-buffer-1, window--display-buffer-2): Replace by
5181 new function window--display-buffer
5182 (display-buffer-same-window, display-buffer-reuse-window)
5183 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5184 Use window--display-buffer.
5185 (display-buffer-use-some-window): Remove temporary dedication
5186 hack by calling get-lru-window and get-largest-window with
5187 NOT-SELECTED argument non-nil. Call window--display-buffer.
5189 2012-06-05 Glenn Morris <rgm@gnu.org>
5191 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5192 Replace external vcdiff script.
5194 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5198 2012-06-04 Chong Yidong <cyd@gnu.org>
5200 * image.el (imagemagick-types-inhibit): Revert last change.
5202 (imagemagick-enabled-types): Remove CIN and EPS*.
5204 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * emacs-lisp/cl-lib.el: Rename from cl.el.
5207 * emacs-lisp/cl.el: New compatibility file.
5208 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5209 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5210 to obey the "cl-" prefix.
5211 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5213 2012-06-03 Glenn Morris <rgm@gnu.org>
5215 * emacs-lisp/authors.el (authors-aliases): Addition.
5217 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5220 2012-06-03 Stefan Merten <smerten@oekonux.de>
5222 * textmodes/rst.el: Add comments.
5223 (rst-transition, rst-adornment): New faces.
5224 (rst-adornment-faces-alist): Make default safe to reevaluate.
5226 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5227 Improve customization tags.
5228 (rst-define-level-faces): Clarify meaning.
5230 2012-06-03 Chong Yidong <cyd@gnu.org>
5232 * progmodes/compile.el (compilation-mode-line-fail)
5233 (compilation-mode-line-run, compilation-mode-line-exit):
5235 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5237 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5239 * progmodes/which-func.el (which-func-update-ediff-windows):
5240 New function. Use it in ediff-select-hook (Bug#11478).
5242 2012-06-03 Chong Yidong <cyd@gnu.org>
5244 * bindings.el: Remove explicit help text from format-mode-line.
5245 It is now supplied by mode-line-default-help-echo.
5246 (mode-line-front-space, mode-line-end-spaces)
5247 (mode-line-misc-info): New variables.
5248 (mode-line-modes, mode-line-position): Move the default value to
5249 the variable definition.
5250 (mode-line-default-help-echo): New defcustom.
5251 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5252 (mode-line-modified-help-echo): New functions.
5253 (mode-line-mule-info, mode-line-modified): Use them.
5254 (mode-line-eol-desc, propertized-buffer-identification):
5255 Consistency fixes for help text.
5256 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5257 set-buffer-file-coding-system (Bug#289).
5258 (mode-line-mule-info-help-echo): Update help text.
5260 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5262 * simple.el (execute-extended-command): Set real-this-command
5265 2012-06-02 Chong Yidong <cyd@gnu.org>
5267 Remove incorrect uses of "modeline" in comments, docstrings, and
5268 function/variable names (Bug#10329).
5270 * cus-edit.el (mode-line):
5271 * dframe.el (dframe-mouse-hscroll):
5272 * emacs-lisp/re-builder.el:
5273 * emacs-lisp/easy-mmode.el (define-minor-mode):
5274 * frame.el (set-frame-name):
5275 * help.el (lookup-minor-mode-from-indicator):
5276 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5277 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5278 (c-toggle-hungry-state):
5279 * progmodes/antlr-mode.el (antlr-language-alist):
5280 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5281 * progmodes/vhdl-mode.el (vhdl-mode):
5282 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5283 * term/ns-win.el (ns-face-at-pos):
5284 * term/sup-mouse.el (sup-mouse-report):
5285 * textmodes/flyspell.el (flyspell-mode-line-string):
5286 * textmodes/ispell.el (ispell-highlight-face):
5287 * textmodes/reftex-global.el:
5288 * vc/vc-arch.el (vc-arch-mode-line-string):
5289 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5290 * vc/vc-git.el (vc-git-mode-line-string):
5291 * vc/vc-hooks.el (vc-display-status)
5292 (vc-default-mode-line-string):
5293 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5295 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5297 * dired.el (dired-sort-set-mode-line): Rename from
5298 dired-sort-set-modeline. All callers changed.
5300 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5301 eshell-status-in-modeline.
5303 * foldout.el (foldout-mode-line-string): Rename from
5304 foldout-modeline-string. All callers changed.
5305 (foldout-update-mode-line): Rename from foldout-update-modeline.
5307 * subr.el (redraw-modeline): Make into obsolete alias.
5309 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5310 timeclock-modeline-display. Make old name an alias.
5311 (timeclock-update-mode-line): Likewise. All callers changed.
5312 (timeclock-mode-line-display): No need to check before using
5314 (timeclock-relative, timeclock-day-over-hook)
5315 (timeclock-use-elapsed, timeclock-mode-string)
5316 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5318 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5319 crisp-mode-modeline-string.
5321 * play/solitaire.el (solitaire-build-mode-line): Rename from
5322 solitaire-build-modeline. All callers changed.
5324 * play/zone.el (zone-hiding-mode-line): Rename from
5325 zone-hiding-modeline. All callers changed.
5326 (zone): Remove unusued `modeline-hidden-level' property.
5328 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5329 xscheme-modeline-initialize. All callers changed.
5331 * strokes.el (strokes-lighter): Rename from
5332 strokes-modeline-string.
5334 * textmodes/sgml-mode.el (html-face-tag-alist)
5335 (html-tag-face-alist): Use mode-line face instead of obsolete
5338 2012-06-02 Stefan Merten <smerten@oekonux.de>
5340 * textmodes/rst.el: Always require `cl'.
5341 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5343 2012-06-02 Chong Yidong <cyd@gnu.org>
5345 * image.el (imagemagick-enabled-types): Rename from
5346 imagemagick-types-enable. Add many more types.
5347 (imagemagick-types-inhibit): Change default to nil.
5348 (imagemagick-filter-types): Caller changed.
5350 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5352 * emacs-lisp/cl-macs.el: Use backquotes.
5353 (cl-transform-function-property): Use eval-and-compile rather than
5355 (defstruct): Use declare-function instead of with-no-warnings.
5357 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5358 (byte-compile-output-docform): Re-add the print-circle bindings.
5359 (byte-compile-fix-header): Use #$ just because it's shorter.
5360 (byte-compile-output-file-form): Remove defun/defmacro.
5362 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5364 * simple.el (choose-completion): Remove now obsolete binding for
5367 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5369 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5370 in order to avoid "Stack overflow in regexp matcher".
5372 2012-05-31 Glenn Morris <rgm@gnu.org>
5374 * image.el: For clarity, call imagemagick-register-types at
5375 top-level, rather than relying on a custom :initialize.
5376 (imagemagick-types-enable): New option. (Bug#11557)
5377 (imagemagick-filter-types): New function. (Bug#7406)
5378 (imagemagick-register-types): Use imagemagick-filter-types.
5379 If disabling support, remove elements altogether rather
5380 than using an impossible regexp.
5381 (imagemagick-types-inhibit): Give it the default init function.
5383 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5385 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5386 Handle arbitrary file name lengths (Bug#11585).
5388 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5390 * desktop.el (desktop-read): Clear previous and next buffers for
5391 all windows and bury *Messages* buffer (bug#11556).
5393 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5395 Add `declare' for `defun'. Align `defmacro's with it.
5396 * emacs-lisp/easy-mmode.el (define-minor-mode)
5397 (define-globalized-minor-mode): Don't autoload the var definitions.
5398 * emacs-lisp/byte-run.el: Use lexical-binding.
5399 (defun-declarations-alist, macro-declarations-alist): New vars.
5400 (defmacro, defun): Use them.
5401 (make-obsolete, define-obsolete-function-alias)
5402 (make-obsolete-variable, define-obsolete-variable-alias):
5404 (macro-declaration-function): Mark obsolete.
5405 * emacs-lisp/autoload.el: Use lexical-binding.
5406 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5408 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5410 * textmodes/ispell.el (ispell-with-no-warnings):
5412 (ispell-kill-ispell, ispell-change-dictionary):
5413 Use `called-interactively-p' for Emacs instead of obsolete
5416 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5418 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5419 (macro-declaration-function): Move var from C code.
5420 (macro-declaration-function): Define function with defalias.
5421 * emacs-lisp/macroexp.el (macroexpand-all-1):
5422 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5423 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5424 defun/defmacro any more.
5425 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5426 Provide fallback for unknown arglist.
5427 (byte-compile-arglist-warn): Change calling convention.
5428 (byte-compile-output-file-form): Move print-vars binding.
5429 (byte-compile-output-docform): Simplify accordingly.
5430 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5431 (byte-compile-defmacro-declaration): Remove.
5432 (byte-compile-file-form-defmumble): Generalize to defalias.
5433 (byte-compile-output-as-comment): Return byte-positions.
5434 Simplify callers accordingly.
5435 (byte-compile-lambda): Use `assert'.
5436 (byte-compile-defun, byte-compile-defmacro): Remove.
5437 (byte-compile-file-form-defalias):
5438 Use byte-compile-file-form-defmumble.
5439 (byte-compile-defalias-warn): Remove.
5441 2012-05-29 Stefan Merten <smerten@oekonux.de>
5443 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5444 possible. Fix authors. Improve comments. Improve loading of `cl'.
5446 (rst-mode-abbrev-table): Merge definition.
5447 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5448 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5450 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5452 * calendar/icalendar.el
5453 (icalendar-export-region): Export UID properly.
5455 2012-05-29 Leo Liu <sdl.web@gmail.com>
5456 * calendar/icalendar.el (icalendar-import-format):
5457 Add `icalendar-import-format-uid' (Bug#11525).
5458 (icalendar-import-format-uid): New.
5459 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5462 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5464 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5465 different alternative patterns.
5466 (pcase-codegen): Be more careful to preserve identity.
5467 (pcase--u1): Don't forget to mark vars as used.
5469 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5470 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5471 (byte-compile-from-buffer): ...rather than here.
5473 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5474 functions from byte-compile-function-environment.
5476 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5478 * window.el (window-deletable-p): Avoid deleting the root window
5479 of a frame with an active minibuffer.
5481 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5483 * simple.el (choose-completion): Use quit-window (Bug#11567).
5485 2012-05-29 Chong Yidong <cyd@gnu.org>
5487 * whitespace.el (whitespace-cleanup): Fix usage of
5488 whitespace-empty-at-bob-regexp (Bug#11492).
5490 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5492 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5495 2012-05-29 Juri Linkov <juri@jurta.org>
5497 * isearch.el (isearch-mode-map): Bind `M-s _' to
5498 `isearch-toggle-symbol'. Bind `M-s c' to
5499 `isearch-toggle-case-fold'.
5500 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5501 (isearch-forward): Add `M-s _' to the docstring.
5502 (isearch-forward-symbol, isearch-toggle-case-fold)
5503 (isearch-symbol-regexp): New functions. (Bug#11381)
5505 2012-05-29 Juri Linkov <juri@jurta.org>
5507 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5508 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5509 a function, call it to get the regexp.
5510 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5511 property `isearch-message-prefix' instead of the string "word ".
5512 (isearch-search-fun-default): For the case of `isearch-word',
5513 return a lambda that calls re-search-forward/re-search-backward
5514 with a regexp returned by `word-search-regexp' or by the function
5517 2012-05-29 Juri Linkov <juri@jurta.org>
5519 * isearch.el (isearch-search-fun-default): New function.
5520 (isearch-search-fun): Move default part to the new function
5521 `isearch-search-fun-default'.
5522 (isearch-search-fun-function): Set the default value to
5523 `isearch-search-fun-default'. (Bug#11381)
5525 * comint.el (comint-history-isearch-end):
5526 Use `isearch-search-fun-default'.
5527 (comint-history-isearch-search): Use `isearch-search-fun-default'
5528 and remove spacial case for `isearch-word'.
5529 (comint-history-isearch-wrap): Remove spacial case for
5532 * hexl.el (hexl-isearch-search-function):
5533 Use `isearch-search-fun-default'.
5535 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5536 Use `word-search-regexp' for `isearch-word'.
5538 * misearch.el (multi-isearch-search-fun):
5539 Use `isearch-search-fun-default'.
5541 * simple.el (minibuffer-history-isearch-search):
5542 Use `isearch-search-fun-default' and remove spacial case for
5544 (minibuffer-history-isearch-wrap): Remove spacial case for
5547 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5548 Remove spacial case for `isearch-word'.
5549 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5551 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5553 Decrease XEmacs incompatibilities.
5554 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5556 (flyspell-delete-region-overlays): Use alternative definition for
5558 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5559 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5560 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5561 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5562 `define-obsolete-face-alias' under XEmacs, but old method.
5564 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5565 `with-no-warnings' definition or Emacs alias.
5566 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5567 (ispell-word): Do not use `region-p' if XEmacs.
5569 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5571 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5572 Check for `ispell-dictionary-base-alist' instead of full
5573 `ispell-dictionary-alist'.
5574 (ispell-init-process): Show spellchecker when starting new Ispell
5577 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5580 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5582 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5584 * version.el (motif-version-string, gtk-version-string)
5585 (ns-version-string): Declare.
5587 2012-05-27 Juri Linkov <juri@jurta.org>
5589 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5590 after the `eval-defun-1' specialcaseing
5591 like in `edebug-eval-defun' (bug#10181).
5593 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5594 like in `eval-defun-1'.
5596 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5598 * mail/sendmail.el (mail-yank-region):
5599 Recognize rmail-yank-current-message in addition to insert-buffer.
5600 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5601 a *mail* buffer created through rmail-start-mail with sendmail as
5604 2012-05-27 Chong Yidong <cyd@gnu.org>
5606 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5607 Default to 256 (Bug#11267).
5609 * help.el (describe-mode): Doc fix.
5611 2012-05-26 Glenn Morris <rgm@gnu.org>
5613 * w32-fns.el (w32-init-info): Remove.
5614 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5616 * info.el (info-initialize): For self-contained NS builds, put the
5617 included info/ directory at the front. (Bug#2791)
5619 * paths.el (Info-default-directory-list): Make it a defcustom,
5620 mainly so that we can use custom-initialize-delay.
5622 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5624 * subr.el (buffer-has-markers-at): Mark obsolete.
5626 * subr.el (lambda): Use declare.
5628 * emacs-lisp/lisp-mode.el (lambda):
5629 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5631 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5633 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5635 2012-05-26 Glenn Morris <rgm@gnu.org>
5637 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5639 2012-05-25 Glenn Morris <rgm@gnu.org>
5641 * paths.el: Remove no-byte-compile.
5642 * loadup.el: No need to load paths.el uncompiled.
5644 * image.el (imagemagick-types-inhibit): Doc fix.
5646 * version.el: Remove no-byte-compile and associated formatting.
5647 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5648 is ancient code from when there was an "inc-vers.el".
5650 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * progmodes/gdb-mi.el: Minor style changes.
5653 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5654 Turn into minor modes.
5655 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5656 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5657 (gdb-shell): Remove unneeded let-binding.
5658 (gdb-get-many-fields): Eliminate O(n²) behavior.
5660 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5662 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5663 platforms that don't link in fontset.c.
5665 2012-05-25 Juri Linkov <juri@jurta.org>
5667 Use the same diff color scheme as in modern VCSes (bug#10181).
5669 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5670 to avoid confusion with `diff-added' that now uses green colors.
5671 (diff-removed): Use shades of red.
5672 (diff-added): Use shades of green.
5673 (diff-changed): Leave just the yellow color.
5674 (diff-use-changed-face): New variable.
5675 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5676 how to highlight context diff changes.
5677 (diff-refine-change): Use shades of yellow.
5678 (diff-refine-removed): New face that uses shades of red.
5679 (diff-refine-added): New face that uses shades of green.
5680 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5681 `diff-refine-removed' in the call to `smerge-refine-subst'
5682 depending on the value of `diff-use-changed-face'.
5684 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5685 (smerge-other): Use shades of green.
5686 (smerge-base): Use shades of yellow.
5687 (smerge-refined-change): Empty face.
5688 (smerge-refined-removed): New face that uses shades of red.
5689 (smerge-refined-added): New face that uses shades of green.
5690 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5691 args `props-r' and `props-a', and use them. Doc fix.
5692 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5693 on its value use different faces `smerge-refined-change',
5694 `smerge-refined-removed', `smerge-refined-added' in the call to
5695 `smerge-refine-subst'.
5697 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5698 Add face condition `min-colors 88' with shades of red.
5699 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5700 `min-colors 88' with shades of green.
5701 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5702 `min-colors 88' with shades of yellow.
5704 2012-05-24 Glenn Morris <rgm@gnu.org>
5706 * paths.el (prune-directory-list, remote-shell-program): Move to...
5707 * files.el (prune-directory-list, remote-shell-program): ...here.
5708 For the latter, delay initialization, prefer ssh, just search PATH.
5710 * paths.el (term-file-prefix): Move to faces.el (the only user).
5711 * faces.el (term-file-prefix): Move here, make it a defcustom.
5713 * paths.el (news-directory, news-path, news-inews-program):
5714 Move to gnus/nnspool.el.
5716 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5718 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5719 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5720 Make the latter a defcustom, with a delayed initialization.
5722 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5723 These were deleted from Gnus itself late 2010.
5725 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5727 * progmodes/which-func.el (which-func-ff-hook):
5728 Check against user-error, not error.
5730 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5731 cl-specs.el, which no longer exists.
5733 2012-05-22 Glenn Morris <rgm@gnu.org>
5735 * info.el (info-emacs-bug): New command.
5736 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5737 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5739 2012-05-21 Glenn Morris <rgm@gnu.org>
5741 * makefile.w32-in (update-subdirs-SH):
5742 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5744 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5746 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5748 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5749 Simplify Maven regexp, and make sure the file can't start with a space
5752 2012-05-21 Glenn Morris <rgm@gnu.org>
5754 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5755 Scrap superfluous subshells.
5757 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5759 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5760 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5762 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5764 * calc/calc.el (calc-ensure-consistent-units): New variable.
5766 * calc/calc-units.el (math-consistent-units-p)
5767 (math-check-unit-consistency): New functions.
5768 (calc-quick-units, calc-convert-units):
5769 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5771 (calc-extract-units): Fix typo.
5773 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5775 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5777 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5778 (flyspell-default-deplacement-commands): Don't spell check after
5779 repeated window/frame switches (e.g. triggered by mouse-movement).
5780 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5781 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5782 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5783 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5785 (flyspell-get-casechars, flyspell-get-not-casechars):
5786 Simplify; Don't bother removing a ] just to add it back.
5787 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5789 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5791 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5793 (math-function-table): Add support for more C functions.
5795 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5797 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5798 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5799 Protect delay handling for otherchars against empty otherchars.
5801 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5803 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5804 their respective macro declarations.
5805 * skeleton.el (define-skeleton):
5806 * progmodes/compile.el (define-compilation-mode):
5807 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5808 (define-ibuffer-filter):
5809 * emacs-lisp/generic.el (define-generic-mode):
5810 * emacs-lisp/easy-mmode.el (define-minor-mode)
5811 (define-globalized-minor-mode):
5812 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5813 * emacs-lisp/byte-run.el (defsubst):
5814 * custom.el (deftheme): Add doc-string metadata.
5816 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5820 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5822 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5824 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5825 * emacs-lisp/cl-macs.el: Idem.
5826 * emacs-lisp/cl-specs.el: Remove.
5828 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5830 Minor renaming of internal CL functions and variables.
5831 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5832 (cl--position): Rename from cl-position.
5833 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5834 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5835 (cl--random-state): Rename from *random-state*.
5837 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5840 parens around the arg list (bug#11499).
5842 2012-05-17 Juri Linkov <juri@jurta.org>
5844 * isearch.el (word-search-regexp, word-search-backward)
5845 (word-search-forward, word-search-backward-lax)
5846 (word-search-forward-lax): Move functions from search.c
5847 (bug#10145, bug#11381).
5849 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5851 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5852 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5853 Delay for otherchars as for normal word components.
5855 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5857 * minibuffer.el (completion--sifn-requote): Fix last change.
5858 (minibuffer-local-must-match-filename-map):
5859 Move define-obsolete-variable-alias before its var.
5861 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5863 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5865 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5867 (completion--string-equal-p): New function.
5868 (completion--twq-all): Use it to get better assertion failure data.
5870 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5871 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5872 (shell--requote-argument): New functions.
5873 (shell-completion-vars): Use them.
5874 (shell--parse-pcomplete-arguments): Rename from
5875 shell-parse-pcomplete-arguments.
5876 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5877 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5878 Obey comint-file-name-quote-list.
5880 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5881 (smie-indent-keyword): Use it.
5883 2012-05-14 Stefan Merten <smerten@oekonux.de>
5885 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5887 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5889 * net/rlogin.el (rlogin-mode-map): Fix last change.
5891 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5893 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5894 the following \r\n using a single `process-send-string', since the
5895 Lotus SMTP server refuses to accept any commands if they are sent
5896 with two `process-send-string's (Bug#11444).
5898 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5900 * shell.el (shell-parse-pcomplete-arguments):
5901 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5903 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5905 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5906 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5907 (image-transform-width, image-transform-fit-width): New functions.
5908 (image-transform-properties): Use them.
5909 (image-transform-check-size): New function.
5910 (image-toggle-display-image): Use it (for testing).
5911 (image-transform-set-rotation): Reduce angle mod 360.
5912 Delete obsolete comment.
5914 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5916 * image-mode.el: Fix scaling (bug#11399).
5917 (image-transform-resize): Doc fix.
5918 (image-transform-properties): Default scale is 1 and height should
5921 2012-05-13 Johan Bockgård <bojohan@gnu.org>
5923 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5924 than hard-coding `car', to fix misbehavior when moving forward.
5926 2012-05-13 Chong Yidong <cyd@gnu.org>
5928 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5929 (tabulated-list-entries, tabulated-list-padding)
5930 (tabulated-list-sort-key): Make permanent-local.
5932 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5933 (electric-buffer-list): Put electric buffer menu
5934 command descriptions in this docstring, instead of the docstring
5935 of electric-buffer-menu-mode. Code cleanups.
5936 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5937 Electric-buffer-menu-mode.
5938 (electric-buffer-update-highlight): Minor code cleanup.
5940 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
5942 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5945 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5947 Move define-obsolete-variable-alias before the var's definition.
5948 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5949 * tooltip.el (tooltip-hook):
5950 * textmodes/reftex-toc.el (reftex-toc-map):
5951 * textmodes/reftex-sel.el (reftex-select-label-map)
5952 (reftex-select-bib-map):
5953 * textmodes/reftex-index.el (reftex-index-map)
5954 (reftex-index-phrases-map):
5955 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5956 * progmodes/meta-mode.el (meta-mode-map):
5957 * novice.el (disabled-command-hook):
5958 * loadhist.el (unload-hook-features-list):
5959 * frame.el (blink-cursor):
5960 * files.el (find-file-not-found-hooks, write-file-hooks)
5961 (write-contents-hooks):
5962 * emulation/tpu-edt.el (GOLD-map):
5963 * emacs-lock.el (emacs-lock-from-exiting):
5964 * emacs-lisp/generic.el (generic-font-lock-defaults):
5965 * emacs-lisp/chart.el (chart-map):
5966 * dos-fns.el (register-name-alist):
5967 * dired-x.el (dired-omit-files-p):
5968 * desktop.el (desktop-enable):
5969 * cus-edit.el (custom-mode-hook):
5970 * buff-menu.el (buffer-menu-mode-hook):
5971 * bookmark.el (bookmark-read-annotation-text-func)
5972 (bookmark-exit-hooks):
5973 * allout.el (allout-mode-deactivate-hook)
5974 (allout-exposure-change-hook, allout-structure-added-hook)
5975 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5976 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5977 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5978 comes before the corresponding variable's definition.
5980 2012-05-12 Chong Yidong <cyd@gnu.org>
5982 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5983 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5984 (Buffer-menu-mode-map): Bind it.
5985 (Buffer-menu--pretty-name): Add a mouse-face property.
5987 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5989 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5990 (prolog-upper-case-string, prolog-lower-case-string)
5991 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5992 (prolog-use-smie, prolog-smie-grammar): New vars.
5993 (prolog-smie-forward-token, prolog-smie-backward-token)
5994 (prolog-smie-rules): New funs.
5995 (prolog-comment-indent): Remove.
5996 (prolog-mode-variables): Use default comment indentation instead.
5998 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5999 (prolog-mode): Don't call them any more.
6000 (prolog-electric-colon, prolog-electric-dash)
6001 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6003 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6005 * minibuffer.el (completion--twq-all): Again, allow case differences.
6007 * term.el: Move keymap initialization code to be more idiomatic.
6008 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6009 (term-terminal-menu): Move initialization into declaration.
6010 (term-escape-char): Let the user set it in her .emacs.
6012 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6013 Provide SMIE-based indentation (not enabled by default yet).
6014 (sh-mode-map): Don't bind electric keys.
6015 Use electric-pair-mode instead of skeleton-pair.
6016 (sh-assignment-regexp): Fit within 80 columns.
6017 (sh-indent-supported): Specify actual shell name instead of boolean.
6018 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6019 (sh-maybe-here-document): Use it. Make obsolete.
6020 (sh-electric-here-document-mode) New minor mode.
6021 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6022 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6023 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6024 (sh-smie-rc-grammar, sh-use-smie): New vars.
6025 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6026 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6027 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6028 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6029 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6030 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6031 (sh-set-shell): Use smie-setup if requested.
6033 * term.el (term-set-escape-char): Properly set term-escape-char.
6034 See http://stackoverflow.com/questions/10524656.
6036 2012-05-10 Chong Yidong <cyd@gnu.org>
6038 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6039 Use url-generic-parse-url, and handle host names and Windows
6041 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6042 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6043 URL schemes to work on.
6044 (ffap--toggle-read-only): New function.
6045 (ffap-read-only, ffap-read-only-other-window)
6046 (ffap-read-only-other-frame): Use it.
6047 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6048 necessary for ffap-url-unwrap-remote.
6050 2012-05-10 Dave Abrahams <dave@boostpro.com>
6052 * cus-start.el (create-lockfiles): Add it.
6054 2012-05-09 Chong Yidong <cyd@gnu.org>
6056 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6057 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6059 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6061 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6063 2012-05-09 Chong Yidong <cyd@gnu.org>
6065 * ansi-color.el (ansi-color-process-output): Check for validity of
6066 comint-last-output-start before using it. This avoids a bad
6067 interaction with gdb-mi's input/output buffer.
6069 2012-05-09 Glenn Morris <rgm@gnu.org>
6071 * files.el (dir-locals-read-from-file):
6072 Mention dir-locals in any error message.
6074 2012-05-09 Chong Yidong <cyd@gnu.org>
6076 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6077 package (Bug#11410).
6079 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6080 variables into description.
6082 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6084 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6085 shell-delimiter-argument-list (bug#11348).
6086 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6088 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6090 * textmodes/rst.el: Silence byte-compiler warnings.
6091 (rst-re-alist, rst-reset-section-caches): Move around.
6092 (rst-re): Use `characterp', not `char-valid-p'.
6093 (font-lock-beg, font-lock-end): Declare.
6095 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6096 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6098 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6100 2012-05-08 Glenn Morris <rgm@gnu.org>
6102 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6104 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6106 * vc/log-edit.el: Add GNU coding standards highlighting.
6107 (log-edit-font-lock-gnu-style)
6108 (log-edit-font-lock-gnu-keywords): New vars.
6109 (log-edit-font-lock-keywords): New fun.
6110 (log-edit-mode): Don't fold case in font-lock.
6111 (log-edit-font-lock-keywords): Do not assume case-folding.
6113 * imenu.el: Misc cleanup. Make docstrings out of comments.
6114 Use lexical-binding.
6115 (imenu--index-alist, imenu--last-menubar-index-alist)
6116 (imenu-menubar-modified-tick): Use defvar-local.
6117 (imenu--split-menu): Remove unused var.
6118 (imenu--cleanup-seen): Declare as global.
6119 (imenu--cleanup): Use dolist.
6121 * subr.el (defvar-local): Add debug spec and doc-string position.
6123 2012-05-08 Glenn Morris <rgm@gnu.org>
6125 * language/burmese.el, language/cham.el, language/czech.el:
6126 * language/english.el, language/georgian.el, language/greek.el:
6127 * language/japanese.el, language/khmer.el, language/korean.el:
6128 * language/lao.el, language/misc-lang.el, language/romanian.el:
6129 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6130 * language/thai.el, language/utf-8-lang.el:
6131 Remove no-byte-compile setting.
6133 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6135 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6137 * progmodes/make-mode.el (makefile-browse):
6138 Remove unnecessary interactive. (Bug#11324)
6140 2012-05-07 Glenn Morris <rgm@gnu.org>
6142 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6144 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6146 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6148 * loadup.el: Preload newcomment.el.
6149 * newcomment.el: Move autoload-only code to toplevel.
6151 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6152 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6153 Handle new :right-align column property.
6154 (tabulated-list-print-col): Idem, plus use `display' text-property to
6155 try and preserve alignment for variable pitch fonts.
6157 2012-05-07 Chong Yidong <cyd@gnu.org>
6159 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6160 (tabulated-list-use-header-line): New var.
6161 (tabulated-list-init-header): Use it.
6162 (tabulated-list-print-fake-header): New function.
6163 (tabulated-list-print): Use it.
6164 (tabulated-list-sort-button-map): Add non-header-line commands.
6165 (tabulated-list-init-header): Add column name property to basic
6167 (tabulated-list-col-sort): Handle non-header-line button case.
6168 (tabulated-list--sort-by-column-name): Fix a corner case.
6170 * buff-menu.el (list-buffers--refresh):
6171 Handle Buffer-menu-use-header-line.
6173 2012-05-06 Chong Yidong <cyd@gnu.org>
6175 * buff-menu.el: Convert to Tabulated List mode.
6176 (Buffer-menu-buffer+size-width): Make obsolete.
6177 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6178 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6179 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6180 documentation into docstring of buffer-menu.
6181 (Buffer-menu-toggle-files-only): Add an informative message.
6182 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6183 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6184 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6185 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6186 (Buffer-menu-execute, Buffer-menu-select)
6187 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6188 (Buffer-menu-bury): Use Tabulated List machinery.
6189 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6190 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6192 (list-buffers--refresh): New function.
6193 (list-buffers-noselect): Use it.
6194 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6195 (Buffer-menu--pretty-file-name): New helper functions.
6197 * loadup.el: Preload tabulated-list.
6199 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6200 tabulated-list-sort-column.
6201 (tabulated-list-init-header): Add the initial aligning space even
6202 if tabulated-list-padding is zero.
6204 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6206 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6207 whose cdr is not a cons cell correctly (bug#11038).
6209 2012-05-06 Chong Yidong <cyd@gnu.org>
6211 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6212 Accept additional plist in column descriptors.
6213 (tabulated-list-init-header): Obey it.
6214 (tabulated-list-get-entry): New function.
6215 (tabulated-list-put-tag): Use it. Use string-width instead of
6217 (tabulated-list--column-number): New function.
6218 (tabulated-list-print): Use it.
6219 (tabulated-list-print-col): New function.
6220 Set `tabulated-list-column-name' property on each column's text.
6221 (tabulated-list-print-entry): Use it.
6222 (tabulated-list-delete-entry, tabulated-list-set-col):
6224 (tabulated-list-sort-column): New command (Bug#11337).
6226 * buff-menu.el (list-buffers): Move C-x C-b binding from
6227 buff-menu.el to bindings.el.
6229 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6230 :advertised-binding feature.
6232 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6234 * progmodes/compile.el (compilation-internal-error-properties):
6235 Calculate start position correctly when end-col is set but
6236 end-line is not (Bug#11382).
6238 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6240 * man.el (Man-unindent): Use text-property-default-nonsticky to
6241 prevent untabify from inheriting face properties (Bug#11408).
6243 2012-05-05 Stefan Merten <smerten@oekonux.de>
6245 * textmodes/rst.el: Major merge with upstream development up to
6246 Docutils SVN r7399 / rst.el V1.2.1.
6248 Clarify maintainership and authors.
6250 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6251 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6252 (rst-official-version, rst-official-cvs-rev, rst-version)
6253 (rst-package-emacs-version-alist): New functions and variables
6254 for version information.
6256 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6257 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6258 (rst-mode-syntax-table, rst-mode): New and corrected functions
6259 and variables representing reStructuredText features.
6261 (rst-re): New function for reStructuredText regexes. Use in
6264 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6265 (rst-mode-map): Rebind keys.
6267 (rst-mode-lazy, rst-font-lock-keywords)
6268 (rst-font-lock-extend-region)
6269 (rst-font-lock-extend-region-internal)
6270 (rst-font-lock-extend-region-extend)
6271 (rst-font-lock-find-unindented-line-limit)
6272 (rst-font-lock-find-unindented-line-match)
6273 (rst-adornment-level, rst-font-lock-adornment-level)
6274 (rst-font-lock-adornment-match)
6275 (rst-font-lock-handle-adornment-pre-match-form)
6276 (rst-font-lock-handle-adornment-matcher): Major revision of
6277 font-locking. Integrate with other code. Use `jit-lock-mode'.
6279 (rst-preferred-adornments, rst-adjust-hook)
6280 (rst-new-adornment-down, rst-preferred-bullets)
6281 (rst-preferred-bullets, rst-indent, rst-indent-width)
6282 (rst-indent-field, rst-indent-literal-normal)
6283 (rst-indent-literal-minimized, rst-indent-comment): Change,
6284 extend and improve customization.
6286 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6287 (rst-normalize-cursor-position, rst-get-decoration)
6288 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6289 (rst-rstrip, rst-toc-insert-find-delete-contents)
6290 (rst-shift-fill-region, rst-compute-bullet-tabs)
6291 (rst-debug-print-tabs, rst-debug-mark-found)
6292 (rst-shift-region-guts, rst-shift-region-right)
6293 (rst-shift-region-left, rst-use-char-classes)
6294 (rst-font-lock-keywords-function)
6295 (rst-font-lock-indentation-point)
6296 (rst-font-lock-find-unindented-line-begin)
6297 (rst-font-lock-find-unindented-line-end)
6298 (rst-font-lock-find-unindented-line)
6299 (rst-font-lock-adornment-point, rst-font-lock-level)
6300 (rst-adornment-level-alist): Remove functions and variables.
6302 (rst-compare-adornments, rst-get-adornment-match)
6303 (rst-suggest-new-adornment, rst-get-adornments-around)
6304 (rst-adornment-complete-p, rst-get-next-adornment)
6305 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6306 (rst-straighten-adornments): Standardize function names to
6307 use "adornment" instead of "decoration". Correct callers.
6308 Similar standardizing in many places.
6310 (rst-update-section, rst-adjust, rst-promote-region)
6311 (rst-enumerate-region, rst-bullet-list-region)
6312 (rst-repeat-last-character): Correct use of `interactive'.
6314 (rst-classify-adornment, rst-find-all-adornments)
6315 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6316 (rst-find-leftmost-column, rst-repeat-last-character):
6319 (rst-find-title-line, rst-reset-section-caches)
6320 (rst-get-adornments-around, rst-adjust-adornment-work)
6321 (rst-arabic-to-roman, rst-roman-to-arabic)
6322 (rst-insert-list-pos, rst-insert-list-new-item)
6323 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6326 (rst-all-sections, rst-section-hierarchy)
6327 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6330 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6331 configuration instead of only buffer. Change where necessary.
6333 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6334 (rst-shift-region, rst-adaptive-fill): New functions for
6335 indentation and filling.
6337 (rst-comment-line-break, rst-comment-indent)
6338 (rst-comment-insert-comment, rst-comment-region)
6339 (rst-uncomment-region): New functions for handling comments.
6341 (rst-compile): Quote shell arguments.
6343 (rst-compile-pdf-preview, rst-compile-slides-preview):
6344 Delete temporary files after use.
6346 2012-05-05 Glenn Morris <rgm@gnu.org>
6348 * calendar/cal-html.el: Optionally include holidays in the output.
6349 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6350 (cal-html-holidays): New option.
6351 (cal-html-css-default): Add holiday entry.
6352 (holiday-in-range): Autoload it.
6353 (cal-html-htmlify-entry): Add optional class argument.
6354 (cal-html-htmlify-list): Add optional holidays argument.
6355 (cal-html-insert-agenda-days): Include holidays in the output.
6356 (cal-html-one-month): Maybe include holidays.
6358 * calendar/holidays.el (holiday-in-range):
6359 Move here from cal-tex-list-holidays.
6360 * calendar/cal-tex.el (cal-tex-list-holidays):
6361 Make it an obsolete alias for holiday-in-range. Update all callers.
6363 2012-05-05 Chong Yidong <cyd@gnu.org>
6365 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6368 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6370 * files.el (file-auto-mode-skip): New var.
6371 (set-auto-mode-1): Use it.
6373 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6375 * repeat.el: Use lexical-binding.
6376 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6377 (repeat-undo-count): Remove.
6379 * progmodes/octave-mod.el (octave-abbrev-start):
6380 * progmodes/f90.el (f90-abbrev-start):
6381 * face-remap.el (text-scale-adjust):
6382 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6384 * emacs-lisp/pcase.el (pcase--let*): New function.
6385 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6387 (pcase--split-pred): Be more clever about ruling out overlap between
6388 a predicate and some constant pattern.
6389 (pcase--q1): Use `null' instead of (eq foo nil).
6391 * subr.el (setq-local, defvar-local): New macros.
6392 (kbd): Redefine as an alias.
6393 (with-selected-window): Leave unrelated frames alone.
6394 (set-temporary-overlay-map): New function.
6396 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6398 * subr.el (user-error): New function.
6399 * window.el (switch-to-buffer):
6400 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6401 (smerge-match-conflict):
6402 * simple.el (previous-matching-history-element)
6403 (next-matching-history-element, goto-history-element, undo-more)
6405 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6406 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6407 (next-file, tags-loop-scan, list-tags, complete-tag):
6408 * progmodes/compile.el (compilation-loop):
6409 * mouse.el (mouse-minibuffer-check):
6410 * man.el (Man-bgproc-sentinel, Man-goto-page):
6411 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6412 (Info-history-forward, Info-follow-reference, Info-menu)
6413 (Info-extract-menu-item, Info-extract-menu-counting)
6414 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6415 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6416 (Info-next-reference, Info-prev-reference, Info-index)
6417 (Info-index-next, Info-follow-nearest-node)
6418 (Info-copy-current-node-name):
6419 * imenu.el (imenu--make-index-alist)
6420 (imenu-default-create-index-function, imenu-add-to-menubar):
6421 * files.el (basic-save-buffer, recover-file):
6422 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6423 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6424 (checkdoc-message-text, checkdoc-defun):
6425 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6426 * cus-edit.el (customize-changed-options, customize-rogue)
6427 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6428 (custom-variable-mark-to-reset-standard)
6429 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6431 * completion.el (check-completion-length):
6432 * comint.el (comint-search-arg)
6433 (comint-previous-matching-input-string-position)
6434 (comint-previous-matching-input)
6435 (comint-replace-by-expanded-history-before-point, comint-send-input)
6436 (comint-copy-old-input, comint-backward-matching-input)
6437 (comint-goto-process-mark, comint-set-process-mark):
6438 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6439 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6441 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6443 * dabbrev.el (dabbrev--ignore-case-p): New function.
6444 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6447 * files.el (automount-dir-prefix): Mark as obsolete.
6449 2012-05-04 Glenn Morris <rgm@gnu.org>
6451 * patcomp.el, play/bruce.el: Move to obsolete/.
6453 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6455 Fix minor Y10k bugs.
6456 * arc-mode.el (archive-unixdate):
6457 * autoinsert.el (auto-insert-alist):
6458 * calc/calc-forms.el (math-this-year):
6459 * emacs-lisp/copyright.el (copyright-current-year)
6460 (copyright-update-year, copyright):
6461 * tar-mode.el (tar-clip-time-string):
6462 * time.el (display-time-update):
6463 Don't assume years have 4 digits.
6465 2012-05-04 Chong Yidong <cyd@gnu.org>
6467 * dos-w32.el (file-name-buffer-file-type-alist)
6468 (direct-print-region-use-command-dot-com):
6469 * ffap.el (ffap-menu-regexp):
6470 * find-file.el (ff-special-constructs):
6471 * follow.el (follow-debug):
6472 * forms.el (forms--debug):
6473 * iswitchb.el (iswitchb-all-frames):
6474 * ido.el (ido-all-frames):
6475 * emacs-lisp/timer.el (timer-max-repeats):
6476 * mail/feedmail.el (feedmail-mail-send-hook)
6477 (feedmail-mail-send-hook-queued):
6478 * mail/footnote.el (footnote-signature-separator):
6479 * mail/mailabbrev.el (mail-alias-separator-string)
6480 (mail-abbrev-mode-regexp):
6481 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6482 * progmodes/idlwave.el (idlwave-libinfo-file)
6483 (idlwave-default-completion-case-is-down)
6484 (idlwave-library-routines): Convert defvars to defcustoms.
6486 * mail/rmail.el (rmail-decode-mime-charset):
6487 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6488 (idlwave-shell-fix-inserted-breaks)
6489 (idlwave-shell-activate-alt-keybindings)
6490 (idlwave-shell-use-breakpoint-glyph):
6491 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6493 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6495 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6497 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6499 * progmodes/verilog-mode.el (font-lock-keywords):
6500 Fix mis-highligting auto. Reported by Craig Barner.
6501 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6502 defines from global name space. Reported by Dan Dever.
6503 (verilog-auto-reset, verilog-auto-reset-widths)
6504 (verilog-auto-tieoff): Support using unbased numbers for
6505 AUTORESET and AUTOTIEOFF.
6506 (verilog-submit-bug-report): Update variable list.
6507 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6508 parenthesis from not matching. Reported by Michael Rytting.
6509 (verilog-auto-template-lint): Fix hash error when linting modules
6510 with no used templates.
6511 (verilog-warn, verilog-warn-error)
6512 (verilog-warn-fatal): When non-interactive report multiple
6513 warnings before exiting. Suggested by Brad Dobbie.
6514 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6515 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6516 to report unused template errors. Reported by Brad Dobbie.
6517 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6518 nets, bug438. Reported by Vns Blore.
6519 (verilog-auto-inout-module, verilog-auto-reg)
6520 (verilog-read-decls, verilog-read-sub-decls-sig)
6521 (verilog-signals-edit-wire-reg, verilog-signals-with):
6522 Fix passing of Verilog data types in ANSI input/output ports
6523 such as "output logic" into the AUTOs. Special case "wire" and
6524 "reg" for backwards compatibility presuming Verilog 2001.
6525 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6526 (verilog-preprocess): Fix replication of preprocess output.
6527 Reported by Brad Dobbie.
6528 (verilog-auto-inst-interfaced-ports):
6529 Create verilog-auto-inst-interfaced-ports, bug429.
6530 Reported by Julian Gorfajn.
6531 (verilog-after-save-font-hook)
6532 (verilog-before-save-font-hook): New variable.
6533 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6534 (verilog-save-font-mods): Wrap disabling fontification, reported
6536 (verilog-do-indent, verilog-pretty-declarations-auto)
6537 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6538 Reported by Pierre-David Pfister.
6539 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6540 of class declarations, bug292. Reported by Kevin Heilman.
6541 (verilog-read-decls): Fix 'parameter type' not appearing in
6542 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6543 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6544 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6545 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6546 Reported by David Kravitz.
6548 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6550 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6551 assignment with tests in ifs and for loops.
6552 (verilog-extended-complete-re, verilog-complete-reg): Change so
6553 that DPI inport functions don't look like fuction declarations.
6554 (verilog-pretty-expr): Don't line up assignment
6555 operations to the test and increment in if and for loops
6556 (verilog-extended-complete-re, verilog-complete-reg): Change so
6557 that DPI inport functions don't look like fuction declarations.
6559 2012-05-03 Kenichi Handa <handa@m17n.org>
6561 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6562 decoding, and show a warning message without signaling an error
6565 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * emacs-lisp/bytecomp.el
6568 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6569 since cconv.el might have introduced :fun-body, internal-make-closure,
6570 and friends for bytecomp to handle (bug#11391).
6571 * custom.el (defcustom): Avoid ((λ ..) ..).
6573 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6575 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6577 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6579 * notifications.el (dbus-debug):
6580 * term/linux.el (gpm-mouse-enable):
6581 * term/screen.el (xterm-register-default-colors): Declare.
6583 2012-05-02 Chong Yidong <cyd@gnu.org>
6585 * cus-start.el (gc-cons-percentage, exec-suffixes)
6586 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6587 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6588 (make-cursor-line-fully-visible, void-text-area-pointer)
6589 (font-list-limit): Add customization data.
6591 * allout.el (allout-exposure-change-functions)
6592 (allout-structure-added-functions)
6593 (allout-structure-deleted-functions)
6594 (allout-structure-shifted-functions): Rename abnormal hooks from
6595 *-hook, and convert to defcustoms.
6596 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6597 Convert to defcustoms.
6598 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6600 * allout-widgets.el: Hook callers changed.
6602 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6604 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6605 the yanked message in preference to the default value of
6606 buffer-file-coding-system.
6608 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6610 * window.el (display-buffer--action-function-custom-type):
6613 2012-05-02 Alan Mackenzie <acm@muc.de>
6615 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6617 2012-05-01 Glenn Morris <rgm@gnu.org>
6619 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6621 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6623 * cus-edit.el (custom-variable-documentation): Simplify with format.
6625 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6626 Stefan Monnier <monnier@iro.umontreal.ca>
6628 * simple.el (suggest-key-bindings, execute-extended-command):
6629 Move from keyboard.c.
6631 2012-05-01 Chong Yidong <cyd@gnu.org>
6633 * follow.el: Eliminate advice.
6634 (set-process-filter, process-filter, sit-for): Advice deleted.
6635 (follow-mode-off-hook): Obsolete hook removed.
6636 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6638 (follow-auto): Use a :set function.
6639 (follow-mode): Rewritten. Don't advise process filters.
6640 (follow-switch-to-current-buffer-all, follow-scroll-up)
6641 (follow-scroll-down): Assume follow-mode is bound.
6642 (follow-comint-scroll-to-bottom)
6643 (follow-align-compilation-windows): New functions.
6644 (follow--window-sorter): New function.
6645 (follow-all-followers): Use it to explicitly sort windows by their
6646 positions; don't make assumptions about next-window order.
6647 (follow-windows-start-end, follow-delete-other-windows-and-split)
6648 (follow-calc-win-start): Doc fix.
6649 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6650 vertical-motion unnecessarily.
6651 (follow-adjust-window): New function.
6652 (follow-post-command-hook): Use it.
6653 (follow-call-set-process-filter, follow-call-process-filter)
6654 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6655 (follow-stop-intercept-process-output, follow-generic-filter):
6657 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6658 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6659 New functions, replacing advice on scroll-bar-* commands.
6660 (follow-mwheel-scroll): New function (Bug#4112).
6662 * comint.el (comint-adjust-point): New function.
6663 (comint-postoutput-scroll-to-bottom): Use it.
6664 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6666 2012-05-01 Glenn Morris <rgm@gnu.org>
6668 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6669 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6670 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6671 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6672 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6673 Remove no-byte-compile setting.
6675 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6677 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6678 all-completions code to not return a number in the last cdr.
6680 2012-04-30 Leo Liu <sdl.web@gmail.com>
6682 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6685 2012-04-29 Chong Yidong <cyd@gnu.org>
6687 * follow.el (follow-calc-win-end): Rewrite to handle partial
6688 screen lines correctly (Bug#8390).
6689 (follow-avoid-tail-recenter): Minor cleanup.
6691 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6693 Avoid the obsolete `assoc' package.
6694 * speedbar.el (speedbar-refresh): Avoid adelete.
6695 (speedbar-file-lists): Simplify and avoid aput.
6696 * man.el (Man--sections, Man--refpages): New vars, replacing
6697 Man-sections-alist and Man-refpages-alist.
6698 (Man-build-section-alist, Man-build-references-alist):
6699 Use them; avoid aput.
6700 (Man--last-section, Man--last-refpage): New vars.
6701 (Man-follow-manual-reference): Use them.
6702 Use the `default' arg of completing-read.
6703 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6705 2012-04-27 Chong Yidong <cyd@gnu.org>
6707 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6709 * startup.el (x-apply-session-resources): New function.
6711 * term/ns-win.el (ns-initialize-window-system):
6712 * term/w32-win.el (w32-initialize-window-system):
6713 * term/x-win.el (x-initialize-window-system): Use it to properly
6714 set menu-bar-mode and other vars from X resources, even if the
6715 initial frame is not a window-system frame (Bug#2299).
6717 * subr.el (read-key): Avoid running filter function when setting
6718 up temporary tool bar entries (Bug#9922).
6720 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6722 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6725 2012-04-27 Chong Yidong <cyd@gnu.org>
6727 * select.el (xselect--encode-string): New function, split from
6728 xselect-convert-to-string.
6729 (xselect-convert-to-string): Use it.
6730 (xselect-convert-to-filename, xselect-convert-to-os)
6731 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6732 returned strings are properly encoded (Bug#11315).
6734 2012-04-27 Chong Yidong <cyd@gnu.org>
6736 * simple.el (delete-active-region): Move to killing custom group.
6738 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6740 * progmodes/which-func.el (which-func-current): Quote %
6741 characters for mode-line processing.
6743 2012-04-27 Chong Yidong <cyd@gnu.org>
6745 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6746 reaching eob (Bug#11286).
6748 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6750 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6751 (gdb): Make it buffer-local and init to zero.
6752 (gdb-control-commands-regexp): New variable.
6753 (gdb-send): Don't wrap in "-interpreter-exec console" if
6754 gdb-control-level is positive. Increment gdb-control-level
6755 whenever the command matches gdb-control-commands-regexp, and
6756 decrement it each time the command is "end". (Bug#11279)
6758 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6760 * window.el (adjust-window-trailing-edge, enlarge-window)
6761 (shrink-window, window-resize):
6762 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6763 windows (Bug#11276).
6765 2012-04-27 Chong Yidong <cyd@gnu.org>
6767 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6768 fix "missing prefix" warning. All callers changed.
6770 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6772 * emacs-lisp/assoc.el: Move to obsolete/.
6774 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6776 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6778 * term/ns-win.el (ns-define-service):
6779 * progmodes/pascal.el (pascal-goto-defun):
6780 * progmodes/js.el (js--read-tab):
6781 * progmodes/etags.el (tags-lazy-completion-table):
6782 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6783 * emacs-lisp/ewoc.el (ewoc--wrap):
6784 * emacs-lisp/assoc.el (aput, adelete, amake):
6785 * doc-view.el (doc-view-convert-current-doc):
6786 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6788 2012-04-26 Chong Yidong <cyd@gnu.org>
6790 * image.el (image-type-from-buffer): Only return supported image
6793 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6794 value, for symmetry with diff-end-of-hunk.
6795 (diff-split-hunk, diff-find-source-location)
6796 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6797 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6798 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6799 compute the relevant hunk or file properly (Bug#6005).
6800 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6802 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * vc/vc.el: Replace lexical-let by lexical-binding.
6812 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6813 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6814 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6816 2012-04-26 Chong Yidong <cyd@gnu.org>
6818 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6819 (diff-mode-shared-map): Bind it to / and [remap undo].
6821 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6822 (ediff-window-setup-function): Use it as the default, to set up
6823 windows based on whether the current frame is graphical (Bug#2138).
6824 (ediff-choose-window-setup-function-automatically): Make obsolete.
6826 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6828 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6830 * ffap.el: Remove old code for obsolete package.
6831 (ffap-complete-as-file-p): Remove.
6833 Use completion-table-with-quoting for comint and pcomplete.
6834 * comint.el (comint--unquote&requote-argument)
6835 (comint--unquote-argument, comint--requote-argument): New functions.
6836 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6837 (comint-quote-filename): Use regexp-opt-charset.
6838 (comint--common-suffix, comint--common-quoted-suffix)
6839 (comint--table-subvert): Remove.
6840 (comint-unquote-function, comint-requote-function): New vars.
6841 (comint--complete-file-name-data): Use them with
6842 completion-table-with-quoting.
6843 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6844 * pcomplete.el (pcomplete-arg-quote-list)
6845 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6846 (pcomplete-unquote-argument-function): Default to non-nil.
6847 (pcomplete-unquote-argument): Simplify.
6848 (pcomplete--common-quoted-suffix): Remove.
6849 (pcomplete-requote-argument-function): New var.
6850 (pcomplete--common-suffix): New function.
6851 (pcomplete-completions-at-point): Use completion-table-with-quoting
6852 and completion-table-subvert.
6854 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6855 (minibuffer--double-dollars): Preserve properties.
6856 (completion--sifn-requote): New function.
6857 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6859 * minibuffer.el: Add support for completion of quoted/escaped data.
6860 (completion-table-with-quoting, completion-table-subvert): New funs.
6861 (completion--twq-try, completion--twq-all): New functions.
6862 (completion--nth-completion): New function.
6863 (completion-try-completion, completion-all-completions): Use it.
6865 2012-04-25 Leo Liu <sdl.web@gmail.com>
6867 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6868 Use compilation-message if available to find real filename.
6870 2012-04-25 Chong Yidong <cyd@gnu.org>
6872 * vc/diff-mode.el (diff-setup-whitespace): New function.
6873 (diff-mode): Use it.
6875 * vc/diff.el (diff-sentinel):
6876 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6877 Whitespace mode variables based on diff style (Bug#8612).
6879 2012-04-25 Leo Liu <sdl.web@gmail.com>
6881 * progmodes/python.el (python-send-region): Add suffix .py to the
6884 * files.el (auto-mode-alist): Use javascript-mode instead.
6886 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6888 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6890 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6891 (soap-resolve-references-for-array-type): Hack to prevent self
6892 references, see Bug#9.
6893 (soap-parse-envelope): Report the contents of the 'detail' node
6894 when receiving a fault reply.
6895 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6897 * net/soap-inspect.el (soap-sample-value-for-simple-type)
6898 (soap-inspect-simple-type): New function.
6900 * net/soap-client.el (soap-simple-type): New struct.
6901 (soap-default-xsd-types, soap-default-soapenc-types)
6902 (soap-decode-basic-type, soap-encode-basic-type):
6903 support unsignedInt and double basic types.
6904 (soap-resolve-references-for-simple-type)
6905 (soap-parse-simple-type, soap-encode-simple-type): New function.
6906 (soap-parse-schema): Parse xsd:simpleType declarations.
6908 * net/soap-client.el (soap-default-xsd-types)
6909 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6910 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6911 the local name of "soapenc:Array".
6912 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6913 decoding integer, byte and anyURI xsd types.
6915 2012-04-25 Chong Yidong <cyd@gnu.org>
6917 * cus-edit.el (custom-buffer-create-internal): Update header text.
6919 2012-04-25 Eli Zaretskii <eliz@gnu.org>
6921 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6922 settings on 'system-type', not on 'window-system'. On MS-Windows,
6923 set interactive-mode on in GDB.
6925 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6927 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6928 (ruby-syntax-propertize-regexp): Remove.
6929 (ruby-syntax-propertize-function): Split regexp into chunks.
6930 Match following code directly.
6932 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6934 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6935 (ruby-syntax-propertize-regexp): New function.
6936 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6937 by a special keyword.
6939 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6940 (ruby-syntax-general-delimiters-goto-beg)
6941 (ruby-syntax-propertize-general-delimiters): New functions.
6942 (ruby-syntax-propertize-function): Use them to handle GDL.
6943 (ruby-font-lock-keywords): Move old handling of GDL...
6944 (ruby-font-lock-syntactic-keywords): .. to here.
6945 (ruby-calculate-indent): Adjust indentation for GDL.
6947 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
6949 * notifications.el (top): Remove unneeded declarations.
6950 (notifications-specification-version): Change to "1.2".
6951 (notifications-interface, notifications-notify-method)
6952 (notifications-close-notification-method): Fix docstring.
6953 (notifications-get-capabilities-method): New defconst.
6954 (notifications-notify): Add :action-items, :resident and
6955 :transient hints. Change "image_data" to "image-data" and
6956 "image_path" to "image-path".
6957 (notifications-get-capabilities): New defun.
6959 2012-04-24 Leo Liu <sdl.web@gmail.com>
6961 * progmodes/python.el: Move hideshow setup to the end.
6963 2012-04-24 Martin Rudalics <rudalics@gmx.at>
6965 * window.el (handle-select-window): Clear echo area since this is
6966 no more done by read_char (Bug#11304).
6968 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6970 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6971 and `/ M' to filter-derived-mode.
6972 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6973 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6974 (ibuffer-mark-by-mode): Use default rather than initial-input.
6975 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6977 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6979 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6980 (ibuffer-filter-by-derived-mode): New filter.
6981 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6983 2012-04-23 Andreas Politz <politza@fh-trier.de>
6985 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6987 2012-04-23 Chong Yidong <cyd@gnu.org>
6989 * cus-edit.el (customize-apropos, customize-apropos-options):
6990 Disable matching of non-option variables (Bug#11176).
6991 (customize-option, customize-option-other-window)
6992 (customize-changed-options): Doc fix.
6993 (customize-apropos-options, customize-apropos-faces)
6994 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6996 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6997 Fix word list splitting (Bug#11132).
6998 (apropos-symbol, apropos-keybinding, apropos-label)
6999 (apropos-property, apropos-function-button)
7000 (apropos-variable-button, apropos-misc-button): New faces.
7001 (apropos-symbol-face, apropos-keybinding-face)
7002 (apropos-label-face, apropos-property-face, apropos-match-face):
7003 Variables removed (Bug#8396).
7004 (apropos-library-button, apropos-format-plist, apropos-print)
7005 (apropos-print-doc, apropos-describe-plist): Callers changed.
7007 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7009 * net/xesam.el (xesam-mode-map): Use let-bound map in
7010 initialization. (Bug#11292)
7012 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7014 Preserve ispell session localwords when switching back to
7017 * textmodes/ispell.el (ispell-buffer-session-localwords):
7018 New buffer-local variable to hold buffer session localwords.
7019 (ispell-kill-ispell): Add option 'clear to delete session
7021 (ispell-command-loop, ispell-change-dictionary)
7022 (ispell-buffer-local-words): Preserve session localwords when
7025 * textmodes/flyspell.el (flyspell-process-localwords)
7026 (flyspell-do-correct): Preserve session localwords when needed.
7028 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7030 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7031 using obsolete `translation-table-for-input'.
7032 (ispell-word, ispell-process-line, ispell-complete-word):
7033 Use plain `insert' instead of removed `ispell-insert-word'.
7035 2012-04-22 Chong Yidong <cyd@gnu.org>
7037 * cus-edit.el (custom-variable-menu)
7038 (custom-variable-reset-saved, custom-face-menu)
7039 (custom-face-reset-saved): If there is no saved value, make the
7040 "reset-saved" operation bring back the default (Bug#9509).
7041 (custom-face-state): Properly detect themed faces.
7043 * faces.el (face-spec-set): Stop supporting deprecated form of
7046 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7048 Move functions from C to Lisp. Make non-blocking method calls
7049 the default. Implement further D-Bus standard interfaces.
7051 * net/dbus.el (dbus-message-internal): Declare function.
7052 Remove unneeded function declarations.
7053 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7054 (dbus-message-type-method-return, dbus-message-type-error)
7055 (dbus-message-type-signal): Declare variables. Remove local
7057 (dbus-interface-dbus, dbus-interface-peer)
7058 (dbus-interface-introspectable, dbus-interface-properties)
7059 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7061 (dbus-interface-objectmanager): New defconst.
7062 (dbus-call-method, dbus-call-method-asynchronously)
7063 (dbus-send-signal, dbus-method-return-internal)
7064 (dbus-method-error-internal, dbus-register-service)
7065 (dbus-register-signal, dbus-register-method): New defuns, moved
7067 (dbus-call-method-handler, dbus-setenv)
7068 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7070 (dbus-call-method-non-blocking): Make it an obsolete function.
7071 (dbus-unregister-object, dbus-unregister-service)
7072 (dbus-handle-event, dbus-register-property)
7073 (dbus-property-handler): Obey the new structure of
7074 `bus-registered-objects'.
7075 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7076 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7077 Use `dbus-call-method'.
7079 2012-04-22 Chong Yidong <cyd@gnu.org>
7081 * cus-edit.el (custom-commands, custom-reset-menu)
7082 (Custom-reset-standard): Tweak labels.
7083 (custom-reset-button-menu): Change default to t.
7084 (custom-buffer-create-internal): For the custom-reset-button-menu
7085 case, put the revert button first.
7086 (custom-group-subtitle): New face.
7087 (custom-group-value-create): Align docstring to a specific column.
7089 * wid-edit.el (widget-documentation-link-add): Don't handle
7090 indentation in this function.
7091 (widget-documentation-string-indent-to): New function.
7092 (widget-documentation-string-value-create): Use it.
7094 * autorevert.el (auto-revert):
7095 * epg-config.el (epg):
7096 * ibuffer.el (ibuffer):
7099 * eshell/eshell.el (eshell):
7100 * net/ange-ftp.el (ange-ftp):
7101 * progmodes/ebnf2ps.el (postscript):
7102 * progmodes/flymake.el (flymake):
7103 * progmodes/prolog.el (prolog):
7104 * progmodes/verilog-mode.el (verilog-mode):
7105 * progmodes/which-func.el (which-func):
7106 * term/xterm.el (xterm):
7107 * textmodes/picture.el (picture):
7108 * textmodes/tildify.el (tildify):
7109 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7110 customization buffers.
7112 2012-04-22 Alan Mackenzie <acm@muc.de>
7114 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7115 Adding a ) can hide the resulting (..) from searches. Fix it.
7116 Bound the backward search to the position of the existing (.
7118 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7120 * progmodes/verilog-mode.el (verilog-mode): Check whether
7121 which-func-modes is t before adding verilog-mode.
7122 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7124 2012-04-21 Leo Liu <sdl.web@gmail.com>
7126 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7128 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7130 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7131 filling of the last column of a table (Bug#5635).
7132 (woman-find-next-control-line): New arg, specifying an additional
7133 regexp component for the control line.
7134 (woman2-roff-buffer): Use it.
7135 (woman-break-table): New function.
7136 (woman2-TS): Use it.
7138 2012-04-21 Chong Yidong <cyd@gnu.org>
7140 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7141 (woman-horizontal-escapes, woman-negative-vertical-space)
7142 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7143 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7145 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * minibuffer.el (completion-file-name-table): Complete user names.
7149 2012-04-20 Leo Liu <sdl.web@gmail.com>
7151 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7154 2012-04-20 Chong Yidong <cyd@gnu.org>
7156 * server.el (server-execute): Respect initial-buffer-choice if it
7157 is a string and there are no files to open (Bug#2825).
7158 (server-create-window-system-frame, server-create-tty-frame):
7159 Don't switch buffers here.
7160 (server-process-filter): Only try to open a window system frame if
7161 compiled with graphical support (Bug#8314).
7163 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7165 * battery.el (battery-echo-area-format): Display remaining time
7166 for sysfs backend too (Bug#11269).
7167 (battery-linux-sysfs): Fix conditional for the charge.
7169 2012-04-20 Chong Yidong <cyd@gnu.org>
7171 * progmodes/gdb-mi.el (gdb): Revert previous change.
7172 (gdb-inferior-io--init-proc): New function.
7173 (gdb-init-1): Use it.
7174 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7175 responsible for allocating a new pty and hooking it to gdb when
7176 the old pty gets an EIO due to process exit.
7177 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7178 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7179 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7181 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7183 * window.el (window-min-size, window-sizable, window-min-delta)
7184 (window-max-delta, window--resizable, window-resizable)
7185 (window-total-size, window-full-height-p, window-full-width-p)
7186 (window-in-direction, window--resize-mini-window, window-resize)
7187 (window--resize-child-windows-normal)
7188 (window--resize-child-windows, window--resize-siblings)
7189 (window--resize-this-window, adjust-window-trailing-edge)
7190 (enlarge-window, shrink-window): Doc fixes.
7192 2012-04-20 Chong Yidong <cyd@gnu.org>
7194 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7195 New function to call delete-process on the gdb-inferior buffer's pty.
7196 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7197 pty process (Bug#11273).
7198 (gdb-update): New arg to suppress talking to the gdb process.
7199 (gdb-done-or-error): Use it.
7200 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7201 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7202 sentinel not being called.
7204 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7206 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7208 2012-04-20 Glenn Morris <rgm@gnu.org>
7210 * net/network-stream.el (open-network-stream): Doc fix.
7212 2012-04-20 Chong Yidong <cyd@gnu.org>
7214 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7216 2012-04-20 Alan Mackenzie <acm@muc.de>
7218 Ensure searching for keywords is case sensitive.
7220 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7221 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7222 (c-defun-name, c-mark-function, c-cpp-define-name)
7223 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7224 (c-context-line-break): Bind case-fold-search to nil.
7226 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7227 Bind case-fold-search to nil.
7229 2012-04-20 Chong Yidong <cyd@gnu.org>
7231 * mail/sendmail.el (mail-bury): Call return action with the right
7232 Rmail buffer (Bug#11242).
7234 * server.el (server-process-filter): Handle corner case where both
7235 tty and nowait options are present (Bug#11102).
7237 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7239 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7240 (top level): Put into the executable the ident-style '$Id:' tag on
7243 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * electric.el (electric-indent-post-self-insert-function): Check that
7246 electric-indent-mode is enabled in current buffer.
7248 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7250 * imenu.el (imenu-progress-message): Restore; it is "used" in
7251 erc/erc-imenu.el and net/snmp-mode.el.
7253 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7255 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7256 (mouse-avoidance-nudge-mouse): Remove unused binding.
7258 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7260 * descr-text.el (describe-char):
7261 * progmodes/python.el (python-describe-symbol):
7262 Don't call `toggle-read-only', set `buffer-read-only'.
7264 * imenu.el (imenu-default-goto-function): Mark unused args.
7265 (imenu-progress-message): Remove obsolete macro; all callers changed.
7267 * subr.el (keymap-canonicalize): Remove unused binding.
7268 (read-passwd): Mark unused arg.
7270 * tutorial.el (tutorial--display-changes): Remove unused binding.
7271 (tutorial--save-tutorial-to): Remove unused variable.
7273 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7274 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7275 (package-generate-autoloads, package-menu--generate)
7276 (package-menu--find-upgrades): Remove unused bindings.
7278 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7279 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7280 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7281 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7282 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7283 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7284 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7285 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7286 (cua-delete-char-rectangle): Mark unused args.
7287 (cua-align-rectangle): Remove unused binding.
7289 * mail/rmail.el (compilation--message->loc)
7290 (epa--find-coding-system-for-mime-charset): Declare.
7292 * net/dbus.el (dbus-register-service): Declare.
7293 (dbus-name-owner-changed-handler): Remove unused binding.
7295 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7296 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7297 (nxml-scan-backward-within): Mark unused arg.
7298 (nxml-dynamic-markup-word): Remove unused binding.
7300 * mouse.el (mouse-menu-major-mode-map):
7301 * emacs-lisp/authors.el (authors-scan-change-log)
7302 (authors-add-to-author-list):
7303 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7304 * emacs-lisp/smie.el (smie-auto-fill):
7305 * mail/sendmail.el (mail-bury):
7306 * mail/unrmail.el (unrmail):
7307 * net/tls.el (open-tls-stream):
7308 * textmodes/picture.el (picture-mouse-set-point):
7309 Remove unused bindings.
7311 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7313 * net/tramp.el (tramp-action-password): Let-bind
7314 `enable-recursive-minibuffers' to t.
7316 2012-04-18 Sam Steingold <sds@gnu.org>
7318 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7319 instead of 'string to accommodate values like [f11].
7320 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7321 * progmodes/gdb-mi.el: Likewise.
7323 2012-04-18 Leo Liu <sdl.web@gmail.com>
7325 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7327 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7330 2012-04-18 Chong Yidong <cyd@gnu.org>
7332 * simple.el (line-move): Use forward-line if in batch mode
7335 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7337 * files.el (after-find-file): Do not try to add a final newline if
7338 the buffer is read-only (Bug#11156).
7340 2012-04-17 Richard Stallman <rms@gnu.org>
7342 * mail/rmail.el (rmail-start-mail):
7343 Pass (rmail-mail-return...) for the return-action.
7344 Pass (rmail-yank-current-message...) for the yank-action.
7345 (rmail-yank-current-message): New function.
7346 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7347 (rmail-reply): Likewise.
7348 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7350 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7351 buffer, not the last. Reject temp buffers. Use the rmail-mode
7354 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7356 * server.el (server-ensure-safe-dir): Simplify.
7358 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7360 * emacs-lisp/smie.el: Provide smarter auto-filling.
7361 (smie-auto-fill): New function.
7362 (smie-setup): Use it.
7364 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7366 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7368 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7369 (comment-indent): Use it.
7371 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7373 * ses.el: The overall change is to add cell renaming, that is
7374 setting fancy names for cell symbols other than name matching
7375 "\\`[A-Z]+[0-9]+\\'" regexp .
7376 (ses-localvars): Add ses--renamed-cell-symb-list.
7377 (ses-create-cell-variable): New defun.
7378 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7379 (ses-relocate-formula): Relocate formulas only for cells the
7380 symbols of which are not renamed, i.e. symbols whose names do not
7381 match regexp "\\`[A-Z]+[0-9]+\\'".
7382 (ses-relocate-all): Relocate values only for cells the symbols of
7383 which are not renamed.
7384 (ses-load): Create cells variables as the (ses-cell ...) are read,
7385 in order to check row col consistency with cell symbol name only
7386 for cells that are not renamed.
7387 (ses-replace-name-in-formula): New defun.
7388 (ses-rename-cell): New defun.
7390 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7392 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7393 New option (bug#11118).
7394 (perl-calculate-indent): Respect it.
7396 2012-04-17 Glenn Morris <rgm@gnu.org>
7398 * dired-aux.el (dired-mark-read-string): Doc fix.
7400 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7402 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7403 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7405 2012-04-17 Glenn Morris <rgm@gnu.org>
7407 * mouse.el (mouse-drag-track):
7408 * speedbar.el (speedbar-frame-mode):
7409 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7411 2012-04-16 Leo Liu <sdl.web@gmail.com>
7413 * progmodes/python.el: Trivial cleanup.
7415 2012-04-16 Glenn Morris <rgm@gnu.org>
7417 * vc/vc.el (vc-string-prefix-p):
7418 * vc/pcvs-util.el (cvs-string-prefix-p):
7419 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7420 * mpc.el (mpc-string-prefix-p):
7421 Make all of these into obsolete aliases for string-prefix-p.
7423 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7425 * textmodes/two-column.el: Move custom options to the start.
7426 (frame-width): Remove compat definition.
7427 (2C-associate-buffer, 2C-dissociate):
7428 Use with-current-buffer rather than save-excursion.
7429 (2C-dissociate): Force a mode-line update.
7430 (2C-autoscroll): Use ignore-errors.
7432 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7435 * emacs-lisp/cl-extra.el (*random-state*):
7436 Remove unnecessary declaration.
7438 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7440 * play/cookie1.el (cookie-snarf):
7441 Give an explicit error if input file cannot be read.
7443 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7445 * progmodes/perl-mode.el (c-macro-expand):
7446 Remove unnecessary autoload (it is in loaddefs.el).
7448 * textmodes/picture.el (picture-desired-column)
7449 (picture-update-desired-column): Convert comments to doc-strings.
7450 (picture-substitute): Remove function.
7451 (picture-mode-map): Initialize in the defvar.
7453 * woman.el: Remove eval-after-load for tar-mode.
7454 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7455 (woman-tar-extract-file): Autoload it.
7457 * frame.el (automatic-hscrolling): Make this alias obsolete.
7459 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7461 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7462 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7463 (ispell-dictionary-base-alist): Revert to original XEmacs
7464 friendly version for default. [:alpha:] will be added in
7465 `ispell-set-spellchecker-params' if needed.
7467 2012-04-16 Chong Yidong <cyd@gnu.org>
7469 * image.el (imagemagick--file-regexp): New variable.
7470 (imagemagick-register-types): Use it.
7471 (imagemagick-types-inhibit): Add :set function. Allow new value
7472 of t to inhibit all types.
7474 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7475 so we can preload it.
7477 * loadup.el (fboundp): Preload regexp-opt, needed by
7478 imagemagick-register-types.
7480 2012-04-15 Chong Yidong <cyd@gnu.org>
7482 * frame.el (scrolling): Remove nearly unused customization group.
7484 * scroll-all.el (scroll-all-mode): Move to windows group.
7486 2012-04-15 Chong Yidong <cyd@gnu.org>
7488 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7490 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7492 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7493 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7495 2012-04-15 Glenn Morris <rgm@gnu.org>
7497 * simple.el (process-file-side-effects): Doc fix.
7499 2012-04-15 Glenn Morris <rgm@gnu.org>
7501 * international/mule-cmds.el (set-language-environment): Doc fix.
7503 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7505 * server.el (server-auth-key, server-generate-key): Doc fixes.
7506 (server-get-auth-key): Doc fix. Use `string-match-p'.
7507 (server-start): Reflow docstring.
7509 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7511 * server.el (server-generate-key): `called-interactively-p'
7512 requires a parameter.
7514 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7516 * server.el (server-auth-key): New variable.
7517 (server-generate-key, server-get-auth-key): New function.
7518 (server-start): Use the new variable and functions to allow
7519 setting a permanent server key (bug#9423).
7521 2012-04-14 Leo Liu <sdl.web@gmail.com>
7523 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7525 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7528 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7529 Emacs uses American spelling.
7531 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7533 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7534 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7535 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7536 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7538 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7540 * progmodes/which-func.el (which-func-modes): Change default.
7542 2012-04-14 Kim F. Storm <storm@cua.dk>
7544 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7545 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7547 2012-04-14 Chong Yidong <cyd@gnu.org>
7549 * custom.el (custom-theme-set-variables): Doc fix.
7551 2012-04-14 Glenn Morris <rgm@gnu.org>
7553 * international/mule.el (set-auto-coding-for-load): Doc fix.
7555 2012-04-14 Alan Mackenzie <acm@muc.de>
7557 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7558 imenu work again for Objective C Mode. Correct the *-index values,
7559 these having been disturbed by a previous change in 2011-08.
7561 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7562 Correct two search limits.
7564 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7566 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7568 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7570 * international/characters.el: Fix sorting.
7572 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7574 * international/characters.el: Add more missing Latin case pairs.
7576 2012-04-14 Glenn Morris <rgm@gnu.org>
7578 * files.el (dir-locals-set-class-variables): Doc fix.
7580 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7582 * international/characters.el: Add set-case-syntax-pair call for
7583 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7584 counterpart. (Bug#11209)
7586 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7588 2012-04-14 Glenn Morris <rgm@gnu.org>
7590 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7592 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7594 * textmodes/ispell.el (ispell-dictionary-base-alist):
7595 Add data for Hebrew.
7597 2012-04-14 Chong Yidong <cyd@gnu.org>
7599 * net/rcirc.el (rcirc-cmd-quit):
7600 Revert 2012-03-18 change (Bug#11192).
7602 2012-04-14 Glenn Morris <rgm@gnu.org>
7604 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7606 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7608 * minibuffer.el (completion-in-region-mode-map):
7609 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7611 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7613 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7615 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7617 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7618 to allow `C-M-f' and `C-M-b' to move to the nearest path
7619 separator (bug#9511).
7621 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7623 * avoid.el: Require cl when compiling. And also move the
7624 `provide' to the end.
7626 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7628 * avoid.el (mouse-avoidance-banish-position): New variable.
7629 (mouse-avoidance-banish-destination): Use it (bug#10165).
7631 2012-04-13 Leo Liu <sdl.web@gmail.com>
7633 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7635 2012-04-13 Ken Brown <kbrown@cornell.edu>
7637 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7638 this is no longer needed now that cygstart understands file:// URLs.
7639 (browse-url-filename-alist): For the same reason, don't modify
7640 file:// URLs on Cygwin.
7642 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7645 the region on shift if the binding is already shifted (bug#11221).
7647 2012-04-12 Glenn Morris <rgm@gnu.org>
7649 * mail/mailpost.el: Move to obsolete/.
7651 2012-04-12 Drew Adams <drew.adams@oracle.com>
7653 * imenu.el (imenu--generic-function): Ignore invisible definitions
7656 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7658 * hexl.el (hexl-bits): New variable.
7659 (hexl-options): Mention the variable in the doc string.
7660 (hexl-rulerise, hexl-line-displen): New functions.
7661 (hexl-mode): Mention the new variable.
7662 (hexl-mode, hexl-current-address, hexl-current-address):
7664 (hexl-ascii-start-column): New function.
7665 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7666 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7668 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7670 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7671 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7672 the encoding, as expected by hunspell.
7674 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * battery.el (battery--linux-sysfs-regexp): New const.
7677 (battery-status-function): Use it. Remove yeeloong special case.
7678 (battery-yeeloong-sysfs): Remove.
7679 (battery-echo-area-format): Remove yeeloong special case.
7681 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7684 Reported by Noah Friedman.
7686 * subr.el (read-passwd): Use read-string.
7688 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7690 * vcursor.el (vcursor-move): Increase the priority of the overlay
7693 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7695 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7696 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7698 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7700 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7701 define-minor-mode (bug#10760).
7703 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7705 * progmodes/grep.el (rgrep): Tweak the find command line so
7706 that directories matching `grep-find-ignored-files' won't be
7709 2012-04-11 Chong Yidong <cyd@gnu.org>
7711 * startup.el (command-line): Remove support for long-obsolete
7712 variable font-lock-face-attributes.
7714 2012-04-11 Glenn Morris <rgm@gnu.org>
7716 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7718 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7720 * window.el (window--state-get-1): Obey window-point-insertion-type.
7722 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7724 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7725 to previous function when point is on the first character of a
7726 function. Take care of that in `narrow-to-defun' (bug#6157).
7728 2012-04-11 Glenn Morris <rgm@gnu.org>
7730 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7731 not just file-errors.
7733 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7734 (vc-bzr-sha1): Use internal sha1.
7736 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7740 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7742 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7743 that start in the middle of the line (bug#10496).
7745 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7747 * battery.el (battery-linux-proc-acpi): Only one battery is
7748 discharged at a time, but that seems to confuse battery.el when
7749 computing `rate-type' for the battery not being discharged
7752 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7754 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7756 * international/quail.el: Use dolist and simplify.
7757 (quail-define-package, quail-update-keyboard-layout)
7758 (quail-define-rules): Use dolist.
7759 (quail-insert-kbd-layout, quail-get-translation): CSE.
7761 * tmm.el: Use dolist, remove left over hook.
7762 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7764 (calendar-load-hook): Don't mess with it.
7766 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7767 Use derived-mode-p. Run the diff asynchronously.
7769 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7771 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7773 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7775 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7776 (list-dynamic-libraries--loaded): New function.
7777 (list-dynamic-libraries--refresh): Use it.
7779 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7781 * progmodes/python.el (python-fill-paragraph):
7782 Make python-fill-region in a multiline string work when font-lock is
7783 disabled (bug#7018).
7785 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7787 * language/european.el (cp775): Add oem/legacy (en)coding on
7788 DOS/MS Windows for the Baltic languages. There are still plenty
7789 of texts written in this encoding/codepage (bug#6519).
7791 2012-04-10 Glenn Morris <rgm@gnu.org>
7793 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7794 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7796 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7798 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7799 next-line "n" and previous-line "p" in order to make recentf more
7800 consistent with ibuffer, dired or org-mode (bug#9387).
7802 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7804 * image.el (put-image): Return the overlay created instead of the
7805 optional input string (bug#7834). Note that this may break code
7806 that is (for some reason or other) depending on `put-image'
7807 returning the string.
7809 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7811 * simple.el (zap-to-char): Allow zapping using input methods
7814 * textmodes/fill.el (fill-region): Leave point and mark where they
7815 were before filling (bug#5399).
7817 2012-04-09 Glenn Morris <rgm@gnu.org>
7819 * version.el (emacs-bzr-get-version):
7820 Handle lightweight checkouts of local branches.
7822 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7824 * international/characters.el: Recover lost case pairs. (Bug#11209)
7826 2012-04-09 Chong Yidong <cyd@gnu.org>
7828 * custom.el (custom-variable-p): Return nil for non-symbol
7829 arguments instead of signaling an error.
7830 (user-variable-p): Obsolete alias for custom-variable-p.
7832 * apropos.el (apropos-variable):
7833 * files-x.el (read-file-local-variable):
7834 * simple.el (set-variable):
7835 * woman.el (woman-mini-help):
7836 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7838 2012-04-09 Glenn Morris <rgm@gnu.org>
7840 * startup.el (normal-top-level): Don't look for leim-list.el
7841 in places where it will not be found. (Bug#910)
7843 * international/mule-cmds.el (set-default-coding-systems):
7844 * files.el (normal-mode):
7845 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7846 This function was removed with ucs-tables.el in 2008.
7848 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7850 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7851 ispell-encoding8-command to "-i", without a trailing space.
7852 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7853 separate command-line arguments, to specify the encoding, since
7854 that's how hunspell expects it.
7856 2012-04-08 Glenn Morris <rgm@gnu.org>
7858 * loadup.el: Load bindings before cus-start.
7859 This reduces somewhat the number of "rogue" settings in emacs -Q.
7861 2012-04-07 Glenn Morris <rgm@gnu.org>
7863 * version.el (emacs-bzr-get-version): New function.
7864 (emacs-bzr-version): New variable.
7865 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7866 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7868 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7870 * international/uni-bidi.el, international/uni-category.el:
7871 * international/uni-combining.el, international/uni-decimal.el:
7872 * international/uni-decomposition.el, international/uni-digit.el:
7873 * international/uni-lowercase.el, international/uni-mirrored.el:
7874 * international/uni-name.el, international/uni-numeric.el:
7875 * international/uni-titlecase.el, international/uni-uppercase.el:
7876 Update for Unicode 6.1.
7878 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7880 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7882 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7884 * window.el (shrink-window): Mention the `window-min-height'
7885 variable in the doc string.
7887 2012-04-05 Bastien Guerry <bzg@altern.org>
7889 * color.el (color-lighten-name): Fix typo.
7891 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7893 * server.el (server--on-display-p): New function.
7894 (server--on-display-p): Use it.
7896 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7898 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7901 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7903 * comint.el (comint--common-quoted-suffix): Check string boundary
7904 before comparing (bug#11158).
7905 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7907 2012-04-04 Chong Yidong <cyd@gnu.org>
7909 * minibuffer.el (completion-extra-properties): Doc fix.
7911 * subr.el (delayed-warnings-hook): Doc fix.
7913 2012-04-04 Daiki Ueno <ueno@unixuser.org>
7915 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7916 selection (Bug#11159).
7917 (epa-insert-keys): Inform that the default public key will be
7918 exported if no key is selected.
7920 2012-04-04 Richard Stallman <rms@gnu.org>
7922 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7924 2012-04-03 Chong Yidong <cyd@gnu.org>
7926 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7927 mail-insert-file, not its obsolete alias mail-attach-file.
7929 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
7931 * notifications.el (notifications-notify): Fix docstring.
7933 2012-04-02 Glenn Morris <rgm@gnu.org>
7935 * emacs-lisp/authors.el (authors-aliases): Another addition.
7937 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7939 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7940 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7941 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7943 2012-04-01 Chong Yidong <cyd@gnu.org>
7945 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7946 Handle root directory properly.
7947 (copy-directory): Caller changed.
7949 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7950 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7952 2012-03-31 Glenn Morris <rgm@gnu.org>
7954 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7956 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7958 * calendar/calendar.el (calendar-window-list)
7959 (calendar-hide-window): Restore. (Bug#11140)
7960 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7962 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7964 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7966 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7967 Check if file is a symlink (Bug#10489).
7969 * files.el (copy-directory): Likewise.
7971 2012-03-30 Chong Yidong <cyd@gnu.org>
7973 * image.el (imagemagick-types-inhibit)
7974 (imagemagick-register-types): Doc fix.
7976 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7978 * textmodes/ispell.el (ispell-get-extended-character-mode):
7979 Disable extended-char-mode for hunspell. hunspell does not support it
7980 and treats ~word as ordinary words in pipe mode.
7982 2012-03-30 Glenn Morris <rgm@gnu.org>
7984 * tutorial.el (help-with-tutorial): Ensure local variables don't
7985 happen to make the buffer read-only. (Bug#11127)
7987 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7989 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7990 (perl-calculate-indent): Return `noindent' in strings.
7992 2012-03-28 Sam Steingold <sds@gnu.org>
7994 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7995 instead of the broken adhockery which does not prevent calendar
7996 buffers from being displayed at random after exit.
7997 (calendar-window-list, calendar-hide-window): Remove the broken
8000 2012-03-28 Glenn Morris <rgm@gnu.org>
8002 * replace.el (query-replace-map): Doc fix.
8004 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8006 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8007 contents. (Bug#11109)
8009 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8013 (avl-tree--check, avl-tree--check-node): New funs.
8015 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8017 * window.el (switch-to-visible-buffer): New option.
8018 (switch-to-prev-buffer, switch-to-next-buffer):
8019 Observe switch-to-visible-buffer. Make sure that checking for a window
8020 showing a buffer already is done on the same frame.
8022 2012-03-27 Glenn Morris <rgm@gnu.org>
8024 * startup.el (mail-host-address): Doc fix.
8026 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8028 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8031 2012-03-26 Ami Fischman <ami@fischman.org>
8033 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8035 2012-03-26 Glenn Morris <rgm@gnu.org>
8037 * files.el (save-buffers-kill-emacs): Doc fix.
8039 * startup.el (normal-top-level, command-line, command-line-1):
8040 Give them doc strings.
8042 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8044 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8045 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8047 2012-03-25 Chong Yidong <cyd@gnu.org>
8049 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8050 theme if it was previously enabled before (Bug#11031).
8052 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8053 spec with custom-face-get-current-spec if its :shown-value is not
8054 determined yet (Bug#9337).
8055 (customize-create-theme, custom-theme-revert): Doc fixes.
8057 * button.el (button-at): Minor addition to docstring.
8059 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8061 * vc/vc.el (vc-merge): Fix a prompt.
8063 2012-03-24 Chong Yidong <cyd@gnu.org>
8065 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8068 * button.el (button-at): Minor addition to docstring.
8070 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8072 * newcomment.el (comment-choose-indent): No space after BOL.
8074 2012-03-22 Sam Steingold <sds@gnu.org>
8076 * window.el (switch-to-prev-buffer): Revert last patch because the
8077 bug turned out to be an advertised feature (Elisp manual 28.14).
8079 2012-03-22 Glenn Morris <rgm@gnu.org>
8081 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8082 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8084 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8086 * net/network-stream.el (network-stream-open-starttls): Make error
8087 message under Windows be less misleading.
8089 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8091 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8092 understands (bug#9942).
8094 2012-03-22 Chong Yidong <cyd@gnu.org>
8096 * simple.el (end-of-visible-line): Handle return value of
8097 next-single-property-change properly (Bug#9371).
8099 2012-03-22 Kenichi Handa <handa@m17n.org>
8101 * international/quail.el (quail-insert-kbd-layout): Fix previous
8102 change. To avoid unwanted bidi reordering, use
8103 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8105 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8107 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8108 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8109 (ruby-beginning-of-indent): Be more careful with the difference
8110 between word-boundary and symbol boundary.
8111 (ruby-mode-syntax-table): Make : a symbol constituent.
8113 2012-03-21 Andreas Politz <politza@fh-trier.de>
8115 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8117 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8119 * progmodes/etags.el (tags-completion-at-point-function):
8122 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8124 2012-03-21 Sam Steingold <sds@gnu.org>
8126 * progmodes/etags.el (tags-completion-at-point-function):
8127 Avoid the error when point is inside the pattern.
8129 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8131 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8134 2012-03-21 Drew Adams <drew.adams@oracle.com>
8136 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8138 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8140 * ido.el (ido-set-current-directory, ido-read-internal)
8141 (ido-choose-completion-string, ido-completion-help): Handle nil
8142 value of ido-completion-buffer (Bug#11008).
8144 2012-03-21 Sam Steingold <sds@gnu.org>
8146 * window.el (switch-to-prev-buffer): Do not switch to a visible
8147 window previous buffer, just like with the frame previous buffers.
8149 2012-03-21 Chong Yidong <cyd@gnu.org>
8151 * faces.el (make-face, make-empty-face, copy-face):
8152 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8155 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8157 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8158 (widget-complete): Remove broken use of it.
8160 2012-03-20 Chong Yidong <cyd@gnu.org>
8162 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8163 Use string-width and truncate-string-width to handle arbitrary
8166 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8168 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8169 to draw rectangles, not squares. (Regression introduced by revno
8170 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8172 2012-03-18 Chong Yidong <cyd@gnu.org>
8174 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8175 it is not yet defined (for temacs).
8177 2012-03-18 Leo Liu <sdl.web@gmail.com>
8179 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8181 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8183 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8184 (ispell-choices-win-default-height, ispell-silently-savep)
8185 (ispell-dictionary-alist, ispell-encoding8-command)
8186 (ispell-check-version, ispell-aspell-find-dictionary)
8187 (ispell-valid-dictionary-list, ispell-words-keyword)
8188 (ispell-get-word, ispell-internal-change-dictionary)
8189 (ispell-region, ispell-skip-region-list)
8190 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8191 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8192 (ispell-message-text-end, ispell-message)
8193 (ispell-buffer-local-parsing): Doc fix.
8195 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8197 * htmlfontify.el: Add support for code block fontification for ODT
8199 (hfy-optimisations): Define new option
8201 (hfy-fontify-buffer): Honor above setting.
8202 (hfy-begin-span, hfy-end-span): New routines factored out form
8203 `hfy-fontify-buffer'.
8204 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8205 that permit insertion of custom tags.
8206 (hfy-fontify-buffer): Use above handlers.
8207 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8208 (hfy-face-to-css): Re-defined to be a variable.
8209 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8210 over multiple runs. This is made possible by having the caller let
8211 bind a special variable `hfy-user-sheet-assoc'.
8212 (htmlfontify-string): New defun.
8213 (hfy-compile-face-map): Make sure that the last char in the
8214 buffer is correctly fontified.
8215 (hfy-face-resolve-face): Whitespace only change.
8217 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8219 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8222 2012-03-16 Leo Liu <sdl.web@gmail.com>
8224 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8226 2012-03-16 Alan Mackenzie <acm@muc.de>
8228 Further optimise the handling of large macros.
8230 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8231 limit to a call of `c-literal-limits'.
8232 (c-determine-+ve-limit): New function.
8233 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8234 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8235 In CASE 5B, restrict a search limit to 500.
8236 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8238 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8239 Restrict macro bounds to +-500 from after-change's BEG END.
8241 2012-03-16 Leo Liu <sdl.web@gmail.com>
8243 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8245 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8247 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8248 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8250 2012-03-16 Glenn Morris <rgm@gnu.org>
8252 * view.el (view-buffer, view-buffer-other-window)
8253 (view-buffer-other-frame): Doc fixes re special mode-class.
8255 * subr.el (eval-after-load): If named feature is provided not from
8256 a file, run after-load forms. (Bug#10946)
8258 * calendar/calendar.el (calendar-insert-at-column):
8259 Handle non-unit-width characters a bit better. (Bug#10978)
8261 2012-03-15 Chong Yidong <cyd@gnu.org>
8263 * emacs-lisp/ring.el (ring-extend): New function.
8264 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8266 * comint.el (comint-read-input-ring)
8267 (comint-add-to-input-history): Grow comint-input-ring lazily.
8269 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8271 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8272 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8274 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8275 (imenu-add-to-menubar): Don't add a redundant index.
8276 (imenu-update-menubar): Handle a dynamically composed keymap.
8278 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8280 * mail/sendmail.el (mail-encode-header):
8281 Bind rfc2047-encode-encoded-words to nil.
8283 2012-03-13 Glenn Morris <rgm@gnu.org>
8285 * calendar/calendar.el (calendar-string-spread):
8286 Handle non-unit-width characters a bit better. (Bug#10978)
8288 2012-03-13 Leo Liu <sdl.web@gmail.com>
8290 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8291 directory and file as argument (Bug#10822).
8293 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8295 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8296 For dynamically generated code, follow $PC.
8297 (gdb-disassembly-handler-custom): Handle no function name case.
8299 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8301 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8302 * emulation/ws-mode.el (ws-query-replace):
8303 * sort.el (sort-regexp-fields):
8304 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8306 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8308 * dabbrev.el: Fix cycle completion order (bug#10963).
8309 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8310 (dabbrev-completion): Don't use an obarray; provide
8311 a cycle-sort-function.
8313 2012-03-12 Leo Liu <sdl.web@gmail.com>
8315 * simple.el (kill-new): Use equal-including-properties for comparison.
8316 (kill-do-not-save-duplicates): Doc fix.
8318 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8320 * dabbrev.el: Fix cycle completion (bug#10963).
8321 Use lexical binding and wrap to 80 columns.
8322 (dabbrev-completion): Delay computing the list of completions.
8324 2012-03-12 Kenichi Handa <handa@m17n.org>
8326 * international/quail.el (quail-insert-kbd-layout): Surround each
8327 row by LRO and PDF instead of inserting many LRMs. Pad the left
8328 and right of each non-spacing marks. Insert invisible space
8329 between lower and upper characters to prevent composition.
8331 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8333 * minibuffer.el (minibuffer-complete): Don't get confused when the
8334 function is run twice via different commands (bug#10958).
8335 (complete-with-action): Fix docstring.
8337 2012-03-12 Chong Yidong <cyd@gnu.org>
8339 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8340 (nxml-completion-at-point-function): New function.
8341 (nxml-mode): Use it.
8342 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8344 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8345 Load generated autoloads file before byte compiling (Bug#10970).
8346 (package--make-autoloads-and-compile): New helper fun.
8348 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8350 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8352 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8354 * autorevert.el (auto-revert-handler): Ensure, that
8355 file-readable-p is applied only for local files or in
8356 auto-revert-tail-mode.
8358 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8360 * server.el (server-eval-at): Handle non-tcp connections.
8361 Decode result string.
8363 * server.el (server-msg-size): New constant.
8364 (server-reply-print): New function.
8365 (server-eval-and-print): Use it.
8366 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8369 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8371 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8374 2012-03-11 Chong Yidong <cyd@gnu.org>
8376 * simple.el (goto-line): Doc fix (Bug#9938).
8378 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8380 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8381 when finished (Bug#10963).
8383 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8385 * window.el (split-window-below): Fix bug in case where
8386 split-window-keep-point is nil (Bug#10971).
8388 2012-03-11 Juri Linkov <juri@jurta.org>
8390 * replace.el (replace-highlight): Set isearch-word to nil
8391 unconditionally. (Bug#10887)
8393 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8395 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8396 mairix-replace-illegal-chars; all callers changed. Don't remove
8397 ^, ~, and = characters: they are meaningful in mairix search specs.
8398 (mairix-widget-create-query): Add usage information about mairix
8399 search forms: negating words, searching for substrings, etc.
8401 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8403 * international/fontset.el (font-encoding-alist): Add an entry for
8406 2012-03-10 Richard Stallman <rms@gnu.org>
8408 * mail/sendmail.el (mail-encode-header):
8409 Set rfc2047-encode-encoded-words.
8411 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8413 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8414 view buffer means not swapped.
8415 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8416 (rmail-write-region-annotate): Error if real text has disappeared.
8418 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8420 2012-03-10 Chong Yidong <cyd@gnu.org>
8422 * emulation/cua-rect.el (cua--init-rectangles):
8423 * emulation/cua-base.el (cua--init-keymaps):
8424 Add delete-forward-char to remappings (Bug#9666).
8426 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8428 * speedbar.el (speedbar-unhighlight-one-tag-line):
8429 Avoid unhighlighting due to frame switching (Bug#10275).
8431 2012-03-10 Chong Yidong <cyd@gnu.org>
8433 * minibuffer.el (completion-in-region, completion-help-at-point):
8434 Give the completion field overlay a high priority (Bug#6830).
8436 * dired.el (dired-goto-file): Recognize absolute file name
8437 listings (Bug#7126).
8438 (dired-goto-file-1): New helper function.
8439 (dired-toggle-read-only): Inhibit warnings.
8441 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8443 * net/dbus.el (dbus-property-handler): Return empty array if
8444 there are no properties.
8446 2012-03-09 Leo Liu <sdl.web@gmail.com>
8448 * savehist.el (savehist-printable): Stricter check for string
8451 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8453 * mail/smtpmail.el (smtpmail-send-it):
8454 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8457 2012-03-09 Glenn Morris <rgm@gnu.org>
8459 * files.el (dir-locals-find-file):
8460 Don't check result is regular, readable.
8461 (dir-locals-read-from-file): Demote errors.
8463 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8465 * international/quail.el (quail-insert-kbd-layout):
8466 Insert invisible LRM characters before each character in a keyboard
8467 layout cell, to prevent their reordering by bidi display engine.
8468 For details, see the discussion in
8469 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8471 2012-03-08 Alan Mackenzie <acm@muc.de>
8473 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8474 the starting position; make it extend the marked region when
8475 invoked repeatedly - all under appropriate circumstances.
8476 Fixes bugs #5525, #10906.
8478 2012-03-08 Glenn Morris <rgm@gnu.org>
8480 * files.el (locate-dominating-file, dir-locals-find-file):
8481 Undo 2012-03-06 change.
8483 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8485 * international/quail.el (quail-help):
8486 Force bidi-paragraph-direction be left-to-right. See discussion in
8487 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8490 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8492 Avoid superfluous registering of signals. (Bug#10807)
8494 * notifications.el (notifications-on-action-object)
8495 (notifications-on-close-object): New defvars.
8496 (notifications-on-action-signal, notifications-on-closed-signal):
8497 Unregister the signal if not needed any longer.
8498 (notifications-notify): Register `notifications-action-signal' or
8499 `notifications-closed-signal', if :on-action or :on-close has been
8502 2012-03-07 Chong Yidong <cyd@gnu.org>
8504 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8507 2012-03-06 Glenn Morris <rgm@gnu.org>
8509 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8510 (x-disown-selection-internal, x-get-selection-internal):
8511 Doc fix (add arglist signatures). (Bug#10783)
8513 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8515 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8516 Handle breakpoints with no "type".
8518 2012-03-06 Glenn Morris <rgm@gnu.org>
8520 * files.el (locate-dominating-file): Add optional predicate argument.
8521 (dir-locals-find-file): Make use of above change.
8523 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8525 * info.el (Info-insert-dir): Also try "dir.gz".
8527 2012-03-06 Glenn Morris <rgm@gnu.org>
8529 * files.el (dir-locals-find-file):
8530 Ignore non-readable or non-regular files. (Bug#10928)
8532 * files.el (locate-dominating-file): Doc fix.
8534 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8536 * calendar/calendar.el (calendar-set-mode-line):
8537 `getenv' returns a string. (Bug#10951)
8539 2012-03-05 Leo Liu <sdl.web@gmail.com>
8541 * simple.el (backward-delete-char-untabify): Constrain point to
8544 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8546 2012-03-05 Chong Yidong <cyd@gnu.org>
8548 * simple.el (count-words): If called from Lisp, return the word
8549 count, for symmetry with `count-lines'. Arglist changed.
8550 (count-words--message): Args changed. Consolidate counting code
8551 from count-words and count-words-region.
8552 (count-words-region): Caller changed.
8553 (count-lines-region): Make it an obsolete alias.
8555 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8557 * saveplace.el (save-place-to-alist)
8558 (save-place-ignore-files-regexp): Allow value nil to disable this
8561 2012-03-04 Chong Yidong <cyd@gnu.org>
8563 * faces.el (face-spec-reset-face): For the default face, reset the
8564 attributes to default values (Bug#10748).
8566 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8568 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8569 previous patch: Check `message-send-mail-function', and not the
8570 default function (bug#10897).
8572 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8574 * notifications.el (notifications-on-action-signal)
8575 (notifications-on-closed-signal): Check for unique service name of
8576 incoming event. Fix error in removing entry.
8577 (top): Register for signals with wildcard service name.
8578 (notifications-notify): Use daemon unique service name for map entries.
8580 2012-03-04 Chong Yidong <cyd@gnu.org>
8582 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8584 2012-03-04 Glenn Morris <rgm@gnu.org>
8586 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8587 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8588 (expand-abbrev, define-abbrev-table): Doc fixes.
8590 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8592 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8593 `message-default-send-mail-function' and not `send-mail-function'
8594 when doing the prompting for `sendmail-query-once' before sending
8595 in Message buffers (bug#10897).
8597 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8598 This is inconsistent with all the other stream functions, which leave
8599 the setting up to the higher levels (if so wanted) (bug#10931).
8601 2012-03-02 Alan Mackenzie <acm@muc.de>
8603 Depessimize the handling of very large macros.
8605 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8606 (c-macro-cache-syntactic): New variables to implement a one
8607 element macro cache.
8608 (c-invalidate-macro-cache): New function.
8609 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8610 Adapt to use the new cache.
8611 (c-state-safe-place): Use better the cache of safe positions.
8612 (c-state-semi-nonlit-pos-cache)
8613 (c-state-semi-nonlit-pos-cache-limit):
8614 New variables for...
8615 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8616 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8617 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8618 Use c-state-semi-safe-place.
8620 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8621 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8623 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8625 * jka-compr.el (jka-compr-call-process):
8626 Apply `file-accessible-directory-p' only when the default directory is
8629 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8631 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8632 access of FILE2, if FILE1 does not exist.
8634 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8635 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8637 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8638 Add "PAGER=" to `process-environment'.
8640 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8642 * progmodes/sql.el: Bug fix
8643 (sql-get-login-ext): Save login values in globals.
8644 (sql-get-login): Use new version of `sql-get-login-ext'.
8645 (sql-interactive-mode): Set global `sql-connection' to nil.
8646 (sql-connect): Set global values for connection.
8647 (sql-product-interactive): Save global values as buffer local.
8649 2012-02-29 Leo Liu <sdl.web@gmail.com>
8651 * abbrev.el (define-abbrevs): Reset sys to nil.
8653 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8655 * files.el (file-equal-p): Rename from `files-equal-p'.
8656 Return nil when one or both files don't exist.
8657 (file-subdir-of-p): Now only top directory must exists,
8658 return nil if it doesn't.
8659 (copy-directory): No need to test with `file-subdir-of-p' after
8661 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8664 2012-02-28 Glenn Morris <rgm@gnu.org>
8666 * shell.el (shell-mode):
8667 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8668 * play/landmark.el (landmark-font-lock-face-O):
8669 * play/handwrite.el (handwrite):
8670 * play/gomoku.el (gomoku-O):
8671 * net/browse-url.el (browse-url-browser-display):
8672 * international/mule.el (define-charset):
8673 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8674 * filesets.el (filesets-find-file-delay):
8675 * eshell/em-xtra.el (eshell-xtra):
8676 * eshell/em-unix.el (eshell-grep):
8677 * emulation/viper.el (viper-mode):
8678 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8679 * emacs-lisp/easymenu.el (easy-menu-define):
8680 * calendar/timeclock.el (timeclock-use-display-time):
8682 * bookmark.el (bookmark-save-flag):
8683 Doc fix (standardize possessive apostrophe usage).
8685 2012-02-27 Chong Yidong <cyd@gnu.org>
8687 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8688 Fix key-binding lookup for ESC key (Bug#9146).
8690 * font-lock.el (font-lock-specified-p): Rename from
8691 font-lock-spec-present. Callers changed.
8693 2012-02-27 Daniel Hackney <dan@haxney.org>
8695 * emacs-lisp/package.el (package-compute-transaction):
8696 Handle holding a package version to t in package-load-list.
8698 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8700 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8701 (tramp-get-inode, tramp-get-device): Use cached values.
8703 2012-02-26 Alan Mackenzie <acm@muc.de>
8705 Check there is a font-lock specification before doing initial
8708 * font-core.el (font-lock-mode): Move the conditional from
8709 :after-hook to font-lock-initial-fontify.
8710 (font-lock-default-function): Move the check for a specification
8711 to font-lock-spec-present.
8713 * font-lock.el (font-lock-initial-fontify): Call ...
8714 (font-lock-spec-present): New function.
8716 2012-02-26 Jim Blandy <jimb@red-bean.com>
8718 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8719 (gdb-send): Apply it to the operand of the '-interpreter-exec
8720 console' command, so that we can pass arguments with (say) quotes
8721 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8723 2012-02-26 Chong Yidong <cyd@gnu.org>
8725 * help-fns.el (describe-function-1): Clarify description of
8726 remapping (Bug#10844).
8728 * files.el (files-equal-p): Doc fix.
8729 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8730 and quit the loop once a mismatch is found.
8732 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8734 * bs.el (bs--show-with-configuration): Don't throw an error
8735 if the window cannot be split; otherwise, subsequent calls to
8736 bs-show fail, restoring a stale window config. (Bug#10882)
8738 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8740 * term/ns-win.el (global-map): Bind ns-drag-file to
8741 ns-find-file (Bug#5855, Bug#10050).
8743 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8745 * calendar/parse-time.el (parse-time-string): Allow extractor to
8748 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8750 * net/tramp.el (tramp-file-name-for-operation):
8751 Add `files-equal-p' and `file-subdir-of-p'.
8753 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8754 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8755 Add COPY-CONTENTS argument.
8757 2012-02-25 Chong Yidong <cyd@gnu.org>
8759 Add custom groups for VC backends, for consistency with vc-bzr.
8761 * vc/vc-arch.el (vc-arch):
8762 * vc/vc-cvs.el (vc-cvs):
8763 * vc/vc-git.el (vc-git):
8764 * vc/vc-hg.el (vc-hg):
8765 * vc/vc-mtn.el (vc-mtn):
8766 * vc/vc-rcs.el (vc-rcs):
8767 * vc/vc-sccs.el (vc-sccs):
8768 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8769 All relevant defcustoms reassigned.
8771 2012-02-25 Chong Yidong <cyd@gnu.org>
8773 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8775 * term/x-win.el (x-initialize-window-system): Reduce default for
8776 x-selection-timeout to 5 seconds (Bug#8869).
8778 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8780 * files.el (files-equal-p, file-subdir-of-p): New functions.
8781 (copy-directory): Error when trying to copy a directory on itself.
8782 Add missing copy-contents arg to tramp handler.
8783 * dired-aux.el (dired-copy-file-recursive): Same.
8784 (dired-create-files): Modify destination when source is equal to
8785 dest when copying files.
8786 Return also when dest is a subdir of source. (Bug#10489)
8788 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8790 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8793 2012-02-23 Alan Mackenzie <acm@muc.de>
8795 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8796 parameter "after-hook:" to allow the expansion to run code after
8797 the execution of the mode hooks.
8799 * font-lock.el (font-lock-initial-fontify): New function extracted
8800 from font-lock-mode-internal.
8802 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8805 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8808 (completion--cache-all-sorted-completions): New function.
8809 (completion-all-sorted-completions): Use it.
8810 (completion--do-completion, minibuffer-force-complete):
8811 Use it to re-instate the flush hook.
8813 * icomplete.el (icomplete-completions): Replace last fix with a better
8816 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8818 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8819 when it might call us back infinitely (bug#10797).
8821 2012-02-23 Glenn Morris <rgm@gnu.org>
8823 * minibuffer.el (completion-category-overrides): Doc fix.
8825 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8828 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8830 2012-02-23 Glenn Morris <rgm@gnu.org>
8832 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8833 (authors-obsolete-files-regexps, authors-ignored-files)
8834 (authors-ambiguous-files, authors-renamed-files-alist):
8837 2012-02-23 Juri Linkov <juri@jurta.org>
8839 * isearch.el (isearch-occur): Sync interactive spec with occur's
8840 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8842 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8844 2012-02-22 Juri Linkov <juri@jurta.org>
8846 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8847 (ucs-insert): Doc fix. Check for hex digits in the string.
8848 Don't display `nil' in the error message. (Bug#10857)
8850 2012-02-22 Alan Mackenzie <acm@muc.de>
8852 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8854 2012-02-22 Glenn Morris <rgm@gnu.org>
8856 * ffap.el (ffap-c-path):
8857 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8859 2012-02-22 Chong Yidong <cyd@gnu.org>
8861 * custom.el (load-theme): Doc fix.
8863 2012-02-22 Glenn Morris <rgm@gnu.org>
8865 * dired-x.el (dired-guess-shell-alist-default):
8866 Remove escape sequences from nroff output. (Bug#172)
8868 2012-02-21 Glenn Morris <rgm@gnu.org>
8870 * vc/emerge.el (emerge-defvar-local):
8871 Set `permanent-local' property rather than unused `preserved'.
8873 * textmodes/picture.el (picture-delete-char): New alias.
8874 (picture-mode-map): Use it. (Bug#10860)
8875 (picture-mode): Doc fix.
8877 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8879 * newcomment.el (uncomment-region-default): Remove unused binding.
8881 2012-02-21 Glenn Morris <rgm@gnu.org>
8883 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8884 (picture-self-insert, picture-tab-chars): Doc fix.
8885 (picture-mode-map): Fix C-a, C-e.
8887 2012-02-20 Glenn Morris <rgm@gnu.org>
8889 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8891 2012-02-20 Leo Liu <sdl.web@gmail.com>
8893 * icomplete.el (icomplete-completions): Check FROM arg before
8894 passing to substring (Bug#10850).
8896 2012-02-19 Chong Yidong <cyd@gnu.org>
8898 * comint.el: Require ansi-color.
8899 (comint-output-filter-functions): Add ansi-color-process-output.
8901 * ansi-color.el: Don't set comint-output-filter-functions; it is
8902 now in the initial value defined in comint.el.
8903 (ansi-color-apply-face-function): New variable.
8904 (ansi-color-apply-on-region): Use it.
8905 (ansi-color-apply-overlay-face): New function.
8907 * shell.el (shell): No need to require ansi-color.
8908 (shell-mode): Use ansi-color-apply-face-function to highlight
8909 color escapes using font-lock-face property (Bug#10835).
8911 2012-02-19 Chong Yidong <cyd@gnu.org>
8913 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8914 mode-line formats (Bug#10839).
8916 2012-02-18 Glenn Morris <rgm@gnu.org>
8918 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8920 * mail/undigest.el (unforward-rmail-message): Doc fix.
8922 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8924 2012-02-18 Eli Zaretskii <eliz@gnu.org>
8926 * international/characters.el (script-list): Sync with the latest
8927 Unicode Character Database.
8929 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8931 * international/titdic-cnv.el: Remove duplicate coding tag.
8932 * language/cham.el: Likewise.
8933 * language/tai-viet.el: Likewise.
8935 2012-02-18 Glenn Morris <rgm@gnu.org>
8937 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8938 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8939 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8940 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8941 * calendar/holidays.el (holiday-bahai-holidays)
8942 (calendar-holidays, list-holidays):
8943 Use utf-8 Bahá'í in doc-strings, menus, etc.
8945 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8947 * saveplace.el (save-place-ignore-files-regexp): New variable
8948 allowing for excluding files from saving their location of point.
8949 The default value matches the temporary commit message editing
8950 files from Git, SVN, Bazaar, and Mercurial.
8951 (save-place-to-alist): Use it.
8953 2012-02-17 Lawrence Mitchell <wence@gmx.li>
8954 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * newcomment.el (uncomment-region-default): Don't leave extra space
8957 when an arg is provided (bug#8150).
8959 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8961 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8963 2012-02-17 Glenn Morris <rgm@gnu.org>
8965 * net/socks.el: Require network-stream. (Bug#10599)
8967 2012-02-17 Kenichi Handa <handa@m17n.org>
8969 * international/charprop.el:
8970 * international/uni-name.el:
8971 * international/uni-old-name.el:
8972 * international/uni-comment.el: Regenerate.
8974 2012-02-16 Glenn Morris <rgm@gnu.org>
8976 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8977 Interactively in calendar buffer, give an error if not on a date.
8979 2012-02-15 Glenn Morris <rgm@gnu.org>
8981 * shell.el (shell-delimiter-argument-list):
8982 Revert 2011-02-17 change. (Bug#8027)
8984 2012-02-15 Chong Yidong <cyd@gnu.org>
8986 * minibuffer.el (completion-at-point-functions): Doc fix.
8988 * custom.el (defcustom): Doc fix; note use of defvar.
8990 2012-02-15 Glenn Morris <rgm@gnu.org>
8992 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8995 2012-02-14 Glenn Morris <rgm@gnu.org>
8997 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8999 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9001 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9002 way the ports list is computed.
9003 (smtpmail-query-smtp-server): Prompt the user for a port number if
9004 we can't connect to any of the standard ports (bug#10810).
9006 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9008 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9010 2012-02-13 Glenn Morris <rgm@gnu.org>
9012 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9014 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9016 * net/gnutls.el (gnutls-trustfiles): New variable.
9017 (gnutls-negotiate): Use it.
9019 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9021 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9022 does its stuff if Gnus is running.
9024 2012-02-13 Alan Mackenzie <acm@muc.de>
9026 Fix a loop in c-set-fl-decl-start.
9028 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9029 c-backward-syntactic-ws actually moves backwards.
9031 2012-02-13 Leo Liu <sdl.web@gmail.com>
9033 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9034 beginning so that all \C-o chars are removed.
9036 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9038 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9040 2012-02-12 Alan Mackenzie <acm@muc.de>
9042 Fix infinite loop with long macros.
9043 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9045 2012-02-12 Chong Yidong <cyd@gnu.org>
9047 * window.el (display-buffer): Doc fix (Bug#10785).
9049 2012-02-12 Glenn Morris <rgm@gnu.org>
9051 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9052 (x-disown-selection-internal, x-get-selection-internal):
9053 Sync docs with the xselect.c versions.
9055 * allout-widgets.el: Add missing license notice.
9057 2012-02-11 Glenn Morris <rgm@gnu.org>
9059 * select.el (x-get-selection-internal, x-own-selection-internal)
9060 (x-disown-selection-internal):
9061 * x-dnd.el (x-get-selection-internal): Update declarations.
9063 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9065 * window.el (window-sides-slots):
9066 * tool-bar.el (tool-bar-position):
9067 * term/xterm.el (xterm-extra-capabilities):
9068 * ses.el (ses-self-reference-early-detection):
9069 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9070 (verilog-auto-wire-type)
9071 (verilog-auto-delete-trailing-whitespace)
9072 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9073 (verilog-auto-tieoff-declaration):
9074 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9075 (sql-oracle-statement-starters, sql-oracle-scan-on):
9076 * progmodes/prolog.el (prolog-align-comments-flag)
9077 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9078 (prolog-left-indent-regexp, prolog-paren-indent-p)
9079 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9080 (prolog-types, prolog-mode-specificators)
9081 (prolog-determinism-specificators, prolog-directives)
9082 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9083 (prolog-electric-dot-flag)
9084 (prolog-electric-dot-full-predicate-template)
9085 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9086 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9087 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9088 (prolog-program-switches, prolog-prompt-regexp)
9089 (prolog-debug-on-string, prolog-debug-off-string)
9090 (prolog-trace-on-string, prolog-trace-off-string)
9091 (prolog-zip-on-string, prolog-zip-off-string)
9092 (prolog-use-standard-consult-compile-method-flag)
9093 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9094 (prolog-imenu-max-lines, prolog-info-predicate-index)
9095 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9096 (prolog-char-quote-workaround):
9097 * progmodes/cc-vars.el (c-defun-tactic):
9098 * net/tramp.el (tramp-encoding-command-interactive)
9099 (tramp-local-end-of-line):
9100 * net/soap-client.el (soap-client):
9101 * net/netrc.el (netrc-file):
9102 * net/gnutls.el (gnutls):
9103 * minibuffer.el (completion-category-overrides)
9104 (completion-cycle-threshold)
9105 (completion-pcm-complete-word-inserts-delimiters):
9106 * man.el (Man-name-local-regexp):
9107 * mail/feedmail.el (feedmail-display-full-frame):
9108 * international/characters.el (glyphless-char-display-control):
9109 * eshell/em-ls.el (eshell-ls-date-format):
9110 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9111 (lisp-lambda-list-keyword-parameter-indentation)
9112 (lisp-lambda-list-keyword-parameter-alignment):
9113 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9114 * dired-x.el (dired-omit-verbose):
9115 * cus-theme.el (custom-theme-allow-multiple-selections):
9116 * calc/calc.el (calc-highlight-selections-with-faces)
9117 (calc-lu-field-reference, calc-lu-power-reference)
9118 (calc-note-threshold):
9119 * battery.el (battery-mode-line-limit):
9120 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9121 (archive-7z-update):
9122 * allout.el (allout-prefixed-keybindings)
9123 (allout-unprefixed-keybindings)
9124 (allout-inhibit-auto-fill-on-headline)
9125 (allout-flattened-numbering-abbreviation):
9126 * allout-widgets.el (allout-widgets-auto-activation)
9127 (allout-widgets-icons-dark-subdir)
9128 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9129 (allout-widgets-theme-dark-background)
9130 (allout-widgets-theme-light-background)
9131 (allout-widgets-item-image-properties-emacs)
9132 (allout-widgets-item-image-properties-xemacs)
9133 (allout-widgets-run-unit-tests-on-load)
9134 (allout-widgets-time-decoration-activity)
9135 (allout-widgets-hook-error-post-time)
9136 (allout-widgets-track-decoration):
9137 Add missing :version tags to new defcustoms and defgroups.
9139 * progmodes/sql.el (sql-ansi-statement-starters)
9140 (sql-oracle-statement-starters): Add custom type.
9142 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9143 (prolog-system-version): Give it a type.
9145 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9147 * term/pc-win.el (x-select-text, x-selection-owner-p)
9148 (x-own-selection-internal, x-disown-selection-internal)
9149 (x-get-selection-internal): Sync doc strings and argument lists
9150 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9152 2012-02-11 Leo Liu <sdl.web@gmail.com>
9154 * progmodes/python.el (python-end-of-statement): Fix infinite
9157 2012-02-10 Glenn Morris <rgm@gnu.org>
9159 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9160 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9162 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9164 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9165 about SMTP before checking the From header.
9167 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9168 into own function for reuse by emacsbug.el.
9170 2012-02-10 Leo Liu <sdl.web@gmail.com>
9172 * subr.el (condition-case-unless-debug): Rename from
9173 condition-case-no-debug. All callers changed.
9174 (with-demoted-errors): Fix caller.
9176 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9177 * nxml/rng-valid.el (rng-do-some-validation):
9178 * emacs-lisp/package.el (package-refresh-contents)
9179 (package-menu-execute):
9180 * desktop.el (desktop-create-buffer):
9181 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9183 2012-02-10 Glenn Morris <rgm@gnu.org>
9185 * textmodes/bibtex.el:
9186 Add missing :version tags for new/changed defcustoms.
9188 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9190 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9192 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9193 (smtpmail-via-smtp): Use it, or fall back on the From address.
9194 (smtpmail-send-it): Ditto.
9196 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9198 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9199 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9200 (byte-compile-tmp-var): New const.
9201 (byte-compile-defvar): Use it to minimize .elc size.
9202 Just use `defvar' rather than simulate it (bug#10761).
9204 2012-02-09 Glenn Morris <rgm@gnu.org>
9206 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9208 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9211 * progmodes/compile.el (compilation-error-screen-columns)
9212 (compilation-first-column, compilation-filter-start): Doc fixes.
9214 * vc/log-view.el (log-view-toggle-entry-display):
9215 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9217 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9218 (report-emacs-bug-can-use-xdg-email):
9219 (report-emacs-bug-insert-to-mailer): Doc fixes.
9220 (report-emacs-bug): Message fix.
9222 * net/browse-url.el (browse-url-can-use-xdg-open)
9223 (browse-url-xdg-open): Doc fixes.
9225 * electric.el (electric-indent-mode, electric-pair-mode)
9226 (electric-layout-rules, electric-layout-mode): Doc fixes.
9227 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9229 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9231 * server.el (server-unselect-display): Don't inadvertently kill
9232 the current buffer. (Bug#10729)
9234 2012-02-08 Glenn Morris <rgm@gnu.org>
9236 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9237 (sql-list-table): Doc fixes.
9239 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9240 Comment out (does nothing).
9242 * completion.el (dynamic-completion-mode):
9243 * dirtrack.el (dirtrack-debug-mode):
9244 * electric.el (electric-layout-mode):
9245 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9246 * face-remap.el (text-scale-mode, buffer-face-mode):
9247 * iimage.el (iimage-mode):
9248 * image-mode.el (image-transform-mode):
9249 * minibuffer.el (completion-in-region-mode):
9250 * scroll-lock.el (scroll-lock-mode):
9251 * simple.el (next-error-follow-minor-mode):
9252 * tar-mode.el (tar-subfile-mode):
9253 * tooltip.el (tooltip-mode):
9254 * vcursor.el (vcursor-use-vcursor-map):
9255 * wid-browse.el (widget-minor-mode):
9256 * emulation/tpu-edt.el (tpu-edt-mode):
9257 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9258 * international/iso-ascii.el (iso-ascii-mode):
9259 * language/thai-util.el (thai-word-mode):
9260 * mail/supercite.el (sc-minor-mode):
9261 * net/goto-addr.el (goto-address-mode):
9262 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9263 * progmodes/cwarn.el (cwarn-mode):
9264 * progmodes/flymake.el (flymake-mode):
9265 * progmodes/glasses.el (glasses-mode):
9266 * progmodes/hideshow.el (hs-minor-mode):
9267 * progmodes/pascal.el (pascal-outline-mode):
9268 * textmodes/enriched.el (enriched-mode):
9269 * vc/smerge-mode.el (smerge-mode):
9270 Doc fixes (minor mode argument).
9272 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9274 * ls-lisp.el (ls-lisp-sanitize): New function.
9275 (ls-lisp-insert-directory): Use it to fix or remove any elements
9276 in file-alist with missing attributes. (Bug#4673)
9278 2012-02-07 Alan Mackenzie <acm@muc.de>
9280 Fix spurious recognition of c-in-knr-argdecl.
9282 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9283 putative K&R region.
9285 2012-02-07 Alan Mackenzie <acm@muc.de>
9287 * progmodes/cc-engine.el (c-forward-objc-directive):
9288 Prevent looping in "#pragma mark @implementation".
9290 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9292 * notifications.el (notifications-on-closed-signal): Make `reason'
9293 optional. (Bug#10744)
9295 2012-02-07 Glenn Morris <rgm@gnu.org>
9297 * emacs-lisp/easy-mmode.el (define-minor-mode):
9298 Doc fixes for the macro and the mode it defines.
9300 * image.el (imagemagick-types-inhibit): Doc fix.
9302 * cus-start.el (imagemagick-render-type): Add it.
9304 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9306 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9307 Set the default at load time, too, so that `font-lock-fontify-buffer'
9308 can be called without setting up the entire mode first. This fixes
9309 a bug in `mm-inline-text' with C MIME parts.
9311 2012-02-06 Chong Yidong <cyd@gnu.org>
9313 * simple.el (list-processes--refresh): Delete exited processes
9316 * comint.el (comint-next-prompt): next-single-char-property-change
9317 and prev-single-char-property-change never return nil (Bug#8657).
9319 * custom.el (defcustom): Doc fix (Bug#9711).
9321 2012-02-05 Chong Yidong <cyd@gnu.org>
9323 * cus-edit.el (custom-variable-reset-backup): Quote the value
9324 before storing it in the customized-value property (Bug#6712).
9325 (custom-display): Add a customization type tag.
9326 (custom-buffer-create-internal): Improve tooltip message.
9328 * wid-edit.el (widget-field-value-get): New optional arg to
9329 suppress trailing whitespace truncation.
9330 (character): Use it (Bug#2689).
9332 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9334 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9335 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9337 2012-02-05 Chong Yidong <cyd@gnu.org>
9339 * cus-edit.el (custom-variable-value-create): For mismatched
9340 types, show the current value (Bug#7600).
9342 * custom.el (defcustom): Doc fix.
9344 2012-02-05 Glenn Morris <rgm@gnu.org>
9346 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9348 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9350 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9351 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9352 (pp-last-sexp): Use `looking-at-p'.
9354 2012-02-04 Glenn Morris <rgm@gnu.org>
9356 * files.el (revert-buffer):
9357 Doc fix (mention revert-buffer-in-progress-p).
9359 * emacs-lisp/ert-x.el (ert-simulate-command):
9360 Check deferred-action-list (which is obsolete) is bound.
9362 * subr.el (with-wrapper-hook): Doc fixes.
9364 * simple.el (filter-buffer-substring-functions)
9365 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9367 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9369 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9370 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9372 2012-02-04 Leo Liu <sdl.web@gmail.com>
9374 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9376 2012-02-04 Glenn Morris <rgm@gnu.org>
9378 * image.el (image-extension-data): Add obsolete alias.
9380 * isearch.el (isearch-update): Doc fix.
9382 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9384 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9386 2012-02-03 Glenn Morris <rgm@gnu.org>
9388 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9389 (image-animate-timeout): Doc fix.
9391 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9393 2012-02-02 Glenn Morris <rgm@gnu.org>
9395 * server.el (server-auth-dir): Doc fix.
9396 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9398 * subr.el (run-mode-hooks): Doc fix.
9400 2012-02-02 Juri Linkov <juri@jurta.org>
9402 * image-mode.el (image-toggle-display-image): Remove tautological
9403 `major-mode' from the `derived-mode-p' test.
9405 2012-02-02 Kenichi Handa <handa@m17n.org>
9407 * composite.el (compose-region): Cancel previous change.
9409 2012-02-02 Kenichi Handa <handa@m17n.org>
9411 * composite.el (compose-region, compose-string): Signal error for
9412 a null string component (Bug#6988).
9414 2012-02-01 Chong Yidong <cyd@gnu.org>
9416 * view.el (view-buffer-other-window, view-buffer-other-frame):
9417 Handle special modes like view-buffer (Bug#10650).
9418 (view-buffer): Simplify.
9420 * frame.el (set-frame-font): Tweak meaning of third argument.
9422 * dynamic-setting.el (font-setting-change-default-font):
9423 Use set-frame-font (Bug#9982).
9425 2012-02-01 Glenn Morris <rgm@gnu.org>
9427 * progmodes/compile.el (compilation-internal-error-properties):
9428 Respect compilation-first-column in the "*compilation*" buffer.
9430 * emacs-lisp/easy-mmode.el (define-minor-mode):
9431 Relax :variable's test for a named function.
9433 2012-01-31 Alan Mackenzie <acm@muc.de>
9435 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9438 2012-01-31 Chong Yidong <cyd@gnu.org>
9440 * frame.el (set-frame-font): New arg ALL-FRAMES.
9442 * menu-bar.el (menu-set-font): Use set-frame-font.
9444 * faces.el (face-spec-reset-face): Don't apply unspecified
9445 attribute values to the default face.
9447 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9449 * progmodes/cwarn.el (cwarn): Remove dead link.
9450 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9451 Remove * from defcustom docstrings.
9452 (turn-on-cwarn-mode): Make obsolete.
9453 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9454 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9456 2012-01-31 Glenn Morris <rgm@gnu.org>
9458 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9459 Fix :variable handling of mode a symbol not equal to modefun.
9460 Allow named functions to be used as the cdr of :variable.
9462 2012-01-30 Glenn Morris <rgm@gnu.org>
9464 * emacs-lisp/authors.el (authors-fixed-entries):
9465 Remove reference to deleted file rnewspost.el.
9467 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9469 * window.el (window-with-parameter): Remove unused variable `windows'.
9470 (window--side-check): Remove unused variable `code'.
9471 (window--resize-siblings): Remove unused variable `first'.
9472 (adjust-window-trailing-edge): Remove unused variable `failed'.
9473 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9474 Use `let', not `let*'.
9475 (balance-windows-2): Remove unused variable `found'.
9476 (window--state-put-2): Remove unused variable `splits'.
9477 (window-state-put): Remove unused variable `selected'.
9478 (same-window-p): Use `string-match-p'.
9479 (display-buffer-assq-regexp): Remove unused variable `value'.
9480 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9481 Mark argument ALIST as ignored.
9482 (pop-to-buffer): Remove unused variable `old-window'.
9484 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9486 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9487 and .lzma compressed files.
9489 2012-01-29 Chong Yidong <cyd@gnu.org>
9491 * frame.el (window-system-default-frame-alist): Doc fix.
9493 * dynamic-setting.el (font-setting-change-default-font): Don't
9494 change the default face if SET-FONT argument is non-nil (Bug#9982).
9496 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9498 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9500 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9502 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9503 breakpoints in files outside current directory (Bug#6098).
9505 2012-01-29 Chong Yidong <cyd@gnu.org>
9507 * progmodes/python.el: Require ansi-color at top-level.
9509 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9510 Define and use in Emacs Lisp mode (Bug#9360).
9511 (lisp-mode-abbrev-table): Add doc.
9512 (lisp-mode-variables): Don't set local-abbrev-table.
9513 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9515 2012-01-28 Roland Winkler <winkler@gnu.org>
9517 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9519 2012-01-28 Roland Winkler <winkler@gnu.org>
9521 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9522 (bibtex-set-dialect): Use it. Either set global values of
9523 dialect-dependent variables or bind these variables buffer-locally
9525 (bibtex-mode): Call bibtex-set-dialect via
9526 hack-local-variables-hook.
9527 (bibtex-dialect): Update docstring.
9528 Add safe-local-variable predicate.
9529 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9531 (bibtex-mode-map): Define menu for each dialect.
9532 (bibtex-entry): Fix docstring.
9534 2012-01-28 Chong Yidong <cyd@gnu.org>
9536 * eshell/esh-arg.el (eshell-quote-argument): New function.
9538 * eshell/esh-ext.el (eshell-invoke-batch-file):
9539 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9540 first arg to eshell-parse-command (Bug#10523).
9542 2012-01-28 Drew Adams <drew.adams@oracle.com>
9544 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9545 `default-directory' is non-nil.
9547 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9549 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9550 line that displays system-configuration-options. (Bug#9924)
9552 2012-01-28 Drew Adams <drew.adams@oracle.com>
9554 * descr-text.el (describe-char): Show information about POS, in
9555 addition to information about the character at POS. Improve and
9556 update the doc string. Change "code point" to "code point in
9557 charset", to avoid confusion with the character's Unicode code
9558 point shown above that. (Bug#10129)
9560 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9562 * descr-text.el (describe-char): Show the raw character, not only
9563 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9564 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9567 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9569 * emacs-lisp/package.el (package-install):
9570 Run package-refresh-contents if there is no archive yet (Bug#9798).
9572 2012-01-28 Chong Yidong <cyd@gnu.org>
9574 * emacs-lisp/package.el (package-maybe-load-descriptor):
9575 New function, split from package-maybe-load-descriptor.
9576 (package-maybe-load-descriptor): Use it.
9577 (package-download-transaction): Fully load required packages
9578 inside the loop, so that `require' calls work (Bug#10593).
9579 (package-install): No need to call package-initialize now.
9581 2012-01-28 Chong Yidong <cyd@gnu.org>
9583 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9585 * tooltip.el (tooltip-mode): Doc fix.
9586 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9588 * frame.el (set-cursor-color): Doc fix (Bug#352).
9590 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9591 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9593 * cus-edit.el (custom-buffer-create-internal): Fix search button
9595 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9597 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9599 * dired.el (dired-mark-files-regexp):
9600 Include any subdirectory components. (Bug#10445)
9602 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9604 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9605 Handle [host]:port syntax. (Bug#10533)
9607 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9609 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9611 2012-01-26 Glenn Morris <rgm@gnu.org>
9613 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9614 * term.el (term-raw-escape-map): Use Control-X-prefix.
9615 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9617 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9619 * window.el (window-state-get, window--state-get-1): Don't deal
9620 with fixed-sizeness of windows. Simplify code.
9622 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9624 * window.el (window--state-get-1, window--state-put-2):
9625 Don't save and restore the mark.
9627 2012-01-25 Chong Yidong <cyd@gnu.org>
9629 * custom.el (custom-variable-p): Doc fix.
9631 2012-01-25 Glenn Morris <rgm@gnu.org>
9633 * dired.el (dired-goto-file): Handle some of the more common
9634 characters that `ls -b' escapes. (Bug#10596)
9636 * progmodes/compile.el (compilation-next-error-function):
9637 Respect compilation-first-column in the "*compilation*" buffer.
9638 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9640 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9642 2012-01-24 Glenn Morris <rgm@gnu.org>
9644 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9646 2012-01-24 Julien Danjou <julien@danjou.info>
9648 * color.el (color-rgb-to-hsl): Fix value computing.
9649 (color-hue-to-rgb): New function.
9650 (color-hsl-to-rgb): New function.
9651 (color-clamp, color-saturate-hsl, color-saturate-name)
9652 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9653 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9655 2012-01-24 Glenn Morris <rgm@gnu.org>
9657 * vc/vc-rcs.el (vc-rcs-create-tag):
9658 * vc/vc-sccs.el (vc-sccs-create-tag):
9659 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9661 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9663 * eshell/esh-util.el (eshell-read-hosts-file):
9664 Skip comment lines. (Bug#10549)
9666 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9668 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9670 * subr.el (display-delayed-warnings): Doc fix.
9671 (collapse-delayed-warnings): New function to collapse identical
9673 (delayed-warnings-hook): Add it.
9675 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9677 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9679 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9680 (tramp-default-user-alist): Don't add "pscp".
9681 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9682 property "login-as", if set. (Bug#10530)
9684 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9686 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9687 "plink1" and "psftp". (Bug#10530)
9689 2012-01-21 Kenichi Handa <handa@m17n.org>
9691 * international/mule-cmds.el (prefer-coding-system): Show a
9692 warning message if the default value of file-name-coding-system
9695 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9697 * windmove.el (windmove-reference-loc):
9698 Fix windmove-reference-loc miscalculation.
9700 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9702 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9705 2012-01-21 Glenn Morris <rgm@gnu.org>
9707 * international/mule.el (auto-coding-alist): Add .tbz.
9709 * files.el (local-enable-local-variables): Doc fix.
9710 (inhibit-local-variables-regexps): Rename from
9711 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9712 Doc fix. Add some extensions from auto-coding-alist.
9713 (inhibit-local-variables-suffixes):
9714 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9715 (inhibit-local-variables-p):
9716 New function, extracted from set-auto-mode-1.
9717 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9718 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9719 (hack-local-variables): Doc fix. Make the mode-only case
9720 respect enable-local-variables and friends.
9721 Respect inhibit-local-variables-regexps for file-locals, but
9722 not for directory-locals.
9723 (set-visited-file-name):
9724 Take account of inhibit-local-variables-regexps.
9725 Whether it applies may change as the file name is changed.
9726 * jka-cmpr-hook.el (jka-compr-install):
9727 * jka-compr.el (jka-compr-uninstall):
9728 Update for inhibit-first-line-modes-suffixes name change.
9730 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9732 * help-macro.el (make-help-screen): Temporarily restore original
9733 binding for minor-mode-map-alist (Bug#10454).
9735 2012-01-19 Julien Danjou <julien@danjou.info>
9737 * color.el (color-name-to-rgb): Use the white color to find the max
9738 color component value and return correctly computed values.
9739 (color-name-to-rgb): Add missing float conversion for max value.
9741 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9743 * window.el (window--state-get-1, window-state-get): Do not use
9744 special state value for window-persistent-parameters.
9745 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9746 (window--state-put-2): Reset all window parameters to nil before
9747 assigning values of persistent parameters.
9749 2012-01-18 Alan Mackenzie <acm@muc.de>
9751 Eliminate sluggishness and hangs in fontification of "semicolon
9754 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9755 Change value 10000 -> 3000.
9756 (c-state-safe-place): Reformulate so it doesn't stack up an
9757 infinite number of wrong entries in c-state-nonlit-pos-cache.
9758 (c-determine-limit-get-base, c-determine-limit): New functions to
9759 determine backward search limits disregarding literals.
9760 (c-find-decl-spots): Amend commenting.
9761 (c-cheap-inside-bracelist-p): New function which detects "={".
9763 * progmodes/cc-fonts.el
9764 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9766 (c-font-lock-declarations): Fix an occurrence of point being
9767 undefined. Check additionally for point being in a bracelist or
9768 near a macro invocation without a semicolon so as to avoid a
9769 fruitless time consuming search for a declarator. Give a more
9770 precise search limit for declarators using the new
9773 2012-01-18 Glenn Morris <rgm@gnu.org>
9775 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9776 (set-auto-mode): Doc fixes.
9778 2012-01-17 Glenn Morris <rgm@gnu.org>
9780 * isearch.el (search-nonincremental-instead): Fix doc typo.
9782 * dired.el (dired-insert-directory): Handle newlines in directory name.
9783 (dired-build-subdir-alist): Unescape newlines in directory name.
9785 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9787 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9788 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9789 (tramp-action-terminal): Use it. (Bug#10530)
9791 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9795 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9797 * window.el (window-state-ignored-parameters): Remove variable.
9798 (window--state-get-1): Rename argument MARKERS to IGNORE.
9799 Handle persistent window parameters. Make copy of clone-of
9800 parameter only if requested. (Bug#10348)
9801 (window--state-put-2): Install a window parameter only if it has
9802 a non-nil value or an existing parameter shall be overwritten.
9804 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9806 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9808 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9810 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9811 don't pass the (nil) value of `upnode' to string-match.
9813 2012-01-14 Chong Yidong <cyd@gnu.org>
9815 * startup.el (command-line): Fix X resource class for cursorColor.
9816 Fix values recognized by the cursorBlink resource.
9818 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9820 * epg.el (epg--make-temp-file): Avoid permission race condition
9821 when running on old Emacs versions (bug#10403).
9823 2012-01-14 Glenn Morris <rgm@gnu.org>
9825 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9827 2012-01-13 Alan Mackenzie <acm@muc.de>
9829 Fix filling for when filladapt mode is enabled.
9831 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9832 c-mask-paragraph, pass in `fill-paragraph' rather than
9833 `fill-region-as-paragraph'. (This is a reversion of a previous
9835 * progmodes/cc-mode.el (c-basic-common-init):
9836 Make fill-paragraph-handle-comment buffer local and set it to nil.
9838 2012-01-13 Glenn Morris <rgm@gnu.org>
9840 * dired.el (dired-switches-escape-p): New function.
9841 (dired-insert-directory): Use dired-switches-escape-p.
9842 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9844 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9846 2012-01-12 Glenn Morris <rgm@gnu.org>
9848 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9849 changes in adaptive-fill-regexp. (Bug#10276)
9851 2012-01-11 Alan Mackenzie <acm@muc.de>
9853 Fix Emacs bug #10463 - put `widen's around the critical spots.
9855 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9856 widen around each invocation of c-state-pp-to-literal. Remove an
9857 unused let variable.
9859 2012-01-11 Glenn Morris <rgm@gnu.org>
9861 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9864 2012-01-10 Chong Yidong <cyd@gnu.org>
9866 * net/network-stream.el (network-stream-open-starttls):
9867 Avoid emitting a confusing error message when the server gives a bad
9868 response to the capability command.
9870 2012-01-10 Glenn Morris <rgm@gnu.org>
9872 * mail/unrmail.el (unrmail): Tweak previous change.
9874 2012-01-09 Chong Yidong <cyd@gnu.org>
9876 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9878 2012-01-08 Alan Mackenzie <acm@muc.de>
9880 Optimise font locking in long enum definitions.
9882 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9883 arm to a cond form to handle enums.
9884 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9885 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9887 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9889 * files.el (move-file-to-trash): Preserve default file modes on error.
9892 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9894 * faces.el (set-face-attribute): Clarify the meaning of the nil
9897 * subr.el (with-selected-frame): Mention that the selected frame
9898 is restored (bug#9980).
9900 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9903 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9904 (password-read): Don't autoload unused function.
9906 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
9908 * progmodes/which-func.el (which-func-mode): Turn into a
9909 non-interactive function and mark as obsolete (bug#10428).
9911 2012-01-06 Chong Yidong <cyd@gnu.org>
9913 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9914 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9915 functions, along with 1 and -1.
9917 2012-01-06 Eli Zaretskii <eliz@gnu.org>
9919 * time.el (display-time-load-average)
9920 (display-time-default-load-average): Doc fixes. See the thread
9922 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9925 2012-01-06 Glenn Morris <rgm@gnu.org>
9927 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9928 has no messages. (Bug#10377)
9930 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9931 than Info-edit. (Bug#10385)
9933 * time.el (display-time-load-average, display-time-next-load-average):
9936 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9937 local setting of buffer-read-only to the input buffer. (Bug#10419)
9939 * calendar/calendar.el (calendar-mode):
9940 Locally set scroll-margin to 0. (Bug#10379)
9942 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
9944 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9946 2012-01-05 Glenn Morris <rgm@gnu.org>
9948 * eshell/em-unix.el (diff-no-select): Autoload it.
9949 (eshell/diff): Use diff-no-select. (Bug#10420)
9951 2012-01-05 Chong Yidong <cyd@gnu.org>
9953 * shell.el (shell-dynamic-complete-functions): Revert last change.
9954 (shell-command-completion-function): New function.
9955 (shell-completion-vars): Use it to implement
9956 shell-completion-execonly (Bug#10417).
9958 * custom.el (enable-theme): Don't set custom-safe-themes.
9960 * cus-theme.el (custom-theme-merge-theme):
9961 Ignore custom-enabled-themes and custom-safe-themes.
9963 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9965 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9966 first prompt in `sql-interacive-mode'.
9967 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9969 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9970 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9971 context of original buffer. Invoke `sql-login-hook'.
9973 2012-01-04 Eli Zaretskii <eliz@gnu.org>
9975 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9976 letters in cite-prefix.
9978 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9980 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9982 2012-01-03 Chong Yidong <cyd@gnu.org>
9984 * shell.el (shell-dynamic-complete-functions):
9985 Put pcomplete-completions-at-point, so as to try
9986 comint-filename-completion first (Bug#10417).
9988 2012-01-02 Richard Stallman <rms@gnu.org>
9990 * battery.el (battery-status-function):
9991 Detect when to use battery-yeeloong-sysfs.
9992 (battery-echo-area-format): Add string for Yeeloong.
9993 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9994 (battery-yeeloong-sysfs): New function.
9996 2012-01-02 Chong Yidong <cyd@gnu.org>
9998 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9999 (dirtrack): Merge code for handling relative filenames in prompt
10000 from shell-dir-cookie-watcher.
10001 (dirtrack-debug-message): New arg to avoid excess format calls.
10003 * shell.el (shell-dir-cookie-re): Variable deleted.
10004 (shell-dir-cookie-watcher): Function deleted.
10005 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10006 with dirtrack-mode.
10008 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10010 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10011 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10014 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10016 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10018 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10020 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10021 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10023 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10025 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10026 also for alternative shells.
10027 (tramp-open-connection-setup-interactive-shell): Check, whether
10028 the shell is a busybox.
10029 (tramp-send-command): Don't suppress multiple prompts for
10030 busyboxes, it hurts.
10032 2011-12-28 Chong Yidong <cyd@gnu.org>
10034 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10035 (gdb-get-source-file): Move mode line update to
10036 gdb-get-source-file (Bug#10087).
10038 2011-12-25 Chong Yidong <cyd@gnu.org>
10040 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10041 gud-gdb-marker-filter without taking it as an argument.
10042 (gud-gdb-run-command-fetch-lines): Caller changed.
10043 (gud-gdb-completion-function): New variable.
10044 (gud-gdb-completion-at-point): Use it.
10045 (gud-gdb-completions-1): Split from gud-gdb-completions.
10047 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10048 function as separate arguments.
10049 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10050 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10051 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10052 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10053 (gdb-stopped, def-gdb-auto-update-trigger)
10054 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10055 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10057 (gud-gdbmi-completions): New function.
10058 (gdb): Use it for generating the completion table.
10060 2011-12-24 Alan Mackenzie <acm@muc.de>
10062 Introduce a mechanism to widen the region used in context font
10063 locking. Use this to protect declarations from losing their contexts.
10065 * progmodes/cc-langs.el (c-before-font-lock-functions):
10066 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10067 (c-before-context-fontification-functions): New defvar, a list of
10068 functions to be run just before context (etc.) font locking.
10070 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10071 New, functionality extracted from
10072 c-neutralize-syntax-in-and-mark-CPP.
10073 (c-in-after-change-fontification): New variable.
10074 (c-after-change): Set c-in-after-change-fontification.
10075 (c-set-fl-decl-start): Rejig its interface, so it can be called
10076 from both after-change and context fontifying.
10077 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10079 (c-standard-font-lock-fontify-region-function): New variable.
10080 (c-font-lock-fontify-region): New function.
10082 2011-12-24 Juri Linkov <juri@jurta.org>
10084 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10087 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10089 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10090 existence of source file. (Bug#10325)
10092 2011-12-23 Alan Mackenzie <acm@muc.de>
10094 Fix unstable fontification inside templates.
10096 * progmodes/cc-langs.el (c-before-font-lock-functions):
10097 Newly created from the singular version. The (c c++ objc) entry now
10098 additionally has c-set-fl-decl-start. The other languages (apart
10099 from AWK) have that as a single entry.
10101 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10102 The functionality for "local" declarations has been extracted to
10103 c-set-fl-decl-start.
10105 * progmodes/cc-mode.el (c-common-init, c-after-change):
10106 Changes due to pluralisation of c-before-font-lock-functions.
10107 (c-set-fl-decl-start): New function, extracted from
10108 c-font-lock-enclosing-decls and enhanced.
10110 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10112 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10114 2011-12-22 Juri Linkov <juri@jurta.org>
10116 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10118 2011-12-22 Chong Yidong <cyd@gnu.org>
10120 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10122 2011-12-21 Drew Adams <drew.adams@oracle.com>
10124 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10126 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10128 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10130 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10132 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10133 highlighting and support. Fix up comments for capitalization.
10134 (cfengine-mode-debug): New var.
10135 (cfengine3-mode): Change the modeline indicator to "CFE3".
10136 (cfengine3-font-lock-keywords): Improve defun highlighting.
10137 (cfengine2-actions): Rename from `cfengine-actions'.
10138 (cfengine2-font-lock-keywords): Rename from
10139 `cfengine-font-lock-keywords'.
10140 (cfengine2-imenu-expression): Rename from
10141 `cfengine-imenu-expression'.
10142 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10143 (cfengine2-beginning-of-defun): Rename from
10144 `cfengine-beginning-of-defun'.
10145 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10146 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10147 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10148 modeline indicator to "CFE2".
10149 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10150 (cfengine-mode-abbrevs): Mark obsolete.
10152 2011-12-21 Chong Yidong <cyd@gnu.org>
10154 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10157 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10159 * window.el (window-normalize-buffer-to-display): Remove.
10160 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10162 2011-12-19 Chong Yidong <cyd@gnu.org>
10164 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10165 Don't signal an error in a predicate function; return non-nil.
10166 (vc-dir-mark-file): Move the error here.
10167 (vc-dir-mark-unmark): If acting on the region, keep going if one
10168 of the entries cannot be marked/unmarked.
10169 (vc-dir-mark-all-files): If current entry is a directory, mark
10170 only child files, as documented.
10172 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10174 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10175 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10178 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10180 * term/ns-win.el (ns-get-selection-internal)
10181 (ns-store-selection-internal): Declare.
10182 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10183 Declare as obsolete.
10184 (ns-get-pasteboard, ns-paste-secondary):
10185 Use ns-get-selection-internal.
10186 (ns-set-pasteboard, ns-copy-including-secondary):
10187 Use ns-store-selection-internal.
10189 2011-12-17 Chong Yidong <cyd@gnu.org>
10191 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10192 (vc-deduce-fileset): Doc fix.
10194 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10196 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10198 2011-12-13 Sam Steingold <sds@gnu.org>
10200 * man.el (Man-getpage-in-background): When running under a
10201 window-system, ignore $MANWIDTH and $COLUMNS.
10203 2011-12-15 Kenichi Handa <handa@m17n.org>
10205 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10206 (setup-ethiopic-environment-internal): Comment out key-binding for
10207 ethio-toggle-punctuation.
10209 2011-12-13 Alan Mackenzie <acm@muc.de>
10211 Add the switch statement to AWK Mode.
10213 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10214 "default" to the keywords regexp.
10216 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10217 expression as the rest.
10218 (c-nonlabel-token-key): Allow string literals for AWK.
10219 Refactor for the other modes.
10221 Large brace-block initialisation makes CC Mode slow: Fix.
10222 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10223 routines. Limit backward searching in c-font-lock-enclosing.decl.
10225 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10226 pp-state and literal type in addition to the limits.
10227 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10228 (c-state-literal-at): Use the above new defun.
10229 (c-slow-in-literal, c-fast-in-literal): Remove.
10230 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10232 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10233 being in a literal. Add a limit for backward searching.
10235 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10238 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10240 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10242 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10244 * window.el (delete-other-windows): Use correct frame in call to
10245 window-with-parameter.
10247 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10249 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10250 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10251 (makefile-gmake-statements, makefile-makepp-statements):
10252 Use it and add new makepp keywords.
10253 (makefile-makepp-font-lock-keywords): Add new patterns.
10254 (makefile-match-function-end): Match new [...] and [[...]].
10256 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10258 * ses.el (ses-call-printer-return, ses-cell-property-get)
10259 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10260 (ses-create-cell-variable, ses-reset-header-string)
10261 (ses-cell-set-formula, ses-repair-cell-reference-all)
10262 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10263 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10264 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10265 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10266 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10267 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10268 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10269 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10270 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10271 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10272 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10273 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10275 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10277 * ses.el: The overall change is to add cell renaming, that is
10278 setting fancy names for cell symbols other than name matching
10279 "\\`[A-Z]+[0-9]+\\'" regexp .
10280 (ses-create-cell-variable): New defun.
10281 (ses-relocate-formula): Relocate formulas only for cells the
10282 symbols of which are not renamed, i.e. symbols whose names do not
10283 match regexp "\\`[A-Z]+[0-9]+\\'".
10284 (ses-relocate-all): Relocate values only for cells the symbols of
10285 which are not renamed.
10286 (ses-load): Create cells variables as the (ses-cell ...) are read,
10287 in order to check row col consistency with cell symbol name only
10288 for cells that are not renamed.
10289 (ses-replace-name-in-formula): New defun.
10290 (ses-rename-cell): New defun.
10292 2011-12-11 Chong Yidong <cyd@gnu.org>
10294 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10295 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10297 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10299 * window.el (other-window): Fix docstring.
10301 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10303 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10304 `from' or `to' address before taking its substring.
10305 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10306 encoded name is chopped in the middle of the encoded string, and
10307 thus displayed encoded.
10309 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10311 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10313 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10315 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10316 to use texinfo-update-node and commands that call it if the
10317 Texinfo file uses @node lines without next/prev/up pointers.
10318 Correct outdated description about texinfo-master-menu.
10319 (texinfo-all-menus-update, texinfo-master-menu)
10320 (texinfo-update-node, texinfo-every-node-update)
10321 (texinfo-multiple-files-update): Doc fix. Warn against updating
10322 all the @node lines.
10323 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10324 argument is numeric. Explain better in the doc string what the
10325 function really does.
10326 (texinfo-insert-master-menu-list): Improve the error message
10327 displayed if there's no menu in the Top node.
10328 (Bug#2975) See also this thread:
10329 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10331 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10333 * speedbar.el (speedbar-supported-extension-expressions):
10334 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10336 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10338 * printing.el (pr-mode-alist):
10339 * simple.el (filter-buffer-substring-functions)
10340 (completion-list-insert-choice-function):
10341 * window.el (window-with-parameter, window-atom-root)
10342 (window-sides-slots, window-size-fixed, window-min-delta)
10343 (window-max-delta, window--resize-mini-window)
10344 (window--resize-child-windows-normal, window-tree)
10345 (delete-other-windows, quit-window, split-window)
10346 (display-buffer-record-window, special-display-buffer-names)
10347 (special-display-regexps, special-display-popup-frame)
10348 (same-window-p, split-window-sensibly)
10349 (display-buffer-overriding-action, display-buffer-alist)
10350 (display-buffer-base-action, display-buffer, switch-to-buffer)
10351 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10352 (fit-window-to-buffer, recenter-positions)
10353 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10354 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10355 and remove unneeded backslashes in docstrings.
10357 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10359 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10361 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10362 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10364 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10365 when reading the makefile (bug#10116).
10367 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10372 2011-12-06 Glenn Morris <rgm@gnu.org>
10374 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10376 2011-12-06 Chong Yidong <cyd@gnu.org>
10378 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10380 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10382 * textmodes/table.el (table-shorten-cell): Fix typo.
10384 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10386 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10388 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10390 * descr-text.el (describe-char): Fix display of strong
10391 right-to-left characters and directional embeddings and overrides.
10393 * simple.el (what-cursor-position): Fix display of codepoints of
10394 strong right-to-left characters.
10396 2011-12-05 Chong Yidong <cyd@gnu.org>
10398 * faces.el (read-color): Doc fix.
10400 2011-12-05 Glenn Morris <rgm@gnu.org>
10402 * align.el (align--set-marker): Add doc-string.
10403 Don't try to move something that is not a marker. (Bug#10216)
10405 2011-12-04 Glenn Morris <rgm@gnu.org>
10407 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10408 overly zealous deletion of trailing whitespace.
10410 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10412 * server.el (server-delete-client): On Windows, do not try to delete
10414 (server-process-filter): On Windows, treat requests for a tty frame as
10415 if they were for a GUI frame if the running server is in GUI mode.
10417 2011-12-03 Glenn Morris <rgm@gnu.org>
10419 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10421 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10423 * electric.el: Streamline electric-indent's hook.
10424 (electric-indent-chars): Revert to simple list.
10425 (electric-indent-functions): New var.
10426 (electric-indent-post-self-insert-function): Use it.
10428 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10429 there's no inferior buffer (bug#10196).
10430 (prolog-consult-compile): Don't use toggle-read-only.
10432 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10434 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10435 interrupt. (Bug#10187)
10437 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10439 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10442 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10445 2011-12-02 Juri Linkov <juri@jurta.org>
10447 * info.el (Info-search): Display "end of manual" when Isearch
10448 reaches the end of single-file Info manual. (Bug#9918)
10450 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10452 * isearch.el (isearch-message-prefix): Run the input method part
10453 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10455 2011-12-02 Juri Linkov <juri@jurta.org>
10457 * isearch.el (isearch-occur): Use `word-search-regexp' for
10459 (isearch-search-and-update): Add condition for `isearch-word' and
10460 call `word-search-regexp'. (Bug#10145)
10462 2011-12-01 Glenn Morris <rgm@gnu.org>
10464 * eshell/em-hist.el (eshell-hist-initialize):
10465 Handle eshell-history-size nil and HISTSIZE set or unset.
10466 (eshell-history-file-name, eshell-history-size): Fix custom type.
10468 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10470 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10472 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10474 * progmodes/verilog-mode.el (verilog-pretty-expr):
10475 Rework verilog-pretty-expr to handle new assignment operators in system
10476 verilog, such as += *= and the like.
10477 (verilog-assignment-operator-re): Regular expression to find the
10478 assigment operator in a verilog assignment.
10479 (verilog-assignment-operation-re): Regular expression to find an
10480 assignment statement for pretty-expr.
10481 (verilog-in-attribute-p): Query returns true if point is in an
10482 attribute context; used to skip these for expression line up from
10484 (verilog-in-parameter-p): Query returns true if point is in an
10485 parameter definition context; used to skip these for expression
10486 line up from pretty-expr.
10487 (verilog-in-parenthesis-p): Query returns true if point is in a
10488 parenthetical expression, specifically ( ) but not [ ] or { };
10489 used by pretty-expr.
10490 (verilog-just-one-space): If there is no space, don't add one.
10491 (verilog-get-lineup-indent-2): Specifically skip just attribute
10492 contexts for expression lineup, rather than skipping all
10493 parenthetical expressions.
10494 (verilog-calculate-indent): Fix comment, and fix indent.
10495 (verilog-do-indent): Indent declarations in lists (suggested by
10497 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10499 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10502 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10504 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10505 parameters with embedded comments. Reported by Ray Stevens.
10506 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10507 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10508 Reported by Tim Holt.
10509 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10510 instantiated by upper module causing wrong expansion until AUTOed a
10511 second time. Reported by K C Buckenmaier.
10512 (verilog-diff-auto): Fix showing .* as a difference when
10513 `verilog-auto-star-save' off. Reported by Dan Dever.
10514 (verilog-auto-reset, verilog-read-always-signals)
10515 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10516 temporary signals in reset list if
10517 verilog-auto-reset-blocking-in-non is nil, and match assignment
10518 style to each signal's assignment type, bug381.
10519 Reported by Thomas Esposito.
10520 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10521 (verilog-uvm-statement-re): Support UVM indentation and
10522 highlighting, with old OVM keywords only.
10523 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10524 Support AUTOTIEOFF creating non-wire data types.
10525 Suggested by Jonathan Greenlaw.
10526 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10527 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10528 (verilog-inject-sense, verilog-read-inst-pins)
10529 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10530 Fix mismatching parenthesis inside commented out code when deleting
10531 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10532 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10533 non-numeric vector width. Reported by Alex Reed.
10534 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10535 detecting signals with parameter widths. Reported by Alex Reed.
10536 (verilog-auto-delete-trailing-whitespace):
10537 With `verilog-auto-delete-trailing-whitespace' remove trailing
10538 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10539 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10540 Fix verilog-scan-cache corruption when running user AUTO expansion
10541 hooks that call indentation routines.
10542 (verilog-simplify-range-expression): Fix typo ignoring lower case
10544 (verilog-delete-auto): Fix delete-autos to also remove user created
10545 automatics, as long as they start with AUTO.
10546 (verilog-batch-diff-auto, verilog-diff-auto)
10547 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10548 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10549 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10550 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10551 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10552 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10553 is disabled and its cache will get corrupt, causing AUTOS not to
10554 expand. Instead use only -quick functions.
10555 (verilog-scan-region): Fix scanning over escaped quotes.
10556 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10557 (verilog-re-search-backward-quick)
10558 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10559 related functions now ignore strings, to fix misparsing of strings
10560 with magic comments embedded in them.
10561 (verilog-read-auto-template):
10562 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10563 Reported by Brad Dobbie.
10564 (verilog-read-auto-template):
10565 Fix 'verilog-auto-inst-template-numbers' with comments.
10566 Reported by Brad Dobbie.
10567 (verilog-auto-inst, verilog-auto-inst-param)
10568 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10569 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10570 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10571 debugging templates without merge conflicts, bug357.
10572 Reported by Brad Dobbie.
10573 (verilog-read-auto-template):
10574 Fix verilog-auto-inst-template-numbers with multiple templates.
10575 Reported by Brad Dobbie.
10576 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10577 abbrevs so user won't be asked to save.
10578 (verilog-read-auto-lisp-present): Fix to start at beginning of
10579 buffer in case called outside of verilog-auto.
10580 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10581 to "X-2". Reported by Matthew Myers.
10582 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10583 all inputs from module templates. Reported by Leith Johnson.
10584 (verilog-module-inside-filename-p): Fix locating programs as with
10586 (verilog-auto-inst-port): Fix vl-width expressions when using
10587 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10588 (verilog-decls-get-regs, verilog-decls-get-signals,
10589 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10590 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10591 verilog-read-decls): Combine reg and wire structures into one var
10592 structure to represent SystemVerilog concepts.
10593 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10594 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10595 (verilog-auto-wire-type, verilog-insert-definition):
10596 Add verilog-auto-wire-type and AUTOLOGIC to support using
10597 SystemVerilog "logic" keyword instead of "wire"/"reg".
10598 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10599 to declares outputs that also have assignments (presumably in an
10600 ifdef or generate if so there's not a driver conflict).
10601 Reported by Matthew Myers.
10602 (verilog-auto-declare-nettype, verilog-insert-definition):
10603 Add verilog-auto-declare-nettype to fix declarations using
10604 `default_nettype none. Reported by Julian Gorfajn.
10605 (verilog-read-always-signals-recurse, verilog-read-decls)
10606 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10607 malformed end statement, bug325. Reported by Joshua Wise and
10609 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10610 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10611 when expanding .* in interfaces, bug320.
10612 Reported by Pierre-David Pfister.
10613 (verilog-read-module-name): Fix import statements between module
10614 name and open parenthesis, bug317.
10615 Reported by Pierre-David Pfister.
10616 (verilog-simplify-range-expression): Fix simplification of
10617 multiplications inside AUTOWIRE connections, bug303.
10618 (verilog-auto-inst-port): Support parameter expansion in
10619 multidimensional arrays.
10620 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10621 after "assert property". Reported by Julian Gorfajn.
10622 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10623 with multiplication, bug303.
10624 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10625 Reported by Jan Frode Lonnum.
10627 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10629 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10630 (hfy-shell-file-name, hfy-shell):
10631 * international/fontset.el (x-decompose-font-name): Fix typos.
10633 2011-11-29 Ken Brown <kbrown@cornell.edu>
10635 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10636 (gdb-version): Remove defvar.
10637 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10638 (gdb-gud-context-command, gdb-non-stop-handler)
10639 (gdb-current-context-command, gdb-stopped): Use it.
10640 (gdb-init-1): Enable pretty printing here.
10641 (gdb-non-stop-handler): Don't enable pretty-printing here.
10642 Check to see if the target supports non-stop mode; if not, turn off
10643 non-stop mode. Use the following.
10644 (gdb-check-target-async): New defun.
10645 (gud-watch, gdb-stopped): Fix whitespace.
10646 (gdb-get-source-file): Don't try to display the source file if
10647 `gdb-main-file' is nil.
10649 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10651 * align.el: Try to generate fewer markers (bug#10047).
10652 (align--set-marker): New macro.
10653 (align-region): Use it.
10655 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10657 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10659 2011-11-29 Chong Yidong <cyd@gnu.org>
10661 * indent.el (indent-for-tab-command, indent-according-to-mode):
10663 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10665 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10667 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10668 aware of remote file names. (Bug#10124)
10670 2011-11-29 Chong Yidong <cyd@gnu.org>
10672 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10674 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10676 * files.el (find-file): Don't use force-same-window (bug#10144).
10677 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10678 use pop-to-buffer if the selected window can't be used.
10679 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10681 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10683 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10686 2011-11-28 Chong Yidong <cyd@gnu.org>
10688 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10690 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10692 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10693 gdb-get-source-file-list on gdb-create-source-file-list.
10695 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10697 * whitespace.el (whitespace-newline): Use a different foreground
10698 color for 16-color light-background displays.
10700 2011-11-24 Chong Yidong <cyd@gnu.org>
10702 * window.el (display-buffer--special-action): Doc fix.
10704 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10706 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10707 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10708 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10709 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10710 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10711 (avl-tree-stack-first):
10712 * emacs-lisp/cconv.el (cconv--analyse-use):
10713 * net/gnutls.el (gnutls-negotiate): Fix typos.
10715 2011-11-24 Glenn Morris <rgm@gnu.org>
10717 * lpr.el (lpr-windows-system, lpr-lp-system):
10718 * mail/binhex.el (binhex-begin-line):
10719 * progmodes/grep.el (grep-history, grep-find-history):
10720 * textmodes/flyspell.el:
10721 * vc/pcvs-defs.el (cvs-global-menu):
10722 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10723 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10724 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10726 * net/tls.el: Fix case of "GnuTLS".
10728 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10730 * version.el (emacs-build-system): Give it a doc-string.
10732 2011-11-24 Juri Linkov <juri@jurta.org>
10734 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10736 2011-11-24 Glenn Morris <rgm@gnu.org>
10738 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10739 if called on a non-mime message just toggle the headers. (Bug#8006)
10741 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10743 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10744 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10745 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10746 (allout-rebullet-heading, allout-open-sibtopic)
10747 (allout-toggle-current-subtree-encryption)
10748 (allout-toggle-subtree-encryption, allout-encrypt-string)
10749 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10750 (allout-distinctive-bullets-string, allout-auto-activation):
10751 * window.el (window-normalize-buffer-to-display):
10752 * progmodes/verilog-mode.el (verilog-batch-indent):
10753 * textmodes/bibtex.el (bibtex-field-braces-opt)
10754 (bibtex-field-strings-opt):
10755 * vc/cvs-status.el (cvs-tree-merge):
10758 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10760 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10761 `non-essential' to t, in order to avoid remote connections.
10763 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10765 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10766 On MS-DOS and MS-Windows, compare with loaddefs.el
10767 case-insensitively.
10769 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10771 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10773 2011-11-23 Glenn Morris <rgm@gnu.org>
10775 * paths.el (rmail-file-name): Reformat the doc-string so that it
10778 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10779 (rmail-auto-file): Ignore case in the "special" field names,
10780 as mail-fetch-field does for all others.
10782 * mail/rmail.el (rmail-forward):
10783 * mail/rmailkwd.el (rmail-set-label):
10784 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10785 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10787 * mail/rmail.el (rmail-current-message): Doc fix.
10789 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10791 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10793 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10795 2011-11-22 Glenn Morris <rgm@gnu.org>
10797 * mail/rmailmm.el (test-rmail-mime-handler)
10798 (test-rmail-mime-bulk-handler)
10799 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10801 2011-11-21 Juri Linkov <juri@jurta.org>
10803 * calc/calc.el (calc-read-key-sequence):
10804 Let-bind `input-method-function' to nil. (Bug#10018)
10806 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10808 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10809 Tell the caller that the next line needs recomputation, even
10810 though it doesn't start a sexp (bug#10094).
10812 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10814 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10816 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10818 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10819 Use force-same-window.
10821 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10823 * descr-text.el (describe-char-unicode-data):
10824 * json.el (json-string-escape):
10825 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10826 (Footnote-unicode, Footnote-style-p):
10827 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10829 2011-11-20 Chong Yidong <cyd@gnu.org>
10831 * window.el (replace-buffer-in-windows): Restore interactive spec.
10833 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10835 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10837 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10838 (byte-compile-global-not-obsolete-vars): New var.
10839 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10841 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10843 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10845 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10846 * progmodes/pascal.el (electric-pascal-equal):
10847 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10848 * xml.el (xml-substitute-special): Fix typos.
10850 2011-11-20 Glenn Morris <rgm@gnu.org>
10852 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10853 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10855 (rmail-decode-mime-charset): Mark as obsolete.
10857 * mail/rmailsum.el (rmail-message-regexp-p-1):
10858 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10859 Before using mime functions, check they are set. (Bug#10077)
10861 2011-11-19 Juri Linkov <juri@jurta.org>
10863 * info.el (Info-finder-find-node): Use `package--builtins' instead
10864 of `package-alist'. Use node names formed by the pattern "Keyword "
10865 and the keyword name.
10867 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10869 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10871 2011-11-19 Juri Linkov <juri@jurta.org>
10873 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10874 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10875 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10876 `old-history', `old-history-forward'. Add let-binding
10877 `window-selected'. Remove calls to `kill-buffer',
10878 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10879 before calling `Info-find-node', so `Info-find-node-2' will reread
10880 the Info file. Restore window positions only when `window-selected'
10883 2011-11-19 Juri Linkov <juri@jurta.org>
10885 * isearch.el (isearch-lazy-highlight-new-loop):
10886 Remove condition `(not isearch-error)'. (Bug#9918)
10888 * misearch.el (multi-isearch-search-fun): Add condition
10889 `(not bound)' to ignore lazy-highlighting search.
10890 Add the search-failed message "end of multi" when the end of
10891 multi-sequence is reached. Uncapitalize the search-failed
10892 message "Repeat for next buffer".
10894 * info.el (Info-search): Add the search-failed message
10895 "end of the manual" when the end of the manual is reached
10898 2011-11-19 Juri Linkov <juri@jurta.org>
10900 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10901 Use non-destructive `remove' instead of `delete' because
10902 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10903 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10905 2011-11-19 Juri Linkov <juri@jurta.org>
10907 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10908 to nil instead of binding `search-ring' and `regexp-search-ring'.
10911 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10913 * simple.el (line-move): Force movement by logical lines for any
10914 hscrolled window, not only when auto-hscroll-mode is on.
10915 (line-move-visual): Update doc string to that effect. (Bug#10076)
10917 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10919 * language/european.el (macintosh): Define as alias for mac-roman.
10921 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10923 * mail/rmailmm.el (rmail-mime-display-header)
10924 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10925 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10926 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10927 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10928 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10930 (rmail-mime-entity-segment): To get past the tagline, move forward
10931 2 more lines, to account for the 2 empty lines that precede and
10932 follow the line with the buttons.
10933 (rmail-mime-update-tagline): Move one more line, to get past the
10934 empty line that follows the buttons in the tagline. (Bug#9520)
10936 2011-11-19 Martin Rudalics <rudalics@gmx.at>
10938 * window.el (window-max-delta-1, window-min-delta-1)
10939 (window-min-size-1, window-state-get-1, window-state-put-1)
10940 (window-state-put-2): Use "window--" prefix.
10942 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10944 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10945 (smie-warning-count): New var.
10946 (smie-set-prec2tab): Use it.
10947 (smie-bnf->prec2): Improve warnings. Add docstring.
10948 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10949 (smie-bnf--set-class): New function.
10950 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10953 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10954 (compilation-error-properties, compilation-move-to-column):
10955 Handle compilation-first-column while in the target buffer.
10957 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10958 Don't hardcode point-min==1.
10960 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10961 (eshell-rewrite-for-command): Remove workaround.
10962 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10963 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10964 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10966 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10968 2011-11-17 Glenn Morris <rgm@gnu.org>
10970 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10971 Ignore buffer-local generated-autoload-file if it is the same
10972 as the global value. (Bug#10049)
10974 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
10976 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10977 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10978 (reftex-toc-previous-heading, reftex-toc-max-level)
10979 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10980 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10981 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10982 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10983 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10984 (reftex-toc-rename-label, reftex-toc-visit-location)
10985 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10986 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10987 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10988 leaving "*toc*" only for references to the buffer.
10990 2011-11-17 Martin Rudalics <rudalics@gmx.at>
10992 * window.el (window-resize, delete-window, split-window):
10993 Replace window-splits by window-combination-resize.
10994 * cus-start.el (window-splits): Replace by window-combination-resize.
10996 2011-11-17 Glenn Morris <rgm@gnu.org>
10998 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10999 Make bash entry derive from sh entry, not shell entry.
11001 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11003 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11006 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11008 * menu-bar.el (menu-bar-file-menu):
11009 * printing.el (pr-ps-utility):
11010 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11011 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11012 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11013 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11014 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11015 (icalendar--convert-cyclic-to-ical)
11016 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11017 (icalendar--convert-ical-to-diary)
11018 (icalendar--convert-recurring-to-diary)
11019 (icalendar--convert-non-recurring-all-day-to-diary)
11020 (icalendar-import-format-sample):
11021 * progmodes/idlw-shell.el (idlwave-shell-mode):
11022 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11023 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11024 (vhdl-ps-print-init): Fix typos.
11026 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11028 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11029 FSF and collapse date sequence, obscure author/maintainer email address
11030 better, remove extra version line, track relocation of author's webpage.
11032 * progmodes/python.el (python-pdbtrack-input-prompt)
11033 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11034 regular python pdb prompts. Adjustments shamelessly taken exactly as
11035 suggested in EmacsWiki page (tiny change):
11036 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11038 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11040 * expand.el (expand-pos, expand-index, expand-point):
11041 Remove redundant info from docstring.
11042 (expand-add-abbrevs): Doc fix.
11043 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11044 (expand-sample-perl-mode-expand-list): Fix typos.
11046 * net/dbus.el (dbus-event-member-name):
11047 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11048 * term/pc-win.el (msdos-create-frame-with-faces):
11049 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11051 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11053 * window.el (split-window, window-state-get-1)
11054 (window-state-put-1, window-state-put-2): Rename occurrences of
11055 window-nest to window-combination-limit.
11056 * cus-start.el (window-nest): Rename to window-combination-limit.
11058 2011-11-16 Chong Yidong <cyd@gnu.org>
11060 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11061 regexp (Bug#10033).
11063 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11066 `completing-read' will remove *Completions* and will preserve
11067 current-buffer for us.
11068 (tmm-add-prompt): Users of *Completions* will always (re)set its
11070 (tmm-old-comp-map): Remove.
11072 2011-11-16 Glenn Morris <rgm@gnu.org>
11074 * mail/rmailedit.el: Require rmailmm when compiling.
11075 (rmail-old-mime-state): New declaration.
11076 (rmail-edit-current-message): If editing a mime message,
11077 edit the "raw" message from the mbox buffer.
11078 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11080 2011-11-15 Glenn Morris <rgm@gnu.org>
11082 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11083 which wasn't being used. Add optional arg to force given state.
11084 (rmail-mime): Add optional arg to force given state.
11086 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11088 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11089 * frame.el (display-mm-dimensions-alist):
11090 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11091 (outline-move-subtree-down):
11092 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11093 (newsticker--treeview-do-get-node):
11094 * net/quickurl.el (quickurl-list-buffer-name):
11095 * progmodes/dcl-mode.el (dcl-mode):
11096 * progmodes/gdb-mi.el (gdb-mapcar*):
11097 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11099 2011-11-15 Glenn Morris <rgm@gnu.org>
11101 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11102 in a boolean sense, so just make it a boolean, and fix the doc.
11103 (rmail-show-mime-function, rmail-mime-feature)
11104 (rmail-require-mime-maybe): Doc fixes.
11105 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11107 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11109 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11111 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11112 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11113 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11114 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11116 2011-11-15 Glenn Morris <rgm@gnu.org>
11118 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11119 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11120 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11121 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11122 (rmail-mime, rmail-show-mime): Doc fixes.
11124 * term/ns-win.el (mode-line-frame-identification):
11125 Leave it alone. (Bug#10051)
11127 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11129 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11130 Handle empty buffers. (Bug#9978)
11132 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11134 * international/mule.el (define-charset):
11135 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11136 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11137 * progmodes/verilog-mode.el (verilog-backward-token):
11138 * textmodes/ispell.el (lookup-words):
11139 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11141 2011-11-14 Glenn Morris <rgm@gnu.org>
11143 * progmodes/executable.el
11144 (executable-make-buffer-file-executable-if-script-p):
11145 Handle file-modes returning nil.
11147 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11148 message - not necessary, and causes problems. (Bug#9831)
11150 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11152 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11154 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11155 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11156 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11158 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11160 * window.el (window-resize, delete-window): Use window-splits
11161 variable instead of function.
11162 (window-state-get-1, window-state-put-2, window-state-put):
11163 Don't deal with windows' splits status.
11165 2011-11-12 Glenn Morris <rgm@gnu.org>
11167 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11168 (apropos-documentation): Doc fixes.
11170 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11172 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11173 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11175 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11177 * electric.el (electric-indent-post-self-insert-function): Make it
11178 possible for a char to only indent in some circumstances.
11179 (electric-indent-mode): Simplify.
11181 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11183 * window.el (windows-with-parameter): Remove unused function.
11184 (windows-at-side): Rename to window-at-side-list.
11185 (window-check, window-atom-check, window-atom-check-1)
11186 (window-side-check, window-size-ignore, window-size-fixed-1)
11187 (window-in-direction-2): Prefix with "window--".
11188 (window-tree-1): Rename to window--subtree, fix doc-string.
11190 2011-11-11 Glenn Morris <rgm@gnu.org>
11192 * subr.el (eval-after-load): If FILE is already loaded,
11193 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11195 2011-11-10 Glenn Morris <rgm@gnu.org>
11197 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11198 Call svn via vc-svn-command rather than vc-do-command.
11199 (vc-svn-command): Add --non-interactive. (Bug#9993)
11200 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11202 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11203 Add toggle-read-only. (Bug#7292)
11204 * files.el (toggle-read-only): Mention that it should only
11205 be used interactively. (Bug#10006)
11207 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11210 Adjust regexp for OCaml warnings.
11212 * electric.el (electric-pair-post-self-insert-function): Let user
11213 turn it off buffer-locally (bug#9932).
11215 * progmodes/python.el (python-beginning-of-statement):
11216 Rewrite (bug#2703).
11218 * progmodes/compile.el: Better handle TABs (bug#9749).
11219 (compilation-internal-error-properties)
11220 (compilation-next-error-function): Obey the target buffer's
11221 compilation-error-screen-columns.
11223 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11225 * progmodes/meta-mode.el: Remove obsolete comments.
11226 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11227 Fix typos in docstrings.
11229 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11231 * window.el (window-size-fixed-p): Rewrite doc-string.
11232 (window-resizable-p): Rename to window--resizable-p. Update callers.
11233 (window--resizable): New function. Make all callers of
11234 window-resizable call window--resizable instead.
11235 (window-resizable): Rewrite in terms of window--resizable.
11237 2011-11-08 Glenn Morris <rgm@gnu.org>
11239 * progmodes/delphi.el (delphi-mode-syntax-table):
11240 Let define-derived-mode define a proper syntax table. (Bug#9994)
11242 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * window.el: Stay away from defsubst.
11245 (window-list-no-nils): Remove.
11246 (window-state-get-1, window-state-get): Use backquote instead.
11248 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11250 * emacs-lisp/find-func.el (find-function-read):
11251 Fix incorrect use of default argument in `completing-read'.
11253 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11255 * window.el (display-buffer-function, special-display-function):
11256 Mention display-buffer-record-window but do not mention
11257 help-setup parameter in doc-strings.
11258 (window-min-delta): Fix doc-string typo.
11260 2011-11-08 Chong Yidong <cyd@gnu.org>
11262 * window.el (window-total-height, window-total-width): Doc fix.
11263 (window-body-size): Move from C.
11264 (window-body-height, window-body-width): Move to C.
11266 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11268 * window.el: Make special-display like display-buffer-alist (bug#9532).
11269 (display-buffer--special-action): New function, morphed
11270 from display-buffer--special.
11271 (display-buffer): Use it to handle special-display-buffers at higher
11272 priority (just after display-buffer-alist).
11273 (display-buffer-fallback-action, display-buffer--other-frame-action)
11274 (pop-to-buffer-same-window): Remove display-buffer--special.
11276 2011-11-07 Glenn Morris <rgm@gnu.org>
11278 * calendar/cal-menu.el (cal-menu-set-date-title):
11279 Do nothing if not in a calendar. (Bug#9976)
11281 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11283 * files.el (find-file): Always use selected-window.
11285 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11287 * window.el (window-combinations): Make WINDOW argument
11288 mandatory. Rewrite doc-string.
11289 (walk-window-subtree, window-atom-check, window-min-delta)
11290 (window-max-delta, window--resize-this-window)
11291 (window--resize-root-window-vertically, window-tree)
11292 (balance-windows, window-state-put): Rewrite doc-strings as to
11293 not mention the term "subwindow".
11294 (window--resize-subwindows-skip-p): Rename to
11295 window--resize-child-windows-skip-p.
11296 (window--resize-subwindows-normal): Rename to
11297 window--resize-child-windows-normal.
11298 (window--resize-subwindows): Rename to
11299 window--resize-child-windows.
11300 (window-or-subwindow-p): Rename to window--in-subtree-p.
11302 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11304 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11305 Ensure that mbox format messages end in two newlines (Bug#9974).
11307 2011-11-06 Chong Yidong <cyd@gnu.org>
11309 * window.el (window-combination-p): Function deleted; its
11310 side-effect is not used in any existing code.
11311 (window-combinations, window-combined-p): Call window-*-child
11314 2011-11-05 Chong Yidong <cyd@gnu.org>
11316 * window.el (window-valid-p): Rename from window-any-p.
11317 (window-size-ignore, window-state-get): Callers changed.
11318 (window-normalize-window): Rename from window-normalize-any-window.
11319 New arg LIVE-ONLY, replacing window-normalize-live-window.
11320 (window-normalize-live-window): Delete.
11321 (window-combination-p, window-combined-p, window-combinations)
11322 (walk-window-subtree, window-atom-root, window-min-size)
11323 (window-sizable, window-sizable-p, window-size-fixed-p)
11324 (window-min-delta, window-max-delta, window-resizable)
11325 (window-resizable-p, window-full-height-p, window-full-width-p)
11326 (window-current-scroll-bars, window-point-1, set-window-point-1)
11327 (window-at-side-p, window-in-direction, window-resize)
11328 (adjust-window-trailing-edge, maximize-window, minimize-window)
11329 (window-deletable-p, delete-window, delete-other-windows)
11330 (record-window-buffer, unrecord-window-buffer)
11331 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11332 (quit-window, split-window, window-state-put)
11333 (set-window-text-height, fit-window-to-buffer)
11334 (shrink-window-if-larger-than-buffer): Callers changed.
11336 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11338 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11339 rfc2047-decode-string.
11340 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11343 * window.el (window-body-height, window-body-width): Mention in
11344 the doc string that the return values are in frame's canonical
11347 2011-11-03 Alan Mackenzie <acm@muc.de>
11349 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11350 change in cc-engine.el.
11352 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11354 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11356 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11358 * window.el (quit-window): Call unrecord-window-buffer after
11359 showing another buffer in the window. (Bug#9937)
11360 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11362 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11364 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11365 Accept status with more than 9 shelves. (Bug#9935)
11366 Reported by Colin D Bennett <colin@gibibit.com>.
11368 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11370 * help.el (with-help-window): Don't reference
11371 temp-buffer-show-specifiers in doc-string.
11373 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11375 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11378 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11380 * whitespace.el: New version 13.2.2.
11381 (whitespace-newline-mode): Disable properly. Reported by Sarah
11384 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11386 * net/newst-treeview.el: Remove "Time-stamp".
11387 (newsticker--group-manage-orphan-feeds): Do not call
11388 newsticker--treeview-tree-update.
11389 (newsticker-treeview-update, newsticker-treeview):
11390 Call newsticker--treeview-tree-update if necessary.
11392 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11394 * window.el (window-iso-combination-p, window-iso-combined-p)
11395 (window-iso-combinations): Remove "iso-" infix.
11396 Suggested by Chong Yidong.
11397 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11398 (window-max-delta-1, window-resize, window--resize-siblings)
11399 (window--resize-this-window, adjust-window-trailing-edge)
11400 (split-window, balance-windows-1)
11401 (shrink-window-if-larger-than-buffer):
11402 * calendar/calendar.el (calendar-generate-window):
11403 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11405 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11408 in place (bug#9907).
11409 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11410 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11411 (eshell-structure-basic-command, eshell-rewrite-while-command)
11412 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11413 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11414 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11415 (eshell-do-pipelines-synchronously, eshell-eval-command):
11416 Use backquotes and prefer setq to set.
11417 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11418 (eshell-macrop): Use functionp.
11419 (eshell-do-eval): Handle multiple expressions in `while' body.
11421 2011-10-30 Chong Yidong <cyd@gnu.org>
11423 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11424 instead of set-mark (Bug#9810).
11426 2011-10-30 Chong Yidong <cyd@gnu.org>
11428 * window.el (split-window-below, split-window-right): Rename from
11429 split-window-above-each-other and split-window-side-by-side
11430 respectively. All callers changed.
11431 (split-window-sensibly, split-window-sensibly): Use them.
11432 (split-window-keep-point): Doc fix.
11434 * isearch.el: Add isearch-scroll property to split-window-below
11435 and split-window-right.
11437 * follow.el (follow-mode):
11438 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11439 * progmodes/ada-xref.el (ada-gdb-application):
11440 * emulation/vip.el (vip-buffer-in-two-windows):
11441 * image-dired.el (image-dired-dired-with-window-configuration):
11442 * dired-x.el (dired-do-find-marked-files):
11443 * dired.el (dired-pop-to-buffer):
11444 * bs.el (bs--show-with-configuration):
11445 * vc/emerge.el (emerge-setup-windows):
11446 * textmodes/two-column.el (2C-two-columns):
11447 * textmodes/reftex-toc.el (reftex-toc):
11448 * progmodes/gdb-mi.el (gdb-setup-windows):
11449 * progmodes/fortran.el (fortran-window-create):
11450 * net/newst-treeview.el (newsticker--treeview-window-init):
11451 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11452 * emulation/tpu-edt.el (tpu-gold-map):
11453 * emulation/crisp.el (crisp-mode-map):
11454 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11456 2011-10-29 Chong Yidong <cyd@gnu.org>
11458 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11460 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11462 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11463 forged Ispell output (Bug#7904).
11465 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11467 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11469 * doc-view.el: Avoid ugly errors about not finding nil.
11470 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11471 (doc-view-dvipdf-program, doc-view-unoconv-program)
11472 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11473 Avoid nil or absolute file name as default value.
11474 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11476 2011-10-28 Alan Mackenzie <acm@muc.de>
11478 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11480 2011-10-28 Alan Mackenzie <acm@muc.de>
11482 Amend the handling of c-beginning/end-of-defun in nested declaration
11485 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11486 cc-langs.el. Change it to a defcustom.
11488 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11491 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11492 Prevent "class foo : bar" being spuriously recognized as a label.
11494 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11495 Add parameter `inclusive' (to include enclosing braces in the region).
11496 (c-widen-to-enclosing-decl-scope): New function.
11497 (c-while-widening-to-decl-block): New macro.
11498 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11499 outward for defun boundaries, and correspondingly change symbol
11500 `respect-enclosure' to `go-outward'.
11501 (c-declaration-limits): Change algorithm to report only the "innermost"
11502 defun's boundaries.
11504 2011-10-28 Deniz Dogan <deniz@dogan.se>
11506 * net/rcirc.el (rcirc-mode): Use hard newlines.
11508 2011-10-28 Alan Mackenzie <acm@muc.de>
11510 Amend to indent and fontify macros "which include their own semicolon"
11511 correctly, using the "virtual semicolon" mechanism.
11513 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11515 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11516 Recode to scan one line at a time rather than having \n and \r
11517 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11518 (c-forward-label): Amend for virtual semicolons.
11519 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11521 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11522 of the new C macros.
11524 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11525 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11526 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11527 (c-opt-cpp-macro-define): Make into a full language variable.
11528 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11529 AWK Mode (including \n, \r) removed, no longer needed.
11531 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11532 Invoke c-make-macro-with-semi-re.
11534 * progmodes/cc-vars.el (c-macro-with-semi-re):
11535 (c-macro-names-with-semicolon): New variables.
11536 (c-make-macro-with-semi-re): New function.
11538 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11540 * vc/log-edit.el: Fill empty field rather than adding new one.
11541 (log-edit-add-field): New function.
11542 (log-edit-insert-changelog): Use it.
11544 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11546 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11548 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11550 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11551 (gdb--check-interpreter): New function.
11554 2011-10-27 Glenn Morris <rgm@gnu.org>
11556 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11557 (least-positive-float, least-negative-float)
11558 (least-positive-normalized-float, least-negative-normalized-float)
11559 (float-epsilon, float-negative-epsilon):
11560 Remove unnecessary declarations.
11562 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11563 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11564 (least-positive-float, least-negative-float)
11565 (least-positive-normalized-float, least-negative-normalized-float)
11566 (float-epsilon, float-negative-epsilon): Add doc-strings,
11567 based on those in cl.texi.
11569 * files.el (set-visited-file-name): If the major-mode changed,
11570 reload the local variables. (Bug#9796)
11572 2011-10-27 Chong Yidong <cyd@gnu.org>
11574 * subr.el (change-major-mode-after-body-hook): New hook.
11575 (run-mode-hooks): Run it.
11577 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11578 Use change-major-mode-before-body-hook.
11580 * simple.el (fundamental-mode):
11581 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11582 change introducing fundamental-mode-hook.
11584 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11586 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11588 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11590 * ido.el (ido-file-name-all-completions-1): Do not require
11591 tramp.el explicitly. (Bug#7583)
11593 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11595 * progmodes/octave-mod.el:
11596 * progmodes/octave-inf.el: Update maintainer.
11598 2011-10-26 Chong Yidong <cyd@gnu.org>
11600 * subr.el (with-wrapper-hook): Rewrite doc.
11602 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11604 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11605 filenames "/method:foo:". (Bug#9793)
11607 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11609 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11612 2011-10-24 Glenn Morris <rgm@gnu.org>
11614 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11616 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11618 * notifications.el: Add the requirement of a running D-Bus session
11619 bus to the Commentary.
11621 2011-10-24 Juri Linkov <juri@jurta.org>
11623 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11624 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11627 2011-10-24 Juri Linkov <juri@jurta.org>
11629 * info.el (Info-following-node-name-re): Add newline to the list
11630 of allowed characters for leading space. (Bug#9824)
11632 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11634 * progmodes/octave-inf.el (inferior-octave-mode-map):
11635 Fix C-c C-h binding.
11636 * progmodes/octave-mod.el (octave-help): Remove.
11638 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11640 Sync with Tramp 2.2.3.
11642 * net/tramp-cache.el (top): Pacify byte-compiler using
11643 `init-file-user' and `site-run-file'.
11645 * net/trampver.el: Update release number.
11647 2011-10-23 Chong Yidong <cyd@gnu.org>
11649 * files.el (toggle-read-only): Remove obsolete comment about
11652 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11653 for toggle-read-only. Note that this hasn't called vc-next-action
11654 since 2008-05-02, though it wasn't documented at the time.
11656 * vc/ediff-init.el (ediff-toggle-read-only-function):
11657 Use toggle-read-only.
11659 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11661 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11664 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11665 correct faulty logical expression.
11666 (c-parse-state-state, c-record-parse-state-state):
11667 (c-replay-parse-state-state): New defvar/defuns.
11668 (c-debug-parse-state): Use new functions.
11670 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11672 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11673 last fix. Use window-in-direction correctly.
11675 2011-10-21 Chong Yidong <cyd@gnu.org>
11677 * progmodes/idlwave.el (idlwave-mode):
11678 * progmodes/vera-mode.el (vera-mode): No need to set
11679 require-final-newline; that's done in prog-mode.
11680 Suggested by Stefan Monnier.
11682 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11684 * mouse.el (mouse-drag-window-above)
11685 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11686 (mouse-drag-mode-line-1, mouse-drag-header-line)
11687 (mouse-drag-vertical-line-rightward-window): Remove.
11688 (mouse-drag-line): New function.
11689 (mouse-drag-mode-line, mouse-drag-header-line)
11690 (mouse-drag-vertical-line): Call mouse-drag-line.
11691 * window.el (window-at-side-p, windows-at-side): New functions.
11693 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11695 * tar-mode.el (tar-grind-file-mode):
11696 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11698 2011-10-21 Chong Yidong <cyd@gnu.org>
11700 * progmodes/idlwave.el (idlwave-mode):
11701 * progmodes/vera-mode.el (vera-mode):
11702 Use mode-require-final-newline.
11704 2011-10-20 Glenn Morris <rgm@gnu.org>
11706 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11708 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11710 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11712 2011-10-20 Chong Yidong <cyd@gnu.org>
11714 * emulation/cua-base.el (cua-mode):
11715 * mail/footnote.el (footnote-mode):
11716 * mail/mailabbrev.el (mail-abbrevs-mode):
11717 * net/xesam.el (xesam-minor-mode):
11718 * progmodes/bug-reference.el (bug-reference-mode):
11719 * progmodes/cap-words.el (capitalized-words-mode):
11720 * progmodes/compile.el (compilation-minor-mode)
11721 (compilation-shell-minor-mode):
11722 * progmodes/gud.el (gud-tooltip-mode):
11723 * progmodes/hideif.el (hide-ifdef-mode):
11724 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11725 * progmodes/subword.el (subword-mode):
11726 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11727 * progmodes/which-func.el (which-function-mode):
11728 * term/tvi970.el (tvi970-set-keypad-mode):
11729 * term/vt100.el (vt100-wide-mode):
11730 * textmodes/flyspell.el (flyspell-mode):
11731 * textmodes/ispell.el (ispell-minor-mode):
11732 * textmodes/nroff-mode.el (nroff-electric-mode):
11733 * textmodes/paragraphs.el (use-hard-newlines):
11734 * textmodes/refill.el (refill-mode):
11735 * textmodes/reftex.el (reftex-mode):
11736 * textmodes/rst.el (rst-minor-mode):
11737 * textmodes/sgml-mode.el (html-autoview-mode)
11738 (sgml-electric-tag-pair-mode):
11739 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11740 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11741 * emulation/crisp.el (crisp-mode):
11742 * emacs-lisp/eldoc.el (eldoc-mode):
11743 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11744 minor mode behavior.
11746 2011-10-19 Juri Linkov <juri@jurta.org>
11748 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11749 the list of hard-coded chars with escape-glyph face.
11751 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11753 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11755 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11757 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11760 2011-10-19 Glenn Morris <rgm@gnu.org>
11762 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11763 Ignore ignored files. (Bug#9726)
11765 2011-10-19 Chong Yidong <cyd@gnu.org>
11767 Doc fix for minor modes, stating that an omitted argument enables
11768 the mode unconditionally when called from Lisp.
11770 * abbrev.el (abbrev-mode):
11771 * allout.el (allout-mode):
11772 * autoinsert.el (auto-insert-mode):
11773 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11774 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11775 (global-auto-revert-mode):
11776 * battery.el (display-battery-mode):
11777 * composite.el (global-auto-composition-mode)
11778 (auto-composition-mode):
11779 * delsel.el (delete-selection-mode):
11780 * desktop.el (desktop-save-mode):
11781 * dired-x.el (dired-omit-mode):
11782 * dirtrack.el (dirtrack-mode):
11783 * doc-view.el (doc-view-minor-mode):
11784 * double.el (double-mode):
11785 * electric.el (electric-indent-mode, electric-pair-mode):
11786 * emacs-lock.el (emacs-lock-mode):
11787 * epa-hook.el (auto-encryption-mode):
11788 * follow.el (follow-mode):
11789 * font-core.el (font-lock-mode):
11790 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11791 * help.el (temp-buffer-resize-mode):
11792 * hilit-chg.el (highlight-changes-mode)
11793 (highlight-changes-visible-mode):
11794 * hi-lock.el (hi-lock-mode):
11795 * hl-line.el (hl-line-mode, global-hl-line-mode):
11796 * icomplete.el (icomplete-mode):
11797 * ido.el (ido-everywhere):
11798 * image-file.el (auto-image-file-mode):
11799 * image-mode.el (image-minor-mode):
11800 * iswitchb.el (iswitchb-mode):
11801 * jka-cmpr-hook.el (auto-compression-mode):
11802 * linum.el (linum-mode):
11803 * longlines.el (longlines-mode):
11804 * master.el (master-mode):
11805 * mb-depth.el (minibuffer-depth-indicate-mode):
11806 * menu-bar.el (menu-bar-mode):
11807 * minibuf-eldef.el (minibuffer-electric-default-mode):
11808 * mouse-sel.el (mouse-sel-mode):
11809 * msb.el (msb-mode):
11810 * mwheel.el (mouse-wheel-mode):
11811 * outline.el (outline-minor-mode):
11812 * paren.el (show-paren-mode):
11813 * recentf.el (recentf-mode):
11814 * reveal.el (reveal-mode, global-reveal-mode):
11815 * rfn-eshadow.el (file-name-shadow-mode):
11816 * ruler-mode.el (ruler-mode):
11817 * savehist.el (savehist-mode):
11818 * scroll-all.el (scroll-all-mode):
11819 * scroll-bar.el (scroll-bar-mode):
11820 * server.el (server-mode):
11821 * shell.el (shell-dirtrack-mode):
11822 * simple.el (auto-fill-mode, transient-mark-mode)
11823 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11824 (line-number-mode, column-number-mode, size-indication-mode)
11825 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11826 * strokes.el (strokes-mode):
11827 * time.el (display-time-mode):
11828 * t-mouse.el (gpm-mouse-mode):
11829 * tool-bar.el (tool-bar-mode):
11830 * tooltip.el (tooltip-mode):
11831 * type-break.el (type-break-mode-line-message-mode)
11832 (type-break-query-mode):
11833 * view.el (view-mode):
11834 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11835 (global-whitespace-mode, global-whitespace-newline-mode):
11836 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11838 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11839 Fix autogenerated docstring.
11841 2011-10-19 Juri Linkov <juri@jurta.org>
11843 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11844 by checking environment variables "DESKTOP_SESSION" and
11845 "XDG_CURRENT_DESKTOP". (Bug#9779)
11847 2011-10-19 Juri Linkov <juri@jurta.org>
11849 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11850 (browse-url-chromium-program, browse-url-chromium-arguments):
11852 (browse-url-default-browser): Check for `browse-url-chromium' and
11853 call `browse-url-chromium-program'.
11854 (browse-url-chromium): New command. (Bug#9779)
11856 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11858 * facemenu.el (list-colors-duplicates): On Windows, detect more
11859 duplicates by assuming that only colors matching "^System" are
11860 special "system colors". (Bug#9722)
11862 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11864 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11865 to distinguish the author from the committer.
11867 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11869 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11871 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11873 * international/mule.el (sgml-html-meta-auto-coding-function):
11874 Add support for detecting encoding in HTML5 specified only as
11875 <meta charset="UTF-8">. Implementation just makes http-equiv and
11876 content-type parts from HTML4 encoding string optional. (Bug#9716)
11878 2011-10-18 Glenn Morris <rgm@gnu.org>
11880 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11882 2011-10-18 Chong Yidong <cyd@gnu.org>
11884 * faces.el (cursor): Doc fix.
11886 2011-10-17 Chong Yidong <cyd@gnu.org>
11888 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11890 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11892 * dirtrack.el (dirtrack): Support shell buffers with path
11893 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11895 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11897 * json.el: Bump version to 1.3 and note change in History.
11898 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11900 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11902 * comint.el (comint-insert-input, comint-send-input)
11903 (comint-get-old-input-default, comint-backward-matching-input)
11904 (comint-next-prompt): Use nil instead of `input' for field property of
11905 past user input (bug#114).
11907 * minibuffer.el (completion--replace): Inherit surrounding properties
11909 (minibuffer-complete-and-exit): Use it.
11911 * comint.el (comint--table-subvert): Quote the all-completions output
11914 2011-10-17 Martin Rudalics <rudalics@gmx.at>
11916 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11918 * menu-bar.el (menu-bar-file-menu): Add entry for making new
11919 window on right of selected. (Bug#9350) Reword other window
11920 entries and separate them from frame entries.
11922 2011-10-15 Glenn Morris <rgm@gnu.org>
11924 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11927 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
11929 * net/network-stream.el (network-stream-open-starttls):
11930 Improve detection of failure due to lack of TLS support.
11932 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11933 putting the input text in front and in bold.
11935 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11939 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11942 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11943 unread-command-events rather than pushing yet-another event.
11945 2011-10-14 Eli Zaretskii <eliz@gnu.org>
11947 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11948 the explanation of the possible choices. Make the options passed
11949 to completing-read shorter.
11951 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11953 * textmodes/flyspell.el (flyspell-large-region): Make sure
11954 extended character mode is used if defined (Bug#1339).
11956 2011-10-13 Eli Zaretskii <eliz@gnu.org>
11958 * simple.el (what-cursor-position): Fix the display of the
11959 character info for LRE, LRO, RLE, and RLO characters by appending
11962 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11964 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11965 even in case of error; add debug spec; simplify data flow.
11966 (with-timeout-handler): Remove.
11968 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
11970 Fix Bug#6019, Bug#9315.
11972 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11973 complete `buffer-file-name', the local file name part could look
11974 remotely (for example on VMS).
11976 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11977 `tramp-run-real-handler'.
11978 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11979 already quoted by '"'.
11981 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11982 Let `file-name-handler-alist' be nil, the local file name part
11983 could look remotely (for example on VMS).
11985 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11987 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11989 (flyspell-post-command-hook): ...to here.
11991 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11993 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11995 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11996 using completion. Protect against "slow" callers.
11997 Remove the "message hack".
11999 2011-10-11 Juri Linkov <juri@jurta.org>
12001 * isearch.el (isearch-lazy-highlight-word): New variable.
12002 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12005 2011-10-11 Glenn Morris <rgm@gnu.org>
12007 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12008 like f90-previous-statement does.
12010 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12012 * eshell/eshell.el (eshell-command): History should be saved
12013 only in interactive use, to avoid error.
12015 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12017 * minibuffer.el (completion-file-name-table): Fix last change,
12018 i.e. ignore normal errors but not the other ones.
12020 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12022 * window.el (special-display-buffer-names)
12023 (special-display-regexps): Remove some remnants of earlier
12024 changes from doc-strings.
12025 (quit-windows-on): New function.
12027 * vc/vc.el (vc-revert, vc-rollback):
12028 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12029 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12030 (Bug#6183) (Bug#7074) (Bug#7447)
12032 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12034 * window.el (frame-auto-hide-function): Add version tag.
12037 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12039 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12042 2011-10-09 Leo Liu <sdl.web@gmail.com>
12044 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12047 2011-10-08 Glenn Morris <rgm@gnu.org>
12049 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12050 before the first code statement zero indent. (Bug#9690)
12052 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12054 * simple.el (count-words-region): Always count in the region.
12055 Report the number of lines and characters too.
12056 (count-words): New command, which counts in the buffer if the
12057 region is inactive, as count-words-region used to.
12058 (count-words--message): New function. Handle plurals.
12059 (count-lines-region): Make it an alias for count-words-region.
12061 * bindings.el (esc-map): Replace count-lines-region with
12062 count-words-region.
12064 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12066 * window.el (window--delete): Delete dedicated frame
12067 unconditionally when argument KILL is non-nil. (Bug#9699)
12068 (switch-to-buffer): Fix doc-string typo.
12070 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12072 * eshell/eshell.el (eshell-command): Avoid using hooks.
12074 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12076 * bindings.el ([M-left],[M-right]): Bind to left-word and
12077 right-word respectively.
12079 2011-10-07 Glenn Morris <rgm@gnu.org>
12081 * cus-start.el (debug-on-quit): Fix custom type.
12083 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12085 * subr.el (define-key-after): Clarify that the function is not
12086 useful for non-menu keymaps.
12088 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12090 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12092 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12093 in current minibuffer (Fix bug with recursive minibuffers).
12095 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12097 * progmodes/gdb-mi.el (gdb): Doc fix.
12099 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12101 * window.el (frame-auto-hide-function): New option replacing
12102 frame-auto-delete. Suggested by Stefan Monnier.
12103 (window--delete): Call frame-auto-hide-function instead of
12104 investigating frame-auto-delete.
12105 (window-point-1, set-window-point-1): New functions.
12106 (window-in-direction, record-window-buffer, window-state-get-1)
12107 (display-buffer-record-window): Use window-point-1 instead of
12109 (set-window-buffer-start-and-point): Use set-window-point-1.
12111 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12113 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12115 2011-10-05 Glenn Morris <rgm@gnu.org>
12117 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12118 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12120 2011-10-05 Leo Liu <sdl.web@gmail.com>
12122 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12123 works with buffer object.
12125 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * mpc.el (mpc-tool-bar-map): Add labels.
12129 2011-10-04 Glenn Morris <rgm@gnu.org>
12131 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12133 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12135 * window.el (window--delete): New function.
12136 (frame-auto-delete): Resuscitate option.
12137 (bury-buffer, replace-buffer-in-windows)
12138 (quit-window): Rewrite using window--delete.
12139 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12140 Pass display-buffer-mark-dedicated to window--display-buffer-2
12143 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12145 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12146 returns a list (bug#9554). Add remote file name completion.
12147 * comint.el (comint--table-subvert): Curry and get quote&unquote
12148 functions as arguments.
12149 (comint--complete-file-name-data): Adjust call accordingly.
12150 * pcomplete.el (pcomplete--table-subvert): Remove.
12151 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12153 * minibuffer.el (completion-table-case-fold): Use currying.
12154 (completion--styles-type, completion--cycling-threshold-type):
12156 (completion-styles, completion-category-overrides)
12157 (completion-cycle-threshold): Use them.
12158 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12159 completion-table-case-fold.
12161 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12163 * minibuffer.el (completion-category-overrides): Fix type of styles
12164 and add more user friendly tags (bug#9660).
12166 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12168 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12169 (mule-input-method-string): New widget.
12170 (default-input-method, language-info-custom-alist): Use it.
12172 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12174 * pcomplete.el: Require comint.
12175 (pcomplete--common-suffix): Remove.
12176 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12177 (pcomplete--table-subvert): Sync with comint--table-subvert.
12178 (pcomplete--entries): Use comint-completion-file-name-table.
12179 * comint.el (comint-unquote-filename): Simplify.
12180 (comint-completion-file-name-table): New function (bug#9616).
12181 (comint--complete-file-name-data): Use it.
12183 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12184 (pcmpl-gnu-tar-buffer): Remove.
12185 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12186 around. Make sure pcomplete-suffix-list is only changed temporarily.
12187 Don't look inside the tar's file if it's too large.
12189 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12191 * cus-edit.el (custom-mode-map):
12192 * epa.el (epa-key-list-mode-map):
12193 * man.el (Man-mode-map):
12194 * startup.el (splash-screen-keymap):
12195 * simple.el (special-mode-map): Use scroll-up-command and
12196 scroll-down-command.
12198 * progmodes/idlw-help.el (idlwave-help-mode-map):
12199 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12200 * net/newst-plainview.el (newsticker-mode-map):
12201 * emulation/ws-mode.el (wordstar-mode-map):
12202 * emulation/vi.el (vi-com-map):
12203 * calc/calc-graph.el (calc-graph-show-dumb):
12204 * term/sun.el (terminal-init-sun):
12205 * term/ns-win.el (global-map):
12206 * progmodes/grep.el (grep-mode-map):
12207 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12208 * mail/rmail.el (rmail-mode-map):
12209 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12211 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12212 custom-safe-themes as special.
12214 2011-10-01 Julien Danjou <julien@danjou.info>
12216 * notifications.el (notifications-notify): Fix docstring.
12218 2011-10-01 Per Starbäck <per@starback.se>
12220 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12222 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12224 * startup.el (command-line-1): Fix last fix by inserting
12225 initial-scratch-message into *scratch* before displaying it.
12226 (Bug#9605) and (Bug#9636)
12228 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12230 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12231 window is hscrolled, move by logical lines. (Bug#9607)
12232 (line-move-visual): Update the doc string to the above effect.
12234 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12236 * window.el (display-buffer-record-window): When WINDOW is the
12237 selected window use `point' instead of `window-point'. (Bug#9626)
12239 * startup.el (command-line-1): Use insert-before-markers when
12240 inserting initial-scratch-message. (Bug#9605)
12242 * help.el (help-window): Remove variable.
12244 2011-09-29 Glenn Morris <rgm@gnu.org>
12246 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12248 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12250 * descr-text.el (describe-char-categories): Accept category
12251 descriptions more than one line long.
12253 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12255 * simple.el (delete-trailing-whitespace): Fix last change.
12257 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12258 Don't confuse "y => 3" as the beginning of a `y' operation.
12260 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12261 object has more than 4 slots (bug#9613).
12263 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12265 * subr.el (with-output-to-temp-buffer):
12266 * net/quickurl.el (quickurl, quickurl-browse-url):
12267 Fix typos in docstrings.
12269 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12271 * minibuffer.el (completion-styles)
12272 (completion-category-overrides): Cross reference each other in doc
12275 2011-09-27 Glenn Morris <rgm@gnu.org>
12277 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12278 to split-string. (Bug#9606)
12280 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12282 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12285 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12287 * emacs-lisp/package.el (list-packages): Fix echo area message.
12289 2011-09-27 Leo Liu <sdl.web@gmail.com>
12291 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12293 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12295 * net/dbus.el (dbus-unregister-object): Don't release services for
12296 registered signals. (Bug#9581)
12298 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12300 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12301 function that picks between cfengine 2 and 3 support
12302 automatically. Update docs accordingly.
12304 2011-09-22 Kenichi Handa <handa@m17n.org>
12306 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12308 (indian-itrans-v5-table-for-tamil): New variable.
12309 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12311 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12313 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12314 that's true if the current command involved collapsing of text.
12315 It's reset to false at the beginning of the next command.
12316 (allout-post-command-business): Move the cursor to the beginning
12317 of entry if the cursor is hidden and collapsing activity just
12320 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12322 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12323 tracking (Bug#9541).
12325 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12327 * net/newst-reader.el (newsticker-html-renderer)
12328 (newsticker-show-news): Automatically load html rendering package
12329 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12330 because w3m-fill-column is let-bound" and the error "Symbol's value
12331 as variable is void: w3m-fill-column".
12333 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12335 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12336 Release services only if they are defined. (Bug#9581)
12338 2011-09-23 Richard Stallman <rms@gnu.org>
12340 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12341 distinguish start of paragraph from start of its text.
12343 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12345 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12346 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12347 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12349 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12351 * international/mule-diag.el (mule-diag): Insert a newline after
12352 each fontset description.
12354 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12356 * simple.el (delete-trailing-whitespace):
12357 Document last change; simplify.
12359 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12361 * simple.el (delete-trailing-whitespace): Also delete
12362 extra newlines at the end of the buffer.
12364 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12365 (picture-newline): Use forward-line so as to ignore fields.
12367 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12369 * subr.el (with-wrapper-hook): Fix edebug spec.
12371 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12373 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12376 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12378 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12379 Fix nasty bug using wrong cached values.
12381 2011-09-23 Alan Mackenzie <acm@muc.de>
12383 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12385 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12387 * window.el (pop-to-buffer): Ensure right window is selected if we
12388 chose another frame.
12390 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12392 * simple.el (what-cursor-position): Use get-char-property-change
12393 and next-single-char-property-change, to be able to show display
12394 properties that come from overlays as well as text properties.
12396 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12398 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12400 * cmuscheme.el (run-scheme, switch-to-scheme):
12401 * cus-edit.el (customize-group, custom-buffer-create)
12402 (customize-browse):
12404 * shell.el (shell):
12405 * mail/sendmail.el (mail):
12406 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12408 2011-09-22 Richard Stallman <rms@gnu.org>
12410 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12411 move back only to line beg, don't move back over blank lines.
12413 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12415 * files.el (copy-directory): Set directory attributes only in case
12416 they could be retrieved from the source directory. (Bug#9565)
12418 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12420 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12421 (hs-find-block-beginning, hs-hide-level-recursive):
12422 Ignore strings as well as comments. (Bug#9502)
12424 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12426 * progmodes/sql.el (sql-comint-postgres):
12427 Convert port number to a string. (Bug#9566)
12429 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12431 * window.el (quit-window): Undedicate window when switching to
12432 previous buffer. Reported by Thierry Volpiatto
12433 <thierry.volpiatto@gmail.com>.
12434 (special-display-popup-frame): When popping up a new frame reset
12435 its previous buffers to nil. Simplify code.
12437 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12439 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12440 and process filter, as done also in `shell-command'.
12442 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12444 * window.el (set-window-buffer-start-and-point):
12445 Call set-window-start with NOFORCE argument t.
12446 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12447 (quit-window): Reword doc-string. Handle new format of
12448 quit-restore parameter. Don't delete window if it has a
12449 previous buffer we can show instead of the present one.
12450 (display-buffer-record-window): Rewrite using a new format for
12451 the quit-restore window parameter
12452 (special-display-popup-frame, display-buffer-same-window)
12453 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12454 (display-buffer-pop-up-window, display-buffer-use-some-window):
12455 Adapt symbol passed to display-buffer-record-window.
12456 * help.el (help-window-setup): Handle new format of quit-restore
12459 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12461 * faces.el (face-list): Fix docstring (bug#9564).
12463 * window.el (display-buffer--action-function-custom-type):
12464 Don't include internal functions in the Custom interface.
12466 2011-09-20 Juri Linkov <juri@jurta.org>
12468 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12469 (Info-forward-node, Info-backward-node, Info-next-preorder)
12470 (Info-last-preorder): Use it. (Bug#9528)
12472 2011-09-20 Juri Linkov <juri@jurta.org>
12474 * info.el (Info-last-preorder): Visit last menu item only when
12475 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12477 2011-09-20 Julien Danjou <julien@danjou.info>
12479 * password-cache.el (password-cache-remove): Remove entries even if the
12480 value is nil, so that password with a nil value (negative caching) is
12481 possible to invalidate.
12483 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12485 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12486 all whitespace around breakpoint. (Bug#9553)
12487 (f90-find-breakpoint): Only break at whitespace inside a comment.
12489 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12491 * minibuffer.el (completion-file-name-table): Keep track of errors.
12492 (completion-table-with-predicate): Handle the case where pred1 is nil.
12493 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12495 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12497 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12498 (debugger-return-value): Signal an error if the debugging context does
12499 not await any return value.
12501 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12502 * image-mode.el (image-toggle-display-text)
12503 (image-toggle-display-image): Stay away from evil `intangible'.
12505 2011-09-19 Leo Liu <sdl.web@gmail.com>
12507 * replace.el (occur-revert-arguments): Make it permanent-local.
12508 (occur-mode): Don't call font-lock-defontify.
12510 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12512 * net/ldap.el (ldap-search-internal): Don't push empty search
12515 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12517 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12519 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12521 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12522 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12524 2011-09-18 Juri Linkov <juri@jurta.org>
12526 * buff-menu.el (Buffer-menu-mode-map):
12527 * dired.el (dired-mode-map):
12528 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12529 (lisp-interaction-mode-map):
12530 * emacs-lisp/package.el (package-menu-mode-map):
12531 * epa.el (epa-key-list-mode-map):
12532 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12533 (menu-bar-options-menu):
12534 * outline.el (outline-mode-menu-bar-map):
12535 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12536 * vc/vc-dir.el (vc-dir-menu-map):
12537 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12538 Capitalize non-function content words in menu item strings.
12540 * dired.el (dired-mode-map): Add menu item for
12541 `image-dired-dired-toggle-marked-thumbs'.
12543 2011-09-18 Juri Linkov <juri@jurta.org>
12545 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12546 to `isearch-case-fold-search' and restore its original value
12547 after the `isearch-mode' call.
12549 2011-09-18 Juri Linkov <juri@jurta.org>
12551 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12552 because `zgrep' returns 1 for successful matches (bug#9226).
12554 2011-09-18 Juri Linkov <juri@jurta.org>
12556 * info.el (Info-extract-menu-node-name): Check the second match
12557 for empty string (second test-case of bug#9528).
12558 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12559 intermediate nodes to the history (first test-case of bug#9528).
12561 2011-09-18 Juri Linkov <juri@jurta.org>
12563 * info.el (Info-mode-syntax-table): New variable.
12564 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12566 2011-09-18 Juri Linkov <juri@jurta.org>
12568 * info.el (Info-file-supports-index-cookies):
12569 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12570 outputs one more line for long file names (bug#4142).
12572 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12574 * newcomment.el (comment-normalize-vars): If prompting for
12575 comment-start, set comment-start-skip too (Bug#8424).
12577 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12579 * icomplete.el: Fix previous fix of Bug#5849.
12580 (icomplete-mode): Don't set completion-show-inline-help.
12581 (icomplete-minibuffer-setup): Set completion-show-inline-help
12582 locally during icompletion.
12584 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12586 * woman.el (woman2-process-escapes): Don't delete unrecognized
12587 escapes (Bug#7843).
12589 * files.el (inhibit-first-line-modes-regexps): Add image files.
12590 (hack-local-variables-prop-line): Return nil for malformed
12591 prop-lines (Bug#9044).
12593 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12595 * net/tramp.el (top): Don't require 'shell.
12596 (tramp-methods): Fix docstring.
12597 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12598 Return complete remote file name. Handle "smb" case.
12599 Use `tramp-tmpdir', if defined for the respective method.
12600 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12602 * net/tramp-compat.el (top): Require 'shell.
12604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12605 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12606 `tramp-current-host'.
12607 (tramp-get-remote-tmpdir): Remove.
12609 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12610 `tramp-tmpdir' entries.
12611 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12612 (tramp-smb-handle-file-attributes): Ignore errors.
12613 (tramp-smb-wait-for-output): Check also for process end.
12615 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12617 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12618 when sending QUIT (bug#9312).
12620 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12622 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12623 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12624 occur-mode-display-occurrence.
12625 (occur-edit-mode): Add usage message.
12626 (occur-cease-edit): New command.
12627 (occur-after-change-function): Use text properties to find the
12628 position of the prefix text.
12629 (occur-engine): Set stickiness of prefix text properties.
12631 2011-09-17 Glenn Morris <rgm@gnu.org>
12633 * progmodes/etags.el (complete-tag):
12634 Fix call to completion-in-region. (Bug#9526)
12636 2011-09-17 Juri Linkov <juri@jurta.org>
12638 * textmodes/ispell.el (ispell-word): Add to the error message
12639 the word, ispell program name and current dictionary (bug#9121).
12640 (ispell-tex-arg-end): Capitalize "error" in the error message.
12642 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12644 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12647 2011-09-17 Juri Linkov <juri@jurta.org>
12649 * window.el (window-safe-min-height, window-safe-min-width):
12650 Fix typos (followup to bug#9522).
12652 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12654 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12656 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12658 * simple.el (line-move): If goal-column is set, move by logical
12659 lines, not by display lines. (Bug#971)
12660 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12661 to reflect the above change.
12663 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12665 * image.el (imagemagick-register-types): Use regexp-opt.
12667 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12669 * window.el (display-buffer-base-action): Rename from
12670 display-buffer-default-action. Make default value empty.
12671 (display-buffer-overriding-action): Convert to defvar.
12672 (display-buffer-fallback-action): New var.
12674 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12676 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12678 (package--add-to-archive-contents): If there is a duplicate entry
12679 with an older version, remove it.
12680 (package-menu-mark-delete, package-menu-mark-install)
12681 (package-menu-mark-unmark): Make unused args optional.
12682 (package-menu-mark-obsolete-for-deletion):
12683 Use package-menu-get-status instead of a regexp search.
12684 (package-menu-get-status): Use tabulated-list-entry.
12685 (package-menu-mark-upgrades): New command.
12686 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12687 (package-menu-execute): Do installation before deletion.
12688 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12689 instead of checking major-mode.
12690 (package-menu--find-upgrades): New function.
12692 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12694 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12695 passwords in the log buffer.
12696 (smtpmail-process-filter): Update the process marker so that the
12697 "broken by peer" status message is inserted in the right place.
12699 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12701 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12702 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12703 bibtex-completion-at-point-function.
12704 (bibtex-completion-at-point-function): Use them.
12706 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12708 * mpc.el (mpc-constraints-tag-lookup): New function.
12709 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12710 also to browser "album|playlist".
12712 2011-09-14 Juri Linkov <juri@jurta.org>
12714 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12715 (isearch-edit-string): Use length of `isearch-string' when
12716 `isearch-fail-pos' returns nil.
12717 (isearch-message): Remove duplicate code and call
12718 `isearch-fail-pos' with arg `t'.
12720 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12722 * replace.el (occur-mode-goto-occurrence): Don't force using other
12725 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12727 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12729 * window.el (display-buffer-window): Remove.
12730 (display-buffer-record-window): Use help-setup window parameter
12731 instead of variable display-buffer-window.
12732 (display-buffer-function, special-display-buffer-names)
12733 (special-display-function): Mention help-setup parameter instead
12734 of display-buffer-window in doc-string.
12735 * help.el (help-window-setup): New argument help-window.
12736 Use help-window-setup parameter instead of display-buffer-window.
12737 Reword some messages.
12738 (with-help-window): Pass window used for displaying the buffer
12739 to help-window-setup. Don't set display-buffer-window.
12741 2011-09-13 Glenn Morris <rgm@gnu.org>
12743 * emacs-lisp/debug.el (debugger-make-xrefs):
12744 Preserve point. (Bug#9462)
12746 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12748 * window.el (window-deletable-p): Use next-frame.
12750 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12752 * window.el (window-auto-delete): Remove.
12753 (window-deletable-p): Remove argument FORCE. Don't deal with
12754 dedication and previous buffers.
12755 (switch-to-prev-buffer): Don't delete window.
12756 (delete-windows-on): Delete a window's frame if and only if the
12757 window is dedicated.
12758 (replace-buffer-in-windows): Delete buffer's window or frame if
12759 and only if window is dedicated.
12760 (quit-window): Handle quit-restore as before last change.
12761 (bury-buffer): Delete window only if window-deletable-p returns t.
12763 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12765 * window.el (window-deletable-p): Never delete the last frame on a
12768 2011-09-13 Glenn Morris <rgm@gnu.org>
12770 * help.el (describe-key-briefly): Copy previous standard-output change.
12772 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12774 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12776 2011-09-13 Glenn Morris <rgm@gnu.org>
12778 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12779 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12781 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12783 * dired-aux.el (dired-mark-read-string): Don't return default
12784 value on empty input (Bug#9361).
12785 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12786 Omit initial minibuffer contents.
12787 (dired-do-chmod): Signal an error on empty input.
12788 (dired-mark-read-string): Don't return default on empty input.
12790 * files.el (file-modes-symbolic-to-number): Doc fix.
12792 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12794 * international/mule-cmds.el (ucs-completions): Remove.
12795 (read-char-by-name): Use complete-with-action instead; add metadata.
12797 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12799 * window.el (display-buffer--action-function-custom-type)
12800 (display-buffer--action-custom-type): New vars.
12801 (display-buffer-alist, display-buffer-default-action)
12802 (display-buffer-overriding-action): Add defcustom types.
12804 * frame.el (delete-other-frames): Doc fix (Bug#276).
12806 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12808 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12810 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12812 Change modes that used same-window-* vars to use switch-to-buffer.
12814 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12815 Use switch-to-buffer.
12817 * cus-edit.el (customize-group, custom-buffer-create)
12818 (customize-browse, custom-buffer-create-other-window):
12819 Use switch-to-buffer or switch-to-buffer-other-window.
12821 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12822 (Info-prev, Info-up, Info-speedbar-goto-node)
12823 (info-display-manual): Use switch-to-buffer.
12824 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12826 * mail/sendmail.el (mail): Use switch-to-buffer.
12827 (mail-recover): Use switch-to-buffer-other-window.
12829 * cmuscheme.el (run-scheme, switch-to-scheme):
12831 * shell.el (shell):
12832 * net/rlogin.el (rlogin):
12833 * net/telnet.el (telnet, rsh):
12834 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12836 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12838 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12840 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12842 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12843 so don't mention it (bug#9301).
12844 (dired-sort-toggle-or-edit): Clarify string further.
12846 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12847 match `x', `w32' and `ns', like the manual says (bug#9029).
12849 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12850 (process-kill-buffer-query-function): Mention the buffer name in
12853 * image-mode.el (image-next-line): The line parameter is mandatory
12856 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12857 which can be useful (bug#9301).
12859 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12861 * subr.el (match-string): Mention that the current buffer should
12862 be the same as the search was done in (bug#9282).
12864 * facemenu.el: Disable the remove-* commands if the mark isn't
12867 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12869 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12871 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12873 * replace.el (occur-mode-goto-occurrence)
12874 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12875 and display-buffer.
12877 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12880 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12881 special-display and same-window variables.
12882 (mail-other-window): Use switch-to-buffer-other-window.
12883 (mail-other-frame): USe switch-to-buffer-other-frame.
12885 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12886 Use display-buffer-other-frame.
12887 (gdb-display-gdb-buffer): Use pop-to-buffer.
12889 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12891 * progmodes/python.el: Don't set same-window-buffer-names.
12893 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12895 * window.el (display-buffer-alist): Add *Python*.
12897 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12899 * window.el (display-buffer-alist): Add entry for buffers
12900 previously handled same-window-*.
12901 (display-buffer-alist, display-buffer-default-action)
12902 (display-buffer-overriding-action): Mark as risky.
12903 (display-buffer-alist): Document action function changes.
12904 (display-buffer--same-window-action)
12905 (display-buffer--other-frame-action): New variables.
12906 (switch-to-buffer, display-buffer-other-frame): Use them.
12907 (display-buffer): Rename reuse-frame entry to reusable-frames.
12908 (display-buffer-reuse-selected-window): Function deleted.
12909 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12910 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12911 (display-buffer-special): New function.
12912 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12913 display-buffer-reuse-or-pop-window. Split off special-display
12914 part into display-buffer-special.
12915 (display-buffer-use-some-window): Don't perform any special
12916 pop-up-frames handling.
12917 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12918 (display-buffer--maybe-same-window): Rename from
12919 display-buffer-maybe-same-window.
12921 * info.el: Don't set same-window-regexps.
12922 (info-setup): New function.
12923 (info-other-window, info): Call it.
12925 * cus-edit.el: Don't set same-window-regexps.
12926 (customize-group): New argument.
12927 (customize-group-other-window): Use it.
12928 (customize-face, customize-face-other-window): Likewise.
12929 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12933 * progmodes/gud.el: Don't set same-window-regexps.
12938 * mail/sendmail.el:
12939 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12941 2011-09-10 Juri Linkov <juri@jurta.org>
12943 * isearch.el (isearch-edit-string): Remove obsolete mention of
12944 `C-w' (`isearch-yank-word-or-char') from docstring.
12945 (isearch-query-replace): Fix typo in docstring (bug#9466).
12947 2011-09-10 Juri Linkov <juri@jurta.org>
12949 * paren.el (show-paren-function): Don't show escaped parens.
12950 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12952 2011-09-10 Eli Zaretskii <eliz@gnu.org>
12954 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12955 (mm-default-file-encoding): Remove autoload forms, they are
12956 replaced with autoload cookies in mml.el and mm-encode.el.
12957 (mail-add-attachment): New command.
12958 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12959 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12961 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12963 2011-09-10 Reuben Thomas <rrt@sc3d.org>
12965 * simple.el (count-words-region): Use buffer if there's no region
12968 2011-09-09 Juri Linkov <juri@jurta.org>
12970 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12971 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12972 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12974 2011-09-09 Alan Mackenzie <acm@muc.de>
12976 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12977 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12979 2011-09-09 Eli Zaretskii <eliz@gnu.org>
12981 Fix for Savannah bug#9392.
12982 * simple.el (mail-encode-mml): New defvar.
12984 * mail/rmail.el (mail-encode-mml): Add a defvar.
12985 (rmail-enable-mime-composing): Default to t.
12986 (rmail-forward): Use MIME method of forwarding only if both
12987 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12988 Set mail-encode-mml non-nil if the MIME method was used.
12990 * mail/sendmail.el (mml-to-mime): Add autoload form.
12991 (mail-encode-mml): Add a defvar.
12992 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12994 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12995 message through mml-to-mime, and reset mail-encode-mml to nil.
12997 2011-09-09 Glenn Morris <rgm@gnu.org>
12999 * woman.el (woman-if-body): When processing an .el block,
13000 do not delete the next .el block as well. (Bug#9447)
13001 (woman-special-characters): Add oq, cq, and hy characters.
13003 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13005 * window.el (window-deletable-p): Make sure window is live before
13006 invoking window-prev-buffers.
13008 2011-09-08 Leo Liu <sdl.web@gmail.com>
13010 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13012 2011-09-08 Juri Linkov <juri@jurta.org>
13014 * progmodes/compile.el (compilation-environment): Make it
13015 a defcustom (bug#8340).
13017 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13019 * window.el (frame-auto-delete): Rename to window-auto-delete.
13020 Make it control auto-deletion of windows and/or frames.
13021 (window-deletable-p): New argument FORCE. Rewrite conditions
13022 for deleting window/frame. (Bug#9419)
13023 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13024 Rewrite handling of case when window/frame can be deleted.
13025 (delete-windows-on): Call window-deletable-p with new FORCE
13026 argument t. (Bug#9456)
13028 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13030 * help-mode.el (help-mode): Restore autoload.
13032 2011-09-07 Juri Linkov <juri@jurta.org>
13034 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13035 `compilation-environment'. Set buffer-local
13036 `compilation-environment' to `thisenv' later after (funcall mode).
13039 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13040 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13041 instead of replacing its value. (Bug#8340)
13043 2011-09-07 Juri Linkov <juri@jurta.org>
13045 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13046 based on text properties put by `grep-filter' instead of matching
13048 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13049 to the value of `grep-error-screen-columns' (bug#9438).
13051 2011-09-07 Juri Linkov <juri@jurta.org>
13053 * simple.el (next-error-highlight, next-error-highlight-no-select):
13054 Doc fix (bug#9432).
13056 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13058 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13059 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13061 2011-09-07 Leo Liu <sdl.web@gmail.com>
13063 * net/rcirc.el (rcirc-mode): Conditionally initialize
13066 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13068 * emacs-lisp/find-func.el (find-function-C-source): Only set
13069 find-function-C-source-directory after checking that we found a source
13070 file there (bug#9440).
13072 2011-09-06 Alan Mackenzie <acm@muc.de>
13074 * isearch.el (isearch-other-meta-char): Wherever a key list is
13075 unread, "unread" the prefix arg, too. This fixes bug #8901.
13077 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13079 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13081 2011-09-05 Juri Linkov <juri@jurta.org>
13083 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13085 2011-09-05 Juri Linkov <juri@jurta.org>
13087 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13088 keeping point where processing of grep matches begins, and
13089 continue to delete remaining escape sequences from the same point.
13090 (grep-filter): Make leading zero optional in "0?1;31m" because
13091 git-grep emits "\033[1;31m" escape sequences unlike expected
13092 "\033[01;31m" as GNU Grep does (bug#9408).
13093 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13095 2011-09-05 Juri Linkov <juri@jurta.org>
13097 * subr.el (y-or-n-p): Capitalize "yes".
13099 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13101 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13102 `tramp-cache-unload-hook' where appropriate.
13103 (tramp-methods): Rename `tramp-remote-sh' to
13104 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13105 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13107 * net/tramp-sh.el (top): Don't require 'shell.
13108 (tramp-methods): Add `tramp-remote-shell' and
13109 `tramp-remote-shell-args' entries.
13110 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13111 (tramp-sh-handle-shell-command): Remove.
13112 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13113 Use `tramp-remote-shell'.
13115 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13117 * mail/sendmail.el (sendmail-query-once-function): Delete.
13118 (sendmail-query-once): Save directly to send-mail-function.
13119 Update message-send-mail-function too.
13121 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13123 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13125 * progmodes/python.el (python-mode-map): Use correct function to
13126 start python interpreter from menu-bar (as reported by Geert
13128 (inferior-python-mode-map): Fix typo.
13129 (python-shell-map): Remove.
13131 2011-09-03 Deniz Dogan <deniz@dogan.se>
13133 * net/rcirc.el (rcirc-print): Simplify code for
13134 rcirc-scroll-show-maximum-output. There is no need to walk
13135 through all windows to find the right one.
13137 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13139 * help.el (help-return-method): Doc fix.
13141 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13143 * window.el (window-deletable-p): Don't return a non-nil value
13144 when there's a buffer that was shown in the window before.
13146 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13147 Set window's previous buffers to nil.
13149 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13151 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13152 newline before and after the tag line, so it doesn't interfere
13153 with determining the paragraph direction of bidirectional text.
13155 2011-09-03 Leo Liu <sdl.web@gmail.com>
13157 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13159 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13161 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13162 (pop-to-buffer): Change interactive spec. Pass second argument
13163 directly to display-buffer.
13164 (display-buffer): Fix interactive spec. Use functionp to
13165 distinguish between a function and a list of functions.
13167 * abbrev.el (edit-abbrevs):
13168 * arc-mode.el (archive-extract):
13169 * autoinsert.el (auto-insert):
13170 * bookmark.el (bookmark-bmenu-list):
13171 * files.el (find-file):
13172 * view.el (view-buffer):
13173 * progmodes/compile.el (compilation-goto-locus):
13174 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13176 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13178 * window.el (display-buffer-alist): Doc fix.
13179 (display-buffer): Add docstring. Don't treat
13180 display-buffer-default specially.
13181 (display-buffer-reuse-selected-window)
13182 (display-buffer-same-window, display-buffer-maybe-same-window)
13183 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13184 (display-buffer-pop-up-window)
13185 (display-buffer-reuse-or-pop-window)
13186 (display-buffer-use-some-window): New functions.
13187 (display-buffer-default-action): Use them.
13188 (display-buffer-default): Delete.
13189 (pop-to-buffer-1): Fix choice of actions.
13191 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13193 * minibuffer.el (completion--insert-strings): Don't get confused by
13194 completion entries that end with an LF char.
13196 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13198 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13200 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13202 * window.el (display-buffer): Restore interactive spec.
13203 (display-buffer-same-window, display-buffer-other-window):
13205 (pop-to-buffer-1): New function. Use the above.
13206 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13207 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13209 * view.el (view-buffer-other-window, view-buffer-other-frame):
13210 Just use pop-to-buffer.
13212 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13214 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13216 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13218 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13220 2011-08-31 Richard Stallman <rms@gnu.org>
13222 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13223 of the separation of rmail-view-buffer from rmail-buffer.
13224 If you say no to "replace original", the decrypt is in the
13225 view buffer. If you say yes, the decrypt goes into the
13228 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13230 * window.el (display-buffer-window): Rewrite doc-string.
13231 (display-buffer-record-window): New function.
13232 (display-buffer-macro-specifiers)
13233 (display-buffer-even-window-sizes, display-buffer-set-height)
13234 (display-buffer-set-width, display-buffer-in-window)
13235 (display-buffer-reuse-window, display-buffer-split-specifiers)
13236 (display-buffer-side-specifiers, display-buffer-split-window-1)
13237 (display-buffer-split-window, display-buffer-split-atom-window)
13238 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13239 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13240 (display-buffer-other-window-means-other-frame)
13241 (display-buffer-normalize-special)
13242 (display-buffer-normalize-default)
13243 (display-buffer-normalize-argument)
13244 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13245 (display-buffer-normalize-specifiers, display-buffer-frame)
13246 (display-buffer-same-window, display-buffer-same-frame)
13247 (display-buffer-other-window)
13248 (display-buffer-same-frame-other-window)
13249 (display-buffer-other-frame, pop-to-buffer-same-window)
13250 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13251 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13252 (switch-to-buffer-same-frame)
13253 (switch-to-buffer-other-window-same-frame)
13254 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13255 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13256 (display-buffer-alist-set): Remove.
13257 (display-buffer-function, special-display-buffer-names)
13258 (special-display-regexps, special-display-function):
13259 In doc-string refer to display-buffer-window and quit-restore
13261 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13262 (special-display-frame-alist, special-display-popup-frame)
13263 (same-window-buffer-names, same-window-regexps, same-window-p)
13264 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13265 (split-window-preferred-function, split-height-threshold)
13266 (split-width-threshold, window-splittable-p)
13267 (split-window-sensibly, window--try-to-split-window)
13268 (window--frame-usable-p, even-window-heights)
13269 (window--even-window-heights, window--display-buffer-1)
13270 (window--display-buffer-2, display-buffer-other-frame):
13271 Restore old Emacs 23 code, order and doc-strings where applicable.
13272 (display-buffer-default, display-buffer-assq-regexp): New functions.
13273 (display-buffer-alist): Rewrite doc-string.
13274 (display-buffer-default-action)
13275 (display-buffer-overriding-action): New variables.
13276 (display-buffer, switch-to-buffer): Rewrite.
13277 (pop-to-buffer): Restore Emacs 23 behavior but use
13278 window-normalize-buffer-to-display.
13279 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13280 Restore Emacs 23 behavior but use
13281 window-normalize-buffer-to-switch-to.
13282 (pop-to-buffer-same-window): Rewrite.
13283 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13284 Rewrite using Emacs 23 options.
13286 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13288 * net/tramp.el (tramp-root-regexp): Remove.
13289 (tramp-completion-file-name-regexp-unified)
13290 (tramp-completion-file-name-regexp-separate)
13291 (tramp-completion-file-name-regexp-url): Don't use leading volume
13292 letter on w32 systems. (Bug#5303, Bug#9311)
13293 (tramp-drop-volume-letter): Simplify definition.
13294 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13296 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13298 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13301 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13303 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13305 2011-08-29 Juri Linkov <juri@jurta.org>
13307 * isearch.el (isearch-done): Don't display message "Mark saved"
13308 when arg `edit' is non-nil to prevent its flicker in the echo area.
13310 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13312 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13313 obsolete packages for deletion.
13315 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13317 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13318 (help-mode): Derive help-mode from special-mode. Don't invoke
13319 view-mode from help-mode.
13320 (help-xref-override-view-map): Remove.
13321 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13322 view-mode is not used anymore.
13324 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13326 * server.el (server-port): Doc fix.
13328 * cus-theme.el (custom-theme-choose-mode): Inherit from
13329 special-mode (Bug#9124).
13330 (custom-theme-choose-mode-map): Add special-mode to parent.
13332 2011-08-28 Alan Mackenzie <acm@muc.de>
13334 * progmodes/cc-fonts.el
13335 (c-make-font-lock-BO-decl-search-function): New function.
13336 (c-basic-matchers-after - "Fontify the clauses after various
13337 keywords"): Extract the three keyword lists for the 3 erroneous
13338 constructs from the list of four, and use the new function above
13339 in place of an old one.
13341 2011-08-28 Deniz Dogan <deniz@dogan.se>
13343 * net/rcirc.el (rcirc-insert-prev-input)
13344 (rcirc-insert-next-input): Remove unused argument.
13346 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13348 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13350 2011-08-27 Alan Mackenzie <acm@muc.de>
13352 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13353 handle function pointer parameters properly.
13355 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13357 * window.el (display-buffer-reuse-window): Fix case where
13358 selected window was reused with non-nil OTHER-WINDOW argument.
13361 2011-08-27 Deniz Dogan <deniz@dogan.se>
13363 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13364 oftc's NickServ messages.
13366 2011-08-27 Glenn Morris <rgm@gnu.org>
13368 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13370 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13372 * emacs-lisp/package.el (package-install): Call package-initialize
13373 if called interactively.
13375 2011-08-26 Leo Liu <sdl.web@gmail.com>
13377 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13379 2011-08-25 Juri Linkov <juri@jurta.org>
13381 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13382 `search-whitespace-regexp' (bug#9364).
13384 2011-08-25 Juri Linkov <juri@jurta.org>
13386 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13387 `regexp-search-ring' to their global values to protect from
13388 updating by `read-from-minibuffer' (bug#9185).
13390 2011-08-25 Juri Linkov <juri@jurta.org>
13392 * textmodes/ispell.el (ispell-command-loop): Add newline
13393 at the end of the "Use option `i'..." line.
13395 2011-08-25 Juri Linkov <juri@jurta.org>
13397 * battery.el (display-battery-mode): If `battery-status-function'
13398 or `battery-mode-line-format' is nil, display the message and set
13399 `display-battery-mode' to nil (bug#9363).
13401 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13403 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13404 bidi-string-mark-left-to-right; they are unnecessary now.
13406 2011-08-25 Deniz Dogan <deniz@dogan.se>
13408 * net/quickurl.el: Documentation typo fixes.
13410 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13412 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13414 2011-08-25 Glenn Morris <rgm@gnu.org>
13416 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13418 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13419 (smtpmail-via-smtp): Handle nil response from smtp.
13421 2011-08-24 Juri Linkov <juri@jurta.org>
13423 * proced.el (proced-marked): Inherit from `error' instead of
13424 `font-lock-warning-face'.
13426 * ibuffer.el (ibuffer-marked-face): Change default face from
13427 `font-lock-warning-face' to `warning'.
13428 (ibuffer-deletion-face): Change default face from
13429 `font-lock-type-face' to `error'.
13431 * battery.el (battery-update): Use the face `error' instead of
13432 `font-lock-warning-face' (bug#6117).
13434 2011-08-24 Juri Linkov <juri@jurta.org>
13436 * faces.el (success): Change face color from "Green3" to
13437 "ForestGreen" on light background (bug#9353).
13439 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13441 * window.el (quit-window): Rename from quit-restore-window.
13442 Use same arglist as old quit-window.
13443 (frame-auto-delete): Doc fix.
13445 * view.el (view-mode-exit): Use quit-window.
13447 2011-08-24 Juri Linkov <juri@jurta.org>
13449 * isearch.el (isearch-ring-adjust1): Start visiting previous
13450 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13451 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13452 for empty search string (when the last search string is reused
13453 automatically) to adjust the isearch ring to the last element and
13454 prepare the correct index for further M-p commands (bug#9185).
13456 2011-08-24 Kenichi Handa <handa@m17n.org>
13458 * international/ucs-normalize.el: If decomposition property of
13459 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13461 (nfd, nfkd): Likewise.
13463 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13465 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13466 from process filters aren't reliably transmitted to the surrounding
13467 accept-process-output.
13468 (mpc-proc-check): New function.
13469 (mpc-proc-sync): Use it (bug#8293)
13471 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13473 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13474 Add compatibility functions (bug#9313).
13476 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13478 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13480 * international/uni-bidi.el: Regenerate.
13482 2011-08-23 Kenichi Handa <handa@m17n.org>
13484 * international/charprop.el:
13485 * international/uni-bidi.el:
13486 * international/uni-category.el:
13487 * international/uni-combining.el:
13488 * international/uni-comment.el:
13489 * international/uni-decimal.el:
13490 * international/uni-decomposition.el:
13491 * international/uni-digit.el:
13492 * international/uni-lowercase.el:
13493 * international/uni-mirrored.el:
13494 * international/uni-name.el:
13495 * international/uni-numeric.el:
13496 * international/uni-old-name.el:
13497 * international/uni-titlecase.el:
13498 * international/uni-uppercase.el: Regenerate.
13500 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13502 * help.el (help-window-setup): Fix message displayed when other
13503 window is reused. (Bug#9341)
13505 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13507 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13508 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13510 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13512 * shell.el (shell-parse-pcomplete-arguments): New function.
13513 (shell-completion-vars): Use it instead (bug#9160).
13515 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13517 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13518 strings and comments (bug#9333).
13520 * emacs-lisp/debug.el (debug-arglist): New function.
13521 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13522 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13524 2011-08-22 Juri Linkov <juri@jurta.org>
13526 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13527 Revert regexp that highlights output switches to its old
13528 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13530 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13531 to check for empty output (bug#9226).
13533 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13535 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13536 symbol-constituent as the default, as that stops font-lock from
13537 working properly (Bug#8843).
13539 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13541 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13542 `coding-system-for-*' around the process open call to avoid
13543 auth-source side effects.
13544 (smtpmail-try-auth-methods): Expand the secret password.
13545 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13548 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13550 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13552 * emacs-lisp/find-func.el (find-function-noselect): New arg
13555 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13556 signal an error for built-in functions (Bug#6664).
13558 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13560 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13561 (smtpmail-try-auth-methods): Use it.
13563 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13565 * font-lock.el (font-lock-fontify-region)
13566 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13567 (font-lock-default-unfontify-buffer)
13568 (font-lock-default-fontify-region)
13569 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13571 * progmodes/compile.el (compilation-error-properties):
13572 Fix confusion between file struct and message struct (Bug#9319).
13573 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13576 * net/browse-url.el (browse-url-firefox): Don't call
13577 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13579 2011-08-20 Glenn Morris <rgm@gnu.org>
13581 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13583 * tutorial.el (tutorial--default-keys): Update some default bindings.
13585 * files.el (hack-local-variables): Fully ignore case for "mode:".
13587 2011-08-20 Alan Mackenzie <acm@muc.de>
13589 Resolve invalid use of a regexp in regexp-opt.
13591 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13592 detection for a java annotation.
13594 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13595 detection for a java annotation.
13597 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13599 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13601 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13603 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13606 2011-08-20 Alan Mackenzie <acm@muc.de>
13608 Fontify CPP expressions correctly when starting in the middle of
13609 such a construct. Mainly for when jit-lock etc. starts a chunk
13612 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13614 (c-make-font-lock-search-form): New function, extracted from
13615 c-make-font-lock-search-function.
13616 (c-make-font-lock-search-function): Use the above function.
13617 (c-make-font-lock-context-search-function): New function.
13618 (c-cpp-matchers): Enhance the preprocessor expression case with
13620 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13621 which takes an expression.
13623 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13625 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13627 * window.el (display-buffer-reuse-window)
13628 (display-buffer-pop-up-window): Don't reuse or split a side
13631 2011-08-19 Glenn Morris <rgm@gnu.org>
13633 * files.el (hack-local-variables-prop-line, hack-local-variables):
13634 Downcase "Mode:". (Bug#9331)
13636 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13638 * international/characters.el: Add L and R categories.
13640 * subr.el (bidi-string-mark-left-to-right): Rename from
13641 string-mark-left-to-right. Use category search.
13643 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13645 2011-08-18 Juri Linkov <juri@jurta.org>
13647 * faces.el (error, warning, success): New faces with definitions
13648 copied from old default values of `font-lock-warning-face',
13649 `compilation-warning', `compilation-info' (bug#6117).
13651 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13653 * progmodes/compile.el (compilation-error): Inherit from `error'.
13654 (compilation-warning): Inherit from `warning'.
13655 (compilation-info): Inherit from `success'.
13657 * dired.el (dired-marked): Inherit from `warning'.
13658 (dired-flagged): Inherit from `error'.
13660 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13662 * mail/smtpmail.el (auth-source): Require to avoid problems with
13663 binding variables (bug#9298). Also clean up some unused
13666 * net/network-stream.el (network-stream-open-starttls):
13667 Support using starttls.el without using gnutls-cli.
13669 2011-08-17 Juri Linkov <juri@jurta.org>
13671 * progmodes/grep.el (rgrep): Handle the case when
13672 `grep-find-command' is a cons cell (bug#9278).
13674 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13676 * window.el (display-buffer-pop-up-frame): Run frame creation
13677 function with BUFFER current (as special-display-popup-frame
13678 does). Reported by Drew Adams.
13680 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13682 * epa-mail.el: Simplify GnuPG group expansion using
13684 (epa-mail-group-alist, epa-mail-group-modtime)
13685 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13686 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13687 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13690 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13692 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13694 2011-08-16 Alan Mackenzie <acm@muc.de>
13696 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13697 Correct, to avoid the inside of macros.
13699 2011-08-16 Richard Stallman <rms@gnu.org>
13701 * epa-mail.el: Handle GnuPG group definitions.
13702 (epa-mail-group-alist, epa-mail-group-modtime)
13703 (epa-mail-gnupg-conf-file): New variables.
13704 (epa-mail-parse-groups, epa-mail-sync-groups)
13705 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13706 (epa-mail-expand-recipients): New functions.
13707 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13709 * mail/rmail.el (rmail-epa-decrypt): New command.
13711 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13712 Don't bind buffer-read-only, just inhibit-read-only.
13713 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13714 (epa-decrypt-armor-in-region): Make error message clearer.
13716 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13718 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13719 and "a2b" to "ab" for `prefix'.
13721 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13723 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13725 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13726 Fourquet (Bug#8804).
13728 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13730 * startup.el (argi): Declare as global variable (bug#9275).
13732 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13734 * subr.el (string-mark-left-to-right): Search the entire string
13735 for RTL script, not just the terminating character. Doc fix.
13737 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13739 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13741 (js--regexp-literal, js-syntax-propertize-function): Remove.
13742 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13743 (js-mode-map): Don't rebind electric keys.
13744 (js-insert-and-indent): Remove.
13745 (js-mode): Setup electric-layout and electric-indent instead.
13747 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13749 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13751 * epa.el (epa-progress-callback-function): Fix the logic of
13752 displaying progress.
13753 * epa-file.el (epa-file-insert-file-contents): Make progress
13754 display more user-friendly.
13755 (epa-file-write-region): Ditto.
13757 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13759 * subr.el (string-mark-left-to-right): New function.
13761 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13762 Use string-mark-left-to-right.
13763 (list-buffers-noselect): Caller changed.
13765 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13766 Use string-mark-left-to-right.
13767 (tabulated-list-print): Recenter after moving point.
13769 2011-08-10 Juri Linkov <juri@jurta.org>
13771 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13772 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13773 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13775 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13777 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13780 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13782 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13783 character. (Bug#6594)
13785 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13787 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13788 (image-dired--with-db-file): New macro.
13789 (image-dired-write-tags, image-dired-remove-tag)
13790 (image-dired-create-gallery-lists, image-dired-write-comments)
13791 (image-dired-get-comment, image-dired-mark-tagged-files)
13792 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13793 (image-dired-gallery-generate): Use insert-file-contents.
13795 * time.el (display-time-world-list, display-time-world-display):
13796 * time-stamp.el (time-stamp-string):
13797 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13798 set-time-zone-rule (Bug#7337).
13800 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13802 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13803 (epg-error-to-string, epg-errors-to-string): New function.
13804 (epg-wait-for-completion): Reverse errors list.
13805 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13806 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13807 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13808 (epg-sign-keys, epg-generate-key-from-file)
13809 (epg-generate-key-from-string): Format errors by using
13810 epg-errors-to-string (bug#9255).
13811 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13813 2011-08-07 Juri Linkov <juri@jurta.org>
13815 * faces.el (list-faces-display): Remove extra angle bracket
13816 from `help-mode-map'.
13818 * info.el (Info-history-toc-nodes): Doc fix.
13820 * longlines.el (longlines-mode): Doc fix.
13822 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13824 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13825 of statements and in a few more cases (bug#9183).
13827 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13829 (cl-transform-lambda): Use them (bug#9239).
13831 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13833 * window.el (display-buffer-same-window)
13834 (display-buffer-same-frame, display-buffer-other-window)
13835 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13836 (pop-to-buffer-other-window)
13837 (pop-to-buffer-same-frame-other-window)
13838 (pop-to-buffer-other-frame): Make them defuns.
13839 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13841 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13843 * subr.el (make-composed-keymap): Move from C. Change calling
13844 convention, and improve docstring to bring attention to a subtle point.
13845 * minibuffer.el (completing-read-default): Adjust accordingly.
13847 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13849 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13850 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13852 * net/trampver.el: Update release number.
13854 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13856 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13859 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13861 * mail/sendmail.el (sendmail-query-once): Restore the current
13862 buffer after querying (bug#9074).
13864 * dired.el (dired-flagged): Use different faces for marked and
13865 flagged files (bug#6117).
13867 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13870 * ido.el (ido-mode): Switch off the message if called
13873 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13874 before 587, since it appears that that's more likely to work for
13877 * cus-edit.el (custom-file): When running under emacs -q, always
13878 refuse to save the customizations, even if the .emacs file doesn't
13881 * info.el: Remove the `Info-beginning-of-buffer' function
13884 * net/network-stream.el (network-stream-open-starttls):
13885 Use `starttls-available-p' to see whether starttls.el can be used.
13887 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13889 * window.el (display-buffer-in-window): Don't set dedicated status
13890 of window here (Bug#9215).
13891 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13892 (display-buffer-pop-up-side-window)
13893 (display-buffer-in-side-window): Set dedicated status of window here.
13895 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13897 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13898 before binding generated-autoload-file.
13900 2011-08-01 Deniz Dogan <deniz@dogan.se>
13902 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13904 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
13906 Sync with Tramp 2.2.2.
13908 * net/trampver.el: Update release number.
13910 2011-07-30 Juri Linkov <juri@jurta.org>
13912 * dired-aux.el (dired-touch-initial): Remove function.
13913 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13914 current time, and `default' to the last modification time of the
13915 current marked file (bug#6887).
13917 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13919 * simple.el (goto-line): Use string-to-number to provide a
13920 numeric argument to read-number (bug#9163).
13922 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
13924 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13925 connection process, it could be nil.
13927 2011-07-27 Leo Liu <sdl.web@gmail.com>
13929 Simplify url handling in rcirc-mode.
13931 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13932 (rcirc-browse-url-at-mouse): Remove.
13933 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13935 2011-07-26 Alan Mackenzie <acm@muc.de>
13937 Fontify bitfield declarations properly.
13939 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13940 (c-symbol-chars): Now exported as a lang variable.
13941 (c-not-primitive-type-keywords): New lang variable.
13943 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13944 QT keyword "more" to prevent "more slots: ...." being spuriously
13945 parsed as a bitfield declaration.
13947 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13948 Refactor and enhance to handle bitfield declarations.
13949 (c-punctuation-in): New function.
13950 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13951 declarations properly.
13953 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
13955 * calendar/icalendar.el (icalendar--all-events): Take care of
13956 multiple vcalendars in a single file.
13957 (icalendar--convert-float-to-ical): Checkdoc fixes.
13959 2011-07-25 Deniz Dogan <deniz@dogan.se>
13961 * image.el (insert-image): Clarifying docstring.
13963 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
13965 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13966 `tramp-send-command-and-check' if there is no error.
13967 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13969 2011-07-22 Alan Mackenzie <acm@muc.de>
13971 Prevent cc-langs.elc being loaded at run time.
13973 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13976 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13977 "(require 'cc-langs)". Quote a form so it will evaluate at
13978 (cc-mode's) compilation time.
13980 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
13982 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13983 loading. (Bug#9114)
13985 2011-07-21 Martin Rudalics <rudalics@gmx.at>
13987 * window.el (display-buffer-pop-up-window)
13988 (display-buffer-pop-up-side-window)
13989 (display-buffer-in-side-window): Call display-buffer-set-height
13990 and display-buffer-set-width after setting the new window's
13991 buffer so `fit-window-to-buffer' and friends work on the right buffer.
13993 2011-07-20 Sam Steingold <sds@gnu.org>
13995 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13996 (etags-tags-included-tables): Call `convert-standard-filename' on
13997 the file names contained in TAGS so that windows Emacs can handle
13998 TAGS files created by cygwin ctags.
14000 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14002 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14003 which apparently didn't work.
14005 2011-07-19 Roland Winkler <winkler@gnu.org>
14007 * proced.el (proced-send-signal): For *Marked Processes* buffer
14008 put point at beginning of buffer.
14010 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14012 * proced.el (proced-format): Make header lines align with the text
14015 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14017 * view.el (view-buffer): Allow running in `special' modes if we're
14018 visiting a file (bug#8615).
14020 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14022 * window.el (display-buffer-alist-of-strings-p)
14023 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14025 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14028 2011-07-18 Alan Mackenzie <acm@muc.de>
14030 Fontify declarators properly when, e.g., a jit-lock chunk begins
14031 inside a declaration.
14033 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14035 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14037 (c-complex-decl-matchers): Insert reference to
14038 c-font-lock-enclosing-decls.
14040 * progmodes/cc-engine.el (c-backward-single-comment):
14041 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14042 to nil around calls to (forward-comment -1).
14044 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14046 * image.el (put-image): Doc typo fix.
14048 * progmodes/etags.el (tags-search): Doc typo fix.
14050 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14051 password if we get errors 550 to 554.
14053 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14055 * net/gnutls.el (gnutls-log-level): Remove.
14057 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14058 indentation character (bug#6380).
14060 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14062 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14063 to clarify what the problem is (bug#4291).
14065 * simple.el (current-kill): Clarify what
14066 `interprogram-paste-function' does (bug#7500).
14067 (auto-fill-mode): Document `auto-fill-function' in relation to
14068 `auto-fill-mode' (bug#2470).
14070 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14072 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14073 method if slot is read-only (bug#9035).
14075 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14077 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14078 * window.el (pop-to-buffer): Select window used even if it was
14079 selected before, see discussion of (Bug#8615), (Bug#6954).
14080 Pass argument NORECORD on to select-frame-set-input-focus.
14082 2011-07-15 Glenn Morris <rgm@gnu.org>
14084 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14087 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14089 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14090 (gnutls-negotiate): Use it.
14092 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14094 * net/gnutls.el (gnutls-negotiate):
14095 Upcase `gnutls-algorithm-priority'.
14097 2011-07-15 Glenn Morris <rgm@gnu.org>
14099 * jka-compr.el (jka-compr-verbose): Move from here...
14100 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14101 Add missing :version tag.
14102 * info.el: No need to require jka-compr when compiling.
14104 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14106 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14107 (gnutls-negotiate): Use it.
14109 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14111 * info.el (Info-beginning-of-buffer): New command.
14112 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14113 announcing `b' as the key (bug#8325).
14114 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14116 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14118 * international/mule-cmds.el
14119 (describe-specified-language-support): Make the error message
14120 clearer (bug#8905).
14122 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14124 * isearch.el (isearch-barrier): Add a doc string, since it's
14125 mentioned in a function doc string (bug#8678).
14127 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14129 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14130 buffer argument (Bug#9083) and self-identifying label argument.
14132 2011-07-15 Glenn Morris <rgm@gnu.org>
14134 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14136 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14138 * man.el (Man-fontify-manpage): Fix message when formatting the
14139 man page (bug#7929).
14141 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14143 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14144 argument LRM; if non-nil, append an invisible LRM character to the
14146 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14147 last argument non-nil, when formatting buffer names.
14148 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14149 paragraph direction.
14151 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14153 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14154 the man page name (bug#7929).
14156 * image.el (put-image): Mention the `put-image' overlay property
14159 * scroll-bar.el (set-scroll-bar-mode): Mention that
14160 `scroll-bar-mode' lists the values (bug#7772).
14162 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14163 command (bug#7729).
14165 * rect.el (apply-on-rectangle): Return the point after the last
14167 (string-rectangle): Go to the point after the last operation
14170 * printing.el (pr-toggle-region): Clarify the documentation
14171 slightly (bug#7493).
14173 * time.el (display-time-update):
14174 Allow `display-time-mail-function' to return nil (bug#7158).
14175 Fix suggested by Detlev Zundel.
14177 * vc/diff.el (diff): Clarify the order the file names are read
14180 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14181 the doc string (bug#7015).
14183 * font-lock.el (font-lock-maximum-decoration): Mention what
14184 numeric levels mean (bug#6935).
14186 * startup.el (initial-buffer-choice): Don't mention the `none'
14187 selection, which is against policy.
14189 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14191 * window.el (display-buffer-normalize-special):
14192 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14194 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14196 * subr.el (version<, version<=, version=): Mention "-CVS" and
14197 "-12345" alpha version numbers.
14199 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14201 * bindings.el: Add advertised binding for set-mark-command
14204 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14206 * bindings.el (mode-line-other-buffer):
14207 * bookmark.el (bookmark-bmenu-2-window):
14208 * bs.el (bs-cycle-next, bs-cycle-previous):
14209 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14212 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14215 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14217 * follow.el (follow-debug-message, follow-redisplay):
14218 * jka-cmpr-hook.el (with-auto-compression-mode):
14219 Fix typos in docstrings.
14221 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14223 * subr.el (with-silent-modifications): Clarify somewhat what the
14224 macro inhibits (bug#6525).
14226 * simple.el (eval-expression): Note what it does if called
14227 interactively (bug#6495).
14229 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14231 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14232 Use pop-to-buffer buffer-or-name if it is nil.
14234 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14235 Remove switch-to-buffer.
14237 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14239 * files.el (make-directory): Clarify that an error will be raised
14240 if there's an error (bug#6397).
14242 * startup.el (initial-buffer-choice): Add `none' as a choice
14245 * subr.el (add-hook): Clarify section about buffer-local hooks
14248 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14250 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14252 * tabify.el (untabify): Preserve the current column so that point
14253 doesn't move (bug#6032).
14255 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14257 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14258 Rewrite to avoid awkward possessive "s" (bug#5986).
14260 2011-07-13 Glenn Morris <rgm@gnu.org>
14262 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14263 (dired-insert-directory): Give a message the first time
14264 if ls is found not to support --dired.
14266 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14268 * simple.el (toggle-truncate-lines): Clarify what is toggled
14269 (bug#5580). Text by Drew Adams.
14271 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14273 * simple.el (blink-matching-open): Make the error message from the
14274 last change less verbose.
14276 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14278 * font-lock.el (font-lock-comment-face): Use the high contrast
14279 "yellow" color for font-lock-comment-face on low color terminals
14280 using a dark background color (bug#4221).
14282 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14284 * dired.el (dired-insert-set-properties): Make the doc string
14285 reflect what it does now (bug#5325).
14287 * simple.el (blink-matching-open): Say that we were unable to find
14288 the match within the limit, if we're limited (bug#5122).
14290 * international/mule-cmds.el (prefer-coding-system): Add an
14291 example (bug#4869).
14293 * progmodes/etags.el (tags-search): Document `file-list-form'
14296 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14298 * net/browse-url.el (browse-url-default-browser)
14299 (browse-url-browser-function): Make the default browser choice a
14300 bit more logical (bug#4300). Also clean up the doc string.
14302 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14304 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14305 binary endings (bug#4440).
14307 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14309 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14310 which can be pretty annoying (bug#8971).
14312 * jka-compr.el (jka-compr-verbose): New variable, and use
14313 throughout (bug#8971).
14315 * info.el (Info-find-file): Fall back on the installation
14316 directory if we can't find the info node anywhere else.
14318 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14320 * vc/vc.el (vc-revert-file):
14321 Don't set file time-stamp in the past. (Bug#5181)
14323 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14325 * files.el (after-find-file): Give a better error message when
14326 trying to find a symlink that points to a file that doesn't exist
14329 * progmodes/cc-vars.el: Remove (probably) misleading comment
14332 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14334 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14336 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14338 * mouse-sel.el: Hack restoring functionality, while keeping
14339 compatibility with 2010-07-03 changes to mouse selection.
14340 (mouse-sel-primary-overlay): New var.
14341 (mouse-sel-selection-alist): Use it.
14342 (mouse-sel-mode): Doc fix; remove points that are default features
14345 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14347 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14348 Fix previous fix (bug#2490).
14350 2011-07-12 Roland Winkler <winkler@gnu.org>
14352 * textmodes/bibtex.el (bibtex-initialize):
14353 Use pop-to-buffer-same-window.
14354 (bibtex-search-entries): Fix interactive call.
14356 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14358 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14359 Fontise bytecomp Error lines more correctly (bug#2490).
14360 Fix suggested by Johan Bockgård.
14362 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14364 * dired-x.el (dired-guess-default): Use `delete-dups'.
14366 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14368 * dired.el (dired-mark-prompt):
14369 * dired-aux.el (dired-read-shell-command): Doc fix.
14371 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14373 * mail/sendmail.el (sendmail-query-once):
14374 Use `customize-save-variable' unconditionally, now that it works under
14377 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14379 * cus-edit.el (custom-file): Take an optional no-error variable.
14380 (customize-save-variable): Set the variable, and give a warning if
14381 running under "emacs -q".
14383 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14385 * loadhist.el (unload-feature-special-hooks):
14386 Add `auto-coding-functions', `fill-nobreak-predicate' and
14387 `find-directory-functions' (bug#5327).
14389 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14391 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14393 * cus-edit.el (custom-guess-name-alist): -alist variables should
14394 use the `alist' type (bug#3120). Suggested by Drew Adams.
14396 * printing.el: Add documentation to all the `pr-toggle-' commands.
14398 2011-07-11 Leo Liu <sdl.web@gmail.com>
14400 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14401 backends where it makes sense (bug#2623).
14403 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14405 * dired-x.el (dired-guess-default): Remove duplicate shell command
14406 entries (bug#2028).
14407 (dired-guess-default): Fix grammar in doc string (bug#2028).
14408 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14410 * subr.el (remove-duplicates): New conveniency function.
14412 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14414 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14417 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14419 * window.el (display-buffer-normalize-default): Don't invert
14420 meaning of even-window-heights. Reported by Eli Zaretskii
14423 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14425 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14427 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14429 * window.el (display-buffer): Fix arguments to
14430 display-buffer-reuse-window in last change.
14432 * faces.el (link): Use a less saturated blue on light backgrounds.
14434 * startup.el (fancy-startup-text, fancy-about-text)
14435 (fancy-startup-tail): Use font-lock faces, for background safety.
14437 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14439 * emulation/viper-cmd.el (viper-change-state-to-vi):
14440 Limit triggering of abbrev expansion (Bug#9038).
14442 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14444 * window.el (display-buffer-default-specifiers): Remove.
14445 (display-buffer-macro-specifiers): Remove default specifiers.
14446 (display-buffer-alist): Default to nil.
14447 (display-buffer-reuse-window): New optional argument other-window.
14448 (display-buffer-pop-up-window): Allow splitting internal
14449 windows. Check whether a live window was created.
14450 (display-buffer-other-window-means-other-frame)
14451 (display-buffer-normalize-arguments): Rename to
14452 display-buffer-normalize-argument and rewrite. Set the
14453 other-window specifier.
14454 (display-buffer-normalize-special): New function.
14455 (display-buffer-normalize-options): Rename to
14456 display-buffer-normalize-default and rewrite.
14457 (display-buffer-normalize-options-inhibit): Remove.
14458 (display-buffer-normalize-specifiers): Rewrite.
14459 (display-buffer): Process other-window specifier and call
14460 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14462 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14463 (display-buffer-alist-set): Don't handle 'unset default values.
14464 (display-buffer-in-window, display-buffer-alist-set):
14465 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14466 <tassilo@member.fsf.org>.
14468 2011-07-09 Leo Liu <sdl.web@gmail.com>
14470 * register.el (insert-register): Restore accidental change on
14471 2011-06-26. (Bug#9028)
14473 2011-07-09 Glenn Morris <rgm@gnu.org>
14475 * subr.el (remq): Handle the empty list. (Bug#9024)
14477 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14479 * mail/sendmail.el (send-mail-function): No longer delay custom
14481 * custom.el (custom-initialize-delay): Doc fix.
14483 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14485 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14487 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14489 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14490 human-friendly prompt.
14492 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14494 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14495 provided by a particular plugin.
14497 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14499 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14500 save customizations (with "emacs -Q"), just set the variable
14501 instead of erroring out.
14503 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14505 2011-07-08 Juri Linkov <juri@jurta.org>
14507 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14508 (archive-zip-update-case): Use 7z if found by `executable-find'.
14509 The order of searching the available programs is the same as in
14510 `archive-zip-extract' (bug#8968).
14512 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14514 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14515 (menu-bar-options-menu): Tweak descriptions.
14517 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14519 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14520 menu items into verb phrases (bug#1421). Also refill to fit under
14523 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14525 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14526 (Info-read-node-name): Doc fix (Bug#1084).
14528 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14529 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14530 (end-of-sexp, beginning-of-sexp)
14531 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14532 (forward-symbol, forward-same-syntax, word-at-point)
14533 (sentence-at-point): Doc fix (Bug#1144).
14535 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14537 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14538 should cover it (bug#1281).
14540 * cus-edit.el (custom-show): Mark as obsolete.
14542 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14543 negotiation fails, then possibly try again with a non-encrypted
14544 connection (bug#9017).
14546 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14549 2011-07-07 Richard Stallman <rms@gnu.org>
14551 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14552 property, and handle its changed format.
14553 Look for the correct line number.
14554 Use file's line contents (but not past first =) to find
14555 correct line in message.
14557 2011-07-07 Kenichi Handa <handa@m17n.org>
14559 * international/characters.el (build-unicode-category-table):
14561 (unicode-category-table): Set it by unicode-property-table-internal.
14563 * international/mule-cmds.el (char-code-property-alist): Move to
14565 (get-char-code-property): Call unicode-property-table-internal to
14566 load a file. Call get-unicode-property-internal where necessary.
14567 (put-char-code-property): Call unicode-property-table-internal to
14568 load a file. Call put-unicode-property-internal where necessary.
14569 put-unicode-property-internal where necessary.
14570 (char-code-property-description):
14571 Call unicode-property-table-internal to load a file.
14573 * international/charprop.el:
14574 * international/uni-bidi.el:
14575 * international/uni-category.el:
14576 * international/uni-combining.el:
14577 * international/uni-comment.el:
14578 * international/uni-decimal.el:
14579 * international/uni-decomposition.el:
14580 * international/uni-digit.el:
14581 * international/uni-lowercase.el:
14582 * international/uni-mirrored.el:
14583 * international/uni-name.el:
14584 * international/uni-numeric.el:
14585 * international/uni-old-name.el:
14586 * international/uni-titlecase.el:
14587 * international/uni-uppercase.el: Regenerate.
14589 * loadup.el: Load international/charprop.el before
14590 international/characters.
14592 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14594 * window.el (next-buffer, previous-buffer): Signal an error if
14595 called from a minibuffer window.
14597 * bindings.el: Revert 2011-07-04 change.
14599 2011-07-06 Richard Stallman <rms@gnu.org>
14601 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14602 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14603 Treat markers like ints.
14604 (rmail-mime-entity): Doc fix.
14606 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14608 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14609 defcustom again for backwards compatibility.
14611 * simple.el (shell-command-on-region): Fill.
14613 * dired-aux.el (dired-kill-line): Add a doc string.
14615 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14616 to "\\sw\\|\\s_" (bug#358).
14618 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14619 (dired-unmark-backward): Ditto.
14620 (dired-flag-backup-files): Ditto.
14622 * dired-x.el (dired-mark-sexp): Ditto.
14624 2011-07-06 Richard Stallman <rms@gnu.org>
14626 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14627 (rmail-mime-entity): New arg TRUNCATED.
14628 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14630 (rmail-mime-save): Warn if entity is truncated.
14631 (rmail-mime-toggle-hidden): Likewise, for showing.
14632 (rmail-mime-process-multipart): Record when an entity is truncated.
14634 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14635 if ENTITY is a string.
14637 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14639 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14640 of faces when `M-C-x'-ing their definitions (bug#8378).
14641 Also clean up the code slightly.
14643 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14644 because that makes the colors go away.
14646 * mail/sendmail.el (send-mail-function): Change the default to
14647 `sendmail-query-once'.
14648 (sendmail-query-once): Add an autoload cookie.
14650 * net/network-stream.el (network-stream-open-starttls): Try using
14651 a plain connection even if the server offered STARTTLS, and we
14652 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14653 capability. This should make smtpmail.el work in slightly more
14656 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14658 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14660 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14662 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14664 * progmodes/sql.el: Version 3.0
14665 (sql-product-alist): Add product :completion-object,
14666 :completion-column, and :statement attributes.
14667 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14668 (sql-mode-syntax-table): Mark all punctuation.
14669 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14671 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14672 (sql-mode-oracle-font-lock-keywords): Improve.
14673 (sql-oracle-show-reserved-words): New function for development.
14674 (sql-product-font-lock): Simplify for source code buffers.
14675 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14677 (sql-highlight-product): Set product specific syntax table.
14678 (sql-mode-map): Add statement movement functions.
14679 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14681 (sql-statement-regexp, sql-beginning-of-statement)
14682 (sql-end-of-statement, sql-signum): New functions.
14683 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14684 (sql-show-sqli-buffer): Bug fix.
14685 (sql-interactive-mode): Store connection data as buffer local.
14686 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14687 with sql-interactive-mode.
14688 (sql-save-connection): Save buffer local settings.
14689 (sql-connection-menu-filter): Change menu entry name.
14690 (sql-product-interactive): Bug fix.
14691 (sql-preoutput-hold): New variable.
14692 (sql-interactive-remove-continuation-prompt): Bug fixes.
14693 (sql-debug-redirect): New variable.
14694 (sql-str-literal): New function.
14695 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14697 (sql-oracle-save-settings, sql-oracle-restore-settings)
14698 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14699 (sql-completion-object, sql-completion-column)
14700 (sql-completion-sqlbuf): New variables.
14701 (sql-build-completions-1, sql-build-completions)
14702 (sql-try-completion): New functions.
14703 (sql-read-table-name): Use them.
14704 (sql-contains-names): New buffer local variable.
14705 (sql-list-all, sql-list-table): Use it.
14706 (sql-oracle-completion-types): New variable.
14707 (sql-oracle-completion-object, sql-sqlite-completion-object)
14708 (sql-postgres-completion-object): New functions.
14710 2011-07-06 Glenn Morris <rgm@gnu.org>
14712 * window.el (pop-to-buffer): Doc fix.
14714 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14716 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14718 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14720 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14722 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14724 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14726 * button.el (button): Inherit from link face. Suggested by Dan
14729 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14731 * progmodes/gdb-mi.el: Fit in 80 columns.
14732 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14735 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14736 if imenu is simply not configured (bug#8941).
14738 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14740 * allout.el (allout-post-undo-hook): New allout outline-change
14741 event hook to signal undo activity.
14742 (allout-post-command-business): Run allout-post-undo-hook if an
14743 undo just occurred.
14744 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14745 * allout-widgets.el (allout-widgets-after-undo-function):
14746 Ensure the integrity of the current item's decoration after it has been
14747 in the vicinity of an undo.
14748 (allout-widgets-mode): Include allout-widgets-after-undo-function
14749 on the new allout-post-undo-hook.
14751 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14753 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14754 Let define-derived-mode define it.
14755 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14756 cycles of abbrev-table inheritance (bug#8998).
14758 2011-07-05 Roland Winkler <winkler@gnu.org>
14760 * textmodes/bibtex.el: Add support for biblatex.
14761 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14762 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14763 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14764 (bibtex-entry-alist, bibtex-field-alist): New variables.
14765 (bibtex-entry-field-alist): Obsolete alias for
14766 bibtex-BibTeX-entry-alist.
14767 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14768 (bibtex-set-dialect): New command.
14769 (bibtex-entry-type, bibtex-entry-head)
14770 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14771 Bind via bibtex-set-dialect.
14772 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14773 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14774 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14775 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14776 Define via bibtex-set-dialect.
14777 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14778 Obey bibtex-no-opt-remove-re.
14779 (bibtex-vec-push, bibtex-vec-incr): New functions.
14780 (bibtex-format-entry, bibtex-field-list)
14781 (bibtex-print-help-message, bibtex-validate)
14782 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14784 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14786 * progmodes/compile.el (compilation-goto-locus):
14787 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14788 * bs.el (bs-cycle-next, bs-cycle-previous):
14789 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14790 * bindings.el (mode-line-other-buffer):
14791 * autoinsert.el (auto-insert):
14792 * arc-mode.el (archive-extract):
14793 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14795 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14797 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14798 Fix check of `emacs-lock-unlockable-modes'.
14799 Coerce true values of `emacs-lock--try-unlocking' to t.
14801 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14803 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14804 * emacs-lock.el: New file.
14806 2011-07-05 Julien Danjou <julien@danjou.info>
14808 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14809 than `boundp' to check if face is set.
14811 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14813 * register.el (registerv-make):
14814 * window.el (window-min-height): Fix typos in docstrings.
14816 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14818 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14821 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14823 * server.el (server-execute): Catch quit and call
14824 `server-return-error' to pass the error back to emacsclient and
14825 close the connection (bug#8942).
14827 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14829 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14830 insecure exception for current topic. Also note that auto-saves
14831 are handled differently.
14833 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14834 State variables for tracking auto-save inhibition situation.
14836 (allout-write-contents-hook-handler): Rename from
14837 'allout-write-file-hook-handler', and describe how it depends on
14838 write-contents-functions sensitivity to non-nil value to prevent
14841 (allout-auto-save-hook-handler): Remove. auto-save does not check
14842 this in individual buffers, only in the starting buffer, so this
14843 is not the right way for us to inhibit auto-save in a buffer
14844 according to its condition.
14846 (allout-mode): Use new allout-write-contents-hook-handler, and
14847 only with write-contents-functions. Remove auto-save provisions -
14848 they're implemented elsewhere.
14850 (allout-before-change-handler): If undo is in progress, note that
14851 for attention of allout-post-command-business.
14853 (allout-post-command-business): If the command we're following was
14854 an undo, check for change in the status of encrypted items and
14855 adjust auto-save inhibitions accordingly.
14857 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14858 according to whether there are or aren't any plain-text topics
14859 pending encryption.
14861 (allout-inhibit-auto-save-info-for-decryption):
14862 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14863 if there are plain-text topics pending encryption.
14865 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14866 buffer-saved-size and some allout state to not inhibit auto-saves
14867 if there are no longer any plain-text topics pending encryption.
14869 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14870 No longer provide for exemption of the current topic.
14872 2011-07-04 Juri Linkov <juri@jurta.org>
14874 Add 7z operations to delete and save changed members (bug#8968).
14875 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14877 (archive-7z-write-file-member): New function.
14878 (archive-7z-summarize): Fix the number of dashes in the
14881 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14883 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14886 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14888 * bindings.el: Ignore next-buffer and previous-buffer in
14889 minibuffer-local-map.
14891 * font-lock.el (font-lock-builtin-face): Change light background
14892 color to dark slate blue (Bug#6693).
14894 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14896 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14898 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14900 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14901 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14902 Add switch-to-buffer.
14904 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14906 * isearch.el (isearch-search-fun-function): Clarify further the
14907 meaning of the function returned.
14909 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
14911 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14913 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14914 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14916 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14917 `tramp-default-remote-path' does not exist.
14918 (tramp-send-command-and-read): New optional argument NOERROR.
14919 (tramp-open-connection-setup-interactive-shell)
14920 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14921 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14922 (tramp-process-sentinel): Flush also process' connection property.
14923 (tramp-sh-handle-start-file-process): Do not set process
14924 sentinel. It is done now ...
14925 (tramp-maybe-open-connection): ... here. (Bug#8929)
14927 2011-07-04 MON KEY <monkey@sandpframing.com>
14929 * play/animate.el (animate-string): Doc fixes and allow changing
14930 the buffer name (bug#5417).
14932 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934 * play/animate.el (animation-buffer-name): Rename from *animate*.
14936 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14938 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14939 This is simpler and helps future-proof the code.
14940 (timer-until): Use time-subtract and float-time.
14941 (timer--time-less-p): Use time-less-p.
14943 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14945 * type-break.el (timep): Use the value of `float-time' to avoid a
14946 byte-compiler warning.
14948 * server.el (server-eval-and-print): Return any result, even nil.
14950 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14952 * type-break.el: Accept time formats that the builtins accept.
14953 (timep, type-break-time-difference): Accept any format that
14954 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14955 This is simpler and helps future-proof the code.
14956 (type-break-time-difference): Round rather than ignoring
14957 subseconds components.
14959 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14961 * info.el (Info-apropos-matches): Make non-interactive, since it
14962 doesn't seem to do anything useful as a command (bug#8829).
14964 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
14966 * frame.el (frame-background-mode, frame-set-background-mode):
14967 Move from faces.el.
14968 (frame-default-terminal-background): New function.
14970 * custom.el (custom-push-theme): Don't record faces in `changed'
14971 theme; this doesn't work correctly for per-frame face settings.
14972 (disable-theme): Use face-set-after-frame-default to reset faces.
14973 (custom--frame-color-default): New function.
14975 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14977 * dired.el (dired-flagging-regexp): Remove unused variable
14980 2011-03-29 Kevin Ryde <user42@zip.com.au>
14982 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14983 `perl-Test2' extend to match possible "fail #N" rep count
14986 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14988 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14989 `smtpmail-via-smtp' now returns the error instead of nil.
14991 * isearch.el (isearch-search-fun-function): Clarify the doc string
14994 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
14996 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14997 unnecessary spaces (bug#8987).
14999 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15001 * net/network-stream.el (open-network-stream): Use the
15002 :end-of-capability command thoughout.
15004 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15006 * net/network-stream.el (open-network-stream): Add the
15007 :end-of-capability command parameter, used by pop3.el.
15009 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15011 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15013 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15014 for list)" (bug#6475).
15016 * files.el (file-expand-wildcards): Ignore non-readable
15017 sub-directories while trying to find matches instead of signaling
15018 an error (bug#6297).
15020 * man.el (Man-reference-regexp): Allow matching possible
15021 word-wrapped references (bug#6289).
15023 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15024 for consistency with the other vc buffers (bug#6197).
15025 (vc-checkin): Ditto.
15027 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15029 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15031 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15033 * custom.el (defcustom): Clarify that :set is only used in the
15034 Customize user interface (bug#6089).
15036 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15037 associated with a file, refuse to run instead of erroring out
15040 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15041 the doc string, since it appears that using `fill-column' always
15042 controls the width (bug#7845).
15044 * simple.el (shell-command-on-region): Say where the error output
15045 went if `shell-command-default-error-buffer' is set (bug#6857).
15047 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15049 * allout.el (allout-yank-processing): Adjust cursor position for
15050 backwards-deleted space.
15052 (allout-rebullet-heading): Register changes with
15053 allout-exposure-changed-hook, so the modified topic is properly
15056 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15058 * minibuffer.el (completion-in-region): Document PREDICATE
15061 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15062 of keyword/argument pairs (bug#6904).
15064 * replace.el (multi-occur):
15065 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15067 2011-07-02 Drew Adams <drew.adams@oracle.com>
15069 * dired.el (dired-mark-if): Make the message about whether it's
15070 marking or unmarking clearer (bug#8523).
15072 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15074 * disp-table.el (display-table-print-array): New function.
15075 (describe-display-table): Use it to print the vectors more pretty
15078 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15080 * window.el (window-state-get-1): Don't assign clone numbers.
15081 Add clone-of item to list of window parameters.
15082 (window-state-put-2): Don't process clone numbers.
15083 (display-buffer-alist): Fix doc-string.
15085 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15087 * subr.el (remq): Don't allocate if it's not needed.
15088 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15089 (keymap--merge-bindings): New functions.
15090 (keymap-canonicalize): Use them to refine the canonicalization.
15091 * minibuffer.el (minibuffer-local-completion-map)
15092 (minibuffer-local-must-match-map): Move initialization from C.
15093 (minibuffer-local-filename-completion-map): Move initialization from C;
15094 don't inherit from anything here.
15095 (minibuffer-local-filename-must-match-map): Make obsolete.
15096 (completing-read-default): Use make-composed-keymap to combine
15097 minibuffer-local-filename-completion-map with either
15098 minibuffer-local-must-match-map or
15099 minibuffer-local-filename-completion-map.
15101 2011-07-01 Glenn Morris <rgm@gnu.org>
15103 * type-break.el (type-break-time-sum): Use dolist.
15105 * textmodes/flyspell.el (flyspell-word-search-backward):
15106 Replace CL function.
15108 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15110 * mouse.el (mouse--strip-first-event): New function.
15111 (function-key-map): Use it to map fringe clicks to normal clicks
15114 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15115 (vc-bzr-revision-completion-table): Add support for annotate and date.
15117 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15118 inherit from parent.
15120 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15122 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15123 (dired-show-file-type): Doc fixup (bug#8818).
15125 * dired.el (dired-mode): Fix up the doc string as suggested by
15126 Drew Adams (bug#8817).
15128 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15129 cookie, since the manual says that it should be possible to add
15130 this function to `find-file-hook' (bug#8709).
15132 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15134 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15135 here. Noted Ted Zlatanov as the maintainer.
15136 (cfengine-common-settings, cfengine-common-syntax): New functions
15137 to set up common things between `cfengine-mode' and
15139 (cfengine3-mode): New mode.
15140 (cfengine3-defuns cfengine3-defuns-regex
15141 (cfengine3-class-selector-regex cfengine3-category-regex)
15142 (cfengine3-vartypes cfengine3-font-lock-keywords)
15143 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15144 (cfengine3-indent-line): Add from cfengine3.el.
15146 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15148 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15150 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15152 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15154 * window.el (same-window-buffer-names, same-window-regexps)
15155 (same-window-p, special-display-frame-alist)
15156 (special-display-popup-frame, special-display-function)
15157 (special-display-buffer-names, special-display-regexps)
15158 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15159 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15160 (split-window-preferred-function, split-height-threshold)
15161 (split-width-threshold, even-window-heights)
15162 (display-buffer-mark-dedicated, window-splittable-p)
15163 (split-window-sensibly, window-safely-shrinkable-p):
15165 (display-buffer): Don't spread args with function specifier
15166 because special-display-popup-frame won't like it.
15168 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15170 Time-stamp simplifications and fixes.
15171 These improve accuracy slightly, and future-proof the code
15172 against some potential changes to current-time format.
15174 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15175 by using time-since and float-time.
15177 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15178 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15179 + NNN microseconds".
15181 * type-break.el (type-break-time-sum): Rewrite using time-add.
15183 * play/hanoi.el (hanoi-current-time-float): Remove.
15184 All uses replaced by float-time.
15186 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15187 This yields a more-accurate answer.
15188 (rng-time-to-float): Remove; no longer needed.
15190 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15192 * calendar/timeclock.el (timeclock-seconds-to-time):
15193 Defalias to seconds-to-time, since they're the same thing.
15195 * emacs-lisp/elp.el (elp-elapsed-time):
15196 * emacs-lisp/benchmark.el (benchmark-elapse):
15197 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15199 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15201 * window.el (bury-buffer): Don't iconify the only frame.
15202 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15203 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15205 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15207 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15208 Add mouse-yank-primary.
15210 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15212 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15214 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15216 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15217 (find-library-name): Use it to find relative load names when provided
15218 absolute file name (bug#8803).
15220 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15222 * textmodes/flyspell.el (flyspell-word): Consider words that
15223 differ only in case as potential doublons (bug#5687).
15225 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15226 Remove two rather uninteresting debugging-like messages to make
15227 debbugs.el more silent.
15229 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15230 a password-like phrase.
15232 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15234 * progmodes/cc-guess.el: New file.
15236 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15238 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15239 derived from `c-basic-common-init'.
15241 * progmodes/cc-mode.el (top-level): Require cc-guess.
15242 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15244 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15246 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15248 2011-06-30 Alan Mackenzie <acm@muc.de>
15250 * progmodes/cc-engine.el (c-guess-continued-construct):
15251 Correct the handling of template-args-cont, particularly for when font
15252 lock is disabled. Name this case as "CASE G".
15254 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15256 * allout.el (allout-yank-processing): Fix injection of extra space
15257 between bullet and non-whitespace character in first topic when
15258 pasting, ensuring that the actual spacing in the pasted topic
15259 following the bullet char is preserved. This extra space was
15260 causing pasted encrypted topics to get a decrypted status even
15261 when the content was actually still encrypted. Now the decryption
15262 status from before the paste is preserved.
15264 (allout-flag-region): Set all allout overlays so they evaporate
15265 when reduced to zero length (evanescent), to prevent overlay
15268 2011-06-30 Glenn Morris <rgm@gnu.org>
15270 * w32-fns.el (w32-charset-info-alist): Declare.
15272 * find-dired.el (find-grep-options): Simplify.
15274 * term/ns-win.el (ns-set-resource): Declare.
15276 * ses.el (row, col): Declare dynamic variables honestly.
15278 * textmodes/reftex-parse.el (index-tags): Declare.
15280 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15282 * cus-edit.el (customize-push-and-save): New function.
15284 * files.el (hack-local-variables-confirm): Use it.
15286 * custom.el (load-theme): New arg NO-CONFIRM.
15287 Use customize-push-and-save (Bug#8720).
15288 (custom-enabled-themes): Doc fix.
15290 * cus-theme.el (customize-create-theme)
15291 (custom-theme-merge-theme): Callers to load-theme changed.
15293 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15295 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15296 short URLs have at least one dot in them (bug #7614).
15298 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15299 nil, because using a pty is apparently too slow (bug #895).
15301 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15303 * mail/sendmail.el (sendmail-query-once): New function.
15304 (sendmail-query-once-function): New variable.
15306 2011-06-29 Glenn Morris <rgm@gnu.org>
15308 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15310 * ses.el (top-level): Require cl when compiling.
15311 (ses-set-localvars): Fix error statement.
15312 Call it at compile time to silence a storm of warnings.
15314 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15316 * window.el (normalize-live-buffer): Rename to
15317 window-normalize-buffer.
15318 (normalize-live-frame): Rename to window-normalize-frame.
15319 (normalize-any-window): Rename to window-normalize-any-window.
15320 (normalize-live-window): Rename to window-normalize-live-window.
15321 (make-window-atom): Rename to window-make-atom.
15322 (window-resize-reset): Rename to window--resize-reset.
15323 (window-resize-reset-1): Rename to window--resize-reset-1.
15324 (resize-mini-window): Rename to window--resize-mini-window.
15325 (resize-subwindows-skip-p): Rename to
15326 window--resize-subwindows-skip-p.
15327 (resize-subwindows-normal): Rename to
15328 window--resize-subwindows-normal.
15329 (resize-subwindows): Rename to window--resize-subwindows.
15330 (resize-other-windows): Rename to window--resize-siblings.
15331 (resize-this-window): Rename to window--resize-this-window.
15332 (resize-root-window): Rename to window--resize-root-window.
15333 (resize-root-window-vertically): Rename to
15334 window--resize-root-window-vertically.
15335 (normalize-buffer-to-display): Rename to
15336 window-normalize-buffer-to-display.
15337 (normalize-buffer-to-switch-to): Rename to
15338 window-normalize-buffer-to-switch-to.
15339 Correspondingly update all callers of the functions listed
15341 (display-buffer-alist, display-buffer-normalize-arguments)
15342 (display-buffer-normalize-options, display-buffer)
15343 (display-buffer-alist-set): Use "function" instead of
15346 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15348 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15349 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15350 debbugs.gnu.org. Mention acknowledgment email.
15352 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15354 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15355 buffer multibyteness, since it shouldn't matter.
15357 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15359 * window.el (display-buffer-in-side-window): Handle dedicated
15360 windows as in display-buffer-reuse-window.
15361 (display-buffer-normalize-alist): Use value of override
15363 (display-buffer-normalize-specifiers): Use value of
15364 other-window-means-other-frame specifier.
15365 (display-buffer-alist): Rewrite some texts in widgets.
15366 (display-buffer): Spread arguments when calling function
15367 specified by fun-with-args.
15369 2011-06-28 Deniz Dogan <deniz@dogan.se>
15371 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15374 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15375 selectors (Bug#5732).
15376 (css-proprietary-nmstart-re): Use `regexp-opt'.
15378 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15380 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15381 (eshell-ls-date-format): New defcustom.
15382 (eshell-ls-file): Use it.
15384 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15386 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15388 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15390 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15391 (ange-ftp-make-tmp-name): New arg.
15392 (ange-ftp-file-local-copy): Use it.
15394 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15396 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15397 no-conversion (Bug#8870).
15399 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15401 * window.el (window-right, window-left, window-child)
15402 (window-child-count, window-last-child)
15403 (window-iso-combination-p, walk-window-tree-1)
15404 (window-atom-check-1, window-tree-1, delete-window)
15405 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15406 new naming conventions - window-vchild, window-hchild,
15407 window-next and window-prev are now called window-top-child,
15408 window-left-child, window-next-sibling and window-prev-sibling
15410 (resize-window-reset): Rename to window-resize-reset.
15411 (resize-window-reset-1): Rename to window-resize-reset-1.
15412 (resize-window): Rename to window-resize.
15413 (window-min-height, window-min-width)
15414 (resize-mini-window, resize-this-window, resize-root-window)
15415 (resize-root-window-vertically, adjust-window-trailing-edge)
15416 (enlarge-window, shrink-window, maximize-window)
15417 (minimize-window, delete-window, quit-restore-window)
15418 (split-window, balance-windows, balance-windows-area-adjust)
15419 (balance-windows-area, window-state-put-2)
15420 (display-buffer-even-window-sizes, display-buffer-set-height)
15421 (display-buffer-set-width, set-window-text-height)
15422 (fit-window-to-buffer): Rename all "resize-window" prefixed
15423 calls to use the "window-resize" prefix convention.
15424 (display-buffer-alist): Fix symbol for label specifier.
15425 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15426 corresponding specifier.
15427 Reported by Juanma Barranquero <lekktu@gmail.com>.
15429 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15431 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15433 (ses-call-printer): Does not pass an empty string to formatter when the
15434 cell is empty to keep from barking printer Calc math-format-value.
15436 2011-06-27 Richard Stallman <rms@gnu.org>
15438 * battery.el (battery-mode-line-limit): New variable.
15439 (battery-update): Handle it.
15441 * mail/rmailmm.el (rmail-mime-process-multipart):
15442 Handle truncated messages.
15444 2011-06-27 Glenn Morris <rgm@gnu.org>
15446 * progmodes/flymake.el (flymake-err-line-patterns):
15447 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15449 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15451 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15452 (ses--clean-!, ses--clean-_): New functions.
15453 (ses-range): Add configurability of readout order, and conversion
15456 * ses.el (ses-repair-cell-reference-all): New function.
15457 (ses-cell-symbol): Set macro as safe, so that it can be used in
15460 * ses.el: Update cycle detection algorithm.
15461 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15462 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15463 (ses-set-localvars): New function.
15464 (ses-make-cell): Add property-list as a cell element.
15465 (ses-cell-property-get-fun, ses-cell-property-get)
15466 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15467 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15469 (ses-cell-property-set, ses-cell-property-pop)
15470 (ses-cell-property-get-handle): New macro.
15471 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15472 New aliases, used for code readability.
15473 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15475 (ses-self-reference-early-detection): New defcustom.
15476 (ses-formula-references): Robustify against self-referring cells.
15477 (ses-mode): Use ses-set-localvars.
15478 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15479 before lauching the update processing.
15480 (ses-initialize-Dijkstra-attempt): New function.
15481 (ses-recalculate-cell): Update for cycle detection based on
15482 Dijkstra algorithm.
15484 * ses.el: Fix commenting and indenting convention.
15486 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15488 * bs.el (bs-cycle-next): Complete last change.
15490 2011-06-27 Drew Adams <drew.adams@oracle.com>
15492 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15494 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15496 * net/network-stream.el (network-stream-open-starttls):
15497 Don't re-get capabilities unless we've reestablished connection.
15498 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15500 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15501 to binary to possibly avoid line encoding issues on Windows (among
15504 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15506 * net/network-stream.el (open-network-stream): Return an :error
15507 saying what the problem was, if possible.
15509 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15512 * net/network-stream.el (network-stream-open-starttls): If we
15513 wanted to use STARTTLS, and the server offered it, but we weren't
15514 able to because we had no STARTTLS support, then close the connection.
15515 (open-network-stream): Return an :error element, if present.
15517 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15519 * hl-line.el (hl-line-sticky-flag): Doc fix.
15520 (global-hl-line-sticky-flag): New option (Bug#8323).
15521 (global-hl-line-highlight): Obey it.
15523 * vc/vc.el (vc-revert-show-diff): Default to t.
15525 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15527 * allout-widgets.el (allout-widgets-post-command-business):
15528 Stop decorating intermediate isearch matches. They're not being
15529 undecorated when an isearch is continued past, and isearch
15530 automatically collapses them. This leads to "widget leaks", where
15531 decorated items accumulate in collapsed areas. Lines with lots of
15532 hidden widgets can slow down cursor travel, substantially.
15533 Too much complicated machinery would be needed to ensure undecoration,
15534 so we're doing without this nicety.
15536 (allout-widgets-tally-string): Don't try to do a hash-table-count
15537 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15538 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15539 *Messages* when allout-widgets-maintain-tally is t.
15541 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15543 * window.el (display-buffer-normalize-argument): Rename to
15544 display-buffer-normalize-arguments. Handle special meaning of
15545 LABEL argument. Respect special-display-function when popping up
15546 a new frame. Fix code searching for a window showing the buffer
15548 (display-buffer-normalize-specifiers):
15549 Call display-buffer-normalize-arguments.
15550 (display-buffer-in-window): Don't undedicate the window if its
15551 buffer remains the same.
15552 Reported by Drew Adams <drew.adams@oracle.com>.
15553 (display-buffer-alist): Add choice for same-window macro
15555 (display-buffer): Mention special meaning of LABEL argument in
15556 doc-string. Fix quoting. Don't pop up a new frame even as
15559 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15561 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15562 avoid deleting the current window in some cases (bug#8911).
15564 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15566 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15569 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15571 * net/network-stream.el (network-stream-open-starttls):
15572 Use built-in TLS support if `gnutls-available-p' is true.
15573 (network-stream-open-tls): Ditto.
15575 2011-06-26 Leo Liu <sdl.web@gmail.com>
15577 * register.el (registerv): New struct.
15578 (registerv-make): New function.
15579 (jump-to-register, describe-register-1, insert-register):
15580 Support the jump-func, print-func and insert-func slot of a registerv
15583 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15585 * vc/vc.el (vc-revert-show-diff): New defcustom.
15586 (vc-diff-internal): New arg specifying diff buffer.
15587 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15588 reuse an existing *vc-diff* buffer (Bug#8927).
15590 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15592 2011-06-26 Glenn Morris <rgm@gnu.org>
15594 * progmodes/f90.el (f90-critical-indent): New option.
15595 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15596 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15597 (f90-mode): Doc fix.
15598 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15599 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15600 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15601 (f90-match-end): Handle block, critical.
15603 2011-06-25 Glenn Morris <rgm@gnu.org>
15605 * calendar/diary-lib.el (diary-included-files): Doc fix.
15606 (diary-include-files): New function, extracted from
15607 diary-include-other-diary-files and diary-mark-included-diary-files.
15608 (diary-include-other-diary-files, diary-mark-included-diary-files):
15609 Just call diary-include-files.
15610 (diary-mark-entries): Reset diary-included-files on first call.
15612 * calendar/diary-lib.el (diary-mark-entries)
15613 (diary-mark-included-diary-files):
15614 Visit included diary-files in temp buffers.
15616 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15617 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15618 (f90-start-block-re, f90-imenu-generic-expression)
15619 (f90-looking-at-program-block-start, f90-no-block-limit):
15620 Add support for submodules.
15622 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15623 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15625 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15627 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15628 buffer-file-type before setting its value, to avoid disastrous
15629 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15631 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15633 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15635 * ses.el (ses-unload-function):
15636 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15638 * proced.el (proced-unload-function):
15639 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15641 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15643 * server.el (server-create-window-system-frame): Add parameters arg.
15644 (server-process-filter): Doc fix. Handle frame-parameters.
15646 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15648 Fix bug#8730, bug#8781.
15650 * loadhist.el (unload--set-major-mode): New function.
15651 (unload-feature): Use it.
15653 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15654 (python-unload-function): New function.
15656 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15658 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15660 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15662 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15663 the candidates list.
15665 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15667 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15669 2011-06-23 Richard Stallman <rms@gnu.org>
15671 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15672 (rmail-variables): Set next-error-move-function.
15673 (rmail-what-message): Take argument POS.
15674 (rmail-next-error-move): New function.
15676 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15678 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15679 messages for adjacent non-terminals.
15681 2011-06-23 Richard Stallman <rms@gnu.org>
15683 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15684 (rmail-show-message-1): Preserve buffer modified flag.
15685 (rmail-start-mail): Don't specify use of rmail-mail-return;
15686 that's done by mail-bury now.
15687 (rmail-mail-return): Handle arg NEWBUF.
15689 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15691 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15694 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15696 * window.el (get-lru-window, get-mru-window)
15697 (get-largest-window): Never return a minibuffer window.
15698 (display-buffer-pop-up-window): Fix a bug that could lead to
15699 reusing the minibuffer window.
15700 (display-buffer): Pass original specifier argument to
15701 display-buffer-function instead of the normalized one.
15702 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15704 2011-06-22 Leo Liu <sdl.web@gmail.com>
15706 * minibuffer.el (completing-read-function)
15707 (completing-read-default): Move from minibuf.c
15709 2011-06-22 Richard Stallman <rms@gnu.org>
15711 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15712 to Rmail even if not started by a special Rmail command.
15714 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15715 Copy the buffer currently showing just one message.
15717 2011-06-22 Roland Winkler <winkler@gnu.org>
15719 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15720 (bibtex-clean-entry): First delete the old key so that a
15721 customized algorithm for generating the new key does not get
15722 confused by the old key.
15723 (bibtex-url): Obey regexp of first step.
15724 (bibtex-search-entries): Do not use add-to-list with local
15727 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15729 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15730 stored a user name, then query for the password first, instead of
15731 waiting for SMTP to give an error message and the trying again.
15733 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15735 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15736 BUFFER in call-process.
15738 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15740 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15742 (smtpmail-try-auth-methods): Require user name and password from
15745 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15747 * window.el (display-buffer-default-specifiers)
15748 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15749 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15750 (split-window): Normalize SIDE argument (Bug#8916).
15752 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15753 (special-display-frame-alist, special-display-popup-frame):
15754 Remove duplicate declarations. These are now in window.el.
15756 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15758 * mail/smtpmail.el (smtpmail-via-smtp):
15759 Set :use-starttls-if-possible so that we always use STARTTLS if the
15760 server supports it. SMTP servers that support STARTTLS commonly
15763 * net/network-stream.el (network-stream-open-starttls): Support
15764 upgrading to STARTTLS always, even if we don't have built-in support.
15765 (open-network-stream): Add the :always-query-capabilities keyword.
15767 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15768 upgrades with `open-network-stream', and rely solely on
15769 auth-source for all credentials. Big changes throughout the file,
15771 (smtpmail-auth-credentials): Remove.
15772 (smtpmail-starttls-credentials): Remove.
15773 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15776 * net/network-stream.el (network-stream-open-starttls):
15777 Provide support for client certificates both for external and built-in
15779 (auth-source): Require.
15780 (open-network-stream): Document the :client-certificate keyword.
15781 (network-stream-certificate): Change cert-cert to cert and
15784 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15786 * net/tramp-cache.el (top): Don't load the persistency file when
15787 "emacs -Q" has been called.
15789 2011-06-21 Tim Harper <timcharper@gmail.com>
15791 * term/ns-win.el (ns-initialize-window-system):
15792 Set application-specific `ApplePressAndHoldEnabled' system
15793 resource to NO as it is not yet supported by the NS port.
15795 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15797 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15798 (list-dynamic-libraries): ...not here.
15800 2011-06-21 Leo Liu <sdl.web@gmail.com>
15802 * subr.el (sha1): Implement sha1 using secure-hash.
15804 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15806 * window.el (display-buffer-alist): In default value do not
15807 enforce searching a window on any but the selected frame.
15808 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15809 (display-buffer-select-window): Remove function.
15810 (display-buffer-in-window): When a window on another frame gets
15811 reused, do not select it any more but just raise its frame if
15812 necessary (Bug#8851) and (Bug#8856).
15813 (display-buffer-normalize-options): Handle pop-up-frames related
15814 options more faithfully.
15815 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15816 window if it is on another frame.
15817 (display-buffer-alist, display-buffer-default-specifiers):
15818 Don't make new frame unsplittable by default.
15819 (display-buffer-normalize-argument): Fix doc-string typo and use
15820 'same-frame-other-window instead of 'other-window when associating
15821 with display-buffer-macro-specifiers.
15823 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15825 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15827 (5x5-mode-map, 5x5-mode-menu): Bind them.
15828 (5x5-draw-grid): Tweak the solver's rendering.
15830 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15832 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15833 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15835 2011-06-21 Drew Adams <drew.adams@oracle.com>
15837 * menu-bar.el: Use function variable instead of switch-to-buffer.
15838 (menu-bar-select-buffer-function): New variable.
15839 (menu-bar-update-buffers): Use it (bug#8876).
15841 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15843 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15846 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15848 * x-dnd.el (x-dnd-version-from-flags)
15849 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15850 and long as number (Bug#8899).
15851 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15853 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15855 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15856 (completion-try-completion, completion-all-completions): Compute the
15857 metadata argument if it's missing; make it optional (bug#8795).
15859 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15860 (widget-complete): Use new :completion-function property.
15861 (widget-completions-at-point): New function.
15862 (default): Use :completion-function instead of :complete.
15863 (widget-default-completions): Rename from widget-default-complete;
15865 (widget-string-complete, widget-file-complete, widget-color-complete):
15867 (file, symbol, function, variable, coding-system, color):
15868 * international/mule-cmds.el (default-input-method, charset)
15869 (language-info-custom-alist):
15870 * cus-edit.el (face): Use new property :completions.
15872 * progmodes/pascal.el (pascal-completions-at-point): New function.
15873 (pascal-mode): Use it.
15874 (pascal-mode-map): Use completion-at-point.
15875 (pascal-toggle-completions): Make obsolete.
15876 (pascal-complete-word, pascal-show-completions):
15877 * progmodes/octave-mod.el (octave-complete-symbol):
15878 Redefine as obsolete alias.
15879 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15880 Signal absence of completion info for old Octave,
15881 (inferior-octave-complete): Redefine as obsolete alias.
15882 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15883 (meta-completions-at-point): Rename from meta-complete-symbol and
15884 adapt it for use on completion-at-point-functions.
15885 (meta-common-mode): Use it.
15886 (meta-looking-at-backward, meta-match-buffer): Remove.
15887 (meta-complete-symbol): Redefine as obsolete alias.
15888 (meta-common-mode-map): Use completion-at-point.
15889 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15890 (makefile-mode-map): Use completion-at-point.
15891 (makefile-completions-at-point): Rename from makefile-complete and
15892 adapt it for use on completion-at-point-functions.
15893 (makefile-mode): Use it.
15894 (makefile-complete): Redefine as obsolete alias.
15896 2011-06-20 Deniz Dogan <deniz@dogan.se>
15898 * net/rcirc.el: Delete trailing whitespaces once and for all.
15900 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15902 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15904 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
15906 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15908 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15910 2011-06-19 Martin Rudalics <rudalics@gmx.at>
15912 * window.el (display-buffer-other-window-means-other-frame):
15913 Call display-buffer-normalize-alist.
15914 (display-buffer-normalize-specifiers-1): Rename to
15915 display-buffer-normalize-argument. New argument other-frame.
15917 (display-buffer-normalize-specifiers-2): Rename to
15918 display-buffer-normalize-options.
15919 (display-buffer-normalize-alist-1): New function.
15920 (display-buffer-normalize-specifiers-3): Rename to
15921 display-buffer-normalize-alist.
15922 Call display-buffer-normalize-alist-1.
15923 (display-buffer-normalize-options-inhibit): New variable.
15924 (display-buffer-normalize-specifiers): Rewrite calling
15925 display-buffer-normalize-alist,
15926 display-buffer-normalize-argument, and
15927 display-buffer-normalize-options. Don't call the latter if
15928 display-buffer-normalize-options-inhibit is non-nil.
15929 (frame-auto-delete): New option.
15930 (window-deletable-p): Use frame-auto-delete.
15931 (window-list-no-nils, window-state-ignored-parameters)
15932 (window-state-get-1, window-state-get, window-state-put-list)
15933 (window-state-put-1, window-state-put-2, window-state-put):
15935 (display-buffer-normalize-options): Move special-display-p group
15936 after pop-up-frame group (Bug#8851) and (Bug#8856).
15938 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
15940 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15942 (rx-submatch-n): New function.
15945 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15948 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15950 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15952 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15953 anytime existing face settings are present (Bug#8889).
15955 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15956 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15957 Remove unused argument.
15959 2011-06-18 Martin Rudalics <rudalics@gmx.at>
15961 * window.el (display-buffer-default-specifiers):
15962 Remove pop-up-frame. Add pop-up-window-min-height,
15963 pop-up-window-min-width, and another reuse-window specifier
15964 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
15965 (display-buffer-normalize-specifiers-2):
15966 Handle split-height-threshold and split-width-threshold also when
15967 pop-up-windows is unset. Add a reuse-window specifier for the
15968 case popping up a new window fails.
15969 (special-display-popup-frame): Remove double quoting.
15970 (display-buffer-normalize-specifiers-1): Fix thinko.
15972 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15974 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15975 according to comint-completion-addsuffix.
15977 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15978 (pcomplete-suffix-list): Mark as obsolete.
15979 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15980 pcomplete-seen in the closure.
15981 (pcomplete-comint-setup): Setup completion-at-point as well.
15982 (pcomplete--entries): New function.
15983 (pcomplete--env-regexp): New var.
15984 (pcomplete-entries): Rewrite to work with partial-completion and
15985 without relying on pcomplete-suffix-list.
15986 (pcomplete-pare-list): Remove, unused.
15988 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15990 * window.el (display-buffer-alist): Set pop-up-window-min-height
15991 and pop-up-window-min-width in default value. Reported by
15992 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15993 other-window-means-other-frame.
15994 (display-buffer-macro-specifiers): Comment out entry for
15995 other-window specifier.
15996 (display-buffer-other-window-means-other-frame): New function.
15997 (display-buffer-normalize-specifiers-1): New arguments
15998 buffer-name and label. Treat other-window case specially.
15999 (display-buffer-normalize-specifiers-2): Treat other-window case
16001 (display-buffer-normalize-specifiers-3): New function.
16002 (display-buffer-normalize-specifiers):
16003 Call display-buffer-normalize-specifiers-3.
16005 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16007 * window.el (same-window-p): Fix two typos introduced when
16008 adding with-no-warnings.
16009 (display-buffer-normalize-specifiers-1): Don't check
16010 pop-up-frames for 'unset initialization.
16011 (display-buffer-normalize-specifiers-2): Major rewrite using
16012 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16013 (pop-up-frames, display-buffer-reuse-frames)
16014 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16015 Suggested by David Engster <deng@randomsample.de>.
16016 (even-window-heights): Initialize to 'unset.
16017 (display-buffer-alist-set): Handle new 'unset initializations.
16018 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16021 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16023 * window.el (display-buffer-normalize-specifiers-1):
16024 Respect current value of pop-up-frames for most reasonable values of
16025 second argument of display-buffer (Bug#8865).
16026 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16027 (switch-to-buffer-other-window-same-frame)
16028 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16030 (display-buffer): Don't check noninteractive when calling
16031 display-buffer-pop-up-frame.
16032 (display-buffer-pop-up-frame): Never pop up a frame in
16033 noninteractive mode (Bug#8857).
16034 (enlarge-window, shrink-window): Don't report an error when the
16035 window can't be resized as requested (Bug#8862).
16037 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16039 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16041 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16043 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16045 2011-06-15 Alan Mackenzie <acm@muc.de>
16047 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16048 for declarators, disable knr checking to speed up for normal files.
16049 2: Refactor, replacing a sequence of nested if forms by a cond form.
16051 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16053 * net/network-stream.el (open-network-stream): Add the keyword
16054 :always-query-capabilities for the case where you want to force a
16055 `plain' network connection, but the protocol still requires the
16056 capabilitiy command (i.e., SMTP and EHLO).
16058 * subr.el (process-live-p): Rename from `process-alive-p' for
16059 consistency with other `-live-p' functions.
16061 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16063 * window.el (same-window-buffer-names, same-window-regexps)
16064 (special-display-frame-alist, special-display-popup-frame)
16065 (special-display-function, special-display-buffer-names)
16066 (special-display-regexps, pop-up-frame-alist)
16067 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16068 (pop-up-windows, split-window-preferred-function)
16069 (split-height-threshold, split-width-threshold, even-window-heights)
16070 (display-buffer-mark-dedicated): Don't encourage the use of
16071 display-buffer-alist from Elisp code.
16073 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16075 * progmodes/python.el (python-mode): Derive from prog-mode.
16076 * progmodes/ps-mode.el (ps-mode):
16077 * progmodes/mixal-mode.el (mixal-mode):
16078 * progmodes/cfengine.el (cfengine-mode):
16079 * progmodes/ld-script.el (ld-script-mode): Likewise.
16081 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16083 * window.el (display-buffer-alist): Trim default value to avoid
16084 popping up a new frame (Bug#8857) or reusing an arbitrary window
16086 (display-buffer): Do not fall back on popping up a new frame in
16087 batch mode (Bug#8857).
16089 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16091 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16092 (custom-theme-summary): New function.
16093 (customize-themes): Use it.
16095 2011-06-13 Glenn Morris <rgm@gnu.org>
16097 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16099 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16101 * help.el (help-window): Remove variable.
16102 (help-window-point-marker, temp-buffer-max-height)
16103 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16104 (help-print-return-message): Don't set help-window.
16105 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16106 (help-window-setup-finish): Remove.
16107 (help-window-display-message, help-window-setup)
16108 (with-help-window): Major rewrite based on new
16109 display-buffer-window variable.
16111 * help-mode.el (help-mode-finish): Remove help-window related
16114 * view.el (view-exits-all-viewing-windows): Remove reference to
16115 view-return-to-alist in doc-string.
16116 (view-return-to-alist): Make obsolete.
16117 (view-buffer): Call pop-to-buffer-same-window and remove
16119 (view-buffer-other-window): Call pop-to-buffer-other-window and
16120 simplify code. Ignore second argument.
16121 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16122 simplify code. Ignore second argument.
16123 (view-return-to-alist-update): Make obsolete.
16124 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16125 Rewrite using quit-restore window parameters.
16126 (view-mode-exit): Rename second argument to EXIT-ONLY.
16127 Rewrite using quit-restore-window.
16128 (View-exit, View-exit-and-edit, View-leave, View-quit)
16129 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16130 appropriate arguments.
16131 (view-end-message): Use quit-restore window parameter.
16133 * window.el (display-buffer-function): Rewrite doc-string.
16134 (display-buffer-window, display-buffer-alist): New variables.
16135 (display-buffer-split-specifiers)
16136 (display-buffer-side-specifiers)
16137 (display-buffer-macro-specifiers): New constants.
16138 (display-buffer-even-window-sizes, display-buffer-set-height)
16139 (display-buffer-set-width, display-buffer-select-window)
16140 (display-buffer-in-window, display-buffer-reuse-window)
16141 (display-buffer-split-window-1, display-buffer-split-window)
16142 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16143 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16144 (display-buffer-in-side-window, normalize-buffer-to-display)
16145 (display-buffer-normalize-specifiers-1)
16146 (display-buffer-normalize-specifiers-2)
16147 (display-buffer-normalize-specifiers, display-buffer-frame):
16149 (display-buffer): Major rewrite.
16150 (display-buffer-other-window, display-buffer-other-frame)
16151 (pop-to-buffer, switch-to-buffer-other-window)
16152 (switch-to-buffer-other-frame): Rewrite.
16153 (display-buffer-same-window, display-buffer-same-frame)
16154 (display-buffer-same-frame-other-window)
16155 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16156 (pop-to-buffer-other-window)
16157 (pop-to-buffer-same-frame-other-window)
16158 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16159 (switch-to-buffer-other-window-same-frame): New functions.
16160 (same-window-p, special-display-p): Rewrite disabling warnings.
16162 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16163 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16165 (same-window-buffer-names, same-window-regexps)
16166 (special-display-frame-alist, special-display-popup-frame)
16167 (special-display-function, special-display-buffer-names)
16168 (special-display-regexps, pop-up-frame-alist)
16169 (pop-up-frame-function, split-window-preferred-function)
16170 (split-height-threshold, split-width-threshold)
16171 (even-window-heights): Make obsolete.
16173 2011-06-12 Glenn Morris <rgm@gnu.org>
16175 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16176 Misc simplifications.
16178 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16180 * window.el (window-safely-shrinkable-p): Restore function which
16181 was inadvertently removed in change from 2011-06-11. Declare as
16184 * calendar/calendar.el (calendar-generate-window):
16185 Use window-iso-combined-p instead of combination of one-window-p and
16186 window-safely-shrinkable-p.
16188 2011-06-12 Glenn Morris <rgm@gnu.org>
16190 * progmodes/fortran.el (fortran-mode-syntax-table):
16191 * progmodes/f90.el (f90-mode-syntax-table):
16192 Set % to punctuation. (Bug#8820)
16193 (f90-find-tag-default): Remove, no longer needed.
16195 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16197 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16199 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16201 * image.el (image-animated-p): Return animation delay in seconds.
16202 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16203 (image-animate-timeout): Remove DELAY argument. Don't assume
16204 every subimage has the same delay; get it from image-animated-p.
16205 (image-animate): Caller changed.
16207 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16209 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16210 to ignored backtrace functions.
16212 2011-06-11 Glenn Morris <rgm@gnu.org>
16214 * calendar/appt.el (appt-disp-window-function): Doc fix.
16215 (appt-check): Handle overlapping appointments. (Bug#8337)
16217 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16219 * window.el (window-tree-1, window-tree): New functions, moving
16220 the latter to window.el.
16221 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16222 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16223 (bw-refresh-edges): Remove.
16224 (balance-windows-1, balance-windows-2): New functions.
16225 (balance-windows): Rewrite in terms of window tree functions,
16226 balance-windows-1 and balance-windows-2.
16227 (bw-adjust-window): Remove.
16228 (balance-windows-area-adjust): New function with functionality of
16229 bw-adjust-window but using resize-window.
16230 (set-window-text-height): Rewrite doc-string.
16231 Use normalize-live-window and resize-window.
16232 (enlarge-window-horizontally, shrink-window-horizontally):
16233 Rename argument to DELTA.
16234 (window-buffer-height): New function.
16235 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16236 Rewrite using new window resize routines.
16237 (kill-buffer-and-window, mouse-autoselect-window-select):
16238 Use ignore-errors instead of condition-case.
16239 (quit-window): Call delete-frame instead of delete-windows-on
16240 for the only buffer on frame.
16242 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16244 * loadup.el (top-level): Load window before files for the sake
16245 of replace-buffer-in-windows.
16247 * files.el (read-buffer-to-switch)
16248 (switch-to-buffer-other-window)
16249 (switch-to-buffer-other-frame, display-buffer-other-frame):
16252 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16253 (previous-buffer): Move to window.el.
16255 * bindings.el (unbury-buffer): Move to window.el.
16257 * window.el (delete-other-windows-vertically): Move after
16258 definition of delete-other-windows.
16259 (other-window, delete-windows-on, replace-buffer-in-windows):
16260 Move here from window.c.
16261 (record-window-buffer, unrecord-window-buffer)
16262 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16263 (switch-to-next-buffer): New functions.
16264 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16265 from simple.el. Call switch-to-next-buffer.
16266 (previous-buffer): Move here from simple.el.
16267 Call switch-to-prev-buffer.
16268 (bury-buffer): Move here from buffer.c. Switch to previous
16269 buffer when window cannot be deleted.
16270 (unbury-buffer): Move here from bindings.el.
16271 (ctl-x-map): Move binding for other-window from window.c to
16273 (read-buffer-to-switch, switch-to-buffer-other-window)
16274 (switch-to-buffer-other-frame): Move here from files.el.
16275 (normalize-buffer-to-switch-to): New functions.
16276 (switch-to-buffer): Move here from buffer.c.
16277 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16279 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16281 * window.el (window-min-height, window-min-width): Move here
16282 from window.c. Add defcustoms and rewrite doc-strings.
16283 (resize-mini-window, resize-window): New functions.
16284 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16285 Move here from window.c.
16286 (maximize-window, minimize-window): New functions.
16287 (delete-window, delete-other-windows, split-window): Move here
16289 (window-split-min-size): New function.
16290 (split-window-keep-point): Mention split-window-above-each-other
16291 instead of split-window-vertically.
16292 (split-window-above-each-other, split-window-vertically):
16293 Rename split-window-vertically to split-window-above-each-other
16294 and provide defalias for old definition.
16295 (split-window-side-by-side, split-window-horizontally):
16296 Rename split-window-horizontally to split-window-side-by-side
16297 and provide defalias for the old definition.
16298 (ctl-x-map): Move bindings for delete-window,
16299 delete-other-windows and enlarge-window here from window.c.
16300 Replace bindings for split-window-vertically and
16301 split-window-horizontally by bindings for
16302 split-window-above-each-other and split-window-side-by-side.
16304 * cus-start.el (all): Remove entries for window-min-height and
16305 window-min-width. Add entries for window-splits and
16308 2011-06-09 Glenn Morris <rgm@gnu.org>
16310 * calendar/appt.el (appt-mode-line): New function.
16311 (appt-check, appt-disp-window): Use it.
16313 * files.el (hack-one-local-variable-eval-safep):
16314 Allow minor-modes with explicit +/-1 arguments.
16316 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16318 * term/xterm.el (xterm): Add defgroup.
16319 (xterm-extra-capabilities): Add defcustom to supply known xterm
16320 capabilities, skip querying them, or query them (default).
16321 (terminal-init-xterm): Use it.
16322 (terminal-init-xterm-modify-other-keys): New function to set up
16323 modifyOtherKeys support to simplify `terminal-init-xterm'.
16325 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16327 * window.el (resize-window-reset, resize-window-reset-1)
16328 (resize-subwindows-skip-p, resize-subwindows-normal)
16329 (resize-subwindows, resize-other-windows, resize-this-window)
16330 (resize-root-window, resize-root-window-vertically)
16331 (window-deletable-p, window-or-subwindow-p)
16332 (frame-root-window-p): New functions.
16334 2011-06-09 Glenn Morris <rgm@gnu.org>
16336 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16337 (ange-ftp-get-files): Use it.
16339 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16341 * mail/sendmail.el (mail-recover-1, mail-recover):
16342 * files.el (recover-file, recover-session):
16343 Handle dired-listing-switches not being just a single short option.
16345 2011-06-09 Glenn Morris <rgm@gnu.org>
16347 * calendar/appt.el (appt-display-message, appt-disp-window):
16348 Handle lists of appointments.
16350 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16352 * window.el (one-window-p): Move down in code.
16353 Rewrite doc-string.
16354 (window-current-scroll-bars): Rewrite doc-string.
16355 Normalize live window argument.
16356 (walk-windows, get-window-with-predicate, count-windows):
16357 Rewrite doc-string. Use window-list-1.
16358 (window-in-direction-2, window-in-direction, get-mru-window):
16361 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16363 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16364 Doc fix (Bug#8713).
16366 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16368 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16370 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16372 * loadhist.el (unload-feature-special-hooks):
16373 Add `comint-output-filter-functions'.
16375 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16377 * calendar/appt.el (appt-check): Move some initializations into the let.
16379 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16381 * window.el (window-height): Defalias to window-total-height.
16382 (window-width): Defalias to window-body-width.
16384 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16386 * image-mode.el (image-toggle-animation): New command.
16387 (image-mode-map): Bind it to RET.
16388 (image-mode): Update message.
16389 (image-toggle-display-image): Avoid a spurious cache flush.
16390 (image-transform-rotation): Doc fix.
16391 (image-transform-properties): Return quickly in the normal case.
16392 (image-animate-loop): Rename from image-animate-max-time.
16394 * image.el (image-animate-max-time): Move to image-mode.el.
16395 (create-animated-image): Remove unnecessary function.
16396 (image-animate): Rename from image-animate-start. New arg.
16397 (image-animate-stop): Remove; just use image-animate-timer.
16398 (image-animate-timer): Use car-safe.
16399 (image-animate-timeout): Rename argument.
16401 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16403 * window.el (get-lru-window, get-largest-window): Move here from
16404 window.c. Rename first argument to ALL-FRAMES.
16405 Rephrase doc-strings.
16406 (get-buffer-window-list): Rewrite using window-list-1.
16407 Rephrase doc-string.
16408 (window-safe-min-height, window-safe-min-width): New constants.
16409 (window-size-ignore, window-min-size, window-min-size-1)
16410 (window-sizable, window-sizable-p, window-size-fixed-1)
16411 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16412 (window-max-delta-1, window-max-delta, window-resizable)
16413 (window-resizable-p, window-total-height, window-total-width)
16414 (window-body-width): New functions.
16415 (window-full-height-p, window-full-width-p): Rewrite using
16417 (window-body-height): Rewrite using window-body-size.
16419 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16421 * window.el (window-right, window-left, window-child)
16422 (window-child-count, window-last-child, window-any-p)
16423 (normalize-live-buffer, normalize-live-frame)
16424 (normalize-any-window, normalize-live-window)
16425 (window-iso-combination-p, window-iso-combined-p)
16426 (window-iso-combinations)
16427 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16428 (windows-with-parameter, window-with-parameter)
16429 (window-atom-root, make-window-atom, window-atom-check-1)
16430 (window-atom-check, window-side-check, window-check):
16432 (ignore-window-parameters, window-sides, window-sides-vertical)
16433 (window-sides-slots): New variables.
16434 (window-size-fixed): Move down in code. Minor doc-string fix.
16436 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16438 * comint.el (comint-dynamic-complete-as-filename)
16439 (comint-dynamic-complete-filename): Correctly call
16440 completion-in-region.
16442 2011-06-05 Deniz Dogan <deniz@dogan.se>
16444 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16447 2011-06-05 Deniz Dogan <deniz@dogan.se>
16449 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16450 (rcirc): Use it to prompt for encryption.
16452 2011-06-05 Roland Winkler <winkler@gnu.org>
16454 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16455 (bibtex-search-entries): New command bound to C-c C-a.
16456 (bibtex-display-entries): New function.
16458 2011-06-05 Roland Winkler <winkler@gnu.org>
16460 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16461 (bibtex-insert-kill): After yanking insert newline if necessary.
16462 (bibtex-initialize): Call bibtex-string-files-init only once.
16463 (bibtex-mode): Do not call easy-menu-add.
16464 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16465 (bibtex-yank): Set arg properly if nil.
16467 2011-06-05 Roland Winkler <winkler@gnu.org>
16469 * textmodes/bibtex.el (bibtex-search-entry-globally):
16471 (bibtex-search-entry): Use it.
16473 2011-06-05 Roland Winkler <winkler@gnu.org>
16475 * textmodes/bibtex.el (bibtex-entry-format): New option
16477 (bibtex-format-entry, bibtex-reformat): Honor this option.
16478 (bibtex-parse-entry): Return fields in proper order.
16480 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16482 * doc-view.el (doc-view-remove-if): Move computation of result out
16483 of `dolist' to silence misleading lexical-binding warning.
16485 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16487 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16488 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16490 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16492 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16495 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16497 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16498 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16499 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16500 (tramp-parse-putty):
16501 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16502 (tramp-completion-function-alist-ssh)
16503 (tramp-completion-function-alist-telnet)
16504 (tramp-completion-function-alist-su)
16505 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16508 * net/tramp-ftp.el:
16510 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16511 load "tramp.el" `tramp-set-completion-function'.
16513 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * shell.el: Require and use pcomplete.
16516 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16517 (shell-completion-vars): Set pcomplete-default-completion-function.
16519 2011-06-04 Deniz Dogan <deniz@dogan.se>
16521 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16524 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16526 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16528 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16530 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16531 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16532 * vc/log-view.el (log-view-beginning-of-defun):
16533 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16534 (smerge-refine-forward, smerge-refine-chopup-region):
16535 Silence warning for unused `dotimes' counter variables.
16537 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16539 * net/tramp.el (tramp-with-progress-reporter): Rename from
16540 with-progress-reporter. Use `declare'.
16541 * net/tramp-smb.el:
16543 * net/tramp-gvfs.el: Update all uses.
16545 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16547 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16548 buffer isn't killed before making it current.
16550 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16552 Silence various byte-compiler warnings.
16553 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16554 `access-type' and new obsolescence format.
16555 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16557 (byte-compile-check-variable): New `access-type' argument.
16558 Only warn if the access-type is obsolete.
16559 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16560 (byte-compile-variable-set): Adjust callers.
16561 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16562 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16563 setting it as obsolete.
16564 * simple.el (minibuffer-completing-symbol):
16565 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16566 access as obsolete.
16567 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16569 * international/quail.el (quail-mouse-choose-completion): Remove unused
16570 code referring to obsolete var.
16571 (quail-choose-completion-string): Remove.
16572 * server.el (server-clients-with, server-kill-buffer-query-function)
16573 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16574 * proced.el (proced-send-signal):
16575 * emacs-lisp/lisp.el (lisp-complete-symbol):
16576 Replace completion-annotate-function with completion-extra-properties.
16578 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16580 * simple.el (goto-line): Use read-number.
16581 (overriding-map-is-bound): Remove.
16582 (saved-overriding-map): Change default.
16583 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16584 Take the map as argument.
16585 (universal-argument, negative-argument, digit-argument): Use it.
16586 (restore-overriding-map): Adjust.
16587 (do-auto-fill): Use fill-forward-paragraph.
16588 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16590 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16591 (minibuffer-inactive-mode): New major mode.
16592 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16593 the *Messages* buffer" hack.
16594 (mouse-popup-menubar): Don't burp if the event is a normal key.
16596 Miscellaneous tweaks.
16597 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16598 lexical scoping as in subr.el's dolist and dotimes.
16599 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16600 Silence compiler warning.
16601 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16602 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16603 * international/ccl.el (ccl-compile): Trivial simplification.
16604 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16605 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16606 `printflag' argument.
16607 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16608 Purecopy the whole obsolescence data.
16610 2011-06-01 Leo Liu <sdl.web@gmail.com>
16612 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16613 improve doc-string as suggested by Marco Pessotto
16614 <melmothx@gmail.com>.
16615 (rcirc-print): Fix last change.
16617 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16619 * minibuffer.el (complete-with-action): Return nil for the metadata and
16620 boundaries of non-functional tables.
16621 (completion-table-dynamic): Return nil for the metadata.
16622 (completion-table-with-terminator): Add default case, using
16623 complete-with-action.
16624 (completion--metadata): New function.
16625 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16626 to try and avoid pathological performance problems.
16627 (completion--embedded-envvar-table): Return `category' metadata.
16629 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16631 * subr.el (process-alive-p): New tiny convenience function.
16633 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16635 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16636 content but also its previous major mode.
16638 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16640 * emacs-lisp/debug.el (debug): Restore the previous content of the
16641 *Backtrace* buffer when we exit with C-M-c.
16643 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16645 * minibuffer.el: Add metadata method to completion tables.
16646 (completion-category-overrides): New defcustom.
16647 (completion-metadata, completion--field-metadata)
16648 (completion-metadata-get, completion--styles)
16649 (completion--cycle-threshold): New functions.
16650 (completion-try-completion, completion-all-completions):
16651 Add `metadata' argument to choose completion-styles.
16652 (completion--do-completion): Use metadata to choose cycling.
16653 (completion-all-sorted-completions): Use metadata for sorting.
16654 Remove :completion-cycle-penalty which is not needed any more.
16655 (completion--try-word-completion): Add `metadata' argument.
16656 (minibuffer-completion-help): Check metadata for annotation function
16658 (completion-file-name-table): Return `category' metadata.
16659 (minibuffer-completing-file-name): Make obsolete.
16660 * simple.el (minibuffer-completing-symbol): Make obsolete.
16661 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16662 completion-try-completion.
16664 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16666 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16668 2011-05-30 Leo Liu <sdl.web@gmail.com>
16670 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16671 (rcirc-print): Decode all incoming messages (bug#8744).
16672 (rcirc-decode-coding-system): Allow value nil for automatic coding
16675 2011-06-01 Glenn Morris <rgm@gnu.org>
16677 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16679 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16681 * image.el (image-animate-max-time): Allow nil and t values.
16683 (create-animated-image): Doc fix.
16684 (image-animate-start): Remove second arg; just use
16685 image-animate-max-time.
16686 (image-animate-timeout): Doc fix. Args changed.
16688 * image-mode.el (image-toggle-display-image): Ensure that the
16689 image spec passed to the animate timer is the same object as in
16690 the buffer's display property (Bug#6981).
16691 (image-transform-properties): Doc fix.
16693 * image.el (image-animate-max-time): Default to nil.
16695 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16697 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16698 entire buffer list (Bug#8184).
16700 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16702 * image.el (imagemagick-types-inhibit)
16703 (imagemagick-register-types): Doc fix.
16705 2011-05-29 Deniz Dogan <deniz@dogan.se>
16707 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16710 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16712 * select.el: Don't perform clipboard-manager saving in hooks;
16713 leave the hooks empty.
16715 2011-05-28 Leo Liu <sdl.web@gmail.com>
16717 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16718 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16719 (occur-edit-mode): New major mode (Bug#8463).
16720 (occur-after-change-function): New function.
16721 (occur-engine): Give Occur tags a read-only property.
16723 2011-05-28 Kevin Ryde <user42@zip.com.au>
16725 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16727 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16729 * bindings.el (help-echo): Make the initial non-indicator dash
16730 empty on graphical terminals (Bug#7295).
16732 * files.el (auto-mode-alist): Move config rule after the
16733 in-stripping one (Bug#8547).
16735 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16737 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16738 setting (Bug#8740).
16740 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16742 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16743 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16746 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16748 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16750 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16752 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16753 (hs-hide-block-at-point, hs-find-block-beginning)
16754 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16757 2011-05-28 Glenn Morris <rgm@gnu.org>
16759 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16761 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16763 * help-fns.el (describe-function-1): If the function is a derived
16764 major mode, print the parent mode.
16766 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16767 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16769 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16771 * minibuffer.el (completion--capf-wrapper): Check applicability before
16772 returning non-nil for non-exclusive completion data.
16773 * progmodes/etags.el (tags-completion-at-point-function):
16774 * info-look.el (info-lookup-completions-at-point): Mark as
16776 (info-complete): Adjust accordingly.
16778 * info-look.el: Convert to lexical-binding and completion-at-point.
16779 (info-lookup-completions-at-point): New function.
16780 (info-complete): Use it and completion-in-region.
16782 2011-05-28 Drew Adams <drew.adams@oracle.com>
16784 * isearch.el: Let M-e start with point at the first mismatched char.
16785 (isearch-fail-pos): New function.
16786 (isearch-edit-string): Use it.
16788 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16790 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16792 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16794 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16795 traversal functions for avl-trees.
16796 (avl-tree--stack): New struct.
16797 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16798 (avl-tree-enter): Add optional `updatefun' arg.
16799 (avl-tree--do-enter): Add optional `updatefun' arg.
16800 Change return value.
16801 (avl-tree-delete): Add optional `test' and `nilflag' args.
16802 (avl-tree--do-delete): Add `test' and `nilflag' args.
16803 Change return value.
16804 (avl-tree-member): Add optional `nilflag'
16805 (avl-tree-member-p): New function.
16806 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16807 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16808 (avl-tree-stack-empty-p): New functions.
16810 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16811 avl-tree--del-balance1 and make it work both ways.
16812 (avl-tree--del-balance2): Remove.
16813 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16814 make it work both ways.
16815 (avl-tree--enter-balance2): Remove.
16816 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16818 (avl-tree--mapc, avl-tree-map): Add direction argument.
16820 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16822 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16824 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16826 * select.el: Support clipboard managers with built-in function
16827 x-clipboard-manager-save, via delete-frame-functions and
16829 (xselect-convert-to-targets): Add MULTIPLE target to list.
16830 (xselect-convert-to-save-targets): New function.
16832 2011-05-27 Kenichi Handa <handa@m17n.org>
16834 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16835 let-binding rfc2047-encode-encoded-words to nil.
16837 2011-05-27 Glenn Morris <rgm@gnu.org>
16839 * mail/emacsbug.el: Don't require url-util.
16841 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16843 * files.el (set-auto-mode):
16844 Also respect mode: entries at the end of the file. (Bug#8586)
16846 2011-05-26 Glenn Morris <rgm@gnu.org>
16848 * files.el (hack-local-variables-prop-line, hack-local-variables):
16849 Downcase mode names, as seems to be traditional.
16850 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16852 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16853 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16855 2011-05-25 Julien Danjou <julien@danjou.info>
16857 * textmodes/rst.el (rst-define-level-faces): Do not define face
16858 symbol if it is already defined.
16860 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16862 * play/5x5.el (5x5-new-game, 5x5-randomize):
16863 Reset 5x5-solver-output to nil when a new grid is cast.
16864 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16865 these debugging traces, as defmacro breaks the compiled code.
16867 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16869 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16871 2011-05-24 Leo Liu <sdl.web@gmail.com>
16873 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16874 (vc-bzr-sha1): Adapt.
16876 * sha1.el: Remove. Function `sha1' is now builtin.
16878 * bindings.el: Provide sha1 feature.
16880 2011-05-24 Kenichi Handa <handa@m17n.org>
16882 * mail/sendmail.el: Require `rfc2047'.
16883 (mail-insert-from-field): Do not perform RFC2047 encoding.
16884 (mail-encode-header): New function.
16885 (sendmail-send-it): Set buffer-file-coding-system of the work
16886 buffer to the return value of select-message-coding-system.
16887 Call mail-encode-header.
16889 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16891 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16893 * mail/supercite.el (sc-default-cite-frame):
16894 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16896 2011-05-24 Glenn Morris <rgm@gnu.org>
16898 * progmodes/python.el (brm-menu): Declare.
16900 * emulation/viper.el (viper-set-hooks): Declare.
16902 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16903 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16904 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16905 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16906 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16907 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16909 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16911 Add an :exit-function for completion-at-point.
16913 * minibuffer.el (completion--done): New fun.
16914 (completion--do-completion): Use it. New arg `expect-exact'.
16915 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16916 since completion--do-completion does it for us now.
16917 (minibuffer-force-complete): Use completion--done and
16918 completion--replace. Handle sole-completion case with more care.
16919 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16920 (completion-extra-properties): New var.
16921 (completion-annotate-function): Make obsolete.
16922 (minibuffer-completion-help): Adjust accordingly.
16923 Use completion-list-insert-choice-function.
16924 (completion-at-point, completion-help-at-point):
16925 Bind completion-extra-properties.
16926 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16927 * simple.el (completion-list-insert-choice-function): New var.
16928 (completion-setup-function): Preserve it.
16929 (choose-completion): Pay attention to it, shuffle the code a bit.
16930 (choose-completion-string): New arg `insert-function'.
16932 * textmodes/bibtex.el: Convert to lexical binding.
16933 (bibtex-mode-map): Use completion-at-point.
16934 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16935 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16936 (bibtex-complete): Define as obsolete alias.
16937 (bibtex-complete-internal): Remove.
16938 (bibtex-format-entry): Remove unused sub-group in regexp.
16939 * shell.el (shell--command-completion-data)
16940 (shell-environment-variable-completion):
16941 * pcomplete.el (pcomplete-completions-at-point):
16942 * comint.el (comint--complete-file-name-data): Use :exit-function
16943 instead of completion-table-with-terminator so it also works for
16946 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16948 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16950 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16953 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16955 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16957 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16958 customization variable and implement: If non-nil, auto-fill will
16959 be inhibited while on topic's header line.
16961 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16963 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16964 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
16965 always have a solution in grid size = 5 cases.
16966 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16967 (5x5-solver-output, 5x5-log-buffer): New vars.
16968 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16969 Make these variables buffer local to achieve 5x5 multi-session-ness.
16970 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16971 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16972 (5x5-solve-suggest): New funs.
16973 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16974 randomize a grid so that we ensure that there is always a solution.
16975 (5x5-make-random-grid): Allow other movement than flipping.
16977 2011-05-23 Kevin Ryde <user42@zip.com.au>
16979 * emacs-lisp/advice.el (ad-read-advised-function):
16980 Use `function-called-at-point' as the default, if it has
16981 advice and passes PREDICATE.
16983 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16985 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16986 byte-compile-lambda if it's actually a lambda.
16988 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16989 Fix function quoting. Use backquote better.
16991 2011-05-22 Yuanle Song <sylecn@gmail.com>
16993 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16994 matching (Bug#8516).
16996 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16998 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16999 different face (Bug#8178).
17001 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17003 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17004 defface (Bug#8144).
17006 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17008 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17009 funcall as well (bug#8712). Warn when performing those conversions.
17010 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17012 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17014 2011-05-22 Glenn Morris <rgm@gnu.org>
17016 * files.el (hack-local-variables-prop-line): Small simplifications.
17017 (hack-local-variables, hack-local-variables-prop-line):
17018 If MODE-ONLY, return the mode, rather than just `t'.
17020 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17022 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17024 2011-05-21 Glenn Morris <rgm@gnu.org>
17026 * files.el (hack-local-variables-prop-line, hack-local-variables):
17027 If only interested in the mode, don't bother doing the other stuff.
17029 * image-mode.el (image-after-revert-hook):
17030 Redraw all frames on which the image is visible. (Bug#8567)
17032 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17034 * wid-edit.el (widget-checklist-match-inline):
17035 Fix 2011-04-19 change. (Bug#8649)
17037 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17039 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17040 Also allow singlespace after single-letter capitals followed by a dot.
17042 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17043 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17045 2011-05-20 Nix <nix@esperi.org.uk>
17047 * files.el (basic-save-buffer-2):
17048 Fix handling of break-hardlink-on-save with non-existent files.
17050 2011-05-19 Deniz Dogan <deniz@dogan.se>
17052 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17053 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17055 2011-05-19 Glenn Morris <rgm@gnu.org>
17057 * progmodes/f90.el (f90-type-def-re):
17058 Handle "type, bind(c)". (Bug#8691)
17060 * emacs-lisp/autoload.el (batch-update-autoloads):
17061 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17063 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17065 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17066 property for the correct connection in case of multihops.
17068 2011-05-18 Glenn Morris <rgm@gnu.org>
17070 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17071 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17073 Rationalize calendar handling of day and month abbrev-arrays.
17074 * calendar/calendar.el (calendar-customized-p): New function.
17075 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17076 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17078 (calendar-abbrev-length, calendar-day-abbrev-array)
17079 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17080 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17081 Elements may no longer be nil.
17082 (calendar-day-name, calendar-month-name):
17083 Update for changed nature of abbrev arrays.
17084 * calendar/diary-lib.el (diary-name-pattern):
17085 Update for changed nature of abbrev arrays.
17086 (diary-mark-entries-1): Update calendar-make-alist calls.
17087 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17088 * calendar/cal-html.el (cal-html-day-abbrev-array):
17089 Simply inherit from calendar-day-abbrev-array.
17091 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17093 * progmodes/grep.el (grep-mode): Disable default
17094 compilation-directory-matcher setting (bug#8684).
17096 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17098 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17099 instead of "head" and "tail". There were problems with SunOS 5.9,
17100 and it performs better.
17102 2011-05-17 Glenn Morris <rgm@gnu.org>
17104 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17106 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17107 Replace obsolete function.
17109 * shell.el (pcomplete-parse-arguments-function): Declare.
17111 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17112 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17113 (appt-check): Doc fixes.
17114 (appt-disp-window-function, appt-delete-window-function):
17115 Remove needless special case in custom :type.
17116 (appt-display-count): Default to 0, not nil.
17117 (appt-check): Reset appt-display-count to 0, not nil.
17119 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17121 * progmodes/python.el (python-font-lock-keywords):
17122 Add the Python 3.X keyword "nonlocal" (bug#8639).
17124 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17126 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17128 2011-05-16 Kevin Ryde <user42@zip.com.au>
17130 * info-look.el (makefile-automake-mode): New setups, looking in
17131 automake manual, then makefile-mode.
17132 (makefile-mode): Remove automake manual, have it just in
17133 makefile-automake-mode since there's various things different or
17134 not relevant to plain make.
17135 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17136 believe a hypothetical automake-mode would go to makefile-mode,
17137 not the other way around.
17139 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17141 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17142 hunk-end tags (Bug#8672).
17144 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17145 vc-annotate-show-diff-revision-at-line (Bug#8671).
17147 2011-05-14 Glenn Morris <rgm@gnu.org>
17149 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17150 in the middle of an existing one with multiple authors. (Bug#8645)
17151 (change-log-font-lock-keywords): Also handle multiple author lines
17152 with leading tabs. (Bug#8644)
17154 * calendar/appt.el (appt-check): Rename some local variables.
17155 Some simplification/reordering.
17157 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17158 (feedmail-sendmail-f-doesnt-sell-me-out)
17159 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17160 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17161 (feedmail-queue-runner-message-sender): Set :version.
17162 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17163 (bbdb-dwim-net-address, vm-mail): Declare.
17164 (feedmail-binmail-gnulinuxish-template):
17165 Rename from feedmail-binmail-linuxish-template.
17166 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17167 Use insert-buffer-substring.
17169 2011-05-14 Bill Carpenter <bill@carpenter.org>
17171 * mail/feedmail.el (feedmail-patch-level): Increase.
17172 (feedmail-debug): New custom group.
17173 (feedmail-confirm-outgoing-timeout)
17174 (feedmail-sendmail-f-doesnt-sell-me-out)
17175 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17176 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17177 (feedmail-sender-line, feedmail-from-line)
17178 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17179 (feedmail-spray-this-address)
17180 (feedmail-spray-address-fiddle-plex-list)
17181 (feedmail-queue-use-send-time-for-date)
17182 (feedmail-queue-use-send-time-for-message-id)
17183 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17184 (feedmail-buffer-eating-function):
17186 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17187 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17188 (feedmail-message-action-scroll-down): New functions.
17189 (feedmail-queue-directory, feedmail-queue-draft-directory):
17190 Use expand-file-name.
17191 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17192 Remove C-v help entry.
17193 (feedmail-queue-buffer-file-name): New variable.
17194 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17195 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17196 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17197 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17198 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17199 (feedmail-message-action-toggle-spray)
17200 (feedmail-run-the-queue-no-prompts)
17201 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17202 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17203 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17204 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17205 (feedmail-envelope-deducer, feedmail-fiddle-from)
17206 (feedmail-fiddle-sender, feedmail-default-date-generator)
17207 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17208 (feedmail-fiddle-spray-address)
17209 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17210 (feedmail-fiddle-list-of-fiddle-plexes)
17211 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17212 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17213 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17214 Change default. Doc fix.
17215 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17216 (feedmail-binmail-linuxish-template): New constant.
17217 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17218 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17219 (feedmail-send-it): Add debug call.
17220 Use feedmail-queue-buffer-file-name, and
17221 feedmail-send-it-immediately-wrapper.
17222 (feedmail-message-action-send): Add debug call.
17223 Use feedmail-send-it-immediately-wrapper.
17224 (feedmail-queue-express-to-queue): Add debug call.
17225 Run feedmail-queue-express-hook.
17226 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17227 (feedmail-message-action-help-blat):
17228 Rename from feedmail-queue-send-edit-prompt-help-first.
17229 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17230 Check line-endings. Handle errors better.
17231 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17232 Doc fix. Add debug call.
17233 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17234 Use feedmail-queue-send-edit-prompt-inner.
17235 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17236 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17237 from feedmail-queue-send-edit-prompt.
17238 (feedmail-queue-send-edit-prompt-help)
17239 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17240 (feedmail-tidy-up-slug): Add debug call.
17241 Respect feedmail-queue-slug-suspect-regexp.
17242 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17243 (feedmail-dump-message-to-queue): Add debug call.
17244 Expand queue-directory.
17245 (feedmail-dump-message-to-queue): Change message slightly.
17246 Use feedmail-say-chatter.
17247 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17248 (feedmail-send-it-immediately-wrapper): New function.
17249 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17250 Insert empty string rather than newline. Handle full-frame case.
17251 Use catch/throw. Use feedmail-say-chatter.
17252 (feedmail-fiddle-from): Try mail-host-address.
17253 (feedmail-default-message-id-generator): Doc fix.
17254 Bind system-time-locale. Handle missing end.
17255 (feedmail-fiddle-x-mailer): Add debug call.
17256 Handle feedmail-x-mailer-line being nil.
17257 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17258 Add debug call. Use buffer-substring-no-properties.
17259 (feedmail-say-debug, feedmail-say-chatter): New functions.
17260 (feedmail-find-eoh): Give an explicit error.
17262 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17264 * net/newst-treeview.el (newsticker-treeview-face): Change default
17265 family from helvetica to sans.
17266 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17267 etc/images/newsticker.
17269 * net/newst-reader.el (newsticker-feed-face): Change default
17270 family from helvetica to sans.
17272 * net/newst-plainview.el (newsticker-new-item-face)
17273 (newsticker-old-item-face, newsticker-immortal-item-face)
17274 (newsticker-obsolete-item-face, newsticker-date-face)
17275 (newsticker-statistics-face): Change default family from
17277 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17278 etc/images/newsticker.
17280 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17281 (newsticker--process-auto-mark-filter-match): Tell user about
17284 2011-05-13 Didier Verna <didier@xemacs.org>
17286 Common Lisp indentation improvements on defmethod and lambda-lists.
17287 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17289 (lisp-lambda-list-keyword-parameter-indentation)
17290 (lisp-lambda-list-keyword-parameter-alignment)
17291 (lisp-lambda-list-keyword-alignment): New customizable user options.
17292 (lisp-indent-defun-method): Improve docstring.
17293 (extended-loop-p): Fix comment.
17294 (lisp-indent-lambda-list-keywords-regexp): New variable.
17295 (lisp-indent-lambda-list): New function.
17296 (lisp-indent-259): Use it.
17297 (lisp-indent-defmethod): Support for more than one
17298 method qualifier and properly indent methods lambda-lists.
17299 (defgeneric): Provide a missing common-lisp-indent-function property.
17301 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17303 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17304 bounds for the empty string (bug#8667).
17306 2011-05-13 Glenn Morris <rgm@gnu.org>
17308 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17310 * mail/sendmail.el (sendmail-program): Try executable-find first.
17311 (sendmail-send-it): `sendmail-program' cannot be unbound.
17313 * calendar/appt.el (appt-make-list): Simplify.
17314 (appt-time-msg-list): Doc fix.
17315 (appt-check): Change mode-line message at the time of the appointment.
17317 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17319 * progmodes/ld-script.el (ld-script-keywords)
17320 (ld-script-builtins): Update keywords list.
17322 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17324 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17326 * shell.el (shell-completion-vars): New function.
17328 * simple.el (read-shell-command): Use it.
17329 (blink-matching-open): No need for " [...]" in minibuffer-message.
17331 2011-05-12 Glenn Morris <rgm@gnu.org>
17333 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17334 (appt-check): Simplify.
17336 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17338 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17339 literal "/dev/null".
17341 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17343 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17346 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17348 * progmodes/which-func.el (which-function):
17349 Use add-log-current-defun instead of add-log-current-defun-function,
17350 which might not be defined (Bug#8260).
17352 2011-05-12 Glenn Morris <rgm@gnu.org>
17354 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17355 Let byte-compile-initial-macro-environment always take precedence.
17357 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17359 * net/rcirc.el: Add support for SSL/TLS connections.
17360 (rcirc-server-alist): New field `encryption'.
17361 (rcirc): Check `encryption' settings.
17362 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17363 Merge make-local-variable into `set'.
17364 (rcirc--connection-open-p): New function.
17365 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17366 the process is not a network process (e.g. running gnutls-cli).
17367 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17368 Make rcirc-(en|de)code-coding-system local here.
17369 (rcirc-mode): Merge make-local-variable into `set'.
17370 (rcirc-parent-buffer): Make permanent buffer-local.
17371 (rcirc-multiline-minor-mode): Don't do it here.
17372 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17373 there's no server buffer.
17375 2011-05-11 Glenn Morris <rgm@gnu.org>
17377 * newcomment.el (comment-kill): Prefix "unused" local.
17379 * term/w32console.el (get-screen-color): Declare.
17381 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17382 Handle symbol elements of byte-compile-initial-macro-environment.
17384 2011-05-10 Leo Liu <sdl.web@gmail.com>
17386 * bookmark.el (bookmark-bmenu-mode-map):
17387 Bind bookmark-bmenu-search to `/'.
17389 * mail/footnote.el: Convert to utf-8 encoding.
17390 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17391 (Footnote-unicode): New function.
17392 (footnote-style-alist): Add unicode style to the list.
17393 (footnote-style): Doc fix.
17395 2011-05-10 Jim Meyering <meyering@redhat.com>
17397 Fix doubled-word typos.
17398 * international/quail.el (quail-insert-kbd-layout): and and -> and
17399 * kermit.el: and and -> and
17400 * net/ldap.el (ldap-search-internal): to to -> to
17401 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17402 * progmodes/js.el (js-mode): and and -> and
17403 * textmodes/artist.el (artist-move-to-xy): at at -> at
17404 (artist-draw-region-trim-line-endings): if if -> if
17405 And Safetyc -> Safety.
17406 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17408 2011-05-10 Glenn Morris <rgm@gnu.org>
17409 Stefan Monnier <monnier@iro.umontreal.ca>
17411 * files.el (hack-one-local-variable-eval-safep):
17412 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17414 2011-05-10 Glenn Morris <rgm@gnu.org>
17416 * calendar/diary-lib.el (diary-list-entries-hook)
17417 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17418 (diary-nongregorian-marking-hook, diary-list-entries)
17419 (diary-include-other-diary-files, diary-mark-entries)
17420 (diary-mark-included-diary-files): Doc fixes.
17422 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17424 * misc.el: Require tabulated-list.el during compilation.
17426 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17428 * progmodes/compile.el (compilation-start):
17429 Run compilation-filter-hook for the async case too.
17430 (compilation-filter-hook): Doc fix.
17432 2011-05-09 Deniz Dogan <deniz@dogan.se>
17434 * wdired.el: Remove outdated installation comment. Fix usage
17437 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17439 * misc.el: Implement new command `list-dynamic-libraries'.
17440 (list-dynamic-libraries--loaded-only-p): New variable.
17441 (list-dynamic-libraries--refresh): New function.
17442 (list-dynamic-libraries): New command.
17444 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17446 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17447 Fix the ant regexp to handle end-line and end-column info from jikes.
17448 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17449 higher priority to avoid clobbering by gnu.
17451 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17453 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17454 if the face has existing theme settings (Bug#8454).
17456 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17458 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17459 Only match variables declared via `my' or `our' (Bug#8261).
17461 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17462 special file names `.' and `..' (Bug#8259).
17464 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17466 * progmodes/grep.el (grep-mode-font-lock-keywords):
17467 Remove buffer-changing entries.
17468 (grep-filter): New function.
17469 (grep-mode): Add it to compilation-filter-hook.
17471 * progmodes/compile.el (compilation-filter-hook)
17472 (compilation-filter-start): New defvars.
17473 (compilation-filter): Call compilation-filter-hook prior to
17474 updating the process mark.
17476 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17478 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17480 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17482 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17483 mailclient-send-it even if window-system is nil. (Bug#8595)
17485 * term/w32console.el (terminal-init-w32console):
17486 Call get-screen-color and use its output to set the frame
17487 background-mode. (Bug#8597)
17489 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17491 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17492 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17494 (defgeneric, eieio--defmethod): Use them.
17495 (eieio-defgeneric): Remove.
17496 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17498 2011-05-07 Glenn Morris <rgm@gnu.org>
17500 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17501 Use let rather than let*.
17502 (timeclock-find-discrep): Remove unused local.
17504 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17506 * calendar/appt.el (appt-time-msg-list): Doc fix.
17508 2011-05-06 Noah Friedman <friedman@splode.com>
17510 * apropos.el (apropos-print-doc): Only use
17511 emacs-lisp-docstring-fill-column when it is bound to an integer,
17512 per that variable's documentation.
17514 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17516 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17517 and warnings are not silently discarded (e.g. use -d instead of -P).
17519 2011-05-06 Glenn Morris <rgm@gnu.org>
17521 * calendar/appt.el (appt-message-warning-time): Doc fix.
17522 (appt-warning-time-regexp): New option.
17523 (appt-make-list): Respect appt-message-warning-time.
17525 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17527 (diary-add-to-list): Strip comments from the displayed string.
17528 (diary-mode): Set comment-start and comment-end.
17530 * vc/diff-mode.el (smerge-refine-subst): Declare.
17531 (diff-refine-hunk): Don't require smerge-mode when compiling.
17533 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17535 * simple.el (list-processes): Return nil as the docstring says.
17537 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17539 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17541 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17542 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17543 determining of binary transfer. (Bug#7383)
17545 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17547 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17548 Fix port computation bug. (Bug#8618)
17550 2011-05-05 Glenn Morris <rgm@gnu.org>
17552 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17554 * simple.el (shell-dynamic-complete-functions)
17555 (comint-dynamic-complete-functions): Declare.
17557 * net/network-stream.el (gnutls-negotiate):
17558 * simple.el (tabulated-list-print): Fix declarations.
17560 * progmodes/gud.el (syntax-symbol, syntax-point):
17561 Remove unnecessary and incorrect declarations.
17563 * emacs-lisp/check-declare.el (check-declare-scan):
17564 Handle byte-compile-initial-macro-environment in bytecomp.el
17566 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17568 Fix earlier half-done eieio-defmethod change (bug#8338).
17569 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17570 Streamline and change calling convention.
17571 (defmethod): Adjust accordingly and simplify.
17572 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17573 new eieio--defmethod.
17574 (slot-boundp): Minor CSE simplification.
17576 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17578 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17579 (glasses-make-readable): Use glasses-separate-capital-groups.
17581 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17583 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17584 (warning-series): Doc fix.
17585 (display-warning): Don't try to create the buffer if we just found it.
17587 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17589 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17590 (autoload-find-generated-file): New function.
17591 (generate-file-autoloads): Bind generated-autoload-file to
17593 (update-file-autoloads, update-directory-autoloads):
17594 Use autoload-find-generated-file. If called interactively, prompt for
17595 output file (Bug#7989).
17596 (batch-update-autoloads): Doc fix.
17598 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17600 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17602 2011-05-04 Glenn Morris <rgm@gnu.org>
17604 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17605 function, so it follows changes in calendar-date-style.
17606 (diary-fancy-date-matcher): New function.
17607 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17608 (diary-fancy-font-lock-fontify-region-function):
17609 Use diary-fancy-date-pattern as a function.
17611 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17612 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17614 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17616 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17617 instead of positional arguments. Allow :keylist and :crlfiles
17619 (open-gnutls-stream): Call it.
17621 * net/network-stream.el (network-stream-open-starttls): Adjust to
17622 call `gnutls-negotiate' with :process and :hostname arguments.
17624 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17626 * minibuffer.el (completion--message): New function.
17627 (completion--do-completion, minibuffer-complete)
17628 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17629 (completion--do-completion): Don't ignore completion-auto-help when in
17632 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17633 internal encoding (e.g. tibetan zero is not whitespace).
17634 (global-whitespace-mode): Prefer save-current-buffer.
17635 (whitespace-trailing-regexp): Remove useless save-match-data.
17636 (whitespace-empty-at-bob-regexp): Minor simplification.
17638 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17640 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17642 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17644 * textmodes/ispell.el (ispell-add-per-file-word-list):
17645 Use `concat' to create string for insertion.
17647 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17649 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17650 Avoid open-line which runs post-self-insert-hook.
17651 (bibtex-fill-entry): Remove unused `end' var.
17653 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17655 * textmodes/ispell.el (ispell-add-per-file-word-list):
17656 Protect against `nil' value of `comment-start' (Bug#8579).
17658 2011-05-03 Leo Liu <sdl.web@gmail.com>
17660 * isearch.el (isearch-yank-pop): New command.
17661 (isearch-mode-map): Bind it to `M-y'.
17662 (isearch-forward): Mention it.
17664 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17666 * simple.el (minibuffer-complete-shell-command): Remove.
17667 (minibuffer-local-shell-command-map): Use completion-at-point.
17668 (read-shell-command): Setup completion vars here instead.
17669 (read-expression-map): Bind TAB to symbol completion.
17671 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17672 error directly rather via storing it into `results'.
17674 2011-05-02 Leo Liu <sdl.web@gmail.com>
17676 * vc/diff.el: Fix description.
17678 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17680 * server.el (server-eval-at): New function.
17682 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17684 * net/network-stream.el (open-network-stream): Take a :nowait
17685 parameter and pass it on to `make-network-process'.
17686 (network-stream-open-plain): Ditto.
17688 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17690 * faces.el (face-spec-set-match-display): Don't match toolkit
17691 options on terminal frames.
17693 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17695 * progmodes/pascal.el: Use lexical binding.
17696 (pascal-mode-map): Remove author preferences.
17698 * pcomplete.el (pcomplete-std-complete): Don't abuse
17699 completion-at-point.
17701 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17703 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17704 removing code that has been dead since 1991 or so.
17706 * startup.el (command-line): When warning about "_emacs", use a
17707 delayed warning to allow the user to filter it out.
17709 2011-04-28 Deniz Dogan <deniz@dogan.se>
17711 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17712 user has not joined.
17714 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17716 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17717 aren't any completions at point.
17719 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17721 * subr.el (display-delayed-warnings): New function.
17722 (delayed-warnings-hook): New variable.
17724 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17726 * minibuffer.el (completion-at-point, completion-help-at-point):
17727 Don't presume that a given completion-at-point-function will always
17728 use the same calling convention.
17730 * pcomplete.el (pcomplete-completions-at-point):
17731 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17732 pcomplete-seen is non-nil.
17733 (pcomplete-comint-setup): Also recognize the new comint/shell
17734 completion functions.
17735 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17736 pcomplete-seen is non-nil.
17738 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17740 * calendar/icalendar.el (diary-lib): Add require statement.
17741 (icalendar--create-uid): Read out a uid from a text-property on
17742 the first character in the entry. This allows for code to add its
17743 own uid to the entry.
17744 (icalendar--convert-float-to-ical): Add export of
17745 `diary-float'-entries save for those with the optional DAY
17748 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17750 * subr.el (shell-quote-argument): Use alternate escaping strategy
17751 when we spot a variable reference in a string.
17753 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17755 * cus-start.el (all): Define customization for debug-on-event.
17757 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17759 * subr.el (shell-quote-argument): Escape correctly under Windows.
17761 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17763 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17765 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17767 * net/tramp.el (tramp-process-actions): Add POS argument.
17768 Delete region between POS and (pos).
17770 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17771 Use `nil' position in `tramp-process-actions' call.
17772 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17774 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17775 position in `tramp-process-actions' call.
17777 * net/trampver.el: Update release number.
17779 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17781 * custom.el (defcustom): Obey lexical-binding.
17783 Fix octave-inf completion problems reported by Alexander Klimov.
17784 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17785 Inherit from octave-mode-syntax-table.
17786 (inferior-octave-mode): Set info-lookup-mode.
17787 (inferior-octave-completion-at-point): New function.
17788 (inferior-octave-complete): Use it and completion-in-region.
17789 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17790 comint-filename-completion.
17791 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17792 symbol elements which shouldn't be word elements.
17793 (octave-font-lock-keywords, octave-beginning-of-defun)
17794 (octave-function-header-regexp): Adjust regexps accordingly.
17795 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17797 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17799 * net/gnutls.el (gnutls-errorp): Declare before first use.
17801 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17803 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17804 verify-error, and verify-hostname-error parameters. Check whether
17805 default trustfile exists before going to use it. Add missing
17806 argument to gnutls-message-maybe call. Return value.
17807 Reported by Claudio Bley <claudio.bley@gmail.com>.
17808 (open-gnutls-stream): Add usage example.
17810 * net/network-stream.el (network-stream-open-starttls): Give host
17811 parameter to `gnutls-negotiate'.
17812 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17813 * subr.el (shell-quote-argument): Escape correctly under Windows.
17815 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17817 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17818 Use correct match group (bug#8438).
17820 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17822 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17823 (package-menu--generate): New arg specifying packages to show.
17824 (package-menu-refresh, package-menu-execute, list-packages):
17826 (package-show-package-list): New function, replacing deleted
17827 package--list-packages (renamed because it is non-internal).
17829 * finder.el (finder-list-matches): Use package-show-package-list
17830 instead of deleted package--list-packages.
17832 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17833 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17834 (vc-annotate-mode-map): Bind it to RET.
17836 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17838 * progmodes/etags.el (next-file): Don't use set-buffer to change
17839 buffers (Bug#8478).
17841 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17843 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17845 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17846 (apropos-accumulator): Doc fix.
17847 (apropos-function, apropos-macro, apropos-command)
17848 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17849 (apropos-plist): Add face property.
17850 (apropos-symbols-internal): Fix indentation.
17851 (apropos-print): Simplify help, and recognize apropos-multi-type.
17852 (apropos-print-doc): Use button-type-get to extract the button's
17853 face property. Fill docstring (Bug#8352).
17855 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17857 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17859 * play/mpuz.el (mpuz-silent): Doc fix.
17860 (mpuz-mode-map): Use mapc.
17861 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17862 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17863 Fix typos in docstrings.
17865 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17866 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17868 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17870 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17872 * minibuffer.el (completion--do-completion): Avoid the "Next char
17873 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17875 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17876 mouse-2 into unread-command-events, it is interpreted correctly.
17878 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17879 (image-toggle-display): Doc fix.
17881 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17883 * textmodes/page.el (what-page): Use line-number-at-pos to
17884 calculate line number (Bug#6825).
17886 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17888 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17889 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17890 Pass argument NO-DEFAULT to `find-tag-interactive'.
17892 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17894 Lexical-binding cleanup.
17896 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17897 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17898 * progmodes/ada-prj.el (ada-prj-initialize-values)
17899 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17900 (ada-prj-show-value):
17901 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17902 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17903 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17904 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17905 * progmodes/bug-reference.el (bug-reference-push-button):
17906 * progmodes/fortran.el (fortran-line-length):
17907 * progmodes/glasses.el (glasses-change):
17908 * progmodes/octave-mod.el (octave-fill-paragraph):
17909 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17910 (python-pdbtrack-grub-for-buffer, python-sentinel):
17911 * progmodes/sql.el (sql-save-connection):
17912 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17913 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17914 Mark unused parameters.
17916 * progmodes/compile.el (compilation--flush-directory-cache)
17917 (compilation--flush-parse, compile-internal): Mark unused parameters.
17918 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17919 (compilation-next-error-function): Remove unused variable `timestamp'.
17921 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17922 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17924 * progmodes/dcl-mode.el (dcl-end-of-command):
17925 Remove unused variable `start'.
17926 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17927 (dcl-option-value-basic, dcl-option-value-offset)
17928 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17929 Mark unused parameters.
17930 (dcl-save-local-variable): Remove unused variable `val'.
17933 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17934 Mark unused parameters.
17935 (delphi-ignore-changes): Move before first use.
17936 (delphi-charset-token-at): Remove unused variable `start'.
17937 (delphi-else-start): Remove unused variable `if-count'.
17938 (delphi-comment-block-start, delphi-comment-block-end):
17939 Remove unused variable `kind'.
17940 (delphi-indent-line): Remove unused variable `new-point'.
17942 * progmodes/ebrowse.el (ebrowse-files-list)
17943 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17944 Mark unused parameters. Don't quote `lambda'.
17945 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17946 Don't quote `lambda'.
17947 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17948 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17949 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17950 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17951 Use `ignore-errors'.
17952 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17953 (ebrowse-view/find-file-and-search-pattern)
17954 (ebrowse-view/find-member-declaration/definition):
17955 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17956 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17957 Rename parameter PREFIX-ARG to PREFIX.
17958 (ebrowse-tags-read-name): Remove unused variables `start' and
17960 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17963 * progmodes/etags.el (local-find-tag-hook): Declare.
17964 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17965 Mark unused parameters.
17967 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17968 (executable-interpret): Mark unused parameter.
17970 * progmodes/flymake.el (flymake-process-sentinel)
17971 (flymake-after-change-function)
17972 (flymake-create-temp-with-folder-structure)
17973 (flymake-get-include-dirs-dot): Mark unused parameters.
17974 (flymake-safe-delete-directory): Remove unused variable `err'.
17976 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17977 (speedbar-timer-fn, speedbar-line-text)
17978 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17979 (speedbar-center-buffer-smartly): Declare functions.
17980 (gdb-find-watch-expression): Remove unused variable `array'.
17981 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17982 (gdb-starting): Mark unused parameters.
17983 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17984 (gdb-table-string): Remove unused variable `res'.
17985 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17986 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17987 (gdb-display-buffer): Remove unused variable `cur-size'.
17989 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17990 allow lexical-binding compilation.
17991 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17992 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17993 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17994 Mark unused parameters.
17995 (gud-gdb-marker-filter): Remove unused variable `match'.
17996 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17997 lambda expressions and funcall them, instead of using `fset'.
17999 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18000 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18002 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18003 variable `header-beg'; use `let'.
18005 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18006 `restart', `last-sexp' and `at-do'.
18008 * progmodes/js.el (js--debug): Mark unused parameter.
18009 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18010 (js--splice-into-items): Remove unused variable `item'.
18011 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18013 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18014 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18015 (makefile-complete): Remove unused variable `try'.
18016 (makefile-fill-paragraph, makefile-match-function-end):
18017 Mark unused parameters.
18019 * progmodes/octave-inf.el (inferior-octave-complete):
18020 Remove unused variable `proc'.
18021 (inferior-octave-output-digest): Mark unused parameter.
18023 * progmodes/perl-mode.el (perl-calculate-indent):
18024 Remove unused variable `err'.
18026 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18027 (prolog-indent-line): Mark unused parameters.
18028 (prolog-indent-line): Remove unused variable `beg'.
18030 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18031 (reporter-dont-compact-list): Declare.
18033 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18034 Remove unused variable `char'.
18035 (sh-debug): Mark unused parameter.
18036 (sh-get-indent-info): Remove unused variable `start'.
18037 (sh-calculate-indent): Remove unused variable `var'.
18039 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18040 (simula-electric-keyword): Remove unused variable `null'.
18041 (simula-search-backward, simula-search-forward): Remove unused
18042 variables `begin' and `end'.
18044 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18045 Remove unused variable `pos'.
18046 (vera-electric-tab, vera-comment-uncomment-region):
18047 Mark unused parameters.
18048 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18050 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18052 * emacs-lisp/package.el (package--builtins, package-alist)
18053 (package-load-descriptor, package-built-in-p, package-activate)
18054 (define-package, package-installed-p)
18055 (package-compute-transaction, package-buffer-info)
18056 (package--push): Doc fix. Distinguish more clearly between
18057 version strings and version lists.
18059 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18061 Lexical-binding cleanup.
18063 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18064 (5x5-make-mutate-best):
18065 * play/fortune.el (fortune-in-buffer):
18066 * play/gomoku.el (gomoku-init-display):
18067 * play/solitaire.el (solitaire, solitaire-do-check):
18068 * play/tetris.el (tetris-default-update-speed-function):
18069 Mark unused parameters.
18071 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18072 (bubbles--shift): Remove unused variable `char-org'.
18073 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18074 (bubbles--show-images): Remove unused variable `char'.
18076 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18077 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18078 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18079 (decipher-analyze-buffer): Use ?\s.
18080 (decipher-make-checkpoint): Remove unused variable `mapping'.
18082 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18084 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18085 Remove unused variable `result'; use `let'.
18087 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18088 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18089 (gametree-children-shown-p, gametree-compute-reduced-score):
18090 Use `ignore-errors'.
18092 * play/handwrite.el (ps-lpr-switches): Declare.
18093 (handwrite): Remove unused variables `pmin' and `lastp'.
18095 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18097 * play/landmark.el (landmark-init-display)
18098 (landmark-update-naught-weights): Mark unused parameters.
18099 (landmark-y): Remove unused variable `noise'. Simplify.
18100 (landmark-human-plays): Remove unused variable `score'.
18102 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18103 (mpuz-try-proposal): Remove unused variable `game'.
18105 * play/zone.el (life-patterns): Declare.
18107 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18109 * vc/vc.el (ediff-vc-internal): Declare function.
18111 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18113 * shell.el: Use lexical-binding and std completion UI.
18114 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18115 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18116 comint-preoutput-filter-functions rather than on
18117 comint-output-filter-functions.
18118 (shell-command-completion, shell--command-completion-data)
18119 (shell-filename-completion, shell-environment-variable-completion)
18120 (shell-c-a-p-replace-by-expanded-directory): New functions.
18121 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18122 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18123 (shell-dynamic-complete-environment-variable): Use them.
18124 (shell-dynamic-complete-as-environment-variable)
18125 (shell-dynamic-complete-as-command): Remove.
18126 (shell-match-partial-variable): Match past point.
18127 * comint.el: Clean up use of completion-at-point-functions.
18128 (comint-completion-at-point): New function.
18129 (comint-mode): Use it completion-at-point-functions.
18130 (comint-dynamic-complete): Make it obsolete.
18131 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18132 (comint-c-a-p-replace-by-expanded-history): New function.
18133 (comint-dynamic-complete-functions)
18134 (comint-replace-by-expanded-history): Use it.
18135 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18136 termination strings. Try harder to avoid second try-completion.
18137 (completion-in-region-mode-map): Disable bindings that don't work yet.
18139 * comint.el: Use lexical-binding. Require CL.
18140 (comint-dynamic-complete-functions): Use comint-filename-completion.
18141 (comint-completion-addsuffix): Tweak custom type.
18142 (comint-filename-completion, comint--common-suffix)
18143 (comint--common-quoted-suffix, comint--table-subvert)
18144 (comint--complete-file-name-data): New functions.
18145 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18146 (comint-dynamic-list-filename-completions): Use them.
18147 (comint-dynamic-simple-complete): Make obsolete.
18149 * minibuffer.el (completion-in-region-mode):
18150 Keep completion-in-region-mode--predicate global.
18151 (completion-in-region--postch):
18152 Assume completion-in-region-mode--predicate is not null.
18154 * progmodes/flymake.el (flymake-start-syntax-check-process):
18155 Obey `dir'. Simplify.
18157 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18158 we're in VC after all.
18160 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18162 * vc/vc.el (vc-diff-build-argument-list-internal)
18163 (vc-version-ediff, vc-ediff): New commands.
18164 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18166 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18168 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18171 * obsolete/erc-hecomplete.el: Make obsolete.
18172 * obsolete/: Standardize obsolescence info in the header.
18174 2011-04-20 Glenn Morris <rgm@gnu.org>
18176 * calendar/solar.el (solar-horizontal-coordinates):
18177 Use the longitude argument rather than `calendar-longitude'.
18178 (solar-date-next-longitude): Remove unused locals.
18180 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18182 * whitespace.el: New version 13.2.1.
18184 2011-04-20 felix <EmacsWiki> (tiny change)
18186 * whitespace.el (global-whitespace-mode): Keep highlight when
18187 switching between major modes on a file.
18189 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18191 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18192 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18193 multi-line comments as well.
18195 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18197 Lexical-binding cleanup.
18199 * arc-mode.el (archive-mode-revert):
18200 * cmuscheme.el (scheme-interactively-start-process):
18201 * custom.el (custom-initialize-delay):
18202 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18203 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18204 * emacs-lock.el (emacs-lock-clear-sentinel):
18205 * ezimage.el (defezimage):
18206 * follow.el (follow-avoid-tail-recenter):
18207 * fringe.el (set-fringe-mode-1):
18208 * generic-x.el (bat-generic-mode-compile):
18209 * help-mode.el (help-info-variable, help-do-xref)
18210 (help-mode-revert-buffer):
18211 * help.el (view-emacs-todo):
18212 * iswitchb.el (iswitchb-completion-help):
18213 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18214 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18215 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18216 * locate.el (locate-update):
18217 * longlines.el (longlines-encode-region)
18218 (longlines-after-change-function):
18219 * outline.el (outline-isearch-open-invisible):
18220 * ps-def.el (declare-function, charset-dimension, char-width)
18222 * ps-mule.el (ps-mule-plot-string):
18223 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18224 (recentf-edit-list-select, recentf-edit-list-validate)
18225 (recentf-open-files-action):
18226 * rect.el (delete-whitespace-rectangle-line)
18227 (rectangle-number-line-callback):
18228 * register.el (window-configuration-to-register)
18229 (frame-configuration-to-register):
18230 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18231 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18232 (xselect-convert-to-targets, xselect-convert-to-delete)
18233 (xselect-convert-to-filename, xselect-convert-to-charpos)
18234 (xselect-convert-to-lineno, xselect-convert-to-colno)
18235 (xselect-convert-to-os, xselect-convert-to-host)
18236 (xselect-convert-to-user, xselect-convert-to-class)
18237 (xselect-convert-to-name, xselect-convert-to-integer)
18238 (xselect-convert-to-atom, xselect-convert-to-identity):
18239 * subr.el (declare, ignore, process-kill-without-query)
18240 (text-clone-maintain):
18241 * terminal.el (te-get-char, te-tic-sentinel):
18242 * tool-bar.el (tool-bar-make-keymap):
18243 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18244 * type-break.el (type-break-mode, type-break-noninteractive-query):
18245 * view.el (View-back-to-mark):
18246 * wid-browse.el (widget-browse-action, widget-browse-widget)
18247 (widget-browse-widgets, widget-browse-sexp):
18248 * widget.el (define-widget-keywords):
18249 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18250 Mark unused parameters.
18252 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18253 (align-areas): Remove unused variable `look'.
18254 (align-region): Remove unused variables `real-end' and `pos-list'.
18256 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18258 * bindings.el (mode-line-modified, mode-line-remote):
18259 Mark unused parameters.
18260 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18262 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18263 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18265 * comint.el (comint-history-isearch-pop-state)
18266 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18267 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18268 (comint-substitute-in-file-name): Doc fix.
18270 * completion.el (cmpl-statistics-block): Mark unused parameter.
18271 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18272 (save-completions-to-file, load-completions-from-file):
18273 Remove unused local variable `e'.
18275 * composite.el (compose-chars): Remove unused variable `len'.
18276 (lgstring-insert-glyph): Remove unused variable `g'.
18277 (compose-glyph-string): Remove unused variables `ascent',
18278 `descent', `lbearing' and `rbearing'.
18279 (compose-glyph-string-relative): Remove unused variables
18280 `lbearing', `rbearing' and `wadjust'.
18281 (compose-gstring-for-graphic): Remove unused variables `header',
18282 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18283 (compose-gstring-for-terminal): Remove unused variables `header'
18284 and `nchars'. Use `let', not `let*'.
18286 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18287 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18288 (Custom-buffer-done, custom-buffer-create-internal)
18289 (custom-browse-visibility-action, custom-browse-group-tag-action)
18290 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18291 (widget-magic-mouse-down-action, custom-toggle-parent)
18292 (custom-add-parent-links, custom-toggle-hide-variable)
18293 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18294 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18295 (custom-face-menu-create, custom-variable-menu-create, get)
18296 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18297 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18298 (customize-apropos): Remove unused variable `tests'.
18299 (custom-group-value-create): Remove unused variable `hidden-p'.
18300 (sort-fold-case): Declare.
18302 * cus-theme.el (custom-reset-standard-faces-list)
18303 (custom-reset-standard-variables-list): Declare.
18304 (customize-create-theme, custom-theme-revert, custom-theme-write)
18305 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18306 Mark unused parameters.
18308 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18310 * delim-col.el (delimit-columns-max): Move defvar before first use.
18312 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18313 (describe-char): Don't quote `lambda'. Mark unused parameter.
18315 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18316 (auto-insert): Declare.
18317 (desktop-restore-file-buffer): Rename desktop-* parameters;
18319 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18320 (desktop-buffer): Rename desktop-* parameters.
18322 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18323 (dframe-reposition-frame-xemacs, dframe-help-echo)
18324 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18325 Mark unused parameters.
18327 * dired-aux.el (backup-extract-version-start, overwrite-query)
18328 (overwrite-backup-query, rename-regexp-query)
18329 (rename-non-directory-query): Declare.
18330 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18331 (dired-add-entry): Remove unused variable `orig-file-name'.
18332 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18333 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18334 `dired-copy-preserve-time' directly.
18335 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18336 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18338 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18339 (dired-virtual-revert, dired-make-relative-symlink):
18340 Mark unused parameters.
18341 (manual-program): Declare.
18342 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18343 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18344 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18346 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18348 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18350 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18353 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18355 * electric.el (Electric-command-loop): Rename parameter
18356 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18358 * expand.el (expand-in-literal): Remove unused variable `here'.
18360 * facemenu.el (facemenu-add-new-color):
18361 Remove unused variable `docstring'.
18363 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18364 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18365 (face-attr-construct): Mark unused parameter. Doc fix.
18366 (read-color): Remove unused variable `hex-string'.
18368 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18369 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18370 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18371 (display-buffer-other-frame): Remove unused variable `old-window'.
18372 (kill-buffer-hook): Declare.
18373 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18374 Mark unused parameters.
18375 (after-find-file): Pass 1 to `auto-save-mode', not t.
18377 * files-x.el (auto-insert): Declare.
18378 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18380 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18381 variable `buf'. Mark unused parameter.
18382 (find-lisp-insert-directory): Mark unused parameter.
18384 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18385 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18386 (format-common-tail): Remove, unused.
18387 (format-deannotate-region): Remove unused variable `loc'.
18388 (format-annotate-region): Remove unused variable `p'.
18389 (format-annotate-single-property-change): Remove unused variables
18390 `default' and `tail'.
18392 * forms.el (read-file-filter): Declare.
18393 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18395 * frame.el (frame-creation-function-alist): Mark unused parameter.
18396 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18398 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18399 Remove unused parameters.
18400 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18401 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18403 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18404 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18405 (hfy-prepare-tag-map): Mark unused parameters.
18406 (htmlfontify-buffer): Use `called-interactively-p'.
18408 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18409 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18410 (ibuffer-do-occur): Mark unused parameters.
18411 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18412 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18414 * ibuffer.el: Don't quote `lambda'.
18415 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18416 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18417 Mark unused parameters.
18419 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18420 (ido-completing-read): Mark unused parameters.
18421 (ido-copy-current-word): Mark unused parameters;
18422 remove unused variable `name'.
18423 (ido-sort-merged-list): Remove unused parameter `dirs'.
18425 * ielm.el (ielm-input-sender): Mark unused parameter.
18426 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18427 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18428 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18429 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18430 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18432 * image-dired.el (image-dired-display-thumbs): Remove unused
18433 variables `curr-file' and `count'.
18434 (image-dired-remove-tag): Remove unused variable `start'.
18435 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18436 variable `curr-file'
18437 (image-dired-rotate-original): Remove unused variable `temp-file'.
18438 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18439 Remove unused variable `file'.
18440 (image-dired-gallery-generate): Remove unused variable `curr'.
18441 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18443 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18445 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18447 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18449 * isearch.el (minibuffer-history-symbol): Declare.
18450 (isearch-edit-string): Remove unused variable `err'.
18451 (isearch-message-prefix, isearch-message-suffix):
18452 Mark unused parameters.
18454 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18456 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18458 * makesum.el (double-column): Remove unused variable `cnt'.
18460 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18461 (ido-ignore-item-temp-list): Declare.
18463 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18464 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18465 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18466 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18469 * mouse-sel.el (mouse-extend-internal):
18470 Remove unused variable `orig-window-frame'.
18472 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18473 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18474 Move declarations before first use.
18475 (pcomplete-opt): Mark unused parameters; doc fix.
18477 * proced.el (proced-revert): Mark unused parameter.
18478 (proced-send-signal): Remove unused variable `err'.
18480 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18481 Rename parameter PREFIX-ARG to ARG.
18482 (ps-basic-plot-string, ps-basic-plot-whitespace):
18483 Mark unused parameters.
18485 * replace.el (replace-count): Define.
18486 (occur-revert-function): Mark unused parameters.
18487 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18488 (isearch-case-fold-search, isearch-string): Declare.
18489 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18490 bind `case-fold-search'. Remove unused variables `beg' and `end',
18492 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18493 COUNT and bind `replace-count'.
18494 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18497 * savehist.el (print-readably, print-string-length): Declare.
18499 * shadowfile.el (shadow-expand-cluster-in-file-name):
18500 Remove unused variable `cluster'.
18501 (shadow-copy-file): Remove unused variable `i'.
18502 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18503 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18504 (shadow-define-literal-group, shadow-define-regexp-group)
18505 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18507 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18508 (shell): Use `called-interactively-p'.
18509 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18511 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18512 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18513 (delete-backward-char): Remove unused variable `ocol'.
18514 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18515 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18516 (event-apply-hyper-modifier, event-apply-shift-modifier)
18517 (event-apply-control-modifier, event-apply-meta-modifier):
18518 Mark unused parameters.
18519 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18520 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18522 * speedbar.el (speedbar-ignored-directory-expressions)
18523 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18524 (speedbar-find-file, speedbar-dir-follow)
18525 (speedbar-directory-buttons-follow, speedbar-tag-find)
18526 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18527 (speedbar-buffers-line-directory, speedbar-buffer-click):
18528 Mark unused parameters.
18529 (speedbar-tag-file): Remove unused variable `mode'.
18530 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18532 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18534 * talk.el (talk): Remove unused variable `display'.
18536 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18537 (tar-write-region-annotate): Mark unused parameter.
18539 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18540 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18541 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18542 warning by another.
18544 * time-stamp.el (time-stamp-string-preprocess):
18545 Remove unused variable `require-padding'.
18547 * tree-widget.el (widget-glyph-enable): Declare.
18548 (tree-widget-action): Mark unused parameter.
18550 * w32-fns.el (x-get-selection): Mark unused parameter.
18551 (autoload-make-program, generated-autoload-file): Declare.
18553 * wdired.el (wdired-revert): Mark unused parameters.
18554 (wdired-xcase-word): Remove unused variable `err'.
18556 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18557 (whitespace-help-scroll): Remove unused variable `data-help'.
18559 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18560 (widget-image-insert, widget-after-change, default)
18561 (widget-default-format-handler, widget-default-notify)
18562 (widget-default-prompt-value, widget-info-link-action)
18563 (widget-url-link-action, widget-function-link-action)
18564 (widget-variable-link-action, widget-file-link-action)
18565 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18566 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18567 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18568 (widget-insert-button-action, widget-delete-button-action, visibility)
18569 (widget-documentation-link-action, widget-documentation-string-action)
18570 (widget-const-prompt-value, widget-regexp-match, symbol)
18571 (widget-coding-system-prompt-value)
18572 (widget-key-sequence-value-to-external, sexp)
18573 (widget-sexp-value-to-internal, character, vector, cons)
18574 (widget-choice-prompt-value, widget-boolean-prompt-value)
18575 (widget-color--choose-action): Mark unused parameters.
18576 (widget-item-match-inline, widget-choice-match-inline)
18577 (widget-checklist-match, widget-checklist-match-inline)
18578 (widget-group-match): Rename parameter VALUES to VALS.
18579 (widget-field-value-set): Remove unused variable `size'.
18580 (widget-color-action): Remove unused variables `value' and `start'.
18582 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18583 variable `dir'. Doc fix.
18584 (windmove-find-other-window): Don't pass it.
18586 * window.el (count-windows): Mark unused parameter.
18587 (bw-adjust-window): Remove unused variable `err'.
18589 * woman.el (woman-file-name): Remove unused variable `default'.
18590 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18591 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18592 (global-font-lock-mode): Declare.
18593 (woman-decode-region): Mark unused parameter.
18594 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18596 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18597 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18598 (x-dnd-handle-moz-url): Remove unused variable `title'.
18599 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18601 * xml.el (xml-parse-tag, xml-parse-attlist):
18602 Remove unused variable `pos'.
18604 2011-04-19 Glenn Morris <rgm@gnu.org>
18606 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18607 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18608 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18609 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18610 * calendar/cal-html.el (cal-html-insert-minical):
18611 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18612 (calendar-mark-date-pattern):
18613 Prefix "unused" locals.
18615 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18616 optional argument `style'.
18618 * calendar/appt.el (appt-make-list):
18619 * calendar/cal-china.el (calendar-chinese-date-string):
18620 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18621 (diary-hebrew-yahrzeit):
18622 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18623 * calendar/calendar.el (calendar-generate-window):
18624 * calendar/time-date.el (time-to-days):
18625 Remove unused local variables.
18627 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18629 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18630 glyphless-char-display table.
18631 (tabulated-list-glyphless-char-display): New var.
18633 2011-04-18 Sam Steingold <sds@gnu.org>
18635 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18636 to acknowledgments.
18638 2011-04-17 Glenn Morris <rgm@gnu.org>
18640 * calendar/diary-lib.el (diary-sexp-entry):
18641 * calendar/holidays.el (holiday-sexp):
18642 Set debug-on-error rather than the removed stack-trace-on-error.
18644 2011-04-16 Glenn Morris <rgm@gnu.org>
18646 * progmodes/f90.el: Use lexical-binding.
18647 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18649 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18651 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18652 (mail-mode): Setup mailalias completion here instead.
18653 * mail/mailalias.el: Use lexical-binding.
18654 (pattern, mailalias-done): Declare dynamic.
18655 (mail-completion-at-point-function): New function, from mail-complete.
18656 (mail-complete): Use it.
18657 (mail-completion-expand): New function.
18658 (mail-get-names): Use it.
18659 (mail-directory, mail-directory-process, mail-directory-stream):
18660 Don't use `pattern' for lexically bound arg.
18662 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18664 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18665 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18666 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18668 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18669 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18670 (byte-interactive-p): Define them again, for use when inlining
18673 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18675 * loadup.el: Use `string-to-number', not `string-to-int'.
18677 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18679 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18680 gud-gdb-complete-command.
18681 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18682 (gud-gdb-completion-at-point): New function.
18683 (gud-gdb-completions): Remove.
18685 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18687 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18688 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18689 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18690 whether `executable-find' is bound.
18692 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18694 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18696 * minibuffer.el (completion-in-region-mode-predicate)
18697 (completion-in-region-mode--predicate): New vars.
18698 (completion-in-region, completion-in-region--postch)
18699 (completion-in-region-mode): Use them.
18700 (completion--capf-wrapper): Also return the hook function.
18701 (completion-at-point, completion-help-at-point):
18702 Adjust and provide a predicate.
18704 Preserve arg names for advice of subr and lexical functions (bug#8457).
18705 * help-fns.el (help-function-arglist): Consolidate the subr and
18706 new-byte-code cases. Add argument `preserve-names' to extract names
18707 from the docstring when needed.
18708 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18709 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18710 (ad-arglist): Use help-function-arglist's new arg.
18711 (ad-definition-type): Use cond.
18713 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18715 * autorevert.el (auto-revert-handler):
18716 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18717 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18718 Don't quote lambda.
18720 * image-mode.el (image-transform-set-scale):
18721 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18723 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18725 * net/network-stream.el (network-stream-open-starttls): Only do
18726 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18727 Upgrades via gnutls-cli are too slow to be done opportunistically.
18729 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18731 * dframe.el (dframe-current-frame): Remove spurious quote.
18733 2011-04-12 Glenn Morris <rgm@gnu.org>
18735 * calendar/cal-tex.el (cal-tex-end-document):
18736 Try to automatically use latin1 input if needed.
18738 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18739 Don't try to cons a mark onto an empty element.
18741 2011-04-11 Leo Liu <sdl.web@gmail.com>
18743 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18745 (ido-kill-buffer-at-head): Support killing virtual buffers.
18747 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18749 * minibuffer.el (completion-show-inline-help): New var.
18750 (completion--do-completion, minibuffer-complete)
18751 (minibuffer-force-complete, minibuffer-complete-word):
18752 Inhibit minibuffer messages if completion-show-inline-help is nil.
18754 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18755 to avoid interference from inline help (Bug#5849).
18757 2011-04-10 Leo Liu <sdl.web@gmail.com>
18759 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18762 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18764 * image-mode.el (image-toggle-display-image): Signal an error if
18766 (image-transform-mode, image-transform-resize)
18767 (image-transform-set-rotation): Doc fix.
18768 (image-transform-set-resize): Delete.
18769 (image-transform-set-scale, image-transform-fit-to-height)
18770 (image-transform-fit-to-width): Handle image-toggle-display-image
18771 and image-transform-resize directly.
18773 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18775 * doc-view.el (doc-view-fit-width-to-window)
18776 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18777 New functions for fitting the shown image to the Emacs window size.
18778 (doc-view-mode-map): Add bindings for the new functions.
18780 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18782 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18783 Fix typo in docstring.
18785 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18787 * files.el (file-size-human-readable): Produce one digit after
18788 decimal, like "ls -lh" does.
18790 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18791 the file size representation.
18793 * simple.el (list-processes): If async subprocesses are not
18794 available, error out with a clear error message.
18796 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18798 * help.el (help-form-show): New function, to be called from C.
18799 Put help-form output in a buffer named differently than *Help*.
18801 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18803 * files.el (file-size-human-readable): New function.
18805 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18806 computing the representation inline. Don't require `cl'.
18808 2011-04-08 Glenn Morris <rgm@gnu.org>
18810 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18812 * net/browse-url.el (browse-url-firefox):
18813 Test system-type, not system-configuration.
18815 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18816 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18817 Use log-edit-empty-buffer-p. (Bug#7598)
18819 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18820 (rlogin-mode-map): Initialize in the defvar.
18821 (rlogin): Use ignore-errors.
18823 * replace.el (occur-mode-map): Some fixes for menu items.
18825 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18827 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18829 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18831 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18832 issuing unused warnings.
18834 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18837 * simple.el: Lisp reimplement of list-processes. Based on an
18838 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18839 (process-menu-mode): New major mode.
18840 (list-processes--refresh, list-processes):
18841 (process-menu-visit-buffer): New functions.
18843 * files.el (save-buffers-kill-emacs): Don't assume any return
18844 value of list-processes, which is undocumented anyway.
18846 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18848 * emacs-lisp/tabulated-list.el: New file.
18850 * emacs-lisp/package.el: Use Tabulated List mode.
18851 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18852 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18853 table format using Tabulated List mode variables.
18854 (package--push): New macro, replacing package-list-maybe-add.
18855 (package-menu--generate): Use package--push. Renamed from
18856 package--generate-package-list.
18857 (package-menu-refresh, list-packages): Use it.
18858 (package-menu--print-info): Rename from package-print-package.
18859 Return insertion data instead of inserting it directly.
18860 (package-menu-describe-package, package-menu-execute):
18861 Use tabulated-list-get-id.
18862 (package-menu-mark-delete, package-menu-mark-install)
18863 (package-menu-mark-unmark, package-menu-backup-unmark)
18864 (package-menu-mark-obsolete-for-deletion):
18865 Use tabulated-list-put-tag.
18866 (package--list-packages, package-menu-revert)
18867 (package-menu-get-package, package-menu-get-version)
18868 (package-menu-sort-by-column): Functions deleted.
18869 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18870 (package-menu--status-predicate, package-menu--version-predicate)
18871 (package-menu--name-predicate)
18872 (package-menu--description-predicate): Handle arguments in the
18873 Tabulated List format.
18874 (package-list-packages-no-fetch): Call list-packages.
18876 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18878 * files.el (after-find-file-from-revert-buffer): Remove variable.
18879 (after-find-file): Don't bind it.
18880 (revert-buffer-in-progress-p): New variable.
18881 (revert-buffer): Bind it.
18882 Pass nil for `after-find-file-from-revert-buffer'.
18884 * saveplace.el (save-place-find-file-hook): Use new variable
18885 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18887 2011-04-06 Glenn Morris <rgm@gnu.org>
18889 * Makefile.in (AUTOGEN_VCS): New variable.
18890 (autoloads): Use $AUTOGEN_VCS.
18892 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18893 * calendar/calendar.el (calendar-mode-map):
18894 Check for toolkit scroll bars. (Bug#8305)
18896 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18898 * minibuffer.el (completion-in-region--postch)
18899 (completion-in-region-mode): Remove unnecessary messages.
18901 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
18903 * font-lock.el (font-lock-refresh-defaults):
18904 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18905 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18907 * info.el (Info-directory-list, Info-read-node-name-2)
18908 (Info-split-parameter-string): Doc fixes.
18909 (Info-virtual-nodes): Reflow docstring.
18910 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18911 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18912 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18913 Fix typos in docstrings.
18914 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18915 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18916 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18917 (Info-restore-desktop-buffer): Mark unused parameters.
18918 (Info-directory-find-file, Info-directory-find-node)
18919 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18920 (Info-virtual-index-find-node, Info-apropos-find-file)
18921 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18922 Mark unused parameters; fix typos in docstrings.
18923 (Info-virtual-index): Remove unused local variable `nodename'.
18925 2011-04-05 Deniz Dogan <deniz@dogan.se>
18927 * net/rcirc.el: Update my e-mail address.
18928 (rcirc-mode-map): Remove M-o binding.
18930 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18932 * startup.el (command-line): Save the cursor's theme-face
18933 directly, instead of using face-override-spec.
18935 * custom.el (load-theme): Minor optimization in assigning faces.
18937 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18939 * help-fns.el (describe-variable): Complete all variables having
18940 documentation, including keywords.
18941 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18943 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18945 Convert to lexical-binding.
18947 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18948 (bs--get-marked-string, bs--get-modified-string)
18949 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18950 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18951 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18953 * ehelp.el (electric-help-execute-extended)
18954 (electric-help-ctrl-x-prefix):
18955 * hexl.el (hexl-revert-buffer-function):
18956 * linum.el (linum-after-change, linum-after-scroll):
18957 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18959 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18961 2011-04-04 Daiki Ueno <ueno@unixuser.org>
18968 * epg.el: Use lexical binding.
18970 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
18972 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18974 * textmodes/flyspell.el (flyspell-word): Recognize default
18975 dictionary case for flyspell-mark-duplications-exceptions.
18976 Use regexp matching for languages.
18977 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18978 default dictionary (Bug#7926).
18980 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
18982 * emacs-lisp/package.el (package--with-work-buffer):
18983 Recognize https URLs.
18985 * net/network-stream.el: Move from gnus/proto-stream.el.
18986 Change prefix to network-stream throughout.
18987 (open-protocol-stream): Merge into open-network-stream, leaving
18988 open-protocol-stream as an alias. Handle nil BUFFER args.
18990 * subr.el (open-network-stream): Move to net/network-stream.el.
18992 2011-04-02 Glenn Morris <rgm@gnu.org>
18994 * find-dired.el (find-exec-terminator): New option.
18995 (find-ls-option): Test for -ls support.
18996 (find-ls-subdir-switches): Test for -b in find-ls-option.
18997 (find-dired, find-grep-dired): Doc fixes.
18998 (find-dired): Use find-exec-terminator.
19000 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19001 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19002 (find-name-arg): Remove purecopy.
19004 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19005 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19006 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19007 accordingly. Don't add the null-device if not needed.
19009 * files.el (save-some-buffers): Doc fix.
19011 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19013 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19015 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19017 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19018 Use `dolist' rather than `mapcar'.
19020 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19022 Add lexical binding.
19024 * subr.el (apply-partially): Use new closures rather than CL.
19025 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19026 (dolist, dotimes): Use slightly different expansion for lexical code.
19027 (functionp): Move to C.
19028 (letrec): New macro.
19029 (with-wrapper-hook): Use it and apply-partially instead of CL.
19030 (eval-after-load): Preserve lexical-binding.
19031 (save-window-excursion, with-output-to-temp-buffer): Turn them
19034 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19036 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19038 (help-add-fundoc-usage): Don't add `Not documented'.
19039 (help-function-arglist): Handle closures, subroutines, and new
19040 byte-code-functions.
19041 (help-make-usage): Remove leading underscores.
19042 (describe-function-1): Handle closures.
19043 (describe-variable): Use special-variable-p for completion.
19045 * files.el (lexical-binding): Declare safe.
19047 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19048 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19049 (pcase): Add `let' pattern.
19050 Change memoization so it actually works.
19051 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19052 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19055 * emacs-lisp/macroexp.el: Use lexical binding.
19056 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19057 Don't convert ' to #' without checking that it's indeed quoting
19060 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19061 Use eval-sexp-add-defvars.
19062 (eval-sexp-add-defvars): New fun.
19064 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19066 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19068 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19069 than the internal `byte-compile-lambda'.
19070 (defmethod): Don't hide code under quotes.
19071 (eieio-defmethod): New `code' argument.
19073 * emacs-lisp/eieio-comp.el: Remove.
19075 * emacs-lisp/edebug.el (edebug-eval-defun)
19076 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19077 (edebug-toggle): Avoid `eval'.
19079 * emacs-lisp/disass.el (disassemble-internal): Handle new
19081 (disassemble-1): Handle new byte codes.
19083 * emacs-lisp/cl.el (pushnew): Silence warning.
19085 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19086 (cl-byte-compile-throw): Remove.
19087 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19089 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19092 * emacs-lisp/cconv.el: New file.
19094 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19095 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19096 (byte-compile-initial-macro-environment):
19097 Handle declare-function here.
19098 (byte-compile--lexical-environment): New var.
19099 (byte-stack-ref, byte-stack-set, byte-discardN)
19100 (byte-discardN-preserve-tos): New lap codes.
19101 (byte-interactive-p): Don't use any more.
19102 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19104 (byte-compile-lapcode): Use them and handle new lap codes.
19105 (byte-compile-obsolete): Remove.
19106 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19107 (byte-compile-arglist-warn): Check late def of inlinable funs.
19108 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19109 since they should have been expanded by now.
19110 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19111 (byte-compile-from-buffer): Remove unused second arg.
19112 (byte-compile-preprocess): New function.
19113 (byte-compile-toplevel-file-form): New function to distinguish
19114 file-form calls from outside from file-form calls from hunk-handlers.
19115 (byte-compile-file-form): Simplify.
19116 (byte-compile-file-form-defsubst): Remove.
19117 (byte-compile-file-form-defmumble): Simplify now that
19118 byte-compile-lambda always returns a byte-code-function.
19119 (byte-compile): Preprocess.
19120 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19121 Remove, not used any more.
19122 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19123 (byte-compile-make-args-desc): New funs.
19124 (byte-compile-lambda): Handle lexical functions. Always return
19125 a byte-code-function.
19126 (byte-compile-reserved-constants): New var, to make up room for
19127 closed-over variables.
19128 (byte-compile-constants-vector): Obey it.
19129 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19130 (byte-compile-macroexpand-declare-function): New function.
19131 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19132 byte-code-functions.
19133 (byte-compile-form): Check obsolescence here.
19134 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19135 (byte-compile-variable-ref): Remove.
19136 (byte-compile-dynamic-variable-op): New fun.
19137 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19138 (byte-compile-variable-set): New funs.
19139 (byte-compile-discard): Add 2 args.
19140 (byte-compile-stack-ref, byte-compile-stack-set)
19141 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19142 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19143 macroexpand-all instead.
19144 (byte-compile-quote-form): Remove.
19145 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19146 (byte-compile-bind, byte-compile-unbind): New funs.
19147 (byte-compile-let): Handle let* and lexical binding.
19148 (byte-compile-let*): Remove.
19149 (byte-compile-catch, byte-compile-unwind-protect)
19150 (byte-compile-track-mouse, byte-compile-condition-case):
19151 Handle a new :fun-body form, used for lexical scoping.
19152 (byte-compile-save-window-excursion)
19153 (byte-compile-with-output-to-temp-buffer): Remove.
19154 (byte-compile-defun): Simplify.
19155 (byte-compile-stack-adjustment): New fun.
19156 (byte-compile-out): Use it.
19157 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19159 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19162 * emacs-lisp/byte-opt.el: Use lexical binding.
19163 (byte-inline-lapcode): Remove (to bytecomp).
19164 (byte-compile-inline-expand): Pay attention to inlining to/from
19165 lexically bound code.
19166 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19168 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19169 any more and don't call compiler-macros.
19170 (byte-compile-splice-in-already-compiled-code): Remove.
19171 (byte-code): Don't inline any more.
19172 (disassemble-offset): Receive `bytes' as argument rather than via
19174 (byte-compile-tag-number): Declare before first use.
19175 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19176 `return' even if make-spliceable.
19177 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19178 obsolete interactive-p.
19179 (byte-optimize-lapcode): Optimize new lap-codes.
19180 Don't trip up on new form of `byte-constant' lap code.
19182 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19184 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19186 * custom.el (custom-initialize-default, custom-declare-variable):
19189 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19191 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19192 (COMPILE_FIRST): Add macroexp and cconv.
19193 * makefile.w32-in: Mirror changes in Makefile.in.
19195 * vc/cvs-status.el:
19199 * vc/smerge-mode.el:
19200 * textmodes/bibtex-style.el:
19201 * textmodes/css-mode.el:
19209 * emacs-lisp/smie.el:
19212 * abbrev.el: Use lexical binding.
19214 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19216 * info.el (info-display-manual): New function.
19218 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19220 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19222 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19224 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19225 an entry for that server in rcirc-authinfo. (Bug#8385)
19227 2011-03-31 Glenn Morris <rgm@gnu.org>
19229 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19231 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19233 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19235 * progmodes/python.el (python-default-interpreter)
19236 (python-python-command-args, python-jython-command-args)
19237 (python-which-shell, python-which-args, python-which-bufname)
19238 (python-file-queue, python-comint-output-filter-function)
19239 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19240 variables and functions.
19242 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19244 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19245 (completion-in-region-mode): New minor mode.
19246 (completion-in-region): Use it.
19247 (completion-in-region--data, completion-in-region-mode-map): New vars.
19248 (completion-in-region--postch): New function.
19249 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19251 (completion--capf-wrapper): New function.
19252 (completion-at-point): Use it to track well-behavedness of
19254 (completion-help-at-point): New command.
19256 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19258 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19259 syntax class to search for whitespace on a single line
19260 (Message-ID: <4D938140.4030905@redhat.com>).
19262 2011-03-30 Leo Liu <sdl.web@gmail.com>
19264 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19266 (edit-abbrevs-map): Bind them here.
19267 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19269 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19271 * allout.el (allout-hide-by-annotation, allout-flag-region):
19272 Reduce possibility of overlay leakage by making them volatile.
19274 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19275 hash is not shared between buffers. Mode initialization is
19276 responsible for giving it a useful starting value.
19277 (allout-item-span): Reduce possibility of overlay leakage by
19278 making them volatile.
19279 (allout-widgets-count-buttons-in-region): Add diagnostic function
19280 for tracking down button overlay leaks.
19282 2011-03-29 Leo Liu <sdl.web@gmail.com>
19284 * ido.el (ido-read-internal): Use the default history var
19285 minibuffer-history if no HISTORY is specified.
19287 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19289 * net/imap.el (imap-shell-open, imap-process-connection-type):
19290 Use imap-process-connection-type for 'shell' streams as well as
19291 Kerberos, SSL, other subprocesses.
19293 2011-03-28 Leo Liu <sdl.web@gmail.com>
19295 * abbrev.el (abbrev-table-empty-p): New function.
19296 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19297 nonempty ones. (Bug#5937)
19299 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19301 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19303 2011-03-27 Leo Liu <sdl.web@gmail.com>
19305 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19306 for foreground and background colors.
19307 (ansi-color-make-color-map): Adapt.
19309 2011-03-25 Leo Liu <sdl.web@gmail.com>
19311 * midnight.el (midnight-time-float): Remove. Note it calculates
19312 the microsecond component incorrectly and seconds-to-time does the
19314 Remove redundant (require 'timer).
19316 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19317 (ido-completions): Remove unused arguments. (Bug#8329)
19319 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19321 * minibuffer.el (completion--flush-all-sorted-completions):
19322 Remove itself from hook.
19323 (completion-at-point): Let the functions perform the completion
19324 immediately and return nil or t.
19325 * comint.el (comint-dynamic-complete-functions): Now identical to
19326 completion-at-point-functions.
19327 (comint-dynamic-list-input-ring): Remove unused var `index'.
19328 (comint--match-partial-filename, comint--unquote&expand-filename):
19329 New funs, split from comint-match-partial-filename.
19330 (comint-dynamic-complete): Use completion-at-point.
19331 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19333 2011-03-24 Drew Adams <drew.adams@oracle.com>
19335 * thingatpt.el: Support `defun'.
19337 2011-03-23 Leo Liu <sdl.web@gmail.com>
19339 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19341 * help-mode.el (help-mode-finish): Tweak regexp.
19343 2011-03-23 Glenn Morris <rgm@gnu.org>
19345 * eshell/esh-opt.el (eshell-eval-using-options):
19346 Do not bind unused local variable `eshell-option-stub'.
19348 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19350 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19352 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19353 keymap variable in `with-no-warnings' to avoid a warning when the
19354 keymap has been already `defconst'ed.
19356 2011-03-22 Leo Liu <sdl.web@gmail.com>
19358 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19359 encode all chars in abbrevs; otherwise use emacs-mule or
19360 utf-8-emacs. (Bug#8308)
19362 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19364 * simple.el (backward-delete-char-untabify):
19365 Avoid warning about using `delete-backward-char'.
19367 * image.el (image-type-file-name-regexps): Make it variable.
19368 `imagemagick-register-types' modifies it, and the user may want
19369 to add new extensions for known image types.
19370 (imagemagick-register-types): Throw error if not using ImageMagick.
19372 2011-03-22 Leo Liu <sdl.web@gmail.com>
19374 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19375 located before rcirc-prompt-end-marker.
19376 (rcirc-complete): Error if point is not after rcirc prompt.
19377 Handle the case when table is nil.
19378 (rcirc-user-authenticated): Define to fix compiler warning.
19380 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19382 * custom.el (custom--inhibit-theme-enable): Make it affect only
19383 custom-theme-set-variables and custom-theme-set-faces.
19384 (provide-theme): Ignore custom--inhibit-theme-enable.
19385 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19386 (custom-enabling-themes): Delete variable.
19387 (enable-theme): Accept only loaded themes as arguments.
19388 Ignore the special custom-enabled-themes variable.
19389 (custom-enabled-themes): Forbid themes from setting this.
19390 Eliminate use of custom-enabling-themes.
19391 (custom-push-theme): Quote "changed" custom var entry.
19393 2011-03-21 Leo Liu <sdl.web@gmail.com>
19395 * ido.el (ido-read-internal): Add ido-selected to history instead
19398 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19400 * subr.el (deferred-action-list, deferred-action-function):
19403 2011-03-21 Leo Liu <sdl.web@gmail.com>
19405 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19406 change on 2011-02-13 (bug#8309).
19408 * minibuffer.el (read-file-name-function): Change default value.
19409 (read-file-name--defaults): Rename from read-file-name-defaults.
19410 (read-file-name-default): Rename from read-file-name.
19411 (read-file-name): Call read-file-name-function.
19413 2011-03-21 Glenn Morris <rgm@gnu.org>
19415 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19418 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19420 * cus-theme.el: Add missing provide statement.
19421 (customize-create-theme): Extract theme value correctly.
19422 (custom-theme-visit-theme): Autoload.
19423 (customize-create-theme): Prompt before inserting default faces.
19425 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19427 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19428 units and musical notes.
19430 2011-03-20 Leo Liu <sdl.web@gmail.com>
19432 * ido.el (ido-read-internal): Use completing-read-default.
19433 (ido-completing-read): Fix compatibility with completing-read.
19435 2011-03-20 Christian Ohler <ohler@gnu.org>
19437 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19438 (ert-delete-all-tests): Use `called-interactively-p' rather than
19440 (ert--make-xrefs-region): Respect END.
19442 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19444 * dired-aux.el (dired-create-directory): Signal an error if the
19445 directory already exists (Bug#8246).
19447 * facemenu.el (list-colors-display): Call list-faces-display
19448 inside with-help-window.
19449 (list-colors-print): Use display property to align the final
19450 column, instead of checking window-width.
19452 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19454 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19455 windows-nt systems.
19456 (emerge-protect-metachars): Quote correctly for ms-dos and
19457 windows-nt systems.
19459 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19461 * info.el (info-initialize): Replace all uses of `:' with
19462 path-separator for compatibility with non-Unix systems.
19463 Cache quoting of path-separator. (Bug#8258)
19465 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19467 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19468 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19469 (mouse-avoidance-mode): Fix typos in docstrings.
19471 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19473 * startup.el (package-subdirectory-regexp): Move from package.el.
19474 Omit \\` and \\', and let callers add them.
19476 * emacs-lisp/package.el (package-strip-version)
19477 (package-load-all-descriptors): Add \\` and \\' to
19478 package-subdirectory-regexp before using it.
19479 (package-untar-buffer): New arg DIR; ensure that file untars only
19480 into this expected directory. Remove superfluous delete-region.
19481 (package-unpack): Caller changed.
19482 (package-tar-file-info): Use package-subdirectory-regexp.
19484 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19486 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19487 diff-mode-shared-map (bug#8284).
19488 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19490 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19492 * calendar/time-date.el (format-seconds): Use assoc instead of
19493 assoc-string, since assoc-string doesn't exist in XEmacs.
19495 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19497 * custom.el (custom-known-themes): Reflow docstring.
19498 (custom-theme-load-path): Fix typo in docstring.
19499 (load-theme): Fix typo in error message.
19500 (custom-available-themes, custom-variable-theme-value):
19501 Use `let', not `let*'.
19503 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19505 * calc/README: Mention inclusion of musical notes.
19507 * calc/calc-units.el (calc-lu-quant): Rename from
19508 `calc-logunits-quantity'.
19509 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19510 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19511 (calc-db): Rename from `calc-dblevel'.
19512 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19513 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19514 (calc-np): Rename from `calc-nplevel'.
19515 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19516 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19517 (calc-lu-plus): Rename from `calc-logunits-add'.
19518 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19519 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19520 (calc-lu-minus): Rename from `calc-logunits-sub'.
19521 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19522 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19523 (calc-lu-times): Rename from `calc-logunits-mul'.
19524 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19525 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19526 (calc-lu-divide): Rename from `calc-logunits-div'.
19527 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19528 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19530 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19531 functions being autoloaded.
19533 * calc/calc.el (calc-lu-power-reference): Rename from
19534 `calc-logunits-power-reference'.
19535 (calc-lu-field-reference): Rename from
19536 `calc-logunits-field-reference'.
19538 * calc/calc-help.el (calc-l-prefix-help):
19539 Mention musical note functions.
19541 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19543 * minibuffer.el (completion-all-sorted-completions):
19544 Use :completion-cycle-penalty text property if present.
19546 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19548 * allout.el (allout-yank-processing): Adjust for new rebulleting
19549 regime so bullet being yanked is used without prompting the user
19552 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19554 * startup.el (command-line): Warn the user that _emacs is deprecated.
19556 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19558 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19559 (delphi-verbose, delphi-comment-face, delphi-string-face)
19560 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19561 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19562 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19563 (delphi-new-comment-line, delphi-font-lock-defaults)
19564 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19565 Fix typos in docstrings.
19567 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19569 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19570 Invert the roles of character and string values for INSTEAD, so a
19571 string is used for the more common case of a defaulting prompt.
19573 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19575 * progmodes/ruby-mode.el (ruby-backward-sexp):
19576 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19577 * play/gamegrid.el (gamegrid-make-face):
19578 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19579 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19580 * notifications.el (notifications-notify):
19581 * net/xesam.el (xesam-search-engines):
19582 * net/quickurl.el (quickurl-list-insert):
19583 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19585 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19587 * startup.el (command-line): Update package subdirectory regexp.
19589 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19591 * allout.el (allout-abbreviate-flattened-numbering)
19592 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19594 * subr.el (read-char-choice): Only show the cursor after the prompt,
19595 not after the answer.
19597 2011-03-15 Kevin Ryde <user42@zip.com.au>
19599 * help-fns.el (variable-at-point): Skip leading quotes, if any
19602 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19604 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19607 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19609 * shell.el (shell): When called interactively, offer to change the
19610 shell file name on remote hosts.
19612 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19614 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19615 integration for LDAP parameters. The host, base, user or binddn,
19616 and secret tokens can be specified in a netrc file, for instance.
19617 This is optional because an `auth-source' parameter must be
19618 specified in the search attributes.
19620 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19622 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19624 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19626 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19627 into declaration. Remove redundant and harmful binding.
19629 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19631 * files.el (file-ownership-preserved-p): Pass `integer' as an
19632 explicit 2nd argument to `file-attributes'. If the file's owner
19633 is the Administrators group on Windows, and the current user is
19634 Administrator, consider that a match.
19636 * server.el (server-ensure-safe-dir): Consider server directory
19637 safe on MS-Windows if its owner is the Administrators group while
19638 the current Emacs user is Administrator. Use `=' to compare
19639 numerical UIDs, since they could be integers or floats.
19641 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19643 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19645 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19647 Sync with Tramp 2.2.1.
19649 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19651 * net/trampver.el: Update release number.
19653 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19655 * progmodes/compile.el (compilation--previous-directory): Fix up
19656 various nil/dead-marker mismatches (bug#8014).
19657 (compilation-directory-properties, compilation-error-properties):
19658 Don't call it at a position past the one we're about to change.
19660 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19661 Disable obsolescence warnings in the file that declares it.
19663 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19665 * allout-widgets.el (allout-widgets-tally):
19666 Initialize allout-widgets-tally as a hash table rather than nil to
19667 prevent mode-line redisplay warnings. Also, clarify the module
19668 description and fix a comment typo.
19670 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19672 * help-fns.el (describe-variable): Don't complete keywords.
19673 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19675 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19677 * emacs-lisp/package.el (package-version-join): Impose a standard
19678 string representation for pre/alpha/beta version lists.
19679 (package-unpack-single): Standardize the directory name by passing
19680 it through package-version-join.
19681 (package-strip-rcs-id): Accept any version string that does not
19682 signal an error in version-to-list.
19684 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19686 * simple.el (delete-trailing-whitespace): Return nil for the
19687 benefit of `write-file-functions'.
19689 2011-03-10 Glenn Morris <rgm@gnu.org>
19691 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19693 * vc/vc-git.el (vc-git-program): New option.
19694 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19695 (vc-git--call): Use it.
19697 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19699 * cus-edit.el (Custom-newline): If no button at point, look
19700 for a subgroup button at start-of-line. (Bug#2298)
19702 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19704 2011-03-10 Julien Danjou <julien@danjou.info>
19706 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19707 `cursor-type' is nil.
19709 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19711 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19713 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19715 * allout.el: Change so yank of distinctive-bullet items
19716 preserves the existing header prefix, rebulleting it if necessary,
19717 rather than replacing it. This is necessary for proper operation
19718 of cooperative addons like allout-widgets.
19719 (allout-make-topic-prefix, allout-rebullet-heading):
19720 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19721 value as alternate bullet to be used, instead of prompting the user
19722 for a bullet character.
19724 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19726 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19727 Do not use `tramp-file-name-port', because this returns also
19728 `tramp-default-port'.
19730 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19732 * net/rcirc.el (rcirc-handler-001): Remove useless
19733 with-rcirc-process-buffer.
19734 (rcirc-check-auth-status): Swap arguments to string-match.
19736 2011-03-09 Glenn Morris <rgm@gnu.org>
19738 * shell.el (shell-mode):
19739 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19741 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19742 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19744 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19746 * emacs-lisp/package.el (package-refresh-contents)
19747 (package-menu-execute): Use condition-case-no-debug.
19749 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19751 * simple.el (shell-command-to-string): Use `process-file'.
19753 * emacs-lisp/package.el (package-tar-file-info): Handle also
19756 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19757 Use `equal' for upload base check.
19759 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19761 * textmodes/texinfo.el (texinfo-environments):
19762 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19764 2011-03-08 Glenn Morris <rgm@gnu.org>
19766 * cus-start.el (cursor-in-non-selected-windows):
19767 Fix :set quoting oddness. (Bug#8192)
19769 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19770 in some setf expressions. (Bug#2159)
19772 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19774 * custom.el (custom-available-themes): Return themes in
19775 alphabetical order.
19777 See ChangeLog.15 for earlier changes.
19779 ;; Local Variables:
19783 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19785 This file is part of GNU Emacs.
19787 GNU Emacs is free software: you can redistribute it and/or modify
19788 it under the terms of the GNU General Public License as published by
19789 the Free Software Foundation, either version 3 of the License, or
19790 (at your option) any later version.
19792 GNU Emacs is distributed in the hope that it will be useful,
19793 but WITHOUT ANY WARRANTY; without even the implied warranty of
19794 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19795 GNU General Public License for more details.
19797 You should have received a copy of the GNU General Public License
19798 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.