1 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3 Use run-mode-hooks for major mode hooks (bug#513).
4 * textmodes/reftex-toc.el (reftex-toc-mode-map):
5 Rename from reftex-toc-map.
6 (reftex-toc-mode): Use define-derived-mode.
7 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
8 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
9 Rename from reftex-select-(label|bib)-map. Move init into declaration.
10 (reftex-select-label-mode, reftex-select-bib-mode):
11 Use define-derived-mode.
12 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
13 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
14 Move init into delcaration.
15 (reftex-index-mode, reftex-index-phrases-mode):
16 Use define-derived-mode.
17 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
18 speedbar-syntax-table. Move init into declaration.
19 (speedbar-mode-map): Rename from speedbar-key-map.
20 Move init into declaration.
21 (speedbar-file-key-map): Move init into declaration.
22 (speedbar-mode): Use define-derived-mode.
23 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
24 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
25 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
26 (chart-face-list): Move initialization into declaration.
27 (chart-mode): Use define-derived-mode.
28 * calculator.el (calculator-mode-map): Move init into declaration.
29 (calculator-mode): Use define-derived-mode.
31 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
32 work for nested comments.
34 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
35 (prolog-use-prolog-tokenizer-flag): Change default when
36 syntax-propertize can be used.
37 (prolog-syntax-propertize-function): New var.
38 (prolog-mode-variables): Move make-local-variable into `set'.
39 Don't make comment-column local since we don't set it.
40 Set comment-add (as it was in previous prolog.el). Use dolist.
41 Set syntax-propertize-function.
42 (prolog-mode, prolog-inferior-mode):
43 Call prolog(-inferior)-menu directly, not through the mode-hook.
44 (prolog-buffer-module, prolog-indent-level)
45 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
46 (prolog-comment-limits, prolog-goto-comment-column):
47 Use line-(end|beginning)-position.
48 (prolog-build-prolog-command): Tighten up regexp.
49 (prolog-consult-compile): Move make-local-variable into `set'.
50 (prolog-consult-compile-filter, prolog-goto-next-paren)
51 (prolog-help-on-predicate, prolog-clause-info)
52 (prolog-mark-predicate): Don't let+setq.
53 (prolog-indent-line): Use indent-line-to.
54 Only call prolog-goto-comment-column if necessary.
55 (prolog-indent-level): Use bobp.
56 (prolog-first-pos-on-line): Remove, not used any more.
57 (prolog-in-string-or-comment): Use syntax-ppss if available.
58 (prolog-help-on-predicate): Use read-string.
59 (prolog-goto-predicate-info): Simplify.
60 (prolog-read-predicate): Use `default' rather than `initial'.
61 (prolog-temporary-file): Use make-temp-file to close a security hole.
62 (prolog-toggle-sicstus-sd): New command.
63 (prolog-electric-underscore, prolog-variables-to-anonymous):
64 Use dynamic-scoping as it was meant.
65 (prolog-menu): Move menu definitions to top-level.
66 Use a toggle-button for Sicstus's source debugger.
67 Change "Code" to the more usual "Prolog", and hence change "Prolog"
69 (prolog-inferior-menu): Reuse prolog-menu's help menu.
70 Move other menu definition to top-level.
72 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
74 * doc-view.el (doc-view-open-text): Use meaningful text buffer
75 name. Keep original document's directory as default-directory
77 (doc-view-initiate-display): Fall back to normal mode when
78 doc-view-mode cannot be enabled, also when extracting the document
79 text into a separate buffer (bug#6446).
81 * simple.el (shell-command): Don't error out if shell command
82 buffer contains text with non-nil read-only property when erasing
85 2011-01-13 Kim F. Storm <storm@cua.dk>
87 * ido.el (ido-may-cache-directory): Move "too-big" check later.
88 (ido-next-match, ido-prev-match): Fix stray reordering of matching
89 items when cycling through the matches.
91 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
93 * dired-x.el (dired-omit-verbose): New defcustom that allows
94 disabling the omit messages.
95 (dired-omit-expunge): Use it.
97 2011-01-13 Christian Ohler <ohler@gnu.org>
99 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
101 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
103 * font-lock.el (font-lock-verbose): Default to nil.
105 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
107 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
108 (compose-mail): New arg RETURN-ACTION.
109 (compose-mail-other-window, compose-mail-other-frame): Likewise.
111 * mail/sendmail.el (mail-return-action): New var.
112 (mail-mode): Make it buffer-local.
113 (mail-bury): Obey it. Move special Rmail window handling to
115 (mail, mail-setup): New arg RETURN-ACTION.
116 (sendmail-user-agent-compose): Move from simple.el.
118 * mail/rmail.el (rmail-mail-return): New function.
119 (rmail-start-mail): Pass it to compose-mail.
121 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
123 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
124 menus. Add menu item for customize-themes.
126 * cus-theme.el (customize-themes):
127 * emacs-lisp/package.el (package--list-packages): Use
130 2011-01-11 Johan Bockgård <bojohan@gnu.org>
132 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
134 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
136 * progmodes/prolog.el: Fix up coding convention and such.
137 (prolog-indent-width): Use the same default as in
138 previous prolog.el rather than tab-width which depends on which buffer
139 is current when the file is loaded.
140 (prolog-electric-newline-flag): Only enable if electric-indent-mode
142 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
143 (prolog-known-systems): Remove.
144 (prolog-mode-syntax-table, prolog-inferior-mode-map):
145 Move initialization into declaration.
146 (prolog-mode-map): Move initialization into declaration.
147 Remove system-specific mode-map vars, since they referred to the same
149 (prolog-mode-variables): Obey the user's preference w.r.t
150 adaptive-fill-mode. Prefer symbol-value to `eval'.
151 (prolog-mode-keybindings-edit): Add compatibility bindings.
152 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
153 (mercury-mode-map): New var.
154 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
155 (prolog-ensure-process, prolog-process-insert-string)
156 (prolog-consult-compile): Use with-current-buffer.
157 (prolog-guess-fill-prefix): Simplify data flow.
158 (prolog-replace-in-string): New function to use instead of
160 (prolog-enable-sicstus-sd): Don't abuse `eval'.
161 (prolog-uncomment-region): Use `uncomment-region' when available.
162 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
163 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
164 of int-to-char and char-to-int.
165 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
167 2011-01-11 Stefan Bruda <stefan@bruda.ca>
169 * progmodes/prolog.el: Replace by a whole new file.
171 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
173 * subr.el (eval-after-load): Fix timing for features (bug#7769).
174 (declare-function, undefined, insert-for-yank)
175 (replace-regexp-in-string): Follow checkdoc's recommendations.
177 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
179 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
180 refreshing the diary buffer.
182 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
184 * allout.el: Add 2011 to the file copyright.
185 (allout-encrypt-string): Prevent encryption from adding an extra
186 newline at the end of the topic body.
187 (allout-version): Increment to 2.3.
189 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
191 * net/dbus.el (dbus-unregister-service): Complete doc.
192 Fix call of dbus-error signal.
193 (dbus-register-property): Use `dont-register' keyword.
195 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
197 * net/dbus.el (dbus-unregister-service): Translate returned
198 integer into a symbol.
199 (dbus-register-property): Use `dbus-register-service' to do the
202 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
204 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
205 Suggested by Joakim Verona.
207 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
209 * wid-edit.el (visibility): Replace :on-image and :off-image
210 widget properties with :on-glyph and :off-glyph, for consistency
211 with the `visibility' widget.
212 (widget-toggle-value-create, widget-visibility-value-create):
213 Merge into a single function `widget-toggle-value-create'.
215 * cus-edit.el (custom-variable-value-create, custom-visibility)
216 (custom-face-edit-value-create, custom-face-value-create):
217 Replace :on-image and :off-image widget properties with :on-glyph and
218 :off-glyph, for consistency with the `visibility' widget.
220 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
222 * net/ldap.el (ldap-search-internal): Don't use eval.
224 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
226 * subr.el (read-char-choice): Use read-key.
228 * custom.el (custom-safe-themes): Rename from
229 custom-safe-theme-files. Add :risky tag.
230 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
231 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
233 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
235 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
236 from Search and add a label to Undo.
238 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
239 inappropriate buttons and adding :vert-only tags.
241 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
242 removal of Help tool-bar button. Remove Undo button for space.
244 * info.el (info-tool-bar-map): Add :vert-only tags.
246 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
248 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
249 image backend support. Either of them is fine.
251 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
253 * subr.el (y-or-n-p): Doc fix.
255 * custom.el (custom-safe-theme-files): New defcustom.
256 (custom-theme-load-confirm): New function.
257 (load-theme): Load theme using `load', confirming with
258 custom-theme-load-confirm if necessary.
260 * subr.el (read-char-choice): New function, factored out from
261 dired-query and hack-local-variables-confirm.
263 * dired-aux.el (dired-query):
264 * files.el (hack-local-variables-confirm): Use it.
266 * dired-aux.el (dired-compress-file):
267 * files.el (abort-if-file-too-large, find-alternate-file)
268 (set-visited-file-name, write-file, backup-buffer)
269 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
270 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
271 Use new format string args for y-or-n-p and yes-or-no-p.
273 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
275 * progmodes/compile.el (compilation-error-regexp-alist-alist)
276 [gcc-include]: Tighten file name match, add match for column
278 [gnu]: Remove unused group.
280 2011-01-08 Glenn Morris <rgm@gnu.org>
282 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
284 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
286 2011-01-07 Sam Steingold <sds@gnu.org>
288 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
289 the `explicit-shell-file-name' because that is the
290 non-interactive shell.
292 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
294 * subr.el (y-or-n-p): Accept format string args.
296 2011-01-07 Glenn Morris <rgm@gnu.org>
298 * Makefile.in (EMACSOPT): Add --no-site-lisp.
300 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
302 * allout.el (allout-back-to-current-heading): Ensure return to
303 the visible containing topic, rather than a collapsed one.
304 (allout-view-change-hook): Remove hook that was deprecated long ago.
305 (allout-exposure-change-hook): Remove documentation remarks
306 concerning removed allout-view-change-hook.
307 (allout-flag-region): Remove invocation of and documentation
308 remarks concerning allout-view-change-hook.
310 2011-01-06 Glenn Morris <rgm@gnu.org>
312 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
313 (vc-bzr-annotate-extract-revision-at-line):
314 Handle authors with embedded spaces. (Bug#7792)
316 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
318 * doc-view.el (doc-view-image-width): New variable.
319 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
320 backend for PNG images, and do dynamic rescaling instead of
321 reconverting the whole doc.
323 2011-01-05 Glenn Morris <rgm@gnu.org>
325 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
327 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
329 * allout.el: Reconcile with changes in line movement behavior for
330 long text lines that cross more than a single physical window
331 line, ie when truncate-lines is nil.
332 (allout-next-visible-heading): Provide for change in line-move
333 behavior on long lines when truncate-lines is nil. In that case,
334 line-move can wind up on the same textual line when it moves to
335 the next window line, and moving to the bullet position after the
336 move yields zero advancement. Add logic to detect and compensate
337 for the lack of progress.
338 (allout-current-topic-collapsed-p): move-end-of-line respect for
339 field boundaries is different when operating with body lines
340 shorter than window width versus ones greater than window width,
341 which can yield false negatives in this function. Avoid
342 difference by applying move-end-of-line while field-text-motion is
345 2011-01-04 Glenn Morris <rgm@gnu.org>
347 * textmodes/rst.el (rst-compile-toolsets):
348 Add pdf and s5 to option alist.
350 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
352 * net/dbus.el (dbus-register-property): Add optional parameter
353 dont-register-service. Updated docstring accordingly.
355 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
357 * textmodes/rst.el (rst-compile-pdf-preview)
358 (rst-compile-slides-preview): Remove extra line.
360 2011-01-04 Glenn Morris <rgm@gnu.org>
362 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
363 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
364 default to `prog' without a .py extension.
365 (rst-compile-pdf-preview, rst-compile-slides-preview):
366 Use program names from rst-compile-toolsets, rather than hard-coding.
367 (rst-portable-mark-active-p): Fix presumed typo.
369 2011-01-02 Eli Zaretskii <eliz@gnu.org>
371 * term/w32-win.el (dynamic-library-alist): Set up correctly for
372 libpng versions both before and after 1.4.0. (Bug#7716)
374 2011-01-02 Eli Zaretskii <eliz@gnu.org>
376 * time.el (display-time-mode): Mention display-time-interval in
377 the doc string. (Bug#7713)
379 2011-01-02 Kenichi Handa <handa@m17n.org>
381 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
382 condition-case and return an error message string if something
384 (rmail-show-mime): Adjust for the above change. Insert the
385 header by rmail-mime-insert-header.
387 2011-01-02 Kenichi Handa <handa@m17n.org>
389 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
390 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
391 (rmail-mime-mbox-buffer)
392 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
393 (rmail-mime-entity): Argument changed. All codes handling an
394 entity object are changed.
395 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
397 (rmail-mime-entity-children, rmail-mime-entity-handler)
398 (rmail-mime-entity-tagline): New functions.
399 (rmail-mime-message-p): New function.
400 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
401 (rmail-mime-entity-segment, rmail-mime-next-item)
402 (rmail-mime-previous-item, rmail-mime-shown-mode)
403 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
404 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
405 (rmail-mime-insert-tagline, rmail-mime-insert-header):
407 (rmail-mime-text-handler): Call rmail-mime-insert-text.
408 (rmail-mime-insert-decoded-text): New function.
409 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
410 (rmail-mime-insert-image): Argument changed. Caller changed.
411 (rmail-mime-image): Call rmail-mime-toggle-hidden.
412 (rmail-mime-set-bulk-data): New funciton.
413 (rmail-mime-insert-bulk): Argument changed.
414 (rmail-mime-multipart-handler): Return t.
415 (rmail-mime-process-multipart): Argument changed.
416 Handle "multipart/alternative" here.
417 (rmail-mime-process): Argument changed.
418 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
419 (rmail-mime-insert): Argument changed. Handle raw display mode.
420 (rmail-mime): Argument changed. Handle toggling of raw display
422 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
423 rmail-mime-view-buffer.
424 (rmail-insert-mime-forwarded-message): Likewise.
425 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
427 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
428 non-nil, handle the header in rmail-show-mime-function.
430 2011-01-02 Leo <sdl.web@gmail.com>
432 * help-fns.el (describe-variable): Fix previous change.
434 2011-01-02 Juri Linkov <juri@jurta.org>
436 * isearch.el (isearch-lazy-highlight-error): New variable.
437 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
438 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
439 to the current value of `isearch-error' (Bug#7468).
441 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
443 * help-fns.el (describe-variable): Don't emit trailing whitespace
446 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
448 * textmodes/rst.el (rst-compile-pdf-preview)
449 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
451 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
453 * emulation/edt-mapper.el: Override mapping of function keys so
454 that the later call to read-key-sequence works.
456 2011-01-02 Eli Zaretskii <eliz@gnu.org>
458 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
459 Unix EOLs. (Bug#7589)
461 2011-01-02 Leo <sdl.web@gmail.com>
463 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
464 if point is not behind eshell-last-output-end (Bug#7585).
466 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
468 * files.el (file-local-variables-alist):
469 Make permanent-local (bug#7767).
471 2011-01-02 Glenn Morris <rgm@gnu.org>
473 * version.el (emacs-copyright): Set short copyright year to 2011.
475 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
477 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
478 an existing temp buffer. (Bug#7746)
480 2011-01-02 Glenn Morris <rgm@gnu.org>
482 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
483 multiple addresses. (Bug#7760)
485 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
487 * allout.el (allout-auto-fill): Do not infinitely recurse - use
488 do-auto-fill if everything points back to allout-auto-fill.
489 (allout-mode-deactivate-hook): Declare obsolete, in favor of
490 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
492 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
494 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
497 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
499 * doc-view.el (doc-view-set-doc-type): New function refactored
501 (doc-view-fallback-mode): New function.
502 (doc-view-mode): Use it.
503 (doc-view-mode-maybe): New function that checks if doc-view-mode
504 can be used and falls back to the next best mode otherwise.
506 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
507 DVI, OpenDocument, and MS Office files.
509 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
511 * emacs-lisp/rx.el (rx-syntax): Fix typo.
513 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
515 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
516 on a copy of auto-mode-alist, because that deletes with side
519 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
521 * doc-view.el (doc-view-mode, doc-view-toggle-display):
522 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
523 fallback instead of hard coding fundamental mode.
525 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
527 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
528 Office) files also for searching.
530 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
532 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
533 Office) files. Not yet enabled via auto-mode-list.
534 (doc-view-unoconv-program): New custom variable.
535 (doc-view-mode-p): Handle new odf document type.
536 (doc-view-odf->pdf): New conversion function.
537 (doc-view-convert-current-doc): Call it for odf files.
538 (doc-view-mode): Recognize newly supported file extensions.
540 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
542 * net/tramp.el (tramp-default-method-alist)
543 (tramp-default-user-alist)
544 (tramp-local-host-regexp, tramp-prefix-domain-format)
545 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
552 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
553 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
555 2010-12-29 Karl Fogel <kfogel@red-bean.com>
557 * saveplace.el (save-place-alist-to-file): Save list sorted and
558 pretty-printed, so that it is mergeable by line-based text merging,
559 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
561 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
563 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
564 (allout-mode): Argument "toggle" => "force".
565 Refine the docstring.
566 Remove special provisions for reactivation, besides the 'force'
568 Consolidate layout provisions coce directly into the activation
569 condition branch, now that we've removed those provisions.
570 (allout-unload-function): Explicitly activate the mode before
571 deactivating, if it's initially deactivated.
572 (allout-set-buffer-multibyte): Properly prevent byte-compiler
573 warnings for version of function used only where
574 set-buffer-multibyte is unavailable.
576 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
578 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
579 are handled by the menu-bar entries. As before, don't use
580 :visibile to avoid changing the tool-bar.
582 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
584 * net/secrets.el (secrets-delete-alias): New defun.
586 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
588 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
589 methods, otherwise ~/.ssh/config would be ignored.
591 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
593 * emacs-lisp/rx.el: Make it a superset of sregex.
594 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
595 of args, add `regex' alias.
596 (rx-info): Add arg to distinguish head and standalone forms.
597 (rx-check, rx-form): Pass the corresponding arg.
599 (rx-repeat): Make it work for any number of args.
600 (rx-syntax): Make it accept syntax chars as is.
601 * obsolete/sregex.el: Move from emacs-lisp/.
602 * emacs-lisp/re-builder.el: Remove sregex support.
603 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
605 2010-12-25 Eli Zaretskii <eliz@gnu.org>
607 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
608 PRIMARY first, then the clipboard. (Bug#7699)
610 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
612 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
615 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
617 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
618 .emacs.elc (Bug#7530).
620 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
621 image spec (Bug#7480).
623 2010-12-21 Daiki Ueno <ueno@unixuser.org>
625 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
626 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
629 2010-12-20 Leo <sdl.web@gmail.com>
631 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
632 always be performed (Bug#7680).
634 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
636 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
637 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
640 * color.el: Move from gnus/.
642 * vc/diff.el (diff-better-file-name): Function deleted.
643 abbreviating file names causes problems with shell-quote-argument.
644 (diff-no-select): Just use expand-file-name.
646 * tool-bar.el (tool-bar--image-expression): New function.
647 (tool-bar-local-item, tool-bar--image-exp): Use it.
648 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
649 Use :enable instead of :visible to avoid changing the tool-bar
650 configuration unnecessarily.
652 * info.el (info-tool-bar-map): Add separators.
654 2010-12-17 Ken Brown <kbrown@cornell.edu>
656 * loadup.el: Use version numbers in Cygwin build.
658 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
660 * ido.el (ido-file-internal): Ask for confirmation before
661 overwriting an existing file (Bug#1238).
663 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
665 * tool-bar.el (tool-bar-setup): Add separators.
667 * menu-bar.el (featurep): Use menu-bar-separator.
669 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
671 Migrate allout encryption provisions from pgg to epg.
673 * allout.el (allout-toggle-current-subtree-encryption)
674 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
675 defaulting policy and other changes. Change fetch-pass to keymode-cue,
676 for simpler universal argument interpretation.
677 (allout-toggle-subtree-encryption): Adjust docstring to describe
678 changed encryption provisions. Change fetch-pass to keymode-cue, for
679 simpler universal argument interpretation. Remove provisions for
680 handling key type and identity - they'll all be within
681 allout-encrypt-string or epg/epg or even contained all the way in gpg.
682 (allout-encrypt-string): Include keymode-cue, for optionally prompting
683 for keypair recipients (universal argument > 1) and, in addition,
684 associating the specified recipients with the outline (universal
685 argument > 4) using a file local variable setting for
686 'epa-file-encrypt-to'.
687 Require epa, for recipients handling.
688 Change how regexp filtering elements are named.
689 Describe the problem with caching of incorrect symmetric-decryption
691 Use the epa-passphrase-callback-function, in case the user is using
693 Support saving of the selected keypair recipients when invoked with a
695 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
697 Establish epg-context with armoring and default epg-protocol.
698 Remove all passphrase cache, verification, and hinting code.
699 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
700 No longer used, delete.
701 (allout-mode): Adjust docstring to describe changed encryption
702 provisions. Describe the problem with caching of incorrect
703 symmetric-decryption keys.
704 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
705 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
706 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
707 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
710 2010-12-16 Daiki Ueno <ueno@unixuser.org>
712 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
713 key selection prompt; make 'silent as default (Bug#7487).
715 2010-12-16 Leo <sdl.web@gmail.com>
717 * eshell/eshell.el (eshell-directory-name):
718 Use locate-user-emacs-file (Bug#7578).
720 2010-12-15 Glenn Morris <rgm@gnu.org>
722 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
724 2010-12-15 Jari Aalto <jari.aalto@cante.net>
725 Scott Evans <gse@antisleep.com>
727 * rect.el (rectange--default-line-number-format)
728 (rectangle-number-line-callback): New functions.
729 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
731 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
733 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
734 Delete unused variables.
735 (move-to-column-force): Remove function obsolete since 21.2.
737 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
739 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
740 (tramp-handle-insert-file-contents): Do not set permanent-local
743 * net/tramp-cache.el (tramp-persistency-file-name):
744 Use `locate-user-emacs-file' if fboundp.
746 * net/tramp-sh.el (tramp-methods): Add "ksu".
747 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
750 2010-12-14 Glenn Morris <rgm@gnu.org>
752 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
753 (find-tag-marker-ring): Declare.
754 (js-find-symbol): Require etags.
756 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
758 (mail-alias-file): Don't autoload. Doc fix.
759 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
760 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
761 Mark as obsolete, and risky.
762 (mail-setup): Simplify.
764 * mail/mailalias.el (build-mail-aliases): Make it interactive.
765 * mail/sendmail.el (build-mail-aliases): Update autoload.
767 * dired.el (dired-trivial-filenames, dired-chown-program)
768 (dired-auto-revert-buffer): Remove autoload cookies.
769 * mail/sendmail.el (mail-recover-1): Require 'dired.
771 * dired.el (dired-subdir-switches, dired-chown-program)
772 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
773 Make into defcustoms.
774 (dired-chown-program): Simplify initialization.
776 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
778 2010-12-13 Romain Francoise <romain@orebokech.com>
780 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
782 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
784 * net/netrc.el (netrc-point-at-eol): Remove the unused
785 netrc-point-at-old and netrc-bound-and-true-p bindings.
786 (netrc-parse): Cache the netrc contents.
788 2010-12-13 Eli Zaretskii <eliz@gnu.org>
790 * subr.el (posn-col-row): Evaluate header-line-format in the
791 context of the POSITION window's buffer.
793 2010-12-13 Glenn Morris <rgm@gnu.org>
795 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
796 (with-silent-modifications): Doc fixes.
798 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
800 * net/tramp.el (tramp-action-password, tramp-process-actions):
801 Revert previous from. Use `save-restriction'.
803 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
805 * calendar/diary-lib.el (diary-list-sexp-entries):
806 Handle case of no newline at end of file. (Bug#7536)
808 2010-12-13 Glenn Morris <rgm@gnu.org>
810 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
812 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
814 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
815 (tramp-process-actions): Do not widen.
817 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
818 Protect buffer-modified value. (Bug#7557)
820 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
822 * log-edit.el (log-edit-changelog-entries):
823 Regexp quote filename. (Bug#7505)
825 2010-12-13 Tom Breton <tehom@panix.com>
827 * cus-edit.el (custom-save-all):
828 Bind print-length and print-level to nil. (Bug#7581)
830 2010-12-13 Glenn Morris <rgm@gnu.org>
832 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
833 Run hooks to update menu contents. (Bug#7586)
835 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
836 file names, for the sake of MS Windows. (Bug#7588)
838 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
840 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
841 empty lines without a leading space.
843 2010-12-13 Leo <sdl.web@gmail.com>
845 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
846 while mapping over marks (Bug#6810).
848 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
850 * image-dired.el (image-dired-db-file)
851 (image-dired-temp-image-file, image-dired-gallery-dir)
852 (image-dired-temp-rotate-image-file): Set default values relative
853 to image-dired-dir (Bug#7518).
855 2010-12-13 Lawrence Mitchell <wence@gmx.li>
857 * format.el (format-decode-run-method): Pass args FROM and TO, not
858 point-min and point-max, to shell-command-on-region (Bug#7488).
860 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
862 * frame.el (blink-cursor-mode): Make default t for ns.
864 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
866 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
868 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
870 * comint.el (comint-dynamic-list-input-ring)
871 (comint-dynamic-complete-filename)
872 (comint-replace-by-expanded-filename)
873 (comint-dynamic-simple-complete)
874 (comint-dynamic-list-filename-completions)
875 (comint-dynamic-list-completions): Doc fix (Bug#7499).
877 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
880 2010-12-13 Martin Rudalics <rudalics@gmx.at>
882 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
885 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
887 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
890 2010-12-13 Eli Zaretskii <eliz@gnu.org>
892 * files.el (file-relative-name): Handle UNC file names on
893 DOS/Windows. (Bug#4674)
895 2010-12-13 Daiki Ueno <ueno@unixuser.org>
897 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
898 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
899 (epg-context-set-passphrase-callback): Mention that the callback
900 is not called when used with GnuPG 2.x.
902 2010-12-13 Glenn Morris <rgm@gnu.org>
904 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
905 Ensure ps-footer-font-size-internal is initialized.
906 Call ps-get-page-dimensions before trying to use ps-font-for-text.
908 2010-12-13 Kenichi Handa <handa@m17n.org>
910 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
911 within condition-case.
912 (rmail-show-mime): Don't use condition-case.
913 (rmail-search-mime-message): New function.
914 (rmail-search-mime-message-function): Set to
915 rmail-search-mime-message.
917 2010-12-13 Leo <sdl.web@gmail.com>
919 * ido.el (ido-common-initialization): New function. (bug#3274)
921 (ido-completing-read): Call it.
923 2010-12-12 Karl Fogel <kfogel@red-bean.com>
925 * bookmark.el (bookmark-name-from-full-record): Rename back to
926 this original name from `bookmark-name-from-record' reverting part
927 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
928 As Drew Adams pointed out, there was no reason to cause churn for
931 2010-12-12 Alan Mackenzie <acm@muc.de>
933 * progmodes/cc-engine.el (c-forward-type): Before scanning a
934 template arglist, check that the current language supports this.
936 2010-12-11 Glenn Morris <rgm@gnu.org>
938 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
939 state of the file matches. (Bug#7544)
940 (vc-bzr-register, vc-bzr-checkin)
941 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
942 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
944 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
946 2010-12-11 Karel Klíč <kklic@redhat.com>
948 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
950 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
952 Derive from prog-mode, use derived-mode-p, and fix up various
953 minor style issues in lisp/progmodes.
955 * progmodes/vhdl-mode.el (vhdl-mode):
956 * progmodes/verilog-mode.el (verilog-mode):
957 * progmodes/vera-mode.el (vera-mode):
958 * progmodes/sql.el (sql-mode):
959 * progmodes/scheme.el (scheme-mode):
960 * progmodes/perl-mode.el (perl-mode):
961 * progmodes/octave-inf.el (inferior-octave-mode):
962 * progmodes/autoconf.el (autoconf-mode):
963 * progmodes/m4-mode.el (m4-mode):
964 * progmodes/inf-lisp.el (inferior-lisp-mode):
965 * progmodes/idlwave.el (idlwave-mode):
966 * progmodes/icon.el (icon-mode):
967 * progmodes/idlw-help.el (idlwave-help-mode):
968 * progmodes/dcl-mode.el (dcl-mode):
969 * progmodes/idlw-shell.el (idlwave-shell-mode):
970 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
971 (ebrowse-member-mode, ebrowse-electric-position-mode):
972 Use define-derived-mode.
974 * progmodes/xscheme.el (exit-scheme-interaction-mode)
975 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
976 (xscheme-debugger-mode-p, xscheme-send-string-1):
977 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
978 (tcl-load-file, tcl-restart-with-file):
979 * progmodes/ps-mode.el (ps-run-running):
980 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
981 * progmodes/js.el (js--get-all-known-symbols):
982 * progmodes/inf-lisp.el (inferior-lisp-proc):
983 * progmodes/idlwave.el (idlwave-beginning-of-statement)
984 (idlwave-template, idlwave-update-buffer-routine-info)
985 (idlwave-update-current-buffer-info)
986 (idlwave-get-routine-info-from-buffers, idlwave-choose)
987 (idlwave-scan-class-info, idlwave-fix-keywords)
988 (idlwave-list-buffer-load-path-shadows):
989 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
990 (idlwave-toolbar-remove):
991 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
992 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
993 (idlwave-shell-menu-def):
994 * progmodes/idlw-complete-structtag.el
995 (idlwave-prepare-structure-tag-completion):
996 * progmodes/gud.el (gud-set-buffer):
997 * progmodes/f90.el (f90-backslash-not-special):
998 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1000 * progmodes/xscheme.el (xscheme-start)
1001 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1002 * progmodes/which-func.el (which-function):
1003 * progmodes/vhdl-mode.el (vhdl-set-style):
1004 * progmodes/verilog-mode.el (verilog-set-compile-command)
1005 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1006 (verilog-set-define, verilog-auto-reeval-locals):
1007 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1008 * progmodes/simula.el (simula-mode):
1009 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1010 * progmodes/python.el (python-check, python-mode):
1011 * progmodes/prolog.el (prolog-mode-variables):
1012 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1013 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1014 * progmodes/delphi.el (delphi-mode):
1015 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1016 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1017 (c-font-lock-init): Move make-local-variable to their setq.
1019 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1020 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1022 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1023 (sh-set-shell): Don't set require-final-newline since it's already done
1025 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1026 since we never set it.
1027 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1028 Use read-string and standard prompt.
1029 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1030 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1031 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1032 (meta-common-mode-map): Rename from meta-mode-map.
1033 Remove C-m binding, which is a user preference, not mode specific.
1034 (meta-common-mode): New major mode; replace meta-common-initialization.
1035 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1036 around with font-lock.
1037 * progmodes/etags.el (select-tags-table-mode):
1038 Derive from special-mode.
1039 * progmodes/octave-mod.el (octave-mode):
1040 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1041 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1042 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1043 Let define-derived-mode do its job.
1044 * progmodes/cpp.el (cpp-edit-mode-map):
1045 Move initialization into declaration.
1046 (cpp-edit-mode): Use define-derived-mode.
1047 (cpp-edit-load): Use derived-mode-p.
1048 * progmodes/mixal-mode.el (mixal-mode):
1049 * progmodes/f90.el (f90-mode):
1050 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1051 require-final-newline since prog-mode does it already.
1052 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1053 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1054 * progmodes/antlr-mode.el: Require cc-mode upfront.
1055 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1057 (antlr-directory-dependencies, antlr-show-makefile-rules):
1059 (antlr-language-option): Don't assume point-min==1.
1060 (antlr-mode): Use define-derived-mode.
1061 * progmodes/ada-mode.el: Use derived-mode-p.
1062 (ada-mode): Use define-derived-mode.
1063 Use hack-local-variables-hook.
1065 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1068 (texinfo-mode): Don't disable adaptive-fill-mode.
1069 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1070 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1071 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1072 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1073 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1074 (texinfo-insert-@quotation, texinfo-insert-@samp)
1075 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1076 (texinfo-insert-@uref): Use define-skeleton.
1077 (texinfo-insert-@-with-arg): Delete.
1079 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1081 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1082 nil, do quote archive member names. (Bug#6144)
1084 2010-12-10 Glenn Morris <rgm@gnu.org>
1086 * files.el (diff-no-select): Declare.
1088 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1089 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1091 * comint.el (comint-input-ring-file-name): Doc fix.
1093 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1095 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1097 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1098 Use them instead of `nil' and `>', respectively.
1099 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1101 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1102 and menu-bar-positive-p instead of `nil' and `>', respectively.
1105 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1107 * whitespace.el (whitespace-newline-mode): Code fix.
1109 2010-12-09 Glenn Morris <rgm@gnu.org>
1111 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1112 Rename functions without commas, update callers.
1114 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1116 * whitespace.el (whitespace-cleanup-region):
1117 Clean up spaces before tabs. (Bug#7582)
1119 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1121 * bookmark.el: Adjust parameter names and doc strings to resolve
1122 confusion over whether "bookmark" meant a bookmark name or a
1123 bookmark record. Along the way, shorten one function's name for
1124 similar reasons. (Issue #7548)
1125 (bookmark-name-from-record): New name for
1126 `bookmark-name-from-full-record'. All callers changed.
1127 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1128 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1129 (bookmark-get-annotation, bookmark-set-annotation)
1130 (bookmark-get-filename, bookmark-set-filename)
1131 (bookmark-get-position, bookmark-set-position)
1132 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1133 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1134 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1135 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1136 Rename `bookmark' parameter to `bookmark-name-or-record', to
1137 clearly show its role, and shorten or adjust doc strings accordingly.
1138 (bookmark-set-name): Same, and pass the parameter directly to
1139 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1140 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1141 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1142 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1143 and in some cases shorten doc string accordingly.
1144 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1145 and `new-name', and adjust an internal variable to avoid confusion.
1146 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1147 parameter in doc string.
1149 2010-12-08 Glenn Morris <rgm@gnu.org>
1151 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1152 from gdb's history file. (Bug#7575)
1154 * mail/emacsbug.el (report-emacs-bug):
1155 Try to handle some other mail clients.
1157 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1160 Use string-prefix-p.
1161 (file-name-version-regexp): New var.
1162 (file-name-sans-versions):
1163 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1164 (jka-compr-get-compression-info): Use dolist.
1165 (jka-compr-compression-info-list): Don't bother specifying
1166 version/backup regexps.
1168 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1170 * simple.el (just-one-space): Make argument n default to 1 if
1173 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * electric.el (electric-indent-post-self-insert-function):
1176 Delete trailing newlines even if we don't reindent.
1178 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * minibuffer.el (completion-at-point): Remove the `arg'.
1181 * bindings.el (complete-symbol): Move back from minibuffer.el.
1183 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1185 * simple.el (just-one-space): Delete newlines for negative arg.
1187 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1190 (ansi-color-filter-apply): Simplify.
1191 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1193 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1195 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1197 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1199 * dired.el (dired-use-ls-dired): Set default to a special
1200 "unspecified" value.
1201 (dired-insert-directory): When called the first time, check
1202 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1204 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1206 * replace.el: Add "collect" feature to occur.
1207 (occur-collect-regexp-history): New var.
1208 (occur-read-primary-args): Return a replace string for nlines,
1210 (occur): Extend the meaning of nlines.
1212 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1214 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1215 (which-func-update-1): Distinguish symbols from strings.
1216 (which-function): Stay within 80 columns.
1218 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1220 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1222 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1224 (comment-style): Use comment-styles's docs to describe values.
1226 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1228 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1229 and ns-show-prefs (Bug#7535).
1231 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1232 bindings (Bug#7535).
1234 2010-12-03 Glenn Morris <rgm@gnu.org>
1236 * nxml/nxml-mode.el: Require rng-nxml.
1237 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1238 Remove declarations.
1240 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1241 * nxml/rng-nxml.el, nxml/rng-valid.el:
1242 Remove leading `*' from defcustom docs.
1244 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1245 (normal-top-level-add-to-load-path, tty-handle-args):
1246 Convert comments to basic doc-strings.
1248 * net/browse-url.el (browse-url-url-at-point)
1249 (browse-url-default-browser): Remove autoload cookies.
1251 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1252 Remove more undefined cl functions.
1254 * vc/diff.el (diff-sentinel): Make new arguments optional.
1255 * ibuf-ext.el (diff-sentinel): Update declaration.
1257 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1259 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1260 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1261 (epg-context-set-passphrase-callback): Mention that the callback
1262 is not called when used with GnuPG 2.x.
1264 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1266 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1267 (tramp-file-name-port): Check also for `tramp-default-port'.
1268 (tramp-get-connection-name): New defun.
1269 (tramp-get-connection-process): Use it.
1270 (tramp-debug-message): Extend function exclude list.
1271 (tramp-drop-volume-letter): Fix doc string.
1273 * net/tramp-cmds.el: Remove solved todo item.
1277 * net/tramp-gvfs.el:
1279 * net/tramp-imap.el:
1280 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1281 and `tramp-default-user-alist', respectively.
1283 * net/tramp-gw.el (tramp-gw-open-connection):
1284 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1286 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1287 `tramp-file-name-port'.
1289 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1290 and "psftp". Exchange "%k" marker with options.
1291 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1292 Compute size of link target.
1293 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1294 `tramp-current-*' up due to gateway methods. Optimze computing of
1295 copy arguments. Use `tramp-get-connection-name' and
1296 `tramp-get-connection-buffer'. Improve debug messages.
1297 (tramp-compute-multi-hops): Remove port determination.
1298 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1300 * net/trampver.el: Update release number.
1302 2010-12-02 Glenn Morris <rgm@gnu.org>
1304 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1305 Avoid infinite loop over windows. (Bug#7492)
1307 * progmodes/flymake.el (flymake-check-file-limit):
1308 Allow nil to mean "no limit".
1309 (flymake-check-patch-master-file-buffer): Update for above change.
1310 Allow a .tex file-name extension to be optional.
1311 (flymake-master-tex-init): Also match \include statements.
1313 2010-11-30 Sam Steingold <sds@gnu.org>
1315 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1316 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1317 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1318 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1319 define-derived-mode').
1320 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1321 users who want to call `nxml-parent-document-set'.
1323 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1325 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1326 stand-alone lines, since that is handled by log-edit-match-to-eoh
1329 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1331 * dired.el (dired-get-filename): Replace backslashes with slashes
1332 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1333 * locate.el (locate-default-make-command-line): Don't consider
1334 drive letter and root directory part of
1335 `directory-listing-before-filename-regexp'. (Bug#7308)
1336 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1338 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1341 of :smie-open/close-alist.
1342 (smie-next-sexp): Make it accept a "start token" as argument.
1343 (smie-indent-keyword): Be careful not to misidentify tokens that span
1344 more than one line, as empty lines. Add argument `token'.
1346 2010-11-27 Kenichi Handa <handa@m17n.org>
1348 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1349 multipart subtypes, insert all as usual.
1351 * mail/rmail.el: Require rfc2047.
1353 2010-11-27 Kenichi Handa <handa@m17n.org>
1355 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1356 (rmail-mime-entity-disposition)
1357 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1358 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1359 (rmail-mime-save): Handle the case that the button's `data' is a
1361 (rmail-mime-insert-text): New function.
1362 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1363 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1364 (rmail-mime-insert-bulk): New function mostly copied from the old
1365 rmail-mime-bulk-handler.
1366 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1367 (rmail-mime-process-multipart): New function mostly copied from
1368 the old rmail-mime-multipart-handler.
1369 (rmail-mime-show): Just call rmail-mime-process.
1370 (rmail-mime-process): New function mostly copied from the old
1372 (rmail-mime-insert-multipart, rmail-mime-parse)
1373 (rmail-mime-insert, rmail-show-mime)
1374 (rmail-insert-mime-forwarded-message)
1375 (rmail-insert-mime-resent-message): New functions.
1376 (rmail-insert-mime-forwarded-message-function): Set to
1377 rmail-insert-mime-forwarded-message.
1378 (rmail-insert-mime-resent-message-function): Set to
1379 rmail-insert-mime-resent-message.
1381 * mail/rmailsum.el: Require rfc2047.
1382 (rmail-header-summary): Handle multiline Subject: field.
1383 (rmail-summary-line-decoder): Change the default to
1384 rfc2047-decode-string.
1386 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1387 (rmail-mime-feature): Change the default to `rmailmm'.
1388 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1389 (rmail-display-labels): Likewise.
1390 (rmail-show-message-1): Check rmail-enable-mime, and use
1391 rmail-show-mime-function for a MIME message. Decode the headers
1392 according to RFC2047.
1394 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1396 * progmodes/which-func.el (which-func-imenu-joiner-function):
1397 Return a string, as expected.
1398 (which-function-mode): Make sure we stop any previous timer before
1401 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1403 * net/tramp.el (tramp-default-method-alist)
1404 (tramp-default-user-alist, tramp-default-proxies-alist):
1405 Adapt custom options type. (Bug#7445)
1407 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1409 * progmodes/python.el: Add Ipython support (Bug#5390).
1410 (python-shell-prompt-alist)
1411 (python-shell-continuation-prompt-alist): New options.
1412 (python--set-prompt-regexp): New function.
1413 (inferior-python-mode, run-python, python-shell):
1414 Require ansi-color. Use python--set-prompt-regexp to set the comint
1415 prompt based on the Python interpreter.
1416 (python--prompt-regexp): New var.
1417 (python-check-comint-prompt)
1418 (python-comint-output-filter-function): Use it.
1419 (run-python): Use a pipe (Bug#5694).
1421 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1423 * progmodes/python.el (run-python): Doc fix.
1424 (python-keep-current-directory-in-path): New var (Bug#7454).
1426 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1428 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1429 Prompt user before actually printing.
1431 2010-11-27 Glenn Morris <rgm@gnu.org>
1433 * startup.el (package-enable-at-startup, package-initialize):
1434 Remove unnecessary declarations.
1436 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1438 * international/characters.el (glyphless-char-display-control):
1439 Exclude newline and TAB from the c0-control group.
1441 2010-11-27 Glenn Morris <rgm@gnu.org>
1443 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1444 (expand-mail-aliases): Remove unnecessary autoload.
1446 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1448 * shell.el (shell-dir-cookie-re): Move definition before use.
1450 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1451 Replace undefined CL functions.
1453 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1455 * simple.el (prog-mode): Set bidi-paragraph-direction to
1458 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1460 2010-11-26 Glenn Morris <rgm@gnu.org>
1462 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1463 diary-outlook-formats can be sensitive to calendar-date-style.
1464 (diary-outlook-formats): Simplify the default setting.
1465 (diary-from-outlook-internal): Pass subject and body as arguments.
1466 Use dolist rather than dotimes. Don't save the diary buffer.
1467 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1468 Pass subject and body as explicit arguments to the -internal function.
1470 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1472 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1473 parsing them. This makes mailto:...?subject=foo\nbar work.
1475 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * vc/diff.el (diff): Fix last change.
1479 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1481 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1482 (pcase--dontcare-upats): New var.
1483 (pcase-let, pcase-let*): Generate better code.
1484 Accept the same bodies as `let'.
1485 (pcase-dolist): New macro.
1486 (pcase--trivial-upat-p): New helper function.
1487 (pcase--expand): Strip leading "(let nil" if any.
1489 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1491 * mail/mailclient.el (browse-url): Require.
1492 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1493 use the external browser function to send the mail (bug#7469).
1495 * net/browse-url.el (browse-url-browser-function): Revert the
1496 default back to the previous value, since the new value broke
1498 (browse-url-mailto-function): New variable for mailto: URLs.
1499 (browse-url): Use the new variable for mailto: URLs.
1501 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * eshell/esh-cmd.el (eshell-parse-command):
1504 * eshell/esh-arg.el (eshell-parse-arguments):
1505 * eshell/em-script.el (eshell-source-file):
1506 Use with-silent-modifications.
1508 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1510 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1511 for a merge location.
1513 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1514 (vc-bzr-merge-branch): Always prompt.
1515 (vc-bzr-async-command): Use the full branch filename.
1517 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * shell.el (shell): Use current-buffer by default if it's already
1520 a shell mode buffer and its process is dead.
1521 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1523 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1525 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1526 Mention that the keywords should be comma separated.
1528 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1530 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1531 Accept optional prefix arg meaning to prompt for a command.
1532 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1533 prefix arg meaning to prompt for a command.
1534 (vc-pull): Alias for vc-update.
1536 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1537 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1538 (vc-bzr-merge-branch): New functions, implementing merge-branch
1539 and pull operations.
1541 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1543 * Makefile.in: Fix up last merge.
1545 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1546 (diff-sentinel): Get them as arguments instead.
1547 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1548 (diff-file-local-copy, diff-better-file-name): New funs.
1549 (diff-no-select): Rename from diff-into-buffer.
1550 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1551 Prefer closures to buffer-local variables.
1552 (diff): Adjust accordingly.
1553 (diff-buffer-with-file): Move from files.el.
1554 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1555 (diff-buffer-internal): Remove.
1556 (diff-buffer-buffer): Remove.
1557 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1558 the buffer name used, and so as not to mess up windows and frames.
1560 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1562 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1563 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1564 (diff-buffer-with-file): Use it.
1565 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1568 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1570 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1571 \ref's or \pageref's value as default instead of initial input.
1573 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1575 * files.el (backup-by-copying-when-mismatch): The default value is
1578 * startup.el (normal-top-level):
1579 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1580 `backup-by-copying-when-mismatch'.
1582 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1584 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1586 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1588 * progmodes/python.el (python-font-lock-keywords):
1589 Highlight top-level augmented assignments (Bug#6445).
1591 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1593 * term/ns-win.el (ns-right-control-modifier)
1594 (ns-right-command-modifier): Defvar them.
1596 * cus-start.el (all): Add ns-right-control-modifier and
1597 ns-right-command-modifier (Bug#7458).
1599 2010-11-20 Glenn Morris <rgm@gnu.org>
1601 * emacs-lisp/authors.el (authors-ignored-files)
1602 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1604 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1606 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1607 (report-emacs-bug-parse-query-results)
1608 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1609 keywords used for querying the bug database to show them in the
1610 existing bugs buffer.
1612 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1614 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1616 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1618 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1620 * international/characters.el (glyphless-char-display-control):
1621 Make it a defcustom, with update-glyphless-char-display as its
1623 (top level): Don't call update-glyphless-char-display.
1625 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1627 Sync with Tramp 2.2.0.
1629 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1630 `file-remote-p' (due to compatibility).
1632 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1633 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1635 * net/trampver.el: Update release number.
1637 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1639 * faces.el (glyphless-char): Define value for `pc'.
1641 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1643 Implemented a bug querying mechanism.
1644 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1645 (report-emacs-bug-create-existing-bugs-buffer)
1646 (report-emacs-bug-parse-query-results)
1647 (report-emacs-bug-query-existing-bugs): New functions.
1649 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1651 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1652 a \ref{} or \pageref{} macro, then use its value as initial input.
1654 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1656 * calc/calc-units.el (math-build-units-table-buffer):
1657 calc/README: Mention that the TeX specific units won't use the
1658 `tex' prefix in TeX mode.
1659 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1660 prefix for units in TeX mode.
1662 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * simple.el (kill-new, kill-append, kill-region):
1665 * comint.el (comint-kill-region): Make the yank-handler argument
1668 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1670 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1671 that are both openers (resp. closers) and something else.
1672 (smie-grammar): Loosen definition of valid values.
1673 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1674 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1675 (smie-indent-after-keyword): Adjust users.
1676 (smie-indent-keyword): Don't indent empty lines.
1678 * vc-hg.el (vc-hg-program): New var.
1679 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1680 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1682 2010-11-18 Glenn Morris <rgm@gnu.org>
1684 * emacs-lisp/autoload.el (autoload-find-destination): The function
1685 coding-system-eol-type may return non-numeric values. (Bug#7414)
1687 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1689 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1691 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1693 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1695 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1697 * textmodes/picture.el (picture-mouse-set-point): Don't use
1698 posn-col-row; explicitly compute the motion based on the posn at
1699 the window-start (Bug#7390).
1701 2010-11-18 Glenn Morris <rgm@gnu.org>
1703 * novice.el (disabled-command-function):
1704 Fix 2009-11-15 change. (Bug#7384)
1706 2010-11-18 Glenn Morris <rgm@gnu.org>
1708 * calendar/calendar.el (diary-iso-date-forms): Make elements
1709 mutually exclusive. (Bug#7377)
1711 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1713 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1714 when filling the remaining "unconstrained" values.
1716 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1718 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1721 * files.el (safe-local-variable-p): Gracefully handle errors.
1723 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1724 Use smie-indent-virtual when indenting relative to an opener.
1725 (smie-rule-separator): Use smie-rule-parent.
1726 (smie-indent-keyword): Consult rules, even for openers at bol.
1727 (smie-indent-comment-close): Try to align closer's content.
1729 2010-11-18 Glenn Morris <rgm@gnu.org>
1731 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1733 2010-11-18 Glenn Morris <rgm@gnu.org>
1735 * printing.el (pr-menu-bind): Doc fix.
1737 * speedbar.el (speedbar-toggle-images): Doc fix.
1739 * progmodes/python.el (python-shell): Doc fix.
1741 * wid-edit.el (widget-field-use-before-change)
1742 (widget-use-overlay-change): Doc fixes.
1744 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1746 Minor cleanup to improve style.
1747 * textmodes/rst.el (rst-update-section): Use point-marker.
1748 (rst-get-decoration): Eliminate unneeded assignment.
1749 (rst-promote-region, rst-straighten-decorations)
1750 (rst-section-tree, rst-adjust): Use point-marker.
1751 (rst-toc-mode-mouse-goto): Avoid setq.
1752 (rst-shift-region-guts, rst-shift-region-left)
1753 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1754 (rst-convert-bullets-to-enumeration): Use copy-marker.
1756 * minibuffer.el (completion-fail-discreetly): New var.
1757 (completion--do-completion): Use it.
1759 * electric.el (electric-pair-pairs): New var.
1760 (electric-pair-post-self-insert-function): Use it.
1761 (electric-layout-post-self-insert-function): Don't insert a before
1762 newline unless it's actually needed.
1764 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1766 * progmodes/python.el (run-python): Explain why we remove the current
1767 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1769 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1771 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1773 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1774 (octave-mode-map): Don't bind ;, SPC, and LF.
1775 (octave-auto-indent, octave-auto-newline): Remove.
1776 (electric-layout-rules): Declare.
1777 (octave-mode): Set electric-layout-rules.
1778 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1779 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1780 (octave-electric-space): Remove.
1782 * electric.el (electric-layout-mode): New minor mode.
1783 (electric--after-char-pos): New function.
1784 (electric-indent-post-self-insert-function): Use it.
1785 (electric-layout-rules): New var.
1786 (electric-layout-post-self-insert-function): New function.
1787 (electric-indent-mode): Make them interact better.
1789 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1792 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1793 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1795 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1797 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1798 Make sure to check inside the word (Bug#6761).
1800 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1802 * startup.el (command-line): If the cursorColor resource is set,
1803 change the cursor face-spec (Bug#7392).
1805 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1807 The main features of the following allout.el changes are:
1808 - implement user customization for the allout key bindings
1809 - add a customization control by which the user can inhibit use of
1810 a trailing Ctrl-H, so by default it's reserved for use with
1811 describe-prefix-bindings
1812 - adapt to new version of called-interactively-p, while
1813 maintaining backwards compatibility with old version
1814 - fix hotspot navigation so i works properly with meta-modified keys
1816 * allout.el (allout-keybindings, allout-bind-keys)
1817 (allout-keybindings-binding, allout-prefixed-keybindings)
1818 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1819 (allout-keybindings-list, allout-mode-map-adjustments)
1820 (allout-setup-mode-map): Establish allout-mode keymaps as user
1821 customizable settings, and also establish a customizable setting which
1822 regulates whether or not a trailing control-h is reserved for use with
1823 describe-prefix-bindings - and inhibit it by default, so that control-h
1824 *is* reserved for describe-prefix-bindings unless the user changes it.
1826 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1827 and accurately between modified and unmodified events, and handle
1828 modified events more comprehensively.
1830 * allout.el (allout-substring-no-properties):
1831 Alias to use or provide version of `substring-no-properties'.
1832 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1834 * allout.el (allout-next-single-char-property-change):
1835 Alias to use or provide version of `next-single-char-property-change'.
1836 (allout-annotate-hidden, allout-hide-by-annotation):
1837 Use `allout-next-single-char-property-change'.
1839 * allout.el (allout-select-safe-coding-system):
1840 Alias to use or provide version of `select-safe-coding-system'.
1841 (allout-toggle-subtree-encryption):
1842 Use `allout-select-safe-coding-system'.
1844 * allout.el (allout-set-buffer-multibyte):
1845 Alias to use or provide version of `set-buffer-multibyte'.
1846 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1848 * allout.el (allout-called-interactively-p): Macro for using the
1849 different versions of called-interactively-p identically, depending on
1850 the subroutine's argument signature.
1851 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1852 Use `(interactive "p")' instead of `(called-interactively-p)'.
1854 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1855 (allout-previous-visible-heading, allout-forward-current-level)
1856 (allout-backward-current-level, allout-show-children):
1857 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1859 * allout.el (allout-before-change-handler):
1860 Exempt edits to the (overlaid) character after the allout outline
1861 bullet from edit confirmation prompt.
1863 * allout.el (allout-add-resumptions):
1864 Ensure that it respects correct buffer for keybindings.
1866 * allout.el (allout-beginning-of-line):
1867 Use `allout-previous-single-char-property-change' alias for the sake of
1868 diverse compatibility.
1870 * allout.el (allout-end-of-line):
1871 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1873 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1875 * frame.el (frame-notice-user-settings): Don't clobber other
1876 user-set parameters when calling face-set-after-frame-default in
1877 response to background-color parameter (Bug#7373).
1879 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1881 * international/characters.el (glyphless-char-display-control):
1882 Rename from glyphless-char-control; all users changed. Doc fix.
1883 Signal an error if display method is not one of the recognized
1886 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1888 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1889 (tramp-compat-line-end-position): Remove them.
1891 * net/tramp.el (tramp-parse-rhosts-group)
1892 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1893 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1894 (tramp-parse-netrc-group, tramp-parse-putty-group)
1895 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1896 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1897 (tramp-sh-handle-file-selinux-context)
1898 (tramp-sh-handle-file-name-all-completions)
1899 (tramp-sh-handle-insert-directory)
1900 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1901 (tramp-wait-for-output, tramp-send-command-and-read)
1902 * net/tramp-smb.el (tramp-smb-read-file-entry)
1903 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1905 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1907 (tramp-remote-coding-commands): Add an alternative using "base64
1908 -d -i". This is needed for older base64 versions from GNU
1909 coreutils. Reported by Klaus Reichl
1910 <Klaus.Reichl@thalesgroup.com>.
1912 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1914 * simple.el (count-words-region): New function.
1916 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * shell.el (shell-dir-cookie-re): New custom variable.
1919 (shell-dir-cookie-watcher): New function.
1921 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1922 and compilation-mode (bug#7350).
1924 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1925 highlight when one of them is empty.
1927 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1929 (skeleton-newline): New function.
1930 (skeleton-internal-1): Use it.
1932 * simple.el (open-line): `newline' may strip trailing space.
1934 2010-11-12 Kevin Ryde <user42@zip.com.au>
1936 * international/mule-cmds.el (princ-list): Use mapc.
1938 2010-11-12 Glenn Morris <rgm@gnu.org>
1940 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1941 Use it to replace all instances of "*Compile-Log*"
1943 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1945 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1948 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1950 * progmodes/modula2.el: Use SMIE and skeleton.
1951 (m2-mode-syntax-table): (*..*) can be nested.
1952 Add //...\n. Fix paren syntax.
1953 (m2-mode-map): Remove LF and TAB bindings.
1954 (m2-indent): Add safety property.
1955 (m2-smie-grammar): New var.
1956 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1957 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1958 (m2-mode): Use define-derived-mode.
1959 (m2-newline, m2-tab): Remove.
1960 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1961 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1962 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1963 (m2-import): Use define-skeleton.
1965 2010-11-11 Glenn Morris <rgm@gnu.org>
1967 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1969 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1970 (ls-lisp-verbosity): Add custom :set-after property.
1971 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1972 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1973 (ls-lisp-insert-directory): Update caller.
1974 (ls-lisp-set-options): New function.
1975 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1978 * play/landmark.el (lm-prompt-for-move):
1979 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1981 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1983 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1984 (idlwave-study-twins): Prefix dynamic local variable `name'.
1985 (idlwave-routine-twin-compare): Update for above change.
1987 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1988 Prefix dynamic local variables `name', `kwd', and `link'.
1989 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1990 * progmodes/idlw-complete-structtag.el
1991 (idlwave-complete-structure-tag-help):
1992 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1993 (idlwave-complete-sysvar-tag-help)
1994 (idlwave-complete-class-structure-tag-help):
1995 Update for above name changes.
1997 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1999 * net/browse-url.el (browse-url-browser-function): Change the
2000 default to use `browse-url-mail' on mailto: URLs.
2002 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2004 * emacs-lisp/package.el (package-read-all-archive-contents):
2005 Reset package-archive-contents to nil before re-reading.
2007 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2009 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2010 already found as misspellings by (flyspell-large-region), just
2011 do highlighting (bug#7322).
2013 2010-11-10 Glenn Morris <rgm@gnu.org>
2015 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2017 * emulation/edt.el (edt-with-position): New macro.
2018 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2019 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2020 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2022 * emulation/tpu-extras.el (tpu-with-position): New macro.
2023 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2025 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2027 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2028 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2029 (texinfo-master-menu, texinfo-insert-node-lines)
2030 (texinfo-multiple-files-update):
2031 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2032 Use line-beginning-position.
2034 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2035 No recent Emacs supports system-type `emx'.
2037 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2038 (ada-command-separator, ada-default-prj-properties)
2039 (ada-find-any-references): Update for above name change.
2041 * dirtrack.el (dirtrack-directory-function)
2042 (dirtrack-canonicalize-function):
2043 * filecache.el (file-cache-completion-ignore-case)
2044 (file-cache-case-fold-search, file-cache-ignore-case):
2045 * term.el (serial-port-is-file-p): Cosmetic change.
2047 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2048 Remove non-existent `windows-95' system-type.
2049 * dired.el (dired-chown-program): Remove non-existent `linux'
2052 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2053 (ping-program-options): Remove non-existent `linux' system-type.
2055 * startup.el (package-initialize): Update declaration.
2057 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2058 (ls-lisp-handle-switches): Use time-less-p.
2059 (ls-lisp-format-time): Use float-time.
2061 * textmodes/remember.el (remember-time-to-seconds): Remove.
2062 (remember-store-in-mailbox): Use float-time.
2064 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2066 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2067 never a real function.
2068 (with-no-warnings): Remove compat stub, now unused.
2069 (time-less-p): Doc fix.
2070 (time-to-number-of-days): Simplify.
2072 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2074 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2075 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2076 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2077 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2078 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2080 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2081 (eshell-shuffle-files, eshell-shorthand-tar-command)
2082 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2083 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2084 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2085 Prefix dynamic local variable `matches'.
2087 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2088 Prefix dynamic local variable `skeleton'.
2090 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2092 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2093 in mail buffer; make yank-action always a command that yanks original
2096 2010-11-09 Glenn Morris <rgm@gnu.org>
2098 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2100 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2102 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2103 completion field (bug#7211).
2105 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2106 Fix handling of backslash escapes.
2107 (python-quote-syntax): Adjust accordingly.
2109 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2111 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2112 (vc-mtn-workfile-branch): Adjust to new output format.
2114 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2116 * international/mule-cmds.el (princ-list): Mark as obsolete.
2118 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * emacs-lisp/smie.el: New package.
2122 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2124 * files.el (backup-by-copying-when-mismatch):
2125 Set `permanent-local' property.
2127 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2128 `permanent-local' property for `backup-by-copying-when-mismatch'.
2130 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2132 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2134 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2136 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2137 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2138 AUTOINOUT for SV style multidimensional arrays, bug294.
2139 Reported by Eric Mastromarchi.
2140 (verilog-preprocess): Use with-current-buffer and
2141 font-lock-fontify-buffer to cleanup style issues.
2143 2010-11-09 Glenn Morris <rgm@gnu.org>
2145 * locate.el (locate, locate-mode): Doc fixes.
2147 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2149 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2150 user for confirmation.
2151 (server-force-stop): Use it.
2152 (server-start): Use server-force-stop for kill-emacs-hook, to
2153 avoid user interaction while killing Emacs.
2155 2010-11-09 Glenn Morris <rgm@gnu.org>
2157 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2158 (meta-indent-line): Simplify.
2160 * vc/emerge.el (emerge-line-number-in-buf):
2161 * textmodes/ispell.el (ispell-region):
2162 * textmodes/fill.el (current-fill-column):
2163 * progmodes/xscheme.el (xscheme-send-current-line):
2164 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2165 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2166 * progmodes/sh-script.el (sh-handle-prev-do):
2167 * progmodes/meta-mode.el (meta-indent-line):
2168 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2170 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2171 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2172 * progmodes/fortran.el (fortran-looking-at-if-then):
2173 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2174 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2175 (cperl-find-pods-heres):
2176 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2177 * net/quickurl.el (quickurl-list-insert):
2178 * net/ldap.el (ldap-search-internal):
2179 * net/eudc.el (eudc-expand-inline):
2180 * mail/sendmail.el (sendmail-send-it):
2181 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2182 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2183 (viper-brac-function):
2184 * calc/calc-yank.el (calc-do-grab-region):
2185 * calc/calc-keypd.el (calc-keypad-press):
2186 * term.el (term-move-columns, term-insert-spaces):
2187 * speedbar.el (speedbar-highlight-one-tag-line):
2188 * simple.el (current-word):
2189 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2190 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2192 * hippie-exp.el (he-line-beg):
2193 * epa.el (epa--marked-keys):
2194 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2195 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2196 (dired-relist-entry):
2197 * buff-menu.el (Buffer-menu-buffer):
2198 * array.el (current-line):
2199 * allout.el (allout-resolve-xref)
2200 (allout-latex-verbatim-quote-curr-line):
2201 Replace yet more uses of end-of-line etc with line-end-position, etc.
2203 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2206 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2207 (checkdoc-syntax-table): Initialize in the declaration.
2208 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2209 the mode on unconditionally.
2211 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2212 (extent-end-position, extent-start-position): Remove setf method for
2213 non-existing functions (bug#7319).
2215 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2217 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2218 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2219 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2220 (smie-prec2->grammar): Rename from smie-prec2-levels.
2221 (smie-grammar): Rename from smie-op-levels.
2222 (smie-indent--hanging-p): Rename from smie-hanging-p.
2223 (smie-rule-hanging-p): New alias.
2224 (smie-indent--bolp): Rename from smie-bolp.
2225 (smie-indent--hanging-p): New alias.
2226 (smie--token): New dynamically bound variable.
2227 (smie-indent--parent): New function.
2228 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2229 (smie-rule-next-p): Rename from smie-next-p.
2230 (smie-rule-prev-p): Rename from smie-prev-p.
2231 (smie-rule-sibling-p, smie-rule-parent)
2232 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2233 (smie-rule-separator-outdent): New var.
2234 (smie-indent--rule): Merge with smie-indent--column.
2235 (smie-indent-forward-token, smie-indent-backward-token):
2236 Also recognize close parens.
2237 (smie-indent-keyword): Don't use smie-indent--column any more.
2238 (smie-indent-after-keyword): Ignore closers by default.
2239 (smie-indent-line): Use with-demoted-errors.
2240 * progmodes/octave-mod.el (octave-smie-grammar):
2241 Rename from octave-smie-op-levels.
2242 (octave-smie-rules): Adjust to new behavior.
2243 * progmodes/prolog.el (prolog-smie-grammar):
2244 Rename from prolog-smie-op-levels.
2246 2010-11-07 Glenn Morris <rgm@gnu.org>
2248 * eshell/esh-util.el (subst-char-in-string)
2249 (directory-files-and-attributes): These compatibility definitions are
2250 not needed on any version of Emacs since at least 21.4.
2252 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2253 (verilog-get-end-of-line): Remove.
2254 (verilog-within-string, verilog-re-search-forward-substr)
2255 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2256 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2257 Use point-at-bol, point-at-eol.
2258 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2260 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2261 (electric-pascal-terminate-line, pascal-set-auto-comments)
2262 (pascal-indent-paramlist, pascal-indent-declaration)
2263 (pascal-get-lineup-indent, pascal-func-completion)
2264 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2265 Use point-at-bol, point-at-eol.
2266 * progmodes/flymake.el (flymake-line-beginning-position)
2267 (flymake-line-end-position): Remove.
2268 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2269 * eshell/esh-util.el (line-end-position, line-beginning-position):
2270 Remove compat definitions.
2272 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2274 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2275 Use line-end-position.
2277 * emacs-lisp/chart.el (chart-zap-chars):
2278 * play/decipher.el (decipher-set-map):
2279 * progmodes/ada-mode.el (ada-get-current-indent)
2280 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2281 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2282 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2283 (ada-get-all-references):
2284 * progmodes/cperl-mode.el (cperl-electric-paren)
2285 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2286 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2287 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2288 (cperl-word-at-point-hard):
2289 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2290 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2291 (idlwave-shell-display-line):
2292 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2293 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2294 * progmodes/js.el (js--re-search-forward-inner)
2295 (js--re-search-backward-inner):
2296 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2297 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2298 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2299 * textmodes/flyspell.el (flyspell-process-localwords):
2300 * textmodes/ispell.el (ispell-buffer-local-parsing)
2301 (ispell-buffer-local-dict, ispell-buffer-local-words):
2302 Use point-at-bol and point-at-eol.
2304 * speedbar.el (speedbar-generic-item-info)
2305 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2306 (speedbar-add-indicator, speedbar-check-vc-this-line)
2307 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2308 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2309 Replace more uses of end-of-line etc with line-end-position.
2311 2010-11-06 Glenn Morris <rgm@gnu.org>
2313 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2314 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2315 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2316 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2317 (texinfo-multiple-files-update):
2318 * textmodes/table.el (table--probe-cell-left-up)
2319 (table--probe-cell-right-bottom):
2320 * textmodes/picture.el (picture-tab-search):
2321 * textmodes/page-ext.el (pages-copy-header-and-position)
2322 (pages-directory-for-addresses):
2323 * progmodes/vera-mode.el (vera-get-offset):
2324 * progmodes/simula.el (simula-calculate-indent):
2325 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2326 * progmodes/prolog.el (end-of-prolog-clause):
2327 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2328 * progmodes/icon.el (indent-icon-exp):
2329 * progmodes/etags.el (tag-re-match-p):
2330 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2331 * progmodes/ebnf2ps.el (ebnf-begin-file):
2332 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2333 (dcl-save-local-variable):
2334 * play/life.el (life-setup):
2335 * play/gametree.el (gametree-looking-at-ply):
2336 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2337 * mail/sendmail.el (mail-mode-auto-fill):
2338 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2339 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2340 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2341 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2342 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2343 * type-break.el (type-break-file-keystroke-count):
2344 * term.el (term-replace-by-expanded-history-before-point)
2345 (term-skip-prompt, term-extract-string):
2346 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2347 (speedbar-contract-line, speedbar-toggle-line-expansion)
2348 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2349 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2350 * sort.el (sort-skip-fields):
2351 * skeleton.el (skeleton-internal-list):
2352 * simple.el (line-move-finish, line-move-to-column):
2353 * shell.el (shell-forward-command):
2354 * misc.el (copy-from-above-command):
2355 * makesum.el (double-column):
2356 * ebuff-menu.el (electric-buffer-update-highlight):
2357 * dired.el (dired-move-to-end-of-filename):
2358 * dframe.el (dframe-popup-kludge):
2359 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2360 * arc-mode.el (archive-get-lineno):
2361 Use line-end-position and line-beginning-position.
2363 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2364 (idlwave-study-twins): Prefix dynamic local `class'.
2365 (idlwave-routine-twin-compare): Update for above name change.
2367 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2368 Use boundp tests to silence compiler. Update for changed name of
2369 bytecomp-filename variable.
2371 * emulation/viper-cmd.el (viper-read-string-with-history):
2372 Prefix dynamic local `initial'.
2373 (viper-minibuffer-standard-hook): Update for above name change.
2375 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2376 (elint-init-form): Update for above name change.
2378 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2379 local variables `cbeg' and `cend' a prefix.
2380 (mail-extr-voodoo): Update for above name change.
2382 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2383 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2384 (reftex-toc-promote-action): Doc fix.
2386 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2387 `prompt', `data' a prefix.
2388 (reftex-select-post-command-hook, reftex-select-callback)
2389 (reftex-select-mouse-accept, reftex-select-read-cite):
2390 Update for above name changes.
2392 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2393 `refstyle' to reftex-refstyle.
2394 (reftex-offer-label-menu): Update for above name change.
2395 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2396 `refstyle' name change.
2398 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2399 with with-current-buffer.
2400 (diff, template): Give dynamic local variables a prefix.
2401 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2402 (emerge-line-number-in-buf): Update for above name change.
2403 (emerge-combine-versions-internal): Rename local `template' to
2404 emerge-combine-template.
2405 (emerge-combine-versions-edit): Update for above name change.
2407 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2409 * textmodes/reftex-cite.el
2410 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2411 entries with whitespace after \bibitem.
2412 (reftex-create-bibtex-file): Match entries containing numbers and
2413 symbol constituents. Make sure that entries with whitespace at
2414 various places are found.
2416 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2418 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2420 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2422 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2424 2010-11-05 Glenn Morris <rgm@gnu.org>
2426 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2427 (woman2-roff-buffer): Give local variable `request' a prefix.
2428 (woman0-macro): Rename argument `request' in the same way.
2429 (woman-request): New name for `request' dynamic variable.
2430 (woman-unquote, woman-forward-arg): Update for above name change.
2431 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2432 (woman1-unquote): New name for `unquote' dynamic variable.
2433 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2434 (woman-translations): Rename from `translations'. No longer global.
2435 (woman2-tr, woman-translate): Update for above name change.
2436 (woman-translate): Check for bound variable.
2437 (woman2-roff-buffer): Give local variable `translations' a prefix.
2439 * play/doctor.el: Give all local variables a prefix. Update callers.
2440 (doc$, doctor-put-meaning): Use backquote.
2442 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2443 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2445 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2446 variables bytes, ptr, op a prefix.
2447 (disassemble-offset): Update for above change.
2449 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2451 * emacs-lisp/package.el (package-unpack): Remove no-op.
2452 (package--builtins, package--dir): Doc fix.
2453 (package-activate-1, package-activate, package-install)
2454 (package-compute-transaction): Fix error message.
2455 (package-delete): Use delete-directory. Omit system packages.
2456 (package-initialize): Set package-alist to nil first.
2457 (package-menu-mark-delete, package-menu-mark-install): Don't add
2458 symbols that are inconsistent with the package state.
2459 (package-menu-execute): Perform deletions and installations as
2460 single batch operations.
2462 2010-11-03 Glenn Morris <rgm@gnu.org>
2464 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2465 (props): Remove unnecessary declaration.
2467 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2468 set-process-query-on-exit-flag.
2470 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2471 (reftex-toc-do-promote): Remove unused local `mpos'.
2472 (reftex-toc-restore-region): Make `mpos' local to this function.
2474 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2476 * play/landmark.el (lm-losing-threshold): Correct spelling.
2477 (lm-human-plays): Use new name.
2479 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2480 (gomoku-human-plays): Use new name.
2482 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2483 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2484 (gomoku-score-trans-table, gomoku-winning-threshold)
2485 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2487 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2489 * emacs-lisp/package.el: Don't put built-in packages in
2490 package-alist, to avoid loading inefficiencies.
2491 (package-built-in-p): Make VERSION optional, and treat it as a
2492 minimum acceptable version.
2493 (package-activate): Search separately for built-in packages.
2494 Emit a warning if a dependency fails.
2495 (define-package): Handle most common case, where there is no
2496 obsolete package, first.
2497 (package-compute-transaction): Print required version in error.
2498 (package--initialized): New variable.
2499 (list-packages): Use it.
2500 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2501 built-in packages in packages-alist; keep it separate.
2502 Set package--initialized.
2503 (describe-package): Avoid activating packages as a side-effect.
2504 Search separately for built-in packages.
2505 (describe-package-1): Handle the case where an elpa package is
2506 simultaneously built-in and available/installed.
2507 (package-installed-p, package--generate-package-list):
2508 Search separately for built-in packages.
2509 (package-load-descriptor): Doc fix.
2511 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2514 Handle __DATA__ and __END__.
2516 2010-11-02 Noah Friedman <friedman@splode.com>
2518 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2519 nil, do not ask to recompile files that are not already compiled,
2520 and do not recompile them.
2522 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2524 * emacs-lisp/package.el (package-initialize): Ensure that
2525 obsoleted built-in packages are not in package-activated-list
2527 (describe-package-1): Make the "installed" status override
2530 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2532 * subr.el (version-separator, version-regexp-alist): Remove '*'
2534 (version-list-<=, version<=, version=): Doc fix.
2536 2010-11-01 Kenichi Handa <handa@m17n.org>
2538 * faces.el (glyphless-char): Inherit underline for tty.
2540 2010-11-01 Kenichi Handa <handa@m17n.org>
2542 Implement various display methods for glyphless characters.
2544 * international/characters.el (char-acronym-table): New variable.
2545 (glyphless-char-control): New variable.
2546 (update-glyphless-char-display): New funciton.
2548 * faces.el (glyphless-char): New face.
2550 2010-11-01 Glenn Morris <rgm@gnu.org>
2552 * calendar/holidays.el (general-holidays, oriental-holidays)
2553 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2554 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2555 the definitions of their targets.
2557 * emacs-lisp/smie.el (smie): New custom group.
2558 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2560 * faces.el (xw-defined-colors, x-setup-function-keys):
2561 * mouse-sel.el (x-select-text):
2562 * term/w32console.el (x-setup-function-keys): Update declarations.
2564 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2566 * textmodes/ispell.el (comment-add): Declare.
2568 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2571 * info.el (finder-keywords-hash, package-alist): Declare.
2573 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2575 * finder.el (finder-compile-keywords): Don't use intern-soft,
2576 since package names may not yet exist in the obarray.
2578 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2580 * vc/vc-arch.el (vc-arch-checkin):
2581 * vc/vc-cvs.el (vc-cvs-checkin):
2582 * vc/vc-mtn.el (vc-mtn-checkin):
2583 * vc/vc-rcs.el (vc-rcs-checkin):
2584 * vc/vc-sccs.el (vc-sccs-checkin):
2585 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2586 since 2010-04-21 commit by Stefan Monnier.
2588 2010-11-01 Glenn Morris <rgm@gnu.org>
2590 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2592 * startup.el (package-enable-at-startup, package-initialize):
2595 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2598 2010-10-31 Julien Danjou <julien@danjou.info>
2600 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2601 (byte-recompile-directory):
2602 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2603 Use `byte-recompile-file'.
2605 2010-10-31 Glenn Morris <rgm@gnu.org>
2607 * cus-start.el: Handle standard values via a keyword.
2608 Only set version property if specified.
2609 (cursor-in-non-selected-windows, menu-bar-mode)
2610 (tool-bar-mode, show-trailing-whitespace):
2611 Do not specify standard values.
2612 (transient-mark-mode, temporary-file-directory): Use :standard.
2614 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2616 * term/x-win.el (x-get-selection-value): New function that gets
2617 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2619 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2621 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2622 preserve owner and group when editing files. (Bug#7289)
2624 2010-10-31 Glenn Morris <rgm@gnu.org>
2626 * speedbar.el (speedbar-mode):
2627 * play/fortune.el (fortune-in-buffer, fortune):
2628 * play/gomoku.el (gomoku-mode):
2629 * play/landmark.el (lm-mode):
2630 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2631 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2633 * select.el (x-selection): Mark it as an obsolete alias.
2635 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2637 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2638 major-mode (bug#7284).
2640 2010-10-31 Glenn Morris <rgm@gnu.org>
2642 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2643 rather than just an unused variable that inherits from the real one.
2645 2010-10-31 Alan Mackenzie <acm@muc.de>
2647 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2648 This fixes bug #7185.
2650 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2652 * startup.el (command-line): Search for package directories, and
2653 don't load package.el if none are found.
2655 * emacs-lisp/package.el (describe-package, list-packages):
2656 Call package-initialize if it has not been called yet.
2658 2010-10-30 Alan Mackenzie <acm@muc.de>
2660 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2661 which fontifies the tail of an enum.
2662 (c-basic-matchers-after): Insert a call to the above new function.
2663 This fixes bug #7264.
2665 2010-10-30 Glenn Morris <rgm@gnu.org>
2667 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2668 tool-bar-mode, transient-mark-mode. (Bug#7306)
2669 Include the :set property in the dumped Emacs.
2671 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2673 SMIE: change indent rules format, improve smie-setup.
2674 * emacs-lisp/smie.el (smie-precs-precedence-table)
2675 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2676 Mark them pure so the tables gets built at compile time.
2677 (smie-bnf-precedence-table): Store the closer-alist in the table.
2678 (smie-prec2-levels): Preserve the closer-alist.
2679 (smie-blink-matching-open): Be more forgiving in case of indentation.
2680 (smie-hanging-p): Rename from smie-indent--hanging-p.
2681 (smie-bolp): Rename from smie-indent--bolp.
2682 (smie--parent, smie--after): New dynamic vars.
2683 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2684 (smie-indent-rules): Remove.
2685 (smie-indent--offset-rule): Remove fun.
2686 (smie-rules-function): New var.
2687 (smie-indent--rule): New fun.
2688 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2689 (smie-indent-exps): Use it.
2690 (smie-setup): Setup paren blinking; add keyword args for token
2691 functions; extract closer-alist from op-levels.
2692 (smie-indent-debug-log): Remove var.
2693 (smie-indent-debug): Remove fun.
2694 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2695 (prolog-smie-rules): New fun to replace it.
2696 (prolog-mode-variables): Simplify.
2697 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2698 it's setup automatically.
2699 (octave-smie-indent-rules): Remove.
2700 (octave-smie-rules): New fun to replace it.
2701 (octave-mode): Simplify.
2703 2010-10-29 Glenn Morris <rgm@gnu.org>
2705 * files.el (temporary-file-directory): Remove (already defined in C).
2706 * cus-start.el: Add temporary-file-directory.
2708 * abbrev.el (abbrev-mode):
2709 * composite.el (auto-composition-mode):
2710 * menu-bar.el (menu-bar-mode):
2711 * simple.el (transient-mark-mode):
2712 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2713 that they do not define the associated variables twice.
2714 * simple.el (transient-mark-mode): Remove defvar.
2715 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2716 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2717 Handle multiple groups, and also custom-delayed-init-variables.
2718 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2720 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2723 (pcase-if): Add one minor optimization.
2724 (pcase-split-equal): Rename from pcase-split-eq.
2725 (pcase-split-member): Rename from pcase-split-memq.
2726 (pcase-u1): Add strings to the member optimization.
2727 Add `guard' variant of predicates.
2728 (pcase-q1): Add string patterns.
2730 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2734 2010-10-28 Glenn Morris <rgm@gnu.org>
2736 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2737 Move menu-bar related settings to ../menu-bar.el.
2738 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2739 Move ns-specific settings here from term/ns-win.el.
2741 * simple.el (x-selection-owner-p): Remove unused declaration.
2743 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * minibuffer.el (completion-cycling): New var (bug#7266).
2746 (minibuffer-complete, completion--do-completion):
2747 Use completion--flush-all-sorted-completions.
2748 (minibuffer-complete): Only cycle if completion-cycling is set.
2749 (completion--flush-all-sorted-completions): Unset completion-cycling.
2750 (minibuffer-force-complete): Set completion-cycling.
2751 (completion-all-sorted-completions): Move declaration before first use.
2753 2010-10-28 Leo <sdl.web@gmail.com>
2755 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2756 which changes the order of matches seen by users (bug#7231).
2758 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2760 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2761 Don't confuse -omega as "-o mega".
2763 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2766 (log-edit-author): New dynamic var.
2767 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2768 to return the author if different from committer.
2769 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2771 * play/landmark.el: Adjust commenting convention.
2772 (lm-nil-score): Rename from nil-score.
2773 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2774 (OOOOscore): Move into a let in lm-score-trans-table.
2775 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2777 * electric.el (electric-indent-chars): Autoload.
2778 * progmodes/octave-mod.el (octave-mode):
2779 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2780 (ruby-mode-abbrev-table): Merge initialization and declaration.
2782 2010-10-27 Glenn Morris <rgm@gnu.org>
2784 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2787 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2789 * term/ns-win.el: Restore require of cl when compiling.
2790 (menu-bar-final-items): Remove non-existent `windows' menu.
2791 (ns-handle-nxopen): Optionally handle the temp-case.
2792 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2793 (ns-insert-file, ns-find-file): Use `pop'.
2795 2010-10-26 Glenn Morris <rgm@gnu.org>
2797 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2799 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2801 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2803 * term/common-win.el (x-setup-function-keys): Remove most of the
2804 keymappings. Comment on the remaining ones.
2806 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2808 * server.el (server-port): New option. (Bug#854)
2809 (server-start): Use server-port.
2811 2010-10-26 Glenn Morris <rgm@gnu.org>
2813 * term/ns-win.el (ns-version-string): Remove unused declaration.
2814 (ns-invocation-args): Change to x-invocation-args.
2815 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2816 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2817 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2818 Use x-invocation-args instead of ns-invocation-args.
2819 (ns-initialize-window-system, handle-args-function-alist):
2820 Use x-handle-args instead of ns-handle-args.
2821 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2822 * startup.el (command-line-ns-option-alist): Replace
2823 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2824 ns-handle-iconic with the x- equivalents.
2826 * term/common-win.el (x-select-enable-clipboard):
2827 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2829 * term/ns-win.el: No need to require cl when compiling.
2830 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2831 (xw-defined-colors): Use the common-win definitions.
2832 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2833 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2834 * term/common-win.el (x-select-text, x-alternatives-map)
2835 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2836 * loadup.el [ns]: Load common-win.
2838 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2840 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2841 recipients; expand mail aliases (Bug#7280).
2843 2010-10-25 Glenn Morris <rgm@gnu.org>
2845 * term/common-win.el (x-handle-switch): Simplify with pop.
2846 Optionally handle numeric switches.
2847 (x-handle-numeric-switch): Just call x-handle-switch.
2848 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2849 (x-handle-name-switch, x-handle-display, x-handle-args):
2852 * term/ns-win.el: Do not require easymenu.
2853 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2854 <spell>: Move adjustments to menu-bar.el.
2855 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2856 <separator-undo, spell>: Move ns-win's adjustments here.
2857 * loadup.el [ns]: Do not load easymenu.
2859 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2861 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2864 * startup.el (fancy-startup-tail): Instead of using inline images,
2865 refer to image files from etc/.
2867 * wid-edit.el (checkbox): Likewise.
2868 (widget-image-find): Center image specs.
2870 2010-10-24 Glenn Morris <rgm@gnu.org>
2872 * term/ns-win.el (x-select-text): Doc fix.
2873 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2874 (x-select-text): Move to term/common-win.
2875 * term/w32-win.el (xw-defined-colors): Move to common-win.
2876 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2877 (x-setup-function-keys, x-select-text): Move to common-win.
2878 * term/common-win.el (x-select-text, x-alternatives-map)
2879 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2882 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2884 * net/mairix.el (mairix-searches-mode-map):
2885 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2887 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2889 * verilog-mode.el (verilog-directive-re): Make this variable
2890 auto-built for efficiency of execution and updating.
2891 (verilog-extended-complete-re): Support 'pure' fucntion & task
2892 declarations (these have no bodies).
2893 (verilog-beg-of-statement): General cleanup to enable support of
2894 'pure' fucntion & task declarations (these have no bodies).
2895 These efforts together fix Verilog bug210 from veripool; which was also
2896 noticed by Steve Pearlmutter.
2897 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2898 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2899 Support `elsif. Reported by Shankar Giri.
2900 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2901 attribute handling for lining up declarations and assignments.
2902 (verilog-beg-of-statement-1): Fix issue where continued declaration
2903 is indented differently if it is after a begin..end clock.
2904 (verilog-in-attribute-p, verilog-skip-backward-comments)
2905 (verilog-skip-forward-comment-p): Support proper treatment of
2906 attributes by indent code. Reported by Jeff Steele.
2907 (verilog-in-directive-p): Fix comment to correctly describe function.
2908 (verilog-backward-up-list, verilog-in-struct-region-p)
2909 (verilog-backward-token, verilog-in-struct-p)
2910 (verilog-in-coverage-p, verilog-do-indent)
2911 (verilog-pretty-declarations): Use verilog-backward-up-list as
2912 wrapper around backward-up-list inorder to properly skip comments.
2913 Reported by David Rogoff.
2914 (verilog-property-re, verilog-endcomment-reason-re)
2915 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2916 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2917 of if). Reported by Max Bjurling and
2918 (verilog-calc-1): Fix for clocking block in modport
2919 declaration. Reported by Brian Hunter.
2921 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2923 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2924 (verilog-gate-keywords, verilog-read-sub-decls)
2925 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2926 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2927 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2928 (verilog-read-decls): Fix spaces in V2K module parameters causing
2929 mis-identification as interfaces, bug287.
2930 (verilog-read-decls): Fix not treating "parameter string" as a
2931 parameter in AUTOINSTPARAM.
2932 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2933 treating `elsif similar to `endif inside AUTOSENSE.
2934 (verilog-do-indent): Implement correct automatic or static task or
2935 function end comment highlight. Reported by Steve Pearlmutter.
2936 (verilog-font-lock-keywords-2): Fix highlighting of single
2937 character pins, bug264. Reported by Michael Laajanen.
2938 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2939 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2940 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2941 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2942 (verilog-pretty-expr): Fix interactive arguments, bug272.
2943 Reported by Mark Johnson.
2944 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2945 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2946 bug269. Suggested by Gary Delp.
2947 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2948 (verilog-preprocessor, verilog-set-compile-command):
2949 Create verilog-preprocess and verilog-preprocessor to show
2950 preprocessed output.
2951 (verilog-get-beg-of-line, verilog-get-end-of-line)
2952 (verilog-modi-file-or-buffer, verilog-modi-name)
2953 (verilog-modi-point, verilog-within-string): Move defmacro's
2954 before first use to avoid warning. Reported by Steve Pearlmutter.
2955 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2956 (verilog-colorize-region, verilog-highlight-buffer)
2957 (verilog-highlight-includes, verilog-highlight-modules)
2958 (verilog-highlight-region, verilog-mode): Rename colorize to
2959 highlight to match other packages. Disable module highlighting,
2960 as received speed complaints, reenable for experimentation only
2961 using new verilog-highlight-modules.
2962 (verilog-read-decls): Fix regexp stack overflow in very large
2963 AUTO_TEMPLATEs, bug250.
2964 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2965 (verilog-scan): Create verilog-save-buffer-state to standardize
2966 making insignificant changes that shouldn't call hooks.
2967 (verilog-save-no-change-functions, verilog-save-scan-cache)
2968 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2969 Create verilog-save-no-change-functions to wrap verilog-scan
2970 preservation, and fix to work with nested preserved calls.
2971 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2972 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2973 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2974 (verilog-submit-bug-report): Update variable list to be complete.
2975 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2976 breaking on-the-fly font-locking.
2977 (verilog-colorize-buffer, verilog-colorize-include-files)
2978 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2979 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2980 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2981 AUTOINST cell instance name, middle mouse button now finds-file on
2982 it. Suggested by Brad Dobbie.
2983 (verilog-alw-get-temps, verilog-auto-reset)
2984 (verilog-auto-sense-sigs, verilog-read-always-signals)
2985 (verilog-read-always-signals-recurse): Fix loop indexes being
2986 AUTORESET. AUTORESET now assumes any variables in the
2987 initialization section of a for() should be ignored.
2988 Reported by Dan Dever.
2989 (verilog-error-font-lock-keywords)
2990 (verilog-error-regexp-emacs-alist)
2991 (verilog-error-regexp-xemacs-alist): Fix error detection of
2992 Cadence HAL, reported by David Asher. Repair drift between the
2993 three similar error variables.
2994 (verilog-modi-lookup, verilog-modi-lookup-cache)
2995 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2996 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2997 Fix slow verilog-auto expansion on very large files.
2998 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2999 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3000 "{1*2{...". Broke in last revision.
3001 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3002 submodule connections with replications "{#{a},#{b}}".
3004 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3006 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3007 Fix typo in docstring.
3009 2010-10-24 Kenichi Handa <handa@m17n.org>
3011 * face-remap.el (text-scale-adjust): Call read-event with a proper
3014 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3016 * emacs-lisp/unsafep.el: Don't mark functions that display
3017 messages as safe. Suggested by Johan Bockgård.
3019 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3022 Turn comments into docstrings.
3024 * minibuffer.el (completion--replace): Move point where it belongs
3025 when there's a common suffix (bug#7215).
3027 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3029 Merge read-color and facemenu-read-color (Bug#7242).
3031 * faces.el (read-color): Use the completion code from
3032 facemenu-read-color. Require match in completion. Doc fix.
3034 * facemenu.el (facemenu-read-color): Alias for read-color.
3035 (facemenu-set-foreground, facemenu-set-background):
3038 * frame.el (set-background-color, set-foreground-color)
3039 (set-cursor-color, set-mouse-color, set-border-color):
3042 2010-10-24 Leo <sdl.web@gmail.com>
3044 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3045 argument of delete-file and delete-directory (Bug#7011).
3047 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3049 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3052 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3054 * emacs-lisp/package.el (package--generate-package-list): Make the
3055 *Packages* buffer read-only.
3057 2010-10-24 Alan Mackenzie <acm@muc.de>
3059 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3060 result of `c-beginning-of-decl-1' between invocations of a lambda
3061 function (Bug #7265).
3063 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3065 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3066 executable is not available on the system (Bug#7268).
3068 2010-10-24 Glenn Morris <rgm@gnu.org>
3070 * select.el (selection-coding-system, next-selection-coding-system):
3071 Sync doc with C versions.
3073 * w32-vars.el (x-select-enable-clipboard):
3074 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3075 * term/common-win.el (x-select-enable-clipboard): Move here.
3077 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3078 definition of C variable.
3080 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3081 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3082 Don't redefine things that are defined in C.
3083 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3084 (show-trailing-whitespace, auto-hscroll-mode)
3085 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3086 Set up the appropriate custom properties.
3088 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3091 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3092 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3093 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3094 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3096 2010-10-23 Glenn Morris <rgm@gnu.org>
3098 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3101 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3102 Sync docs with C version.
3104 * term/ns-win.el (xw-defined-colors):
3105 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3107 * term/pc-win.el (x-select-enable-clipboard):
3108 * term/x-win.el (x-select-enable-clipboard):
3109 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3111 * comint.el (comint-password-prompt-regexp): Make it less vague.
3114 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3116 * help.el (finder-by-keyword): Remove unnecessary autoload.
3118 2010-10-22 Glenn Morris <rgm@gnu.org>
3120 * loadup.el: Unconditionally load float-sup.
3121 * paren.el (show-paren-delay):
3122 * emacs-lisp/float-sup.el:
3123 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3124 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3125 (lazy-lock-stealth-verbose): Assume float support.
3126 * ps-print.el: Assume float support on Emacs.
3127 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3128 Remove non-float branch.
3130 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3131 src/Makefile no longer being pre-processed.
3133 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * emacs-lisp/find-func.el (find-library): Use test-completion.
3137 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3139 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3141 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3143 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3144 space in stat format string.
3145 (tramp-send-command): Unset $PS1 when using here documents, in
3146 order not to get several prompts.
3147 (tramp-get-inline-coding): Return `nil' in case of errors.
3149 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3151 * hexl.el (hexl-mode, hexl-mode-exit):
3152 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3153 (hexl-revert-buffer-function): New function.
3154 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3156 2010-10-19 Alan Mackenzie <acm@muc.de>
3158 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3159 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3160 that these keywords aren't wrongly matched as identifiers.
3162 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3163 setting of c-new-BEG and c-new-END from c-before-change to
3164 c-after-change. (Bug#7181)
3166 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3168 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3171 * custom.el (custom-theme-set-variables): Likewise.
3172 (load-theme): Add custom-theme-set-faces and
3173 custom-theme-set-variables to safe-functions while loading.
3174 (custom-enabled-themes): Mark as risky.
3176 2010-10-18 Julien Danjou <julien@danjou.info>
3178 * bindings.el: Remove end dashes in default mode-line-format.
3180 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3182 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3183 to delete-forward-char.
3185 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3186 deletechar, and hence delete-forward-char.
3188 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * repeat.el (repeat): Use read-key (bug#6256).
3192 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3194 * emacs-lisp/unsafep.el: Don't mark functions that display
3195 messages as safe. Suggested by Johan Bockgård.
3197 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3199 * minibuffer.el (completion--replace): Move point where it belongs
3200 when there's a common suffix (bug#7215).
3202 2010-10-19 Kenichi Handa <handa@m17n.org>
3204 * international/characters.el: Add category '|' (word breakable)
3205 to fullwidth characters.
3207 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3209 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3210 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3211 order to make stat results a float. Patch by Andreas Schwab
3212 <schwab@linux-m68k.org>.
3214 2010-10-18 Julien Danjou <julien@danjou.info>
3216 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3217 hidden by `make-pointer-invisible'.
3219 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3221 * files.el (locate-file-completion-table): Strip non-matching elements
3222 before checking length of list (bug#7238).
3224 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3226 * custom.el (custom-theme-set-variables): Mark as a safe function.
3227 (load-theme): Check forms using unsafep.
3229 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3231 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3233 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3234 Fix aspell data file searching (bug#7230).
3236 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3238 * cus-theme.el (custom-theme--migrate-settings): New var.
3239 (customize-create-theme): Allow editing the `user' theme.
3240 (custom-theme-add-variable, custom-theme-add-var-1)
3241 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3242 to the front of each variable or face widget.
3243 (custom-theme-write): Save theme settings in the correct order.
3244 Optionally, remove saved settings from user customizations.
3245 (custom-theme-write-variables, custom-theme-write-faces):
3246 Save only the checked widgets.
3247 (customize-themes): Add a link for migrating custom settings.
3249 * custom.el (custom-declare-theme, provide-theme):
3250 Use custom-theme-name-valid-p.
3251 (custom-theme-name-valid-p): Remove checks that are now
3252 unnecessary since themes no longer obey load-path.
3254 * cus-edit.el (custom-variable-value-create): For the simple
3255 style, hide documentation string when hidden.
3257 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3259 * cus-edit.el (custom-variable, custom-face): Combine the
3260 :inhibit-magic and :display-style properties into a single
3261 :custom-style property.
3262 (custom-toggle-hide-variable, custom-toggle-hide-face):
3263 New functions. If hiding an edited value, save it to :shown-value.
3264 (custom-variable-value-create, custom-face-value-create): Use them.
3265 (custom-magic-reset): Allow magic property to be unset.
3267 * custom.el: Custom themes no longer use load-path.
3268 (custom-theme-load-path): New option. Change built-in theme
3270 (custom-enabled-themes): Add custom-theme-load-path dependency.
3271 (custom-theme--load-path): New function.
3272 (load-theme, custom-available-themes): Use it.
3274 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3275 (customize-themes): Link to custom-theme-load-path variable.
3276 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3277 :custom-style property.
3279 * themes/*.el: Moved to etc/.
3281 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3283 * textmodes/reftex-cite.el
3284 (reftex-extract-bib-entries-from-thebibliography): Do not move
3285 point when searching for \bibitem entries. Match entries with
3286 spaces or tabs in front of arguments.
3288 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3290 * cus-theme.el (customize-create-theme): Delete overlays after
3291 erasing. If given a THEME arg, display only the faces of that arg
3292 instead of custom-theme--listed-faces.
3293 (custom-theme-variable-menu, custom-theme-variable-action)
3294 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3295 (custom-theme-add-variable, custom-theme-add-face): Apply value
3296 from the theme settings, instead of the current value.
3297 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3298 (custom-theme-visit-theme): Allow calling outside theme buffers.
3299 (custom-theme-merge-theme): Don't enable the theme when merging.
3300 (custom-theme-write-variables, custom-theme-write-faces): Use the
3301 :shown-value properties to save buffer values, not global ones.
3302 (customize-themes): Display a warning about user customizations.
3304 * cus-edit.el (custom-variable-value-create)
3305 (custom-face-value-create): Obey new special properties
3306 :shown-value and :inhibit-magic.
3308 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3310 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3311 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3314 2010-10-14 Kenichi Handa <handa@m17n.org>
3316 * mail/rmail.el (rmail-show-message-1): Catch an error of
3317 base64-decode-region and just show an error message (bug#7165).
3319 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3320 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3321 a font-spec (bug#7197).
3323 2010-10-14 Glenn Morris <rgm@gnu.org>
3325 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3327 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3329 * international/mule.el (define-coding-system):
3330 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3331 * composite.el (compose-region): Fix typo in docstring.
3333 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3335 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3336 only after checking the theme-face property.
3338 * faces.el (face-spec-reset-face): Reset all attributes in one
3339 single call to set-face-attribute.
3340 (face-spec-match-p): Make it a defsubst.
3341 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3342 (x-create-frame-with-faces, tty-create-frame-with-faces)
3343 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3344 frame-set-background-mode, since they are recomputed immediately
3345 afterwards in face-set-after-frame-default.
3346 (face-set-after-frame-default): Minor optimization.
3347 (cursor): Provide non-trivial defface spec.
3349 * custom.el (custom-theme-recalc-face): Simplify.
3351 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3353 * calc/calc-alg.el (math-var): Rename from `var'.
3354 (math-is-polynomial, math-is-poly-rec): Replace `var'
3357 * calc/calcalg2.el (math-var): Rename from `var'.
3358 (calcFunc-table, math-scan-for-limits): Replace `var'
3361 2010-10-13 Glenn Morris <rgm@gnu.org>
3363 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3365 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3367 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3369 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3371 * net/tls.el (tls-program): Remove spurious %s from openssl.
3372 (tls-starttls-switches): Remove starttls hack.
3373 (open-tls-stream): Ditto.
3374 (tls-find-starttls-argument): Ditto.
3376 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3378 * image.el (image-library-alist): Declare as obsolete alias.
3379 (image-type-available-p): Use `dynamic-library-alist'.
3381 * term/w32-win.el (dynamic-library-alist):
3382 Use instead of `image-library-alist'.
3384 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3386 * subr.el (last): Make it faster. (Bug#7174)
3388 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3390 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3392 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3394 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3395 (describe-theme-1): Extract doc from unloaded themes.
3397 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3399 * themes/tango-theme.el:
3400 * themes/tango-dark-theme.el:
3401 * themes/wheatgrass-theme.el: New files.
3403 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3405 * cus-theme.el (describe-theme, customize-themes)
3406 (custom-theme-save): New commands.
3407 (custom-new-theme-mode-map): Bind C-x C-s.
3408 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3409 (customize-create-theme): New optional arg THEME.
3410 (custom-theme-revert): Use it.
3411 (custom-theme-visit-theme): Remove dead code.
3412 (custom-theme-merge-theme): Use custom-available-themes.
3413 (custom-theme-write): Make interactive.
3414 (custom-theme-write): Use custom-theme-name-valid-p.
3415 (describe-theme-1, custom-theme-choose-revert)
3416 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3418 (custom-theme-allow-multiple-selections): New option.
3419 (custom-theme-choose-mode): New major mode.
3421 * custom.el (custom-theme-set-variables): Remove dead code.
3422 Obey custom--inhibit-theme-enable.
3423 (custom--inhibit-theme-enable): New var.
3424 (provide-theme): Obey it.
3425 (load-theme): Replace load with manual read/eval, in order to
3426 check for correctness. Use custom-theme-name-valid-p.
3427 (custom-theme-name-valid-p): New function.
3428 (custom-available-themes): Use it.
3430 * cus-edit.el (custom--initialize-widget-variables): New function.
3431 (Custom-mode): Use it.
3433 * cus-face.el (custom-theme-set-faces): Remove dead code.
3434 Obey custom--inhibit-theme-enable.
3436 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3438 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3440 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3442 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3444 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3445 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3446 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3448 * cus-start.el (all): ns-right-alternate-modifier is new.
3450 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3452 * emacs-lisp/lisp.el (lisp-completion-at-point):
3453 Use emacs-lisp-mode-syntax-table for the whole function.
3455 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3457 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3458 instead of font-lock-mode before adding keywords.
3459 Remove hi-lock-mode off code. Remove inhibit hack.
3460 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3461 non-nil; removed hook inhibit hack.
3463 2010-10-12 Glenn Morris <rgm@gnu.org>
3465 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3466 (load-path-shadows-find): ... to this.
3467 (list-load-path-shadows): Update for above change.
3469 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3471 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3473 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3474 Fix comment for declare-function.
3476 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3478 * custom.el (custom-fix-face-spec): New function; code moved from
3479 custom-face-edit-fix-value.
3480 (custom-push-theme): Use it when checking if a face has been
3481 changed outside customize.
3482 (custom-available-themes): New function.
3483 (load-theme): Use it.
3485 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3487 * custom.el (custom-push-theme): Cleanup (use cond).
3488 (disable-theme): Recompute the saved-face property.
3489 (custom-theme-recalc-face): Follow face alias before setting prop.
3491 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3492 New variables, containing checkbox images.
3494 * startup.el (fancy-startup-tail):
3495 * wid-edit.el (checkbox): Use them.
3497 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3499 * shell.el (shell-mode-map):
3500 * progmodes/modula2.el (m2-mode-map):
3501 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3502 * play/mpuz.el (mpuz-mode-map):
3503 * play/landmark.el (lm-mode-map):
3504 * play/decipher.el (decipher-mode-map):
3505 * play/5x5.el (5x5-mode-map):
3506 * net/telnet.el (telnet-mode-map):
3507 * net/quickurl.el (quickurl-list-mode-map):
3508 * net/mairix.el (mairix-searches-mode-map):
3509 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3510 * net/dig.el (dig-mode-map):
3511 * mail/mspools.el (mspools-mode-map):
3512 * hexl.el (hexl-mode-map):
3513 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3514 (wordstar-C-o-map, wordstar-C-q-map):
3515 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3516 * emacs-lisp/chart.el (chart-map):
3517 * edmacro.el (edmacro-mode-map):
3518 * erc/erc-list.el (erc-list-menu-mode-map):
3519 * array.el (array-mode-map): Declare and define in one step.
3521 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3523 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3525 * epa.el (epa-passphrase-callback-function): Display filename
3526 passed as the 3rd arg.
3527 * epa-file.el (epa-file-passphrase-callback-function):
3528 Pass filename to epa-passphrase-callback-function.
3530 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3532 * cus-edit.el (custom-face-widget-to-spec)
3533 (custom-face-get-current-spec, custom-face-state): New functions.
3534 (custom-face-set, custom-face-mark-to-save)
3535 (custom-face-value-create, custom-face-state-set): Use them.
3537 * cus-theme.el (custom-theme--listed-faces): New var.
3538 (customize-create-theme): Use *Custom Theme* as the buffer name.
3539 Set revert-buffer-function. Optional arg BUFFER. Insert all
3540 faces listed in custom-theme--listed-faces.
3541 (custom-theme-revert): New function.
3542 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3544 (custom-theme-write): Prompt for theme name if empty.
3545 (custom-theme-write-variables): Use dolist.
3546 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3548 2010-10-09 Alan Mackenzie <acm@muc.de>
3550 Enhance fontification of declarators to take account of the
3551 presence/absence of "typedef".
3553 * cc-engine.el (c-forward-type): New &optional param
3555 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3556 presence of either or both of a "struct"-like keyword and "typedef".
3558 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3559 fontification of declarators which follow a "}".
3560 (c-font-lock-declarations): Fontify declarators according to the
3561 presence/absence of "typedef".
3563 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3565 (c-typedef-decl-key): New lang variable built from
3566 c-typedef-decl-kwds.
3568 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3570 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3571 since that's too annoying. Move the filter groups commands to
3574 * epa.el (epa-passphrase-callback-function): Say what we're
3575 querying the password for.
3577 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3578 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3580 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3582 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3583 (custom-magic-value-create): Pad button tags with spaces.
3584 (custom-face-edit): New variable.
3585 (custom-face-value-create): Determine whether to use the usual
3586 face editor here, instead of using custom-face-selected.
3587 Pass face defaults to custom-face-edit widget.
3588 (custom-face-selected, custom-display-unselected): Delete widgets.
3589 (custom-display-unselected-match): Function removed.
3590 (custom-face-set, custom-face-mark-to-save):
3591 Accept custom-face-edit widgets as the direct widget child.
3593 * wid-edit.el (widget--completing-widget): New var.
3594 (widget-default-complete): Bind it when doing completion.
3595 (widget-string-complete, widget-file-complete): Use it.
3597 2010-10-09 Glenn Morris <rgm@gnu.org>
3599 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3600 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3601 (holiday-hebrew-misc): Small simplifications.
3603 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3605 * net/browse-url.el: Don't require thingatpt, term, dired,
3606 executable, or w3-auto when compiling.
3607 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3609 (browse-url-text-emacs): Require term.
3611 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3613 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3615 2010-10-08 Glenn Morris <rgm@gnu.org>
3617 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3619 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3620 (shadows-compare-text-p): Make it an obsolete alias for...
3621 (load-path-shadows-compare-text): ... new name.
3622 (find-emacs-lisp-shadows): Update for above name change.
3623 (load-path-shadows-same-file-or-nonexistent): New name for the old
3624 shadow-same-file-or-nonexistent.
3626 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3628 * minibuffer.el (completion--some, completion--do-completion)
3629 (minibuffer-complete-and-exit, minibuffer-completion-help)
3630 (completion-basic-try-completion)
3631 (completion-basic-all-completions)
3632 (completion-pcm--find-all-completions): Use lexical-let to
3633 avoid some false matches in variable completion (Bug#7056)
3635 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3637 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3639 2010-10-08 Leo <sdl.web@gmail.com>
3641 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3642 return non-nil if the file exists (Bug#7090).
3644 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3646 * minibuffer.el (completion--replace):
3647 Better preserve markers (bug#7138).
3649 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3651 * server.el (server-process-filter): Doc fix.
3653 2010-10-08 Drew Adams <drew.adams@oracle.com>
3655 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3657 2010-10-08 Glenn Morris <rgm@gnu.org>
3659 * vc/ediff-wind.el (ediff-setup-control-frame):
3660 * vc/ediff-ptch.el (ediff-default-backup-extension):
3661 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3662 (ediff-exec-process): Remove system-types emx, windows-95.
3664 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3666 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3668 * cus-edit.el (custom-variable, custom-face): Doc fix.
3669 (custom-face-edit): Add value-create attribute.
3670 (custom-face-edit-value-create)
3671 (custom-face-edit-value-visibility-action): New functions.
3672 Hide unused face attributes by default, and add a visibility toggle.
3673 (custom-face-edit-deactivate): Show empty values with shadow face.
3674 (custom-face-selected): Only use this for face specs with default
3676 (custom-face-value-create): Cleanup.
3678 * wid-edit.el (widget-checklist-value-create): Use dolist.
3679 (widget-checklist-match-find): Make second arg optional.
3681 2010-10-07 Glenn Morris <rgm@gnu.org>
3683 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3686 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3687 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3688 load-path-shadows-mode, update references.
3689 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3690 Rename variable and button.
3691 (list-load-path-shadows): Update button caller.
3693 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3696 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3697 (smie-merge-prec2s): Handle those new entries.
3698 (smie-prec2-levels): Only set precedence to nil for actual
3700 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3701 that is now unnecessary.
3703 2010-10-07 Miles Bader <miles@gnu.org>
3705 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3707 2010-10-07 Glenn Morris <rgm@gnu.org>
3709 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3710 (mail-position-on-field): Remove declarations.
3711 (mail-position-on-field): Autoload it.
3712 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3713 and mail-header-end. Don't require sendmail.
3715 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3716 (shadow-mode): New mode.
3717 (shadow-find-file): New button.
3718 (list-load-path-shadows): Use shadow-mode and buttons.
3720 * iimage.el (iimage-version): Remove.
3721 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3722 Turn into defcustoms.
3723 (iimage-mode-map): Give it a doc string.
3725 * calendar/appt.el (appt-activate): Give a warning rather than an error
3726 if there is no diary-file.
3728 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3730 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3731 Use `tramp-handle-find-backup-file-name'.
3733 2010-10-06 Glenn Morris <rgm@gnu.org>
3735 * font-core.el (font-lock-defaults-alist): Remove variable.
3736 (font-lock-mode): Doc fix.
3737 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3738 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3739 (font-lock-set-defaults): Doc fix.
3740 Do not consult font-lock-defaults-alist.
3742 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3744 * emacs-lisp/cl.el: No longer provide cl-19.
3746 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3748 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3749 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3750 New defuns, taken from tramp-smb.el.
3751 (tramp-coding-system-change-eol-conversion)
3752 (tramp-set-process-query-on-exit-flag): Remove.
3754 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3755 (tramp-compat-coding-system-change-eol-conversion)
3756 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3759 * net/tramp-gvfs.el:
3760 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3761 by `tramp-compat-set-process-query-on-exit-flag'.
3763 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3764 Use `tramp-handle-directory-files-and-attributes',
3765 `tramp-handle-file-exists-p' and
3766 `tramp-handle-file-newer-than-file-p'.
3767 (tramp-imap-handle-file-exists-p)
3768 (tramp-imap-handle-file-executable-p)
3769 (tramp-imap-handle-file-readable-p)
3770 (tramp-imap-handle-directory-files-and-attributes)
3771 (tramp-imap-handle-file-newer-than-file-p): Remove.
3773 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3774 by `tramp-compat-set-process-query-on-exit-flag' and
3775 `tramp-coding-system-change-eol-conversion' by
3776 `tramp-compat-coding-system-change-eol-conversion'.
3778 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3779 Use `tramp-handle-directory-files-and-attributes',
3780 `tramp-handle-file-exists-p' and
3781 `tramp-handle-file-newer-than-file-p'.
3782 (tramp-smb-handle-directory-files-and-attributes)
3783 (tramp-smb-handle-file-exists-p)
3784 (tramp-smb-handle-file-newer-than-file-p): Remove.
3785 (tramp-smb-maybe-open-connection):
3786 Replace `tramp-set-process-query-on-exit-flag' by
3787 `tramp-compat-set-process-query-on-exit-flag'.
3789 2010-10-05 Glenn Morris <rgm@gnu.org>
3791 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3793 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3795 Continue reorganization of load dependencies. (Bug#7156)
3797 * net/tramp.el (tramp-handle-file-local-copy-hook)
3798 (tramp-delete-temp-file-function): Move down.
3799 (tramp-exists-file-name-handler): Move up.
3800 (tramp-register-file-name-handlers): Simplify autoload.
3801 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3802 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3803 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3804 (tramp-handle-file-name-completion)
3805 (tramp-handle-file-name-directory)
3806 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3807 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3808 (tramp-handle-find-backup-file-name)
3809 (tramp-handle-insert-file-contents, tramp-handle-load)
3810 (tramp-handle-substitute-in-file-name)
3811 (tramp-handle-unhandled-file-name-directory)
3812 (tramp-mode-string-to-int, tramp-local-host-p)
3813 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3815 * net/tramp-gvfs.el (top):
3816 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3818 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3819 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3821 2010-10-04 Glenn Morris <rgm@gnu.org>
3823 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3824 (appt-activate): Give status messages.
3826 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3828 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3829 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3830 `gnutls-negotiate' (formerly `starttls-negotiate').
3831 Remove trivial wrapper `starttls-open-stream'.
3833 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3835 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3836 log-outgoing commands.
3837 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3838 to create a buffer local revert-buffer-function variable.
3839 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3840 revert-buffer-function lambda.
3842 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3844 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3845 `gnutls-boot'. Make TYPE the only required parameter.
3846 Allow TRUSTFILES and KEYFILES to be lists.
3847 (open-ssl-stream): Use it.
3849 2010-10-03 Glenn Morris <rgm@gnu.org>
3851 * subr.el (directory-sep-char): Remove obsolete variable.
3852 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3855 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3856 * vc/vc.el (vc-static-header-alist): Doc fix.
3857 * vc/vc-cvs.el (vc-cvs-header):
3858 * vc/vc-rcs.el (vc-rcs-header):
3859 * vc/vc-sccs.el (vc-sccs-header):
3860 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3861 * obsolete/vc-mcvs.el (vc-mcvs-header):
3862 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3865 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3867 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3868 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3870 2010-10-03 Glenn Morris <rgm@gnu.org>
3872 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3874 * textmodes/rst.el (rst-font-lock-keywords-function):
3877 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3879 * printing.el: Drop Emacs 20 code.
3881 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3882 without having used appt.el already).
3884 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3885 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3886 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3888 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3889 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3891 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3892 (charset-width, find-charset-region, chars-in-region, forward-point)
3893 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3894 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3895 Remove compatibility cruft (none of these are used by ps*.el).
3897 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3899 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3901 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3903 * server.el (server-process-filter, server-return-error):
3904 Give emacsclient time to shut down after receiving an error string.
3906 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3908 * files.el (remote-file-name-inhibit-cache): New defcustom.
3910 * time.el (display-time-file-nonempty-p):
3911 Use `remote-file-name-inhibit-cache'.
3913 * net/tramp.el (tramp-completion-reread-directory-timeout):
3916 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3917 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3918 `remote-file-name-inhibit-cache'. Check also for an integer
3919 value. Add/increase counter when `tramp-verbose' >= 10.
3920 (tramp-set-file-property): Add/increase counter when
3921 `tramp-verbose' >= 10.
3923 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3924 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3925 (tramp-bug): Set tramp-autoload cookie. Report all interned
3926 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3927 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3928 characters only in strings.
3930 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3931 to backward compatibility.
3933 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3934 (tramp-handle-file-name-all-completions)
3935 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3936 (tramp-open-connection-setup-interactive-shell):
3937 Call `tramp-cleanup-connection' directly.
3939 2010-10-02 Glenn Morris <rgm@gnu.org>
3941 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3943 * subr.el (char-bytes): Remove obsolete function.
3945 * isearch.el (isearch-return-char): Remove obsolete function.
3947 * mouse.el: No longer provide mldrag.
3948 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3949 Remove obsolete aliases.
3951 * comint.el (comint-kill-output): Remove obsolete alias.
3953 * composite.el (decompose-composite-char): Remove obsolete function.
3954 * ps-def.el (decompose-composite-char): Remove unused function.
3956 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3958 * outline.el (outline-visible): Remove obsolete function.
3960 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3961 * faces.el (internal-find-face, internal-get-face)
3962 (frame-update-faces, frame-update-face-colors)
3963 (x-frob-font-weight, x-frob-font-slant)
3964 (internal-frob-font-weight, internal-frob-font-slant)
3965 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3966 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3967 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3969 * emulation/viper-util.el (viper-get-face):
3970 * obsolete/lucid.el (find-face, get-face): Use facep.
3971 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3972 Remove unused functions.
3973 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3975 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3976 delete tempfile if interrupted during compilation.
3978 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3980 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3982 (tls-program): Add --insecure to be consistent with the defaults from
3983 openssl s_client. Now all three commands are insecure.
3985 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3987 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3988 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3989 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3991 2010-10-01 Glenn Morris <rgm@gnu.org>
3993 * obsolete/sc.el: Remove file.
3995 * files.el (temporary-file-directory): On darwin, also try
3996 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3998 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4000 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4001 Let's not break compatibility gratuitously, shall we?
4003 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4005 * net/tls.el (tls-starttls-switches): New variable.
4006 (tls-find-starttls-argument): Use it.
4007 (open-tls-stream): Ditto.
4009 * net/netrc.el (netrc-credentials): Return the value of the "default"
4011 (netrc-machine): Ditto.
4013 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4015 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4017 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4019 * server.el (server-start): Don't write pid to the authentication file.
4020 (server-create-tty-frame): Don't send pid.
4021 (server-process-filter): Send pid at the start of every connection.
4023 2010-09-30 Glenn Morris <rgm@gnu.org>
4025 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4026 (show-all-diary-entries): Remove obsolete function aliases.
4028 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4029 Remove options, obsolete since 22.1.
4030 (appt-display-format, appt-display-message):
4031 Remove backwards-compatibility code.
4032 (appt-check): No longer check appt-issue-message.
4033 (appt-make-list): No longer autoload it. Doc fix. No longer
4034 activate the package.
4036 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4038 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4039 (starttls-negotiate): Just call boot, and let the handshake be
4040 triggered from the read loop.
4042 2010-09-29 Glenn Morris <rgm@gnu.org>
4044 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4045 not displaying the diary.
4046 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4047 * calendar/appt.el (appt-check): No longer need to kill diary.
4049 * calendar/diary-lib.el (diary-list-entries): Move the
4050 "Preparing..." message entirely here.
4051 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4052 messages to diary-list-entries.
4053 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4054 diary-display-function.
4056 * calendar/diary-lib.el (diary-include-other-diary-files):
4057 Trap some recursive includes.
4059 * calendar/appt.el (appt-activate): Check diary file.
4061 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4063 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4066 * calendar/time-date.el: No need to require cl for Emacs 21.
4068 2010-09-28 Glenn Morris <rgm@gnu.org>
4070 * calendar/appt.el (appt-check): Minor simplification.
4072 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4074 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4077 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4079 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4080 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4082 2010-09-27 Kenichi Handa <handa@m17n.org>
4084 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4087 2010-09-27 Kenichi Handa <handa@m17n.org>
4089 * international/mule.el (define-coding-system): Docstring fixed.
4091 * international/mule-diag.el (describe-character-set): Use princ
4092 with proper print-length and print-level instead of insert.
4094 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4096 * window.el (walk-windows): Doc fix (bug#7105).
4098 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * emacs-lisp/float-sup.el (e): Remove.
4102 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4104 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4106 (starttls-negotiate): Use it.
4108 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4110 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4113 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4117 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4119 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4121 * net/netrc.el (netrc-store-data): New function.
4123 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4125 * net/gnutls.el: GnuTLS glue code to set up a connection.
4127 2010-09-25 Julien Danjou <julien@danjou.info>
4129 * notifications.el: Call dbus-register-signal only if it is bound.
4131 2010-09-25 Glenn Morris <rgm@gnu.org>
4133 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4134 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4135 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4136 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4137 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4138 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4139 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4140 * eshell/esh-util.el, eshell/esh-var.el:
4141 Remove leading `*' from docs of faces and defcustoms.
4143 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4145 * eshell/em-ls.el (eshell-ls-archive-regexp):
4146 * eshell/esh-util.el (eshell-tar-regexp):
4147 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4148 * info.el (Info-suffix-list):
4149 * international/mule.el (auto-coding-alist):
4150 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4151 * progmodes/etags.el (tags-compression-info-list):
4152 Support xz compression.
4154 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4156 * files.el (get-free-disk-space): Don't assume the "df" output
4157 columns line up (Bug#6995).
4159 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4161 * finder.el (finder-unknown-keywords):
4162 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4163 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4165 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4167 * server.el (server-start): Revert part of 2010-08-08 change. Using
4168 address 127.0.0.1 for local host is now done in Fmake_network_process.
4170 2010-09-24 Glenn Morris <rgm@gnu.org>
4172 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4173 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4174 * textmodes/css-mode.el, textmodes/dns-mode.el:
4175 Move autoloaded auto-mode-alist entries to files.el.
4176 * files.el (auto-mode-alist): Move entries here.
4178 2010-09-23 Glenn Morris <rgm@gnu.org>
4180 * isearch.el (isearch-lazy-highlight-cleanup)
4181 (isearch-lazy-highlight-initial-delay)
4182 (isearch-lazy-highlight-interval)
4183 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4184 * net/net-utils.el (ipconfig-program-options):
4185 Move aliases to options before the associated definitions.
4187 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * newcomment.el (comment-normalize-vars): Better test validity of
4192 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4194 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4195 (float-e): New name for `e'.
4196 (degrees-to-radians, radians-to-degrees):
4197 * calendar/solar.el (solar-longitude):
4198 * calculator.el (calculator-registers, calculator-funcall):
4199 * textmodes/artist.el (artist-spray-random-points):
4200 * play/bubbles.el (bubbles--initialize-images): Use new names.
4202 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4204 Update to CEDET 1.0's version of EIEIO.
4206 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4208 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4209 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4210 (class-precedence-list): If class is nil, return nil.
4211 (eieio-generic-call): If class of first input arg is nil, don't
4212 look up static methods, and do check for primary methods.
4213 (initialize-instance): See if the default needs to be evaluated
4214 during the constructor.
4215 (eieio-perform-slot-validation-for-default): Don't do the check
4216 for values that will eventually be evaluated.
4217 (eieio-eval-default-p): New function.
4218 (eieio-default-eval-maybe): Use it.
4220 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4222 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4223 method-invocation-order.
4224 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4225 (eieio-class-precedence-dfs): Compute class precedence list using
4227 (eieio-class-precedence-bfs): Compute class precedence list using
4229 (eieio-class-precedence-c3): Compute class precedence list using
4231 (class-precedence-list): New function.
4232 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4233 (inconsistent-class-hierarchy): New error symbol.
4234 (call-next-method): Stow the replacement argument list for future
4235 call-next-method invocations.
4237 2010-09-23 Glenn Morris <rgm@gnu.org>
4239 * calendar/appt.el (appt-check): If not displaying the diary,
4240 use (diary 1) to only get the entries we need.
4241 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4242 that it is in day order. (Bug#7019)
4244 * calendar/appt.el (appt-check): Rather than showing the diary,
4245 just turn off invisible display, and only if needed.
4247 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4249 2010-09-23 Glenn Morris <rgm@gnu.org>
4251 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4252 (byte-compile-defvar, byte-compile-cl-warn):
4253 Start warnings with lower-case, like the majority.
4255 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4257 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4259 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4260 * files.el (auto-mode-alist): Move ld-script entries here, further down
4263 * vc/add-log.el: Don't require timezone when compiling.
4264 (timezone-make-date-sortable): Autoload it.
4265 (change-log-sortable-date-at): Don't require timezone.
4266 Use `ignore-errors'.
4268 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4269 Move alias before definition, so it does not need autoloading.
4271 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4272 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4273 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4274 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4275 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4276 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4277 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4278 * textmodes/tex-mode.el, textmodes/two-column.el:
4279 Remove leading `*' from docs of defcustoms etc.
4281 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4283 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4285 2010-09-22 Dan Christensen <jdc@uwo.ca>
4287 * calendar/time-date.el (date-to-time): Try using parse-time-string
4288 first before using the slower timezone-make-date-arpa-standard.
4290 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4292 * calendar/time-date.el (format-seconds): Comment fix.
4294 2010-09-22 Glenn Morris <rgm@gnu.org>
4296 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4297 is not automatically buffer-local.
4299 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4302 (smie-indent-comment): Be more careful with comment-start-skip.
4303 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4304 (smie-indent-functions): Use them.
4306 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4308 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4310 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4312 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4313 tool-bar-position. Don't modify frame parameters here.
4314 (menu-bar-options-save): Add tool-bar-position.
4316 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4318 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * textmodes/reftex-parse.el (reftex-what-macro)
4321 (reftex-context-substring): Let-bind forward-sexp-function to nil
4322 since we don't need/want to treat \begin...\end as a block (bug#7053).
4324 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4326 * simple.el (blink-matching-open): Use syntax-class.
4328 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4329 Set invisibility spec for pascal's outline mode.
4330 (pascal-outline-change): Clean up calling convention.
4331 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4333 * progmodes/prolog.el (prolog-smie-forward-token)
4334 (prolog-smie-backward-token): New functions.
4335 (prolog-mode-variables): Use them to parse "!," correctly.
4336 Set up smie-blink-matching for ".".
4338 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4340 (ispell-region, ispell-process-line): Update users.
4342 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4345 * textmodes/ispell.el: Fix commenting convention.
4346 (ispell-parse-output): Simplify, use push.
4347 (ispell-region): Use match-string-no-properties.
4348 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4349 (ispell-minor-mode): Use define-minor-mode.
4350 (ispell-message): Remove unused var `skip-regexp'.
4351 (ispell-add-per-file-word-list): Use dynamic let-binding.
4352 Try and use the proper comment marker.
4354 * mail/sendmail.el: Fix commenting convention.
4355 (sendmail-send-it): Use line-beginning-position.
4357 * help-fns.el (describe-variable): Add original value, if applicable.
4359 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4361 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4363 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4365 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4367 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4368 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4369 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4370 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4371 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4372 something like "." can also be a closer.
4373 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4374 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4375 Rename internal functions to use "--". Update callers.
4377 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4379 * fringe.el (fringe-styles): New var.
4380 (fringe-mode, fringe-query-style): Use it.
4382 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4384 * progmodes/sql.el: Version 2.8
4385 (sql-login-params): Update widget structure; changes still needed.
4386 (sql-product-alist): Add :list-all and :list-table features for
4387 SQLite, Postgres and MySQL products.
4388 (sql-redirect): Handle default value.
4389 (sql-execute, sql-execute-feature): New functions.
4390 (sql-read-table-name): New function.
4391 (sql-list-all, sql-list-table): New functions. User API.
4392 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4393 for above functions.
4394 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4395 for above functions.
4396 (sql-postgres-login-params): Add user and database defaults.
4397 (sql-buffer-live-p): Bug fix.
4398 (sql-product-history): New variable.
4399 (sql-read-product): New function. Use it.
4400 (sql-set-product, sql-product-interactive): Use it.
4401 (sql-connection-history): New variable.
4402 (sql-read-connection): New function. Use it.
4403 (sql-connect): New function.
4404 (sql-for-each-login): Redesign function interface.
4405 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4406 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4407 (sql-comint): Check for program. Existing live buffer.
4408 (sql-comint-postgres): Add port parameter.
4410 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * emacs-lisp/warnings.el: Fix commenting convention.
4413 (display-warning): Use special mode and make the buffer read-only.
4415 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4417 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4418 empty string when it follows a repeated or optional pattern.
4420 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4423 (indent-region): Use indent-according-to-mode.
4425 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4427 * fringe.el (fringe-mode): Doc fix.
4429 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4431 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4432 refreshing the preview buffer.
4434 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4436 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4437 (latex-syntax-propertize-rules): New consts; replace
4438 tex-font-lock-syntactic-keywords.
4439 (tex-env-mark, latex-env-before-change): New functions.
4440 (latex-electric-env-pair-mode): New minor mode.
4441 (tex-font-lock-verb): Change arguments; do move point.
4442 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4443 representation as a form of comment.
4444 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4445 (doctex-syntax-propertize-rules): New const; replaces
4446 doctex-font-lock-syntactic-keywords.
4447 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4449 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4450 (fortran-make-syntax-propertize-function): New function; replaces
4451 fortran-font-lock-syntactic-keywords.
4452 (fortran-mode): Use it.
4453 (fortran-line-length): Use it. Improve interactive spec.
4455 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4456 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4457 when adding surrounding \(..\).
4459 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4461 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4463 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4464 Use with-current-buffer.
4466 * isearch.el (isearch-face): Rename from `isearch'.
4467 (isearch-highlight): Use new name.
4469 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4471 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4472 5, for `half' width fringes. (Bug#6933)
4474 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4477 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4479 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4481 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4483 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4484 in calculating new frame position. Add more space between new and
4485 parent on the left (Bug#7048).
4487 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4489 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4492 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4494 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4496 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4497 obsolete alias for x-selection-value.
4499 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4501 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4503 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4506 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4508 * net/tramp-compat.el (tramp-compat-with-temp-message)
4509 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4510 (tramp-compat-process-put): New defuns.
4512 * net/tramp.el (top):
4513 * net/tramp-gvfs.el (top):
4514 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4516 * net/tramp.el (tramp-progress-reporter-update):
4517 Use `tramp-compat-funcall'.
4519 * net/tramp.el (tramp-process-actions):
4520 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4521 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4522 (tramp-get-remote-stat, tramp-get-remote-readlink):
4523 Use `tramp-compat-with-temp-message'.
4525 * net/tramp-sh.el (top): Require 'cl.
4526 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4527 (tramp-open-connection-setup-interactive-shell):
4528 Use `tramp-compat-process-put'.
4530 2010-09-15 Alan Mackenzie <acm@muc.de>
4532 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4534 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4536 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4538 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4539 `lexical' for warnings related to lexical scoping.
4540 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4541 global vars which don't have a prefix and could hence affect lexical
4542 scoping in unrelated files.
4544 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4546 * net/imap.el: Revert back to version
4547 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4550 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4552 * obsolete/old-whitespace.el (whitespace-unload-function):
4553 Explicitly pass `obarray' to `unintern' to avoid a warning.
4555 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4557 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4558 Add `when' argument. Update callers.
4560 * subr.el (unintern): Declare the obarray arg mandatory.
4562 2010-09-14 Glenn Morris <rgm@gnu.org>
4564 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4567 * calendar/diary-lib.el (diary-included-files): New variable.
4568 (diary-list-entries): Maybe initialize diary-included-files.
4569 (diary-include-other-diary-files): Append to diary-included-files.
4570 * calendar/appt.el (appt-update-list): Also check the members of
4571 diary-included-files. (Bug#6999)
4572 (appt-check): Doc fix.
4574 2010-09-14 David Reitter <david.reitter@gmail.com>
4576 * simple.el (line-move-visual): Do not truncate goal column to
4577 integer size. (Bug#7020)
4579 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4581 * repeat.el (repeat): Allow repeating when the last event is a click.
4582 Suggested by Drew Adams (bug#6256).
4584 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4586 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4587 Replace setting HGRCPATH to "" by some less invasive --config options.
4589 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4591 * font-lock.el (font-lock-beginning-of-syntax-function):
4594 2010-09-14 Glenn Morris <rgm@gnu.org>
4596 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4597 and tool-bar modes. (Bug#6211)
4598 (menu-bar-mode): Move setting of standard-value after the
4599 minor-mode definition, otherwise it seems to have no effect.
4601 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4603 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4604 Fix typo. (Bug#6976)
4606 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4608 * whitespace.el: Allow cleaning up blanks without blank
4609 visualization (Bug#6651). Adjust help window for
4610 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4611 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4612 (whitespace-style): Add new value 'face. Adjust docstring.
4613 (whitespace-space, whitespace-hspace, whitespace-tab):
4614 Adjust foreground property face.
4615 (whitespace-line-column): Adjust docstring and type declaration.
4616 (whitespace-style-value-list, whitespace-toggle-option-alist)
4617 (whitespace-help-text): Adjust const initialization.
4618 (whitespace-toggle-options, global-whitespace-toggle-options):
4620 (whitespace-display-window, whitespace-interactive-char)
4621 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4622 (whitespace-help-scroll): New fun.
4624 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4626 * calendar/time-date.el (format-seconds): Comment fix.
4628 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4630 * progmodes/sql.el: Version 2.7.
4631 (sql-buffer-live-p): Improve detection.
4632 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4633 (sql-set-sqli-buffer): Use it.
4634 (sql-product-interactive): Run `sql-set-sqli-hook'.
4635 (sql-rename-buffer): Code cleanup.
4636 (sql-redirect, sql-redirect-value): New functions. More to come.
4638 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4640 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
4641 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4642 (TRAMP_SRC): New macro.
4643 ($(lisp)/net/tramp-loaddefs.el): New target.
4645 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4647 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4649 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4651 * net/tramp.el (top): Don't show loading message. Require just
4652 'tramp-compat, everything else is required there.
4653 Use `ignore-errors' where appropriate.
4654 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4655 (tramp-terminal-type, tramp-end-of-output)
4656 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4657 (tramp-completion-function-alist-ssh)
4658 (tramp-completion-function-alist-telnet)
4659 (tramp-completion-function-alist-su)
4660 (tramp-completion-function-alist-putty, tramp-remote-path)
4661 (tramp-remote-process-environment, tramp-sh-extra-args)
4662 (tramp-actions-before-shell, tramp-uudecode)
4663 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4664 (tramp-perl-file-attributes)
4665 (tramp-perl-directory-files-and-attributes)
4666 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4667 (tramp-perl-encode, tramp-perl-decode)
4668 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4669 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4670 (tramp-handle-make-symbolic-link, tramp-handle-load)
4671 (tramp-handle-file-name-as-directory)
4672 (tramp-handle-file-name-directory)
4673 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4674 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4675 (tramp-do-file-attributes-with-ls)
4676 (tramp-do-file-attributes-with-perl)
4677 (tramp-do-file-attributes-with-stat)
4678 (tramp-handle-set-visited-file-modtime)
4679 (tramp-handle-verify-visited-file-modtime)
4680 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4681 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4682 (tramp-handle-file-selinux-context)
4683 (tramp-handle-set-file-selinux-context)
4684 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4685 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4686 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4687 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4688 (tramp-handle-file-ownership-preserved-p)
4689 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4690 (tramp-handle-directory-files-and-attributes)
4691 (tramp-do-directory-files-and-attributes-with-perl)
4692 (tramp-do-directory-files-and-attributes-with-stat)
4693 (tramp-handle-file-name-all-completions)
4694 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4695 (tramp-handle-copy-file, tramp-handle-copy-directory)
4696 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4697 (tramp-do-copy-or-rename-file-via-buffer)
4698 (tramp-do-copy-or-rename-file-directly)
4699 (tramp-do-copy-or-rename-file-out-of-band)
4700 (tramp-handle-make-directory, tramp-handle-delete-directory)
4701 (tramp-handle-delete-file)
4702 (tramp-handle-dired-recursive-delete-directory)
4703 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4704 (tramp-handle-insert-directory)
4705 (tramp-handle-unhandled-file-name-directory)
4706 (tramp-handle-expand-file-name)
4707 (tramp-handle-substitute-in-file-name)
4708 (tramp-handle-executable-find, tramp-process-sentinel)
4709 (tramp-handle-start-file-process, tramp-handle-process-file)
4710 (tramp-handle-call-process-region, tramp-handle-shell-command)
4711 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4712 (tramp-handle-insert-file-contents)
4713 (tramp-handle-insert-file-contents-literally)
4714 (tramp-handle-find-backup-file-name)
4715 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4716 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4717 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4718 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4719 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4720 (tramp-find-file-exists-command, tramp-open-shell)
4721 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4722 (tramp-open-connection-setup-interactive-shell)
4723 (tramp-local-coding-commands, tramp-remote-coding-commands)
4724 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4725 (tramp-inline-compress-commands, tramp-find-inline-compress)
4726 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4727 (tramp-send-command, tramp-wait-for-output)
4728 (tramp-send-command-and-check, tramp-barf-unless-okay)
4729 (tramp-send-command-and-read, tramp-mode-string-to-int)
4730 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4731 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4732 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4733 (tramp-method-out-of-band-p, tramp-local-host-p)
4734 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4735 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4736 (tramp-get-test-command, tramp-get-test-nt-command)
4737 (tramp-get-file-exists-command, tramp-get-remote-ln)
4738 (tramp-get-remote-perl, tramp-get-remote-stat)
4739 (tramp-get-remote-readlink, tramp-get-remote-trash)
4740 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4741 (tramp-get-local-uid, tramp-get-local-gid)
4742 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4744 (tramp-methods, tramp-default-method-alist)
4745 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4746 Move initialization to tramp-sh.el.
4747 (tramp-temp-name-prefix): Make it a defconst.
4748 (tramp-dissect-file-name): Don't check anymore for multi-hop
4750 (tramp-debug-outline-regexp): Add a docstring.
4751 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4752 (tramp-get-debug-buffer): Use it.
4754 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4755 initialization forms.
4756 (tramp-set-connection-property): Don't protect `tramp-message'
4757 call, it isn't necessary any longer.
4758 (tramp-dump-connection-properties): Use `ignore-errors'.
4760 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4761 'password-cache and 'auth-source.
4763 * net/tramp-gvfs.el (top):
4764 * net/tramp-smb.el (top): Require 'tramp-sh.
4766 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4768 * net/tramp-sh.el: New file, derived from tramp.el.
4769 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4770 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4771 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4772 Use `ignore-errors' where appropriate.
4773 (tramp-sh-file-name-handler-alist): Rename from
4774 `tramp-file-name-handler-alist'.
4775 (tramp-send-command-and-check): Return t or nil. Remove all
4776 `zerop' checks, where called.
4777 (tramp-handle-set-file-modes)
4778 (tramp-do-copy-or-rename-file-directly)
4779 (tramp-handle-delete-directory, tramp-handle-delete-file)
4780 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4781 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4782 (tramp-get-remote-ln): Set tramp-autoload cookie.
4784 * net/tramp-fish.el: Remove file.
4786 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4788 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4789 buffer-file-name to avoid file-locking. (Bug#7026)
4791 2010-09-13 Julien Danjou <julien@danjou.info>
4793 * notifications.el (notifications-notify): Add support for
4794 image-path and sound-name.
4795 (notifications-specification-version): Add this variable.
4797 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4801 2010-09-12 Leo <sdl.web@gmail.com>
4803 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4804 (rcirc-completion-start): New variables.
4805 (rcirc-nick-completions): Rename to rcirc-completions.
4806 (rcirc-nick-completion-start-offset): Delete.
4807 (rcirc-completion-at-point): New function for constructing
4808 completion data for both nicks and irc commands. Add to
4809 completion-at-point-functions in rcirc mode.
4810 (rcirc-complete): Rename from rcirc-nick-complete; use
4811 rcirc-completion-at-point.
4812 (defun-rcirc-command): Update rcirc-client-commands.
4814 2010-09-11 Glenn Morris <rgm@gnu.org>
4816 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4817 atomically, to avoid parallel build errors. (Bug#4196)
4819 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4821 * progmodes/sql.el: Version 2.6
4822 (sql-dialect): Synonym for "sql-product".
4823 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4824 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4825 Set "sql-buffer" to buffer name not buffer object so multiple sql
4826 interactive buffers work properly. Reverts misguided changes in
4828 (sql-comint): Make sure different buffer name is used if "*SQL*"
4829 buffer is for a different product.
4830 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4832 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4833 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4834 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4835 Accept new buffer name or prompt for one.
4836 (sql-port): Default to zero.
4837 (sql-comint-mysql): Handle "sql-port" as a numeric.
4838 (sql-port-history): Delete unused variable.
4839 (sql-get-login): Default "sql-port" to a number.
4840 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4841 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4842 "sqlite3" executables.
4843 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4844 (sql-buffer-live-p): New function.
4845 (sql-mode-menu, sql-send-string): Use it.
4846 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4848 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4849 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4851 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4853 * net/netrc.el (netrc-credentials): New convenience function.
4855 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4857 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4858 to replace texinfo-font-lock-syntactic-keywords.
4859 (texinfo-mode): Use it.
4861 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4862 Use syntax-propertize-function.
4864 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4865 replace sgml-font-lock-syntactic-keywords.
4866 (sgml-mode): Use it.
4868 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4869 since we don't use it.
4871 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4873 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4875 (vhdl-fontify-buffer): Adjust.
4877 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4878 replace tcl-font-lock-syntactic-keywords.
4881 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4882 replace simula-font-lock-syntactic-keywords.
4883 (simula-mode): Use it.
4885 * progmodes/sh-script.el (sh-st-symbol): Remove.
4886 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4887 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4888 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4889 (sh-font-lock-paren): Set syntax-multiline.
4890 (sh-font-lock-syntactic-keywords): Remove.
4891 (sh-syntax-propertize-function): New function to replace it.
4894 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4895 Define while compiling.
4896 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4897 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4898 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4899 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4900 (ruby-here-doc-end-syntax): Only define when
4901 syntax-propertize is not available.
4902 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4904 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4905 (electric-indent-chars): Silence bytecompiler.
4906 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4907 electric-indent-chars.
4909 * progmodes/python.el (python-syntax-propertize-function): New var to
4910 replace python-font-lock-syntactic-keywords.
4911 (python-mode): Use it.
4912 (python-quote-syntax): Simplify and adjust to new use.
4914 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4915 replace perl-font-lock-syntactic-keywords.
4916 (perl-syntax-propertize-special-constructs): New fun to replace
4917 perl-font-lock-special-syntactic-constructs.
4918 (perl-font-lock-syntactic-face-function): New fun.
4919 (perl-mode): Use it.
4921 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4922 to replace octave-font-lock-close-quotes.
4923 (octave-syntax-propertize-function): New function to replace
4924 octave-font-lock-syntactic-keywords.
4925 (octave-mode): Use it.
4927 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4928 replaces mixal-font-lock-syntactic-keywords.
4929 (mixal-mode): Use it.
4931 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4932 New var; replaces makefile-font-lock-syntactic-keywords.
4933 (makefile-mode): Use it.
4934 (makefile-imake-mode): Adjust.
4936 * progmodes/js.el (js--regexp-literal): Define while compiling.
4937 (js-syntax-propertize-function): New var; replaces
4938 js-font-lock-syntactic-keywords.
4941 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4942 replaces gdb-script-font-lock-syntactic-keywords.
4943 (gdb-script-mode): Use it.
4945 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4946 (fortran--font-lock-syntactic-keywords): New var.
4947 (fortran-line-length): Update syntax-propertize-function and
4948 fortran--font-lock-syntactic-keywords.
4950 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4952 * progmodes/cfengine.el (cfengine-mode):
4953 Use syntax-propertize-function.
4954 (cfengine-font-lock-syntactic-keywords): Remove.
4956 * progmodes/autoconf.el (autoconf-mode):
4957 Use syntax-propertize-function.
4958 (autoconf-font-lock-syntactic-keywords): Remove.
4960 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4961 (ada-after-change-function, ada-initialize-syntax-table-properties)
4962 (ada-handle-syntax-table-properties): Only define when
4963 syntax-propertize is not available.
4964 (ada-mode): Use syntax-propertize-function.
4966 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4967 (font-lock-fontify-syntactic-keywords-region): Move handling of
4968 font-lock-syntactically-fontified to...
4969 (font-lock-default-fontify-region): ...here.
4970 Let syntax-propertize-function take precedence.
4971 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4973 * emacs-lisp/syntax.el (syntax-propertize-function)
4974 (syntax-propertize-chunk-size, syntax-propertize--done)
4975 (syntax-propertize-extend-region-functions): New vars.
4976 (syntax-propertize-wholelines, syntax-propertize-multiline)
4977 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4978 (syntax-propertize): New functions.
4979 (syntax-propertize-rules): New macro.
4980 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4981 (syntax-ppss): Call syntax-propertize.
4983 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4985 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4987 * textmodes/ispell.el (ispell-init-process): Improve comments.
4988 XEmacs compatibility changes regarding (add-hook) 'local option
4989 and (set-process-query-on-exit-flag).
4991 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4993 * net/tramp-cache.el (tramp-parse-connection-properties):
4994 Set tramp-autoload cookie.
4996 2010-09-09 Glenn Morris <rgm@gnu.org>
4998 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4999 (imagemagick-register-types): Doc fix.
5001 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5005 * progmodes/js.el (require): Require is already "eval-and-compile".
5006 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5007 (js--re-search-backward): Use js--re-search-forward.
5009 * progmodes/fortran.el (fortran-line-length): Don't recompute
5010 syntactic keywords redundantly a second time.
5012 * progmodes/ada-mode.el: Replace "(set '" with setq.
5013 (ada-mode): Simplify.
5014 (ada-create-case-exception, ada-adjust-case-interactive)
5015 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5016 (ada-search-ignore-string-comment, ada-move-to-start)
5017 (ada-move-to-end): Use with-syntax-table.
5019 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5020 (font-lock-unfontify-region, font-lock-default-fontify-region):
5021 Update usage correspondingly.
5022 (font-lock-fontify-syntactic-keywords-region):
5023 Set parse-sexp-lookup-properties buffer-locally here.
5024 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5026 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5028 2010-09-08 Glenn Morris <rgm@gnu.org>
5030 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5031 Error if not compiled with -DBYTE_CODE_METER.
5033 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5034 Ignore dir-locals-file.
5036 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5038 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5040 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5041 for the `gnu' messages.
5042 (compilation-set-skip-threshold): New command.
5043 (compilation-start): Use \' rather than $.
5044 (compilation-forget-errors): Use clrhash.
5046 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5048 * textmodes/ispell.el (ispell-valid-dictionary-list):
5051 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5053 Migrate to Tramp 2.2. Rearrange load dependencies.
5054 (Bug#1529, Bug#5448, Bug#5705)
5056 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5057 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5058 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5060 * net/tramp.el (top): Remove all other tramp-* loads except
5061 tramp-compat.el. Remove all changes to tramp-unload-hook for
5062 other tramp-* packages. Rearrange defun order. Change calls of
5063 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5064 `tramp-compat-octal-to-decimal' to new function names.
5065 (tramp-terminal-type, tramp-initial-end-of-output)
5066 (tramp-methods, tramp-foreign-file-name-handler-alist)
5067 (tramp-tramp-file-p, tramp-completion-mode-p)
5068 (tramp-send-command-and-check, tramp-get-remote-path)
5069 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5070 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5071 (with-file-property, with-connection-property): Move to
5073 (tramp-local-call-process, tramp-decimal-to-octal)
5074 (tramp-octal-to-decimal): Move to tramp-compat.el.
5075 (tramp-handle-shell-command): Do not require 'shell.
5076 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5078 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5080 * net/tramp-cache.el (top): Require 'tramp. Add to
5081 `tramp-unload-hook'.
5082 (tramp-cache-data, tramp-get-file-property)
5083 (tramp-set-file-property, tramp-flush-file-property)
5084 (tramp-flush-directory-property, tramp-get-connection-property)
5085 (tramp-set-connection-property, tramp-flush-connection-property)
5086 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5088 (with-file-property, with-connection-property): New defuns, moved
5090 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5093 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5094 (tramp-version): Set tramp-autoload cookie.
5096 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5097 changes to tramp-unload-hook for other tramp-* packages. Add to
5098 `tramp-unload-hook'.
5099 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5100 (tramp-compat-call-process): New defuns, moved from tramp.el.
5102 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5103 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5104 Add to `tramp-unload-hook'. Change call of
5105 `tramp-compat-decimal-to-octal' to new function name.
5106 (tramp-fish-method): Make it a defconst.
5107 (tramp-fish-file-name-p): Make it a defsubst.
5108 (tramp-fish-method, tramp-fish-file-name-handler)
5109 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5111 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5112 `tramp-foreign-file-name-handler-alist'. Add to
5113 `tramp-unload-hook'.
5114 (tramp-ftp-method): Make it a defconst.
5115 (tramp-ftp-file-name-p): Make it a defsubst.
5116 (tramp-ftp-method, tramp-ftp-file-name-handler)
5117 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5119 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5120 `tramp-foreign-file-name-handler-alist'. Add to
5121 `tramp-unload-hook'. Change checks, whether package can be
5123 (tramp-gvfs-file-name-p): Make it a defsubst.
5124 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5125 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5126 (tramp-gvfs-handle-file-directory-p): New defun.
5127 (tramp-gvfs-file-name-handler-alist): Use it.
5129 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5130 `tramp-foreign-file-name-handler-alist'. Add to
5131 `tramp-unload-hook'.
5132 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5133 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5135 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5136 (tramp-gw-open-connection): Set tramp-autoload cookie.
5138 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5139 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5140 Add to `tramp-unload-hook'. Change checks, whether package can be
5142 (tramp-imap-file-name-p): Make it a defsubst.
5143 (tramp-imap-method, tramp-imaps-method)
5144 (tramp-imap-file-name-handler)
5145 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5147 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5148 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5149 Add to `tramp-unload-hook'. Change checks, whether package can be
5150 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5152 (tramp-smb-tunnel-method): Make it a defconst.
5153 (tramp-smb-file-name-p): Make it a defsubst.
5154 (tramp-smb-method, tramp-smb-file-name-handler)
5155 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5157 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5158 (tramp-uuencode-region): Set tramp-autoload cookie.
5160 * net/trampver.el (top) Add to `tramp-unload-hook'.
5161 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5162 cookie. Update release number.
5164 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5166 * textmodes/ispell.el (ispell-start-process): Make sure original
5167 arg list is properly initialized (Bug#6993, Bug#6994).
5169 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5171 * files.el (directory-abbrev-alist): Use \` as default regexp.
5173 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5174 chars like - or ] (bug#6984).
5175 (rx-any-condense-range): Explode 2-char ranges.
5177 2010-09-06 Glenn Morris <rgm@gnu.org>
5179 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5181 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5183 * textmodes/bibtex.el:
5184 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5186 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5188 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5189 since no callers use it.
5190 (imap-message-get): Ditto.
5191 (imap-message-put): Ditto.
5192 (imap-mailbox-map): Ditto.
5193 (imap-mailbox-put): Ditto.
5194 (imap-mailbox-get): Ditto.
5195 (imap-mailbox-get): Revert last change for this function.
5197 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5199 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5200 callers to use `imap-fetch' instead. According to the comments, this
5201 should be safe, since all other IMAP clients use the 1:* syntax.
5202 (imap-enable-exchange-bug-workaround): Remove.
5203 (imap-debug): Remove -- doesn't seem very useful.
5205 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5207 * net/imap.el (imap-log): New convenience function used throughout
5208 instead of repeating the same code all over the place.
5210 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5212 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5213 when mouse-drag-copy-region is non-nil (Bug#6956).
5215 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5217 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5218 Improve regexps (Bug#6987).
5219 (dired-sort-toggle): Search more robustly for -t flag.
5221 * files.el (get-free-disk-space): Search more robustly for
5222 "available" column. Suggested by Ehud Karni
5223 <ehud@unix.mvs.co.il>.
5225 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5227 * international/uni-bidi.el:
5228 * international/uni-category.el:
5229 * international/uni-combining.el:
5230 * international/uni-decimal.el:
5231 * international/uni-mirrored.el:
5232 * international/uni-name.el: Regenerate.
5234 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5236 * electric.el (electric-indent-post-self-insert-function):
5237 Don't reindent with a sloppy indentation function.
5239 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5240 border case in change-log-mode.
5242 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5244 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5245 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5246 Recognize leading tab in gcc-include regexp. Ignore names with
5247 leading "from" or "in" in gnu regexp (Bug#6937).
5249 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5251 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5252 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5253 (ispell-start-process): Avoid setq and simplify logic.
5254 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5255 (kill-buffer-hook): Don't use it globally with code that uses
5256 expand-file-name since that may call kill-buffer via
5257 code_conversion_restore.
5259 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5261 * emacs-lisp/package.el (package-directory-list): Only call
5262 file-name-nondirectory on a string.
5264 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5266 * emacs-lisp/package.el (package--download-one-archive):
5267 Ensure that archive-contents is valid before saving it.
5268 (package-activate-1, package-mark-obsolete, define-package)
5269 (package-compute-transaction, package-list-maybe-add): Use push.
5271 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5273 Use SMIE's blink-paren for octave-mode.
5274 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5275 Backslashes do not escape single-quotes, single-quotes do.
5276 (octave-block-else-regexp, octave-block-end-regexp)
5277 (octave-block-match-alist): Remove.
5278 (octave-smie-bnf-table): New var, with old content.
5279 (octave-smie-op-levels): Use it.
5280 (octave-smie-closer-alist): New var.
5281 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5282 (octave-blink-matching-block-open): Remove.
5283 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5284 (octave-electric-space): Let self-insert-command run expand-abbrev and
5287 * electric.el (electricity): New group.
5288 (electric-indent-chars): New var.
5289 (electric-indent-post-self-insert-function): New fun.
5290 (electric-indent-mode): New minor mode.
5291 (electric-pair-skip-self): New custom.
5292 (electric-pair-post-self-insert-function): New function.
5293 (electric-pair-mode): New minor mode.
5295 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5296 calcAlg-blink-matching-open.
5297 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5298 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5299 Use the new blink-matching-check-function.
5301 Provide blink-matching support to SMIE.
5302 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5303 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5304 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5306 * simple.el (newline): Fix last change to properly remove itself from
5309 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5311 * simple.el (newline): Eliminate optimization.
5312 Use post-self-insert-hook to set hard-newline and things before
5313 running post-self-insert-hook.
5314 (blink-matching-check-mismatch): New function.
5315 (blink-matching-check-function): New variable.
5316 (blink-matching-open): Use them.
5317 Skip back forward over prefix chars skipped by forward-sexp.
5318 Don't check if the parens are backslash escaped.
5319 (blink-paren-post-self-insert-function): Check backslash escaping here.
5321 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5323 * emacs-lisp/package.el (package-menu-mode-map):
5324 Change package-menu-revert bindings to revert-buffer.
5325 (package-menu-mode): Set revert-buffer-function.
5326 (package-menu-revert): Doc fix.
5328 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5330 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5331 `default-directory' unless using Ispell per-directory personal
5332 dictionaries and not in a mini-buffer under XEmacs.
5333 (kill-buffer-hook): Do not kill ispell process on exit when
5334 `ispell-process-directory' is "~/". (Bug#6143)
5336 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5338 * simple.el (kill-new): Call interprogram-cut-function with only
5341 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5342 Remove cut buffer from error message.
5344 * term/x-win.el (x-select-text):
5345 * term/pc-win.el (x-selection-value):
5346 * term/ns-win.el (x-selection-value):
5347 * eshell/em-term.el:
5348 * w32-fns.el (x-get-selection-value):
5349 * mouse-sel.el (mouse-sel-set-selection-function):
5350 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5352 * term/x-win.el: Update documentation for x-last-selected-text-*.
5353 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5354 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5355 (x-select-text): Remove argument PUSH, update documentation.
5356 Remove cut-buffer code.
5357 (x-selection-value-internal): Was previously x-selection-value.
5358 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5359 Update documentation, remove cut-buffer code.
5360 Call x-selection-value-internal.
5361 (x-clipboard-yank): Call x-selection-value-internal.
5362 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5364 * term/pc-win.el (x-last-selected-text):
5365 x-cut-buffer-or-selection-value renamed to x-selection-value
5366 (x-select-text): Remove argument PUSH, update documentation.
5368 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5369 x-cut-buffer-or-selection-value renamed to x-selection-value
5370 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5371 (x-select-text): Remove argument PUSH, update documentation.
5373 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5375 * w32-fns.el (x-last-selected-text):
5376 x-cut-buffer-or-selection-value renamed to x-selection-value.
5377 (x-cut-buffer-max): Remove.
5378 (x-select-text): Remove argument PUSH, update documentation.
5380 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5382 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5384 * mouse-sel.el (mouse-sel-get-selection-function):
5385 x-cut-buffer-or-selection-value renamed to x-selection-value.
5386 (x-select-text): Remove optional push.
5388 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5390 * simple.el (blink-paren-function): Move from C to here.
5391 (blink-paren-post-self-insert-function): New function.
5392 (post-self-insert-hook): Use it.
5394 * emacs-lisp/pcase.el (pcase-split-memq):
5395 Fix overenthusiastic optimisation.
5396 (pcase-u1): Handle the case of a lambda pred.
5398 2010-08-31 Kenichi Handa <handa@m17n.org>
5400 * international/mule-cmds.el (standard-display-european-internal):
5401 Setup standard-display-table for 8-bit characters by storing 8-bit
5402 characters in the element vector.
5404 * disp-table.el (standard-display-8bit):
5405 Setup standard-display-table for 8-bit characters by storing 8-bit
5406 characters in the element vector.
5407 (standard-display-european): Likewise.
5409 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5411 * textmodes/nroff-mode.el (nroff-view): New command.
5412 (nroff-mode-map): Bind it to C-c C-c.
5414 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * emacs-lisp/smie.el (smie-down-list): New command.
5418 Remove old indentation and navigation code on octave-mode.
5419 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5420 smie-down-list rather than add a binding for octave-down-block.
5421 (octave-mark-block, octave-blink-matching-block-open):
5422 Rely on forward-sexp-function.
5423 (octave-fill-paragraph): Don't narrow, so you can use
5424 indent-according-to-mode.
5425 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5426 (octave-in-block-p, octave-re-search-forward-kw)
5427 (octave-re-search-backward-kw, octave-indent-calculate)
5428 (octave-end-as-array-index-p, octave-block-end-offset)
5429 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5430 (octave-down-block, octave-backward-up-block, octave-up-block)
5431 (octave-before-magic-comment-p, octave-indent-line): Remove.
5433 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5435 * emacs-lisp/package.el (package--read-archive-file): Just use
5436 `read', to avoid copying an additional string.
5437 (package-menu-mode): Set header-line-format here.
5438 (package-menu-refresh, package-menu-revert): Signal an error if
5439 not in the Package Menu.
5440 (package-menu-package-list): New var.
5441 (package--generate-package-list): Operate on the current buffer;
5442 don't assume that it is *Packages*, since the user may rename it.
5443 Allow persistent package listings and sort keys using
5444 package-menu-package-list and package-menu-package-sort-key.
5445 (package-menu--version-predicate): Fix version calculation.
5446 (package-menu-sort-by-column): Don't select the window.
5447 (package--list-packages): Create the *Packages* buffer.
5448 Set package-menu-package-list-key.
5449 (list-packages): Sorting by status is now the default.
5450 (package-buffer-info): Use match-string-no-properties.
5451 (define-package): Add a &rest argument for future proofing, but
5453 (package-install-from-buffer, package-install-buffer-internal):
5454 Merge into a single function, package-install-from-buffer.
5455 (package-install-file): Change caller.
5457 * finder.el: Load finder-inf using `require'.
5458 (finder-list-matches): Sorting by status is now the default.
5459 (finder-compile-keywords): Simpify printing.
5461 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5463 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5464 (octave-mode-map): Remove special bindings for forward/backward-block
5465 and octave-backward-up-block. Use smie-close-block.
5466 (octave-continuation-marker-regexp): New var.
5467 (octave-continuation-regexp): Use it.
5468 (octave-operator-table, octave-smie-op-levels)
5469 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5470 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5471 (octave-mode): Use SMIE.
5472 (octave-close-block): Delete.
5474 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5476 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5477 CLIPBOARD, not in PRIMARY. (Bug#6944)
5479 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5481 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5483 (smie-indent-column): Allow indirection through variables.
5485 * composite.el (save-buffer-state): Delete, unused.
5486 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5487 (font-lock-default-fontify-region): Use with-syntax-table.
5488 * jit-lock.el (with-buffer-unmodified): Remove.
5489 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5491 Use `declare' in defmacros.
5492 * window.el (save-selected-window):
5493 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5494 * progmodes/python.el (def-python-skeleton):
5495 * net/dbus.el (dbus-ignore-errors):
5496 * jka-cmpr-hook.el (with-auto-compression-mode):
5497 * international/mule.el (with-category-table):
5498 * emacs-lisp/timer.el (with-timeout):
5499 * emacs-lisp/lisp-mnt.el (lm-with-file):
5500 * emacs-lisp/eieio.el (with-slots):
5501 * emacs-lisp/easymenu.el (easy-menu-define):
5502 * emacs-lisp/debug.el (debugger-env-macro):
5503 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5504 (Multiple-value-call, Multiple-value-prog1):
5505 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5506 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5507 edebug rule to definition.
5508 * emacs-lisp/lisp-mode.el (save-selected-window)
5509 (with-current-buffer, combine-after-change-calls)
5510 (with-output-to-string, with-temp-file, with-temp-buffer)
5511 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5512 (dolist, dotimes, when, unless):
5513 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5515 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5517 * finder.el: Require `package'.
5518 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5519 (finder-package-info): Var deleted.
5520 (finder-keywords-hash, finder--builtins-alist): New vars.
5521 (finder-compile-keywords): Compute package--builtins and
5522 finder-keywords-hash instead of finder-keywords-hash, respecting
5523 the "Package" header.
5524 (finder-unknown-keywords, finder-list-matches):
5525 Use finder-keywords-hash and package--list-packages.
5526 (finder-mode): Don't set font-lock-defaults.
5527 (finder-exit): We don't use "*Finder-package*" and "*Finder
5528 Category*" buffers anymore.
5530 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5531 (package--builtins): Set default value to nil.
5532 (package-initialize): Load precomputed value of package--builtins
5534 (package-alist, package-compute-transaction)
5535 (package-download-transaction): Improve docstring.
5536 (package-read-all-archive-contents): Do not change
5537 package--builtins here.
5538 (list-packages): Make package-list-packages an alias for this.
5539 Sort by status by default.
5540 (package--list-packages): Add optional PACKAGES arg.
5541 (describe-package-1): Use font-lock-face property. For built-in
5542 packages, insert file commentary.
5543 (package--generate-package-list): Rename from
5544 package-list-packages-internal; all callers changed. Add optional
5545 PACKAGES arg. Add alphabetical sort fallbacks.
5546 (package-menu--version-predicate, package-menu--status-predicate)
5547 (package-menu--description-predicate)
5548 (package-menu--name-predicate): New functions.
5550 * info.el (Info-finder-find-node): Search package-alist instead of
5551 finder-package-info.
5553 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5555 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5557 (version-to-list): Handle versions like "10.3d".
5559 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5561 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5562 (macroexp-accumulate): Use `declare'.
5564 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5566 * whitespace.el (whitespace-style): Adjust type declaration.
5568 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5570 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5571 empty argument to gvfs-copy.
5573 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5575 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5576 handle new TRASH arg of `delete-file'.
5578 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5580 * net/tramp.el (tramp-handle-insert-directory): Don't use
5581 `forward-word', its default syntax could be changed.
5583 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5584 Michael Albinus <michael.albinus@gmx.de>
5586 Implement compression for inline methods.
5588 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5589 (tramp-copy-size-limit): Allow also nil.
5590 (tramp-inline-compress-commands): New defconst.
5591 (tramp-find-inline-compress, tramp-get-inline-compress)
5592 (tramp-get-inline-coding): New defuns.
5593 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5594 replaced by `tramp-get-inline-coding'.
5595 (tramp-handle-file-local-copy, tramp-handle-write-region)
5596 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5598 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5600 Detect ssh 'ControlMaster' argument automatically in some cases.
5602 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5603 (tramp-default-method): Use it.
5605 2010-08-26 Karel Klíč <kklic@redhat.com>
5607 * net/tramp.el (tramp-file-name-for-operation):
5608 Add file-selinux-context.
5610 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5612 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5614 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5616 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5619 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5621 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5622 (js-paren-indent-offset, js-square-indent-offset)
5623 (js-curly-indent-offset): New options.
5624 (js--proper-indentation): Use them.
5626 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5628 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5629 instead of inspecting font-lock properties (Bug#6916).
5631 2010-08-26 David Reitter <david.reitter@gmail.com>
5633 * server.el (server-visit-files): Run pre-command-hook and
5634 post-command-hook for each buffer while it is current (Bug#6910).
5635 (server-execute): Do not run hooks here.
5637 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5639 Sync with Tramp 2.1.19.
5641 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5642 (tramp-reporter-dump-variable, tramp-load-report-modules)
5643 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5644 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5646 * net/tramp-compat.el (top): Do not autoload
5647 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5648 only when `start-file-process' is not bound.
5649 (byte-compile-not-obsolete-vars): Define if not bound.
5650 (tramp-compat-funcall): New defmacro.
5651 (tramp-compat-line-beginning-position)
5652 (tramp-compat-line-end-position)
5653 (tramp-compat-temporary-file-directory)
5654 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5655 (tramp-compat-copy-file, tramp-compat-copy-directory)
5656 (tramp-compat-delete-file, tramp-compat-delete-directory)
5657 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5659 (tramp-advice-file-expand-wildcards): Do not use
5660 `tramp-handle-file-remote-p'.
5661 (tramp-compat-make-temp-file): Simplify fallback implementation.
5662 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5663 (tramp-compat-copy-tree): Remove function.
5664 (tramp-compat-delete-file): New defun.
5665 (tramp-compat-delete-directory): Provide implementation for older
5667 (tramp-compat-file-attributes): Handle only
5668 `wrong-number-of-arguments' error.
5670 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5671 Add PRESERVE_SELINUX_CONTEXT.
5672 (tramp-fish-handle-delete-file): Add TRASH arg.
5673 (tramp-fish-handle-directory-files-and-attributes):
5674 Do not use `tramp-fish-handle-file-attributes.
5675 (tramp-fish-handle-file-local-copy)
5676 (tramp-fish-handle-insert-file-contents)
5677 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5679 * net/tramp-gvfs.el (top): Require url-util.
5680 (tramp-gvfs-mount-point): Remove.
5681 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5682 and `set-file-selinux-context'.
5683 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5684 (tramp-gvfs-handle-file-selinux-context)
5685 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5686 (with-tramp-dbus-call-method): Format trace message.
5687 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5688 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5689 Implement backup call, when operation on local files fails.
5690 Use progress reporter. Flush properties of changed files.
5691 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5692 Use `tramp-compat-delete-file'.
5693 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5694 (tramp-gvfs-handle-make-directory): Make more traces.
5695 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5696 (tramp-gvfs-url-file-name): Hexify file name in url.
5697 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5698 into account for the resulting file name.
5699 (tramp-gvfs-handler-askquestion): Preserve current message, in
5700 order to let progress reporter continue afterwards. (Bug#6257)
5701 Return dummy mountpoint, when the answer is "no".
5702 See `tramp-gvfs-maybe-open-connection'.
5703 (tramp-gvfs-handler-mounted-unmounted)
5704 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5705 attribute "default_location". Set "prefix" property.
5706 Handle default-location.
5707 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5708 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5709 exists. Raise an error, if not (due to a corresponding answer
5710 "no" in interactive questions, for example).
5711 Use `tramp-compat-funcall'.
5713 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5714 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5715 (tramp-imap-do-copy-or-rename-file)
5716 (tramp-imap-handle-insert-file-contents)
5717 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5718 (tramp-imap-handle-delete-file): Add TRASH arg.
5720 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5721 Add PRESERVE-SELINUX-CONTEXT.
5722 (tramp-smb-handle-copy-file)
5723 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5724 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5725 Use `with-progress-reporter'.
5726 (tramp-smb-handle-delete-file): Add TRASH arg.
5728 * net/tramp.el (tramp-methods): Move hostname to the end in all
5729 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5731 (tramp-verbose): Describe verbose level 9.
5732 (tramp-completion-function-alist)
5733 (tramp-file-name-regexp, tramp-chunksize)
5734 (tramp-local-coding-commands, tramp-remote-coding-commands)
5735 (with-connection-property, tramp-completion-mode-p)
5736 (tramp-action-process-alive, tramp-action-out-of-band)
5737 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5738 (tramp-exists-file-name-handler): Fix docstring.
5739 (tramp-remote-process-environment): Use `format' instead of
5740 `concat'. Protect version string by apostroph.
5741 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5743 (tramp-file-name-regexp-unified)
5744 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5745 not regard the volume letter as remote filename. (Bug#5447)
5746 (tramp-perl-file-attributes)
5747 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5748 (tramp-vc-registered-read-file-names): Read input as
5749 here-document, otherwise the command could exceed maximum length
5751 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5752 `set-file-selinux-context'.
5753 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5754 backtrace functions.
5755 (tramp-error-with-buffer): Don't show the connection buffer when
5756 we are in completion mode.
5757 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5758 (tramp-handle-file-selinux-context)
5759 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5760 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5762 (with-progress-reporter): New defmacro.
5763 (tramp-debug-outline-regexp): New defconst.
5764 (top, tramp-rfn-eshadow-setup-minibuffer)
5765 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5766 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5767 (tramp-completion-mode-p, tramp-check-for-regexp)
5768 (tramp-open-connection-setup-interactive-shell)
5769 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5770 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5771 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5772 Use `tramp-compat-funcall'.
5773 (tramp-handle-make-symbolic-link): Flush file properties.
5774 (tramp-handle-load, tramp-handle-file-local-copy)
5775 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5776 (tramp-handle-vc-registered, tramp-maybe-send-script)
5777 (tramp-find-shell): Use `with-progress-reporter'.
5778 (tramp-do-file-attributes-with-stat): Add space in format string,
5779 in order to work around a bug in pdksh. Reported by Gilles Pion
5781 (tramp-handle-verify-visited-file-modtime): Do not send a command
5782 when the connection is not established.
5783 (tramp-handle-set-file-times): Simplify the check for utc.
5784 (tramp-handle-directory-files-and-attributes)
5785 (tramp-get-remote-path): Use `copy-tree'.
5786 (tramp-completion-handle-file-name-all-completions): Ensure, that
5787 non remote files are still checked. Oops.
5788 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5789 Handle PRESERVE-SELINUX-CONTEXT.
5790 (tramp-do-copy-or-rename-file): Add progress reporter.
5791 (tramp-do-copy-or-rename-file-directly): Do not use
5792 `tramp-handle-file-remote-p'.
5793 (tramp-do-copy-or-rename-file-out-of-band):
5794 Use `tramp-compat-delete-directory'.
5795 (tramp-do-copy-or-rename-file-out-of-band)
5796 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5797 Use `format-spec-make'.
5798 (tramp-handle-delete-file): Add TRASH arg.
5799 (tramp-handle-dired-uncache): Flush directory cache, not only file
5801 (tramp-handle-expand-file-name)
5802 (tramp-completion-handle-file-name-all-completions)
5803 (tramp-completion-handle-file-name-completion):
5804 Use `tramp-connectable-p'.
5805 (tramp-handle-start-file-process): Set connection property "vec".
5806 Use it, in order to invalidate file caches. Check only for
5807 `remote-tty' process property.
5808 Implement tty setting. (Bug#4604, Bug#6360)
5809 (tramp-file-name-for-operation): Add `call-process-region' and
5810 `set-file-selinux-context'.
5811 (tramp-find-foreign-file-name-handler)
5812 (tramp-advice-make-auto-save-file-name)
5813 (tramp-set-auto-save-file-modes): Remove superfluous check for
5814 `stringp'. This is done inside `tramp-tramp-file-p'.
5815 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5816 operations when we are in completion mode. This gives the user
5817 the chance to correct the file name in the minibuffer.
5818 (tramp-completion-mode-p): Use `non-essential'.
5819 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5820 compatibility: Use `completion-ignore-case' if
5821 `read-file-name-completion-ignore-case' does not exist.
5822 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5823 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5825 (tramp-action-password): Hide password prompt before next run.
5826 (tramp-process-actions): Widen connection buffer for the trace.
5827 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5828 process property. Trace stty settings if `tramp-verbose' >= 9.
5829 Apply workaround for IRIX64 bug. Move argument of last
5830 `tramp-send-command' where it belongs to.
5831 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5832 front of `login-args'.
5833 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5834 on "/dev/null" instead of "/".
5835 (tramp-get-ls-command-with-dired): Make test for "--dired"
5837 (tramp-set-auto-save-file-modes): Adapt version check.
5838 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5839 (tramp-handle-process-file): Call the program in a subshell, in
5840 order to preserve working directory.
5841 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5842 `tramp-remote-sh' from `tramp-methods'.
5843 (tramp-get-ls-command): Make test for "--color=never" stronger.
5844 (tramp-check-for-regexp): Use (forward-line 1).
5846 * net/trampver.el: Update release number.
5848 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5850 * help.el (help-map): Bind `C-h P' to describe-package.
5852 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5854 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5855 when downloading archives.
5856 (describe-package-1): Add package commentary.
5857 (package-install-button-action): New function.
5858 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5859 (package-menu-view-commentary): Function removed.
5860 (package-list-packages-internal): Hide the `package' package too.
5862 2010-08-25 Kenichi Handa <handa@m17n.org>
5864 * language/misc-lang.el ("Arabic"): New language environment.
5865 Setup composition-function-table for Arabic characters.
5867 * international/fontset.el (setup-default-fontset): Fix typo for
5868 arabic OTF spec (fini->fina).
5870 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5872 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5875 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5877 * whitespace.el: Allow cleaning up blanks without blank
5878 visualization (Bug#6651). Adjust help window for
5879 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5880 instead of whitespace-line-column (from EmacsWiki). New version
5882 (whitespace-style): Add new value 'face. Adjust docstring.
5883 (whitespace-space, whitespace-hspace, whitespace-tab):
5884 Adjust foreground property face.
5885 (whitespace-line-column): Adjust docstring and type declaration.
5886 (whitespace-style-value-list, whitespace-toggle-option-alist)
5887 (whitespace-help-text): Adjust const initialization.
5888 (whitespace-toggle-options, global-whitespace-toggle-options):
5890 (whitespace-display-window, whitespace-interactive-char)
5891 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5892 (whitespace-help-scroll): New fun.
5894 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5896 * emacs-lisp/package.el (list-packages): Alias for
5897 package-list-packages.
5899 2010-08-24 Kevin Ryde <user42@zip.com.au>
5901 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5904 * progmodes/ruby-mode.el (ruby): Add defgroup.
5906 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5908 * progmodes/python.el: Add Ipython support (Bug#5390).
5909 (python-shell-prompt-alist)
5910 (python-shell-continuation-prompt-alist): New options.
5911 (python--set-prompt-regexp): New function.
5912 (inferior-python-mode, run-python, python-shell):
5913 Require ansi-color. Use python--set-prompt-regexp to set the comint
5914 prompt based on the Python interpreter.
5915 (python--prompt-regexp): New var.
5916 (python-check-comint-prompt)
5917 (python-comint-output-filter-function): Use it.
5918 (run-python): Use a pipe (Bug#5694).
5920 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5922 * progmodes/python.el (python-send-region): Send a different
5923 Python command if Ipython is in use.
5924 (python-check-version): Use a Python command to find the version.
5926 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5928 * mouse.el (mouse-yank-primary): Avoid setting primary when
5929 deactivating the mark (Bug#6872).
5931 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5933 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5934 with "else" (Bug#3991).
5936 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5938 * net/dbus.el: Accept UNIX domain sockets as bus address.
5939 (top): Don't initialize `dbus-registered-objects-table' anymore,
5940 this is done in dbusbind,c.
5941 (dbus-check-event): Adapt test for bus.
5942 (dbus-return-values-table, dbus-unregister-service)
5943 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5946 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5948 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5950 2010-08-22 Juri Linkov <juri@jurta.org>
5952 * simple.el (read-extended-command): New function with the logic
5953 for `completing-read' moved to Elisp from `execute-extended-command'.
5954 Use `function-called-at-point' in `minibuffer-default-add-function'
5955 to get a command name for M-n (bug#5364, bug#5214).
5957 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5959 * startup.el (command-line-1): Issue warning for ignored arguments
5960 --unibyte, etc (Bug#6886).
5962 2010-08-22 Leo <sdl.web@gmail.com>
5964 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5965 (ignore, bright, dim, keyword): Split list of nicknames before
5966 passing to rcirc-add-or-remove (Bug#6894).
5968 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5970 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5972 2010-08-22 Leo <sdl.web@gmail.com>
5974 Fix buffer-list rename&refresh after killing a buffer in ido.
5975 * ido.el: Revert Óscar's.
5976 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5977 Remember the buffers at head, rather than their name.
5978 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5980 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5981 Stefan Monnier <monnier@iro.umontreal.ca>
5983 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5984 extra backslash added to each line (bug#6890).
5986 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5988 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5990 2010-08-22 Glenn Morris <rgm@gnu.org>
5992 * menu-bar.el (menu-bar-games-menu): Add landmark.
5994 2010-08-22 Glenn Morris <rgm@gnu.org>
5996 * align.el (align-regexp): Make group and spacing arguments
5997 use the interactive defaults when non-interactive. (Bug#6698)
5999 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6000 expansion, so as not to need sendmail.
6001 (mail-text-start): Remove declaration.
6002 (rmail-retry-failure): Require sendmail.
6004 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6006 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6008 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6010 * progmodes/flymake.el (flymake-start-syntax-check-process):
6011 Use `start-file-process' in order to let it run also on remote hosts.
6013 2010-08-22 Kenichi Handa <handa@m17n.org>
6015 * files.el: Add `word-wrap' as safe local variable.
6017 2010-08-22 Glenn Morris <rgm@gnu.org>
6019 * woman.el (woman-translate): Case matters. (Bug#6849)
6021 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6023 * simple.el (kill-region): Doc fix (Bug#6787).
6025 2010-08-22 Glenn Morris <rgm@gnu.org>
6027 * calendar/diary-lib.el (diary-header-line-format):
6028 Fit it to the window, not the frame.
6030 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6032 * subr.el (ignore-errors): Add debug declaration.
6034 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6036 * whitespace.el (whitespace-color-off): Remove post-command-hook
6039 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6043 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6045 * cus-edit.el (custom-group-value-create): Add extra newline
6046 before end line (Bug#6876).
6048 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6050 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6051 when extending it. Before killing on the second click, check if
6052 the buffer is the correct one. Doc fix.
6053 (mouse-secondary-save-then-kill): Allow usage without first
6054 calling mouse-start-secondary, by defaulting to point. Don't save
6055 an empty secondary selection. Doc fix.
6057 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6059 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6060 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6062 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6063 Adjust initialization.
6064 (whitespace-bob-marker, whitespace-eob-marker)
6065 (whitespace-buffer-changed): New vars.
6066 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6067 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6068 (whitespace-post-command-hook, whitespace-display-char-on):
6070 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6071 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6073 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6075 * files.el (locate-file-completion-table): Only list the .el and .elc
6076 extensions if there's no other choice (bug#5955).
6078 * facemenu.el (facemenu-self-insert-data): New var.
6079 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6081 (facemenu-add-face): Use them.
6083 * simple.el (blink-matching-open): Obey forward-sexp-function.
6085 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6087 * simple.el (prog-mode-map): New var.
6088 (prog-indent-sexp): New command.
6090 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6092 * progmodes/prolog.el (smie): Require.
6094 * emacs-lisp/smie.el (smie-default-backward-token)
6095 (smie-default-forward-token): Strip properties.
6096 (smie-next-sexp): Be more careful with associative operators.
6097 (smie-forward-sexp-command): Generalize.
6098 (smie-backward-sexp-command): Simplify.
6099 (smie-closer-alist): New var.
6100 (smie-close-block): New command.
6101 (smie-indent-debug-log): New var.
6102 (smie-indent-offset-rule): Add a few more cases.
6103 (smie-indent-column): New function.
6104 (smie-indent-after-keyword): Use it.
6105 (smie-indent-keyword): Use it.
6106 Fix up the opener code's point position.
6107 (smie-indent-comment): Only applies at BOL.
6108 (smie-indent-debug): New command.
6110 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6111 declarations that are useful before running the macro.
6113 2010-08-18 Joakim Verona <joakim@verona.se>
6115 * image.el (imagemagick-types-inhibit): New variable.
6116 (imagemagick-register-types): New function.
6117 * image-mode.el (image-transform-properties): New function.
6118 (image-transform-set-scale, image-transform-fit-to-height)
6119 (image-transform-set-rotation, image-transform-set-resize)
6120 (image-transform-fit-to-width, image-transform-fit-to-height):
6122 (image-toggle-display-image): Support image transforms.
6124 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6126 * image.el (create-animated-image): Don't add heuristic mask to image
6129 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6131 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6132 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6134 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6136 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6138 Font-lock '...' strings, plus various simplifications and fixes.
6139 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6140 (octave-font-lock-close-quotes): New function.
6141 (octave-font-lock-syntactic-keywords): New var.
6142 (octave-mode): Use it. Set beginning-of-defun-function.
6143 (octave-mode-map): Don't override the <foo>-defun commands.
6144 (octave-mode-menu): Pass it directly to easy-menu-define;
6145 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6146 (octave-block-match-alist): Fix up last change so that
6147 octave-close-block uses the more specific keyword.
6148 (info-lookup-mode): Silence byte-compiler.
6149 (octave-beginning-of-defun): Not interactive any more.
6151 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6152 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6153 (octave-completion-at-point-function): Make sure point is within
6155 (octave-reindent-then-newline-and-indent):
6156 Use reindent-then-newline-and-indent.
6157 (octave-add-octave-menu): Remove.
6159 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6161 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6162 (report-emacs-bug-can-use-xdg-email): New functions.
6163 (report-emacs-bug): Set can-xdg-email to result of
6164 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6165 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6168 * net/browse-url.el (browse-url-default-browser): Add cond
6169 for browse-url-xdg-open.
6170 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6172 2010-08-17 Glenn Morris <rgm@gnu.org>
6174 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6175 (c-fontify-recorded-types-and-refs): Define for compiler.
6176 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6179 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6182 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6184 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6186 (tramp-handle-process-file): Call the program in a subshell, in
6187 order to preserve working directory.
6188 (tramp-action-password): Hide password prompt before next run.
6189 (tramp-process-actions): Widen connection buffer for the trace.
6191 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6193 * net/rcirc.el (rcirc-log-process-buffers): New option.
6194 (rcirc-print): Use it.
6195 (rcirc-generate-log-filename): New function.
6196 (rcirc-log-filename-function): Change default to
6197 rcirc-generate-log-filename (Bug#6828).
6199 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6201 * simple.el (deactivate-mark): If select-active-regions is `only',
6202 only set selection for temporarily active regions.
6204 * cus-start.el: Change defcustom for select-active-regions.
6206 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6208 * mouse.el (mouse--drag-set-mark-and-point): New function.
6209 (mouse-drag-track): Use LOCATION arg to push-mark.
6210 Use mouse--drag-set-mark-and-point to take click-count into
6211 consideration when updating point and mark (Bug#6840).
6213 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6215 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6216 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6218 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6220 * font-lock.el (lisp-font-lock-keywords-2):
6221 Add combine-after-change-calls, condition-case-no-debug,
6222 with-demoted-errors, and with-silent-modifications (Bug#6025).
6224 2010-08-14 Kevin Ryde <user42@zip.com.au>
6226 * emacs-lisp/copyright.el (copyright-update-year)
6227 (copyright-update): Temporary switch-to-buffer to ensure the
6228 buffer change being queried is visible (Bug#5394).
6230 2010-08-14 Tom Tromey <tromey@redhat.com>
6232 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6235 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6237 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6240 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6242 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6243 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6244 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6245 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6246 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6247 Call menu-bar-set-tool-bar-position.
6249 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6251 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6252 comment style (bug#6834).
6253 * progmodes/scheme.el (scheme-mode-syntax-table):
6254 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6255 "b" flag in "' 14b" syntax.
6257 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6258 for (un)commenting the region and performing completion.
6259 (octave-mode-menu): Use standard commands for help and completion.
6260 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6261 (octave-mode): Use define-derived-mode.
6262 Set completion-at-point-functions and don't set columns.
6263 Don't disable adaptive-fill-regexp.
6264 (octave-describe-major-mode, octave-comment-region)
6265 (octave-uncomment-region, octave-comment-indent)
6266 (octave-indent-for-comment): Remove.
6267 (octave-indent-calculate): Rename from calculate-octave-indent.
6268 (octave-indent-line, octave-fill-paragraph): Update caller.
6269 (octave-initialize-completions): No need to make an alist.
6270 (octave-completion-at-point-function): New function.
6271 (octave-complete-symbol): Use it.
6272 (octave-insert-defun): Use define-skeleton.
6274 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6275 (octave-mode-map): Use comment-dwim (bug#6829).
6277 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6279 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6280 indentation of inserted comment.
6282 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6284 * faces.el (region): Add type gtk that uses gtk colors.
6286 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6287 Handle theme-name change.
6289 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6291 * progmodes/sql.el: Version 2.5
6292 (sql-product-alist): Add :prompt-cont-regexp property for several
6294 (sql-prompt-cont-regexp): New variable.
6295 (sql-output-newline-count, sql-output-by-send):
6296 New variables. Record number of newlines in input text.
6297 (sql-send-string): Handle multiple filters and count newlines.
6298 (sql-send-magic-terminator): Count terminator newline.
6299 (sql-interactive-remove-continuation-prompt): Filters output to
6300 remove continuation prompts; one for each newline.
6301 (sql-interactive-mode): Set up new variables, prompt regexp and
6303 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6304 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6306 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6308 * emacs-lisp/pcase.el: New file.
6310 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6312 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6313 as here-document, otherwise the command could exceed maximum
6314 length of command line.
6315 (tramp-handle-vc-registered): Call script accordingly.
6316 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6318 2010-08-10 Kenichi Handa <handa@m17n.org>
6320 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6323 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6325 * emacs-lisp/package.el (package-version-split)
6326 (package--version-first-nonzero, package-version-compare):
6328 (package-directory-list, package-load-all-descriptors)
6329 (package--built-in, package-activate, define-package)
6330 (package-installed-p, package-compute-transaction)
6331 (package-read-all-archive-contents)
6332 (package--add-to-archive-contents, package-buffer-info)
6333 (package-tar-file-info, package-list-packages-internal):
6334 Use version-to-list and version-list-*.
6336 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6337 Use version-to-list.
6338 (package-upload-buffer-internal): Use version-list-<=.
6340 2010-08-09 Kenichi Handa <handa@m17n.org>
6342 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6345 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6347 * tutorial.el (tutorial--default-keys): C-d is now bound to
6348 delete-forward-char (Bug#6826).
6350 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6351 for `double' value of mouse-1-click-follows-link (Bug#6807).
6353 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6355 * replace.el (replace-highlight): Bind isearch-forward and
6356 isearch-error, ensuring that highlighting is updated if the user
6357 switches the search direction (Bug#6808).
6359 * isearch.el (isearch-lazy-highlight-forward): New var.
6360 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6361 (isearch-lazy-highlight-update): Use it.
6363 2010-08-08 Kenichi Handa <handa@m17n.org>
6365 * international/mule.el (define-charset): Store NAME as :base property.
6366 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6367 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6368 current priority. Force using the designation of the specific
6369 charset by adding `charset' text property. Improve the whole algorithm.
6371 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6373 * emulation/pc-select.el (pc-selection-mode-hook)
6374 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6375 (pc-selection-mode): Fix typos in docstrings.
6377 2010-08-08 Kenichi Handa <handa@m17n.org>
6379 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6380 ctext-non-standard-encodings-alist here.
6382 * international/mule.el (ctext-non-standard-encodings-alist):
6383 Add "koi8-r" and "microsoft-cp1251".
6384 (ctext-standard-encodings): New variable.
6385 (ctext-non-standard-encodings-table): List only elements for
6386 non-standard encodings.
6387 (ctext-pre-write-conversion): Adjust for the above change.
6388 Check ctext-standard-encodings.
6390 * international/mule-conf.el (compound-text): Doc fix.
6391 (ctext-no-compositions): Doc fix.
6392 (compound-text-with-extensions): Doc fix.
6394 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6396 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6398 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6400 * progmodes/which-func.el (which-func-format): Split help-echo text
6401 into lines, like other mode-line tooltips.
6403 * server.el (server-start): When using TCP sockets, force IPv4
6404 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6406 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6408 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6410 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6412 * term.el (term-delimiter-argument-list): Reflow docstring.
6413 (term-read-input-ring, term-write-input-ring, term-send-input)
6414 (term-bol, term-erase-in-display, serial-supported-or-barf):
6415 Fix typos in docstrings.
6417 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6419 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6421 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6423 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6425 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6427 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6428 Fix typo in docstring (bug#6747).
6430 2010-08-08 Leo <sdl.web@gmail.com>
6432 * eshell/esh-io.el (eshell-get-target): Better detection of
6433 read-only file (Bug#6762).
6435 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6437 * align.el (align-default-spacing): Doc fix.
6438 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6440 2010-08-08 Stephen Peters <speters@itasoftware.com>
6442 * calendar/icalendar.el
6443 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6444 (icalendar--get-weekday-numbers): New.
6445 (icalendar--convert-recurring-to-diary): Handle multiple byday
6446 values in weekly rules. (Bug#6766)
6448 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6450 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6451 (icalendar--create-uid, icalendar-export-region)
6452 (icalendar--parse-summary-and-rest): Code formatting.
6454 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6456 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6457 to italicize headers.
6458 (calc-highlight-selections-with-faces): New variable.
6459 (calc-selected-face, calc-nonselected-face): New faces.
6461 * calc/calccomp.el (math-comp-highlight-string): Use
6462 `calc-highlight-selections-with-faces' to determine how to highlight
6465 * calc/calc-sel.el (calc-show-selections): Change message to when
6466 using faces to highlight selections.
6468 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6470 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6471 Add SQLite 3 keywords, functions and datatypes.
6472 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6475 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6477 * simple.el (select-active-regions): Move to keyboard.c.
6478 (deactivate-mark): Used saved-region-selection.
6479 (select-active-region): Function removed.
6480 (activate-mark, set-mark, push-mark-command)
6481 (handle-shift-selection): Don't call it.
6482 (keyboard-quit): Avoid adding the region to the window selection.
6484 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6485 select-active-regions implementation.
6486 (mouse-yank-at-click): Doc fix.
6488 * cus-start.el: Add custom declaration for select-active-regions.
6490 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6492 * simple.el (delete-forward-char): Doc fix.
6494 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6495 after reading the tutorial.
6497 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6499 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6500 Fix for the case that a C style comment has its delimiters alone on
6501 their respective lines.
6503 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6505 * net/tramp.el (tramp-handle-start-file-process): Set connection
6507 (tramp-process-sentinel): Use it for flushing the cache.
6508 We cannot do it via the process buffer, the buffer could be deleted
6509 already when running the sentinel.
6511 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6513 * comint.el (comint-mode): Make directory tracking functions
6514 functional on remote files. (Bug#6764)
6516 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6518 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6520 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6522 * emacs-lisp/find-gc.el (find-gc-source-files):
6523 Rename unexec.c => unexcoff.c.
6525 * emacs-lisp/authors.el (authors-fixed-entries):
6526 Rename unexec.c => unexcoff.c.
6528 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6530 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6531 cache, not only file cache.
6532 (tramp-process-sentinel): New defun.
6533 (tramp-handle-start-file-process): Use it, in order to invalidate
6536 2010-08-03 Leo <sdl.web@gmail.com>
6538 * server.el (server-start): Simplify loop.
6540 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * frame.el (screen-height, screen-width, set-screen-width)
6543 (set-screen-height): Remove ancient compatibility aliases.
6545 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6546 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6548 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6549 that change current buffer.
6551 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6553 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6554 beginning of the string. Use `string-match-p'. (Bug#6765)
6556 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6558 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6560 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6562 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6563 (package--builtins): Tweak descriptions.
6564 (package-print-package): Upcase descriptions if necessary.
6565 Show all built-in packages in font-lock-builtin-face.
6566 (package-list-packages-internal): Omit "emacs" package.
6567 Show status of built-in packages as "built-in".
6569 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6571 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6572 before killing to preserve the primary selection (Bug#6701).
6574 * term/x-win.el (x-select-text): Doc fix.
6576 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6578 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6579 (objc-font-lock-extra-types):
6580 * progmodes/cc-mode.el (c-basic-common-init):
6581 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6582 (c++-make-template-syntax-table)
6583 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6584 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6585 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6586 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6587 * progmodes/cc-fonts.el (c-make-inverse-face)
6588 (c-basic-matchers-after):
6589 * progmodes/cc-engine.el (c-forward-keyword-clause)
6590 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6591 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6592 (c-guess-continued-construct, c-guess-basic-syntax):
6593 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6594 The above functions were modified or created.
6596 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6598 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6600 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6602 * files.el (bidi-paragraph-direction): Define safe local values.
6604 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6605 language-info-alist. Remove outdated FIXME in a comment.
6607 2010-07-31 Alan Mackenzie <acm@muc.de>
6609 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6610 Auto-fill broken in C/C++ modes.
6612 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6614 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6615 (menu-bar-showhide-tool-bar-menu-customize-disable)
6616 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6617 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6618 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6619 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6620 make a menu for Options => toolbar that can move it.
6622 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6624 * emacs-lisp/package-x.el (package--make-rss-entry):
6625 (package-maint-add-news-item, package--update-news)
6626 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6628 * emacs-lisp/package.el (package-archive-url): Rename from
6630 (package-install): Doc fix.
6631 (package-download-single, package-download-tar, package-install)
6632 (package-menu-view-commentary): Callers changed.
6634 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6636 * net/tramp.el (tramp-handle-start-file-process): Check only for
6637 `remote-tty' process property.
6638 (tramp-open-shell): Don't check for tty.
6639 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6642 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6645 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6647 * emacs-lisp/package.el (package-load-list, package-archives)
6648 (package-archive-contents, package-user-dir)
6649 (package-directory-list, package--builtins, package-alist)
6650 (package-activated-list, package-obsolete-alist): Mark as risky.
6652 2010-07-28 Phil Hagelberg <phil@evri.com>
6654 Add support for non-default package repositories.
6655 * emacs-lisp/package.el (package-archive-base): Var deleted.
6656 (package-archives): New variable.
6657 (package-archive-contents): Doc fix.
6658 (package-load-descriptor): Do nothing if descriptor file is missing.
6659 (package--write-file-no-coding): New function.
6660 (package-unpack-single): Use it.
6661 (package-archive-id): New function.
6662 (package-download-single, package-download-tar)
6663 (package-menu-view-commentary): Use it.
6664 (package-installed-p): Make second argument optional.
6665 (package-read-all-archive-contents): New function.
6666 (package-initialize): Use it.
6667 (package-read-archive-contents): Add ARCHIVE argument.
6668 (package--add-to-archive-contents): New function.
6669 (package-install): Don't call package-read-archive-contents.
6670 (package--download-one-archive): Store archive file in a
6671 subdirectory of package-user-dir.
6672 (package-menu-execute): Remove spurious line movement.
6674 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6676 * cus-start.el (tool-bar-style): Add text-image-horiz.
6678 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6680 * progmodes/gud.el (gud-common-init): Check for remoteness of
6681 `file', and not of `default-directory'.
6683 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6685 * net/tramp.el (tramp-methods): Move hostname to the end in all
6686 ssh `tramp-login-args'.
6687 (tramp-verbose): Describe verbose level 9.
6688 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6689 (tramp-open-connection-setup-interactive-shell): Trace stty
6690 settings if `tramp-verbose' >= 9.
6691 (tramp-handle-start-file-process): Implement tty setting.
6692 (Bug#4604, Bug#6360)
6694 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6695 `tramp-verbose' to 9.
6697 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6699 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6700 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6701 Remove references to package `lisp-re' (bug#4369).
6703 2010-07-27 Tom Tromey <tromey@redhat.com>
6705 * progmodes/js.el (js-mode):
6706 * progmodes/make-mode.el (makefile-mode):
6707 * progmodes/simula.el (simula-mode):
6708 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6710 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6712 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6714 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6715 (display-time-world-buffer-name, display-time-world-mode-map):
6716 Fix typos in docstrings.
6718 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6720 * image-mode.el (image-display-size): New function.
6721 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6722 (image-mode-fit-frame): Use it (Bug#6639).
6724 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6726 * dired.el (dired-buffers-for-dir): Handle list values of
6727 dired-directory (Bug#6636).
6729 2010-07-26 Sam Steingold <sds@gnu.org>
6731 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6732 Do not call `x-get-selection' the second time, reuse the value.
6734 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6736 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6737 which consist of control chars only. Suggested by Richard Stallman.
6739 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6741 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6742 exists before passing an error to find-file-not-found-functions
6745 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6747 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6748 Remove leading nil element, adjust values.
6749 (tetris-shapes, tetris-shape-scores):
6750 Change representation of shapes and remove some redundancy.
6751 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6752 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6753 Adjust for working with new representation of shapes.
6754 (tetris-shape-rotations): New function.
6755 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6756 (tetris-rotate-prev, tetris-rotate-next):
6757 Adjust for working with the new version of tetris-test-shape.
6759 2010-07-23 Markus Triska <markus.triska@gmx.at>
6761 * progmodes/ps-mode.el: Use comint (bug#5954).
6762 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6763 (ps-mode-other-newline): Simplify.
6764 (ps-run-mode): Derive from comint-mode instead of
6765 fundamental-mode, yielding input history etc.
6766 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6767 (ps-run-send-string): Adapt for comint-mode.
6768 (ps-run-newline): Remove now unneeded function.
6770 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6772 * net/tramp.el (tramp-methods): Move hostname to the end in all
6773 plink `tramp-login-args'.
6775 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6777 * net/tramp.el (tramp-open-shell): New defun.
6778 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6781 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6783 * net/tramp.el (tramp-file-name-regexp-unified)
6784 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6785 not regard the volume letter as remote filename. (Bug#5447)
6787 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6789 * custom.el (custom-declare-variable): Give a clearer error message
6790 when the docstring is missing (bug#6476).
6792 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6794 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6795 (sql-login-params): New widget definition.
6796 (sql-oracle-login-params, sql-mysql-login-params)
6797 (sql-solid-login-params, sql-sybase-login-params)
6798 (sql-informix-login-params, sql-ingres-login-params)
6799 (sql-ms-login-params, sql-postgres-login-params)
6800 (sql-interbase-login-params, sql-db2-login-params)
6801 (sql-linter-login-params): Use it.
6802 (sql-sqlite-login-params): Use it; Define "database" parameter as
6804 (sql-sqlite-program): Change to "sqlite3".
6805 (sql-comint-sqlite): Make sure database name is complete.
6806 (sql-for-each-login): New function.
6807 (sql-connect, sql-save-connection): Use it.
6808 (sql-get-login-ext): New function.
6809 (sql-get-login): Use it.
6810 (sql-make-alternate-buffer-name): Handle :file parameters.
6812 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6814 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6815 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6817 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6819 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6821 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6823 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6825 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6827 * net/tramp.el (tramp-get-ls-command)
6828 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6831 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6833 * progmodes/sql.el: Version 2.3.
6834 (sql-connection-alist): Change keys from symbols to strings;
6835 enhanced the widget definition.
6836 (sql-mode-menu): Add submenu to select connections.
6837 (sql-interactive-mode-menu): Add "Save Connection" item.
6838 (sql-add-product): Fix menu item.
6839 (sql-get-product-feature): Improved error handling.
6840 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6841 (sql-make-alternate-buffer-name): Simplified.
6842 (sql-product-interactive): Handle missing product.
6843 (sql-connect): Support string keys, minor improvements.
6844 (sql-save-connection): New function.
6845 (sql-connection-menu-filter): New function.
6847 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6849 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6850 (tramp-open-connection-setup-interactive-shell):
6851 Apply workaround for IRIX64 bug. Move argument of last
6852 `tramp-send-command' where it belongs to.
6854 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6856 * net/tramp.el (tramp-perl-file-attributes)
6857 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6858 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6859 front of `login-args'.
6861 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6863 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6864 Set `show-trailing-whitespace' to nil.
6865 (display-time-world-display): Simplify.
6867 2010-07-18 Alan Mackenzie <acm@muc.de>
6869 Enhance `c-file-style' in file/directory local variables.
6870 * progmodes/cc-mode.el (c-count-cfss): New function.
6871 (c-before-hack-hook): Call `c-set-style' differently according to
6872 whether c-file-style was set in file or directory local
6875 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6877 * progmodes/sql.el: Version 2.2.
6878 (sql-product, sql-user, sql-database, sql-server, sql-port):
6879 Use defcustom :safe keyword rather than putting safe-local-variable
6881 (sql-password): Use defcustom :risky keyword rather than putting
6882 risky-local-variable property.
6883 (sql-oracle-login-params, sql-sqlite-login-params)
6884 (sql-solid-login-params, sql-sybase-login-params)
6885 (sql-informix-login-params, sql-ingres-login-params)
6886 (sql-ms-login-params, sql-postgres-login-params)
6887 (sql-interbase-login-params, sql-db2-login-params)
6888 (sql-linter-login-params): Add `port' option.
6889 (sql-get-product-feature): Add NO-INDIRECT parameter.
6890 (sql-comint-oracle, sql-comint-sybase)
6891 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6892 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6893 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6894 (sql-comint-linter): Rename sql-connect-* functions to
6896 (sql-product-alist, sql-mode-menu): Rename as above and
6897 :sqli-connect-func to :sqli-comint-func.
6898 (sql-connection): New variable.
6899 (sql-interactive-mode): Set it.
6900 (sql-connection-alist): New variable.
6901 (sql-connect): New function.
6902 (sql--alt-buffer-part, sql--alt-if-not-empty)
6903 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6905 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6907 * image-mode.el (image-bookmark-make-record): Do not set context
6908 in an image (Bug#6650).
6910 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6912 * simple.el (select-active-region): New function.
6913 (push-mark-command, set-mark, activate-mark)
6914 (handle-shift-selection): Use it.
6915 (deactivate-mark): Don't check for size of region.
6917 * mouse.el (mouse-drag-track): Use select-active-region.
6919 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6921 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6924 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6926 * term/x-win.el (x-select-enable-primary): Change default to nil.
6927 (x-select-enable-clipboard): Add :version keyword.
6929 * mouse.el (mouse-drag-copy-region):
6930 * simple.el (select-active-regions): Likewise.
6932 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6934 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6935 (vc-coding-system-for-diff): Use it to decide whether to inherit
6936 from the file the EOL format for reading the diffs of that file.
6939 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6941 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6942 unibyte, so compressed attachments are not compressed again.
6944 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6946 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6947 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6948 (tramp-find-shell): Simplify setting connection property.
6949 (tramp-get-ls-command): Make test for "--color=never" stronger.
6951 2010-07-15 Simon South <ssouth@member.fsf.org>
6953 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6954 blocks within record declarations (i.e. variant parts) correctly.
6956 2010-07-15 Simon South <ssouth@member.fsf.org>
6958 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6959 over literal tokens when parsing so newlines aren't "absorbed" by
6960 single-line comments. Corrects the indentation of case blocks
6961 that have a comment on the first line.
6963 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6965 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6966 by Drew Adams (Bug#5504).
6968 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6970 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6971 now that Unicode is used (Bug#6594).
6973 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6975 * term/x-win.el (x-select-enable-clipboard): Default to t.
6976 (x-initialize-window-system): Don't overwrite Paste menu item.
6978 * simple.el (select-active-regions): Default to t.
6979 (push-mark-command): Don't overwrite primary with empty string.
6981 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6982 (mouse-drag-copy-region): Default to nil.
6984 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6985 Cut/Copy/Paste menu bar items.
6987 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6989 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6990 Patch applied by Karl Fogel.
6992 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6993 and `bookmark-current-buffer' if they have been already set in
6994 another buffer (e.g gnus-art).
6996 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6997 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6999 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7001 * bookmark.el (bookmark-make-record-default): Allow unneeded
7002 information to be omitted from the record.
7004 Adjust declarations and calls:
7006 * info.el (bookmark-make-record-default): Adjust declaration.
7007 (Info-bookmark-make-record): Adjust call.
7009 * woman.el (bookmark-make-record-default): Adjust declaration.
7010 (woman-bookmark-make-record): Adjust call.
7012 * man.el (bookmark-make-record-default): Adjust declaration.
7013 (Man-bookmark-make-record): Adjust call.
7015 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7017 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7019 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7021 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7022 This is also from Thierry Volpiatto's patch in bug #6444. However,
7023 because it was extraneous to the functional change in that patch,
7024 and causes a re-indendation, I am committing it separately.
7026 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7028 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7029 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7030 Patch applied by Karl Fogel (Bug#6444).
7032 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7034 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7036 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7038 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7039 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7040 (ns-alternatives-map): Change S-tab binding to backtab
7043 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7046 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7048 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7051 * language/tv-util.el (tai-viet-re): Remove format.
7053 2010-07-12 Kenichi Handa <handa@m17n.org>
7055 * language/hebrew.el: Remove no-byte-compile declaration.
7056 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7057 composition-function-table for 3-character looking back.
7058 (hebrew-font-get-precomposed): New function.
7059 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7061 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7063 * mouse.el (mouse-drag-track): Handle select-active-regions
7066 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7068 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7069 empty argument to gvfs-copy.
7071 2010-07-10 Glenn Morris <rgm@gnu.org>
7073 * calendar/calendar.el (calendar-week-end-day): New function.
7074 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7075 Respect calendar-week-start-day. (Bug#6606)
7076 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7077 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7078 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7079 respect calendar-week-start-day.
7081 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7083 * simple.el (use-region-p): Doc fix (Bug#6607).
7085 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7087 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7088 Add regexps for cucumber and ruby.
7090 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7092 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7093 (epa-file-insert-file-contents): Hack to prevent
7094 find-file from opening empty buffer when decryption failed
7097 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7099 * textmodes/ispell.el (ispell-alternate-dictionary):
7100 Use file-readable-p.
7101 Return nil if no word-list is found at default locations.
7102 (ispell-complete-word-dict): Default to nil.
7103 (ispell-command-loop): Use 'word-list' when using lookup-words.
7104 (lookup-words): Use ispell-complete-word-dict or
7105 ispell-alternate-dictionary. Check for word-list availability
7106 and handle errors if needed with better messages (Bug#6539).
7107 (ispell-complete-word): Use ispell-complete-word-dict or
7108 ispell-alternate-dictionary.
7110 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7112 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7113 builtins (BufferError, BytesWarning, WindowsError; callables
7114 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7116 2010-07-07 Glenn Morris <rgm@gnu.org>
7118 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7119 (zone-shift-left): Ignore intangibility, and any errors from
7121 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7122 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7123 deleting, and copying text properties.
7124 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7125 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7126 to point-max is hard.
7127 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7128 (zone-fill-out-screen): Ignore intangibility.
7130 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7132 * menu-bar.el (menu-bar-mode):
7133 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7136 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7137 word/line selection (Bug#6565).
7139 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7141 * net/dbus.el (dbus-send-signal): Declare function.
7143 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7145 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7146 (dbus-register-property): New optional argument EMITS-SIGNAL.
7147 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7149 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7151 * mouse.el (mouse-drag-overlay): Variable deleted.
7152 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7153 (mouse--remap-link-click-p): New function.
7154 (mouse-drag-track): Handle dragging by using temporary Transient
7155 Mark mode, instead of a special overlay.
7156 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7159 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7162 2010-07-02 Juri Linkov <juri@jurta.org>
7164 * autoinsert.el (auto-insert-alist): Fix readability
7165 by using dotted pair notation for lambda.
7167 2010-07-02 Juri Linkov <juri@jurta.org>
7169 * faces.el (read-face-name): Rename arg `string-describing-default'
7170 to `default'. Doc fix. Display the default value in quotes
7171 in the prompt. With empty input, return the `default' arg,
7172 unless the default value is a string (in which case return nil).
7173 (describe-face): Replace the string `default' arg of `read-face-name'
7174 with the symbol `default'.
7176 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7178 * emulation/viper-cmd.el (viper-delete-backward-char)
7179 (viper-del-backward-char-in-insert)
7180 (viper-del-backward-char-in-replace, viper-change)
7181 (viper-backward-indent): Replace delete-backward-char with
7182 delete-char (Bug#6552).
7184 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7186 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7188 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7190 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7191 argument passed to frame-creation-function (Bug#5378).
7193 * faces.el (x-handle-named-frame-geometry)
7194 (x-handle-reverse-video, x-create-frame-with-faces)
7195 (face-set-after-frame-default, tty-create-frame-with-faces):
7196 Don't separately consult default-frame-alist. It is now passed as the
7199 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7201 * startup.el (command-line): Don't call tool-bar-setup in a
7204 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7206 * ruler-mode.el (ruler--save-header-line-format): New fun.
7207 (ruler-mode): Use it as a setter function, so as not to overwrite
7208 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7210 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7212 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7213 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7214 (vc-log-outgoing): Use it.
7215 (vc-diff-internal): Set diff-vc-backend.
7217 * vc/diff-mode.el (diff-vc-backend): New var.
7219 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7221 * dynamic-setting.el (font-setting-change-default-font):
7222 Remove call to message.
7224 2010-06-28 Kenichi Handa <handa@m17n.org>
7226 * international/quail.el (quail-insert-kbd-layout): Fix the
7227 showing of untranslated characters.
7229 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7231 * simple.el (delete-active-region): New option.
7232 (delete-backward-char): Implement in Lisp.
7233 (delete-forward-char): New command.
7235 * mouse.el (mouse-region-delete-keys): Deleted.
7236 (mouse-show-mark): Simplify.
7238 * bindings.el (global-map): Bind delete and DEL, the former to
7239 delete-forward-char.
7241 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7243 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7244 (ruby-mode): Bind indent-line-function (Bug#5119).
7246 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7248 * startup.el (command-line): Recognize "0" X resource value.
7250 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7252 * startup.el (command-line): Use X resources to set the value of
7253 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7255 * menu-bar.el (menu-bar-mode):
7256 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7257 Set init-value to t.
7259 * frame.el (frame-notice-user-settings): Don't change
7260 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7261 vice versa (Bug#2249).
7263 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7265 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7267 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7269 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7270 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7272 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7273 default directories are expanded (Bug#6143).
7275 2010-06-24 Juri Linkov <juri@jurta.org>
7277 * minibuffer.el (completions-format): Change default from nil to
7278 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7280 2010-06-24 Juri Linkov <juri@jurta.org>
7282 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7283 buffer-locally to lambda that re-runs the vc diff command.
7286 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7288 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7289 echo area is in use (Bug#3412).
7291 2010-06-22 Glenn Morris <rgm@gnu.org>
7293 * textmodes/texinfmt.el (texinfo-format-region)
7294 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7295 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7296 (texinfo-format-option, texinfo-noindent):
7297 Use line-beginning-position and line-end-position.
7299 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7300 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7301 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7304 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7306 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7307 forward-line fallout.
7309 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7311 * mouse.el (mouse-appearance-menu): Add docstring.
7313 * help.el (describe-key): Print up-event using key-description.
7315 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7317 * net/zeroconf.el (zeroconf-resolve-service)
7318 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7319 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7321 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7323 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7325 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7327 Avoid displaying files with a nil state in vc-dir.
7328 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7329 cases that cause insertion.
7330 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7333 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7335 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7337 2010-06-29 Leo <sdl.web@gmail.com>
7339 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7341 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7343 * generic-x.el (bat-generic-mode): Fix regexp for command line
7344 switches (Bug#5719).
7346 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7348 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7349 of nconc to avoid pure storage error (Bug#6239).
7351 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7353 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7354 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7355 bindings of bookmark-automatically-show-annotations (Bug#6515).
7357 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7359 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7360 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7362 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7364 * comint.el (make-comint, make-comint-in-buffer): Mention return
7365 value in the docstrings. (Bug#6498)
7367 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7369 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7370 since it is not present when using some non-default switches.
7372 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7374 * simple.el (compose-mail): Fix doc string to refer to
7375 `compose-mail-user-agent-warnings', instead of to the
7376 nonexistent `compose-mail-check-user-agent'.
7378 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7380 Fix an indentation bug:
7382 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7383 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7386 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7387 (c-clear->-pair-props-if-match-before): now return t when they've
7388 cleared properties, nil otherwise.
7389 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7390 by taking account of the existing value.
7392 * progmodes/cc-defs.el
7393 (c-clear-char-property-with-value-function): Fix this to clear the
7394 property rather than overwriting it with nil.
7396 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7398 * emacs-lisp/package.el (package-print-package): Add link to
7399 package description via describe-package.
7400 (describe-package-1): List package requirements. Add button to
7401 perform installation.
7402 (package-menu-describe-package): New command.
7404 * help-mode.el (help-package): New button type.
7406 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7408 * emacs-lisp/package.el: Move package-list-packages binding to
7410 (describe-package, describe-package-1, package--dir): New funs.
7411 (package-activate-1): Use package--dir.
7413 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7415 * help-mode.el (help-package-def): New button type.
7417 * menu-bar.el: Move package-list-packages binding here from
7420 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7422 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7424 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7426 * emacs-lisp/edebug.el (edebug-read-list):
7427 Phase out old-style backquotes.
7429 2010-06-17 Juri Linkov <juri@jurta.org>
7431 * help-mode.el (help-mode): Set buffer-local variable
7432 revert-buffer-function to help-mode-revert-buffer.
7433 (help-mode-revert-buffer): New function.
7435 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7436 before popping to "*info*" (like in other Info functions).
7437 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7438 old-history-forward. Pop to old-buffer-name or "*info*" to
7439 recreate the killed buffer. Set Info-history-forward from
7440 old-history-forward.
7441 (Info-breadcrumbs-depth): Add :group and :version.
7443 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7445 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7447 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7449 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7450 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7452 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7454 * emacs-lisp/package.el (package-menu-mode-map):
7455 Move initialization into declaration.
7457 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7459 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7461 * emacs-lisp/package.el (package-archive-base): Point to
7463 (package-enable, package-load-list): New defcustoms.
7464 (package-user-dir, package-directory-list): Turn into defcustoms.
7465 Don't include package-user-dir in package-directory-list.
7466 (package--builtins-base): Don't include Emacs as a "package".
7467 (package-subdirectory-regexp): New var.
7468 (package-load-all-descriptors, package-compute-transaction)
7469 (package-download-transaction): Obey package-load-list.
7470 (package-activate-1): Rename from package-do-activate.
7471 (package-list-packages-internal): Check package-load-list.
7472 (package-load-descriptor, package-generate-autoloads)
7473 (package-unpack, package-unpack-single)
7474 (package--read-archive-file, package-delete):
7475 Use expand-file-name.
7477 * emacs-lisp/package-x.el: New file. Package uploading
7478 functionality split out from package.el.
7480 * startup.el (command-line): Load packages after reading init file.
7482 2010-06-17 Tom Tromey <tromey@redhat.com>
7484 * emacs-lisp/package.el: New file.
7486 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7488 Fix vc-annotate for renamed files when using Git.
7489 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7490 ls-files. Doe not pass the object as a file name to cat-file, it
7492 (vc-git-annotate-command): Pass the file name using -- to avoid
7493 ambiguity with the revision.
7494 (vc-git-previous-revision): Pass a relative file name.
7496 2010-06-22 Glenn Morris <rgm@gnu.org>
7498 * progmodes/js.el (js-mode-map): Use standard capitalization and
7499 ellipses for menu entries.
7501 * wid-edit.el (widget-complete): Doc fix.
7503 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7505 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7507 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7509 Fix annotating other revisions for renamed files in vc-annotate.
7510 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7511 VC backend. Use it when non-nil.
7512 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7515 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7516 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7517 Do not pass the file name to the 'previous-revision call when we
7518 don't want a file diff. (Bug#6489)
7520 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7522 Fix finding revisions for renamed files in vc-annotate.
7523 * vc/vc.el (vc-find-revision): Add an optional argument for
7524 the VC backend. Use it when non-nil.
7525 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7526 backend to vc-find-revision. (Bug#6487)
7528 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7530 Fix reading file names in Git annotate buffers.
7531 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7532 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7534 2010-06-20 Alan Mackenzie <acm@muc.de>
7536 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7537 in file local variables, set it first.
7539 2010-06-19 Glenn Morris <rgm@gnu.org>
7541 * descr-text.el (describe-char-unicode-data): Insert separating
7542 space when needed. (Bug#6422)
7544 * progmodes/idlwave.el (idlwave-action-and-binding):
7545 Fix typo in 2009-12-03 change. (Bug#6450)
7547 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7549 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7550 handling for `lambda' (misunderstanding).
7552 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7554 * calc/calc-poly.el (math-accum-factors): Make sure that
7555 constants aren't distributed after they are factored out.
7557 2010-06-16 Juri Linkov <juri@jurta.org>
7559 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7560 `list-colors-print'. (Bug#6332)
7562 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7564 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7566 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7567 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7569 * font-lock.el (font-lock-major-mode): Rename from
7570 font-lock-mode-major-mode to distinguish it from
7571 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7572 (font-lock-set-defaults):
7573 * font-core.el (font-lock-default-function): Adjust users.
7574 (font-lock-mode): Don't set it at all.
7576 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7578 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7580 2010-06-16 Glenn Morris <rgm@gnu.org>
7582 * calendar/appt.el (appt-time-msg-list): Doc fix.
7583 (appt-check): Let-bind appt-warn-time.
7584 (appt-add): Make the 3rd argument optional.
7585 Simplify argument names. Doc fix. Check for integer WARNTIME.
7586 Only add WARNTIME to the output list if non-nil.
7588 2010-06-16 Ivan Kanis <apple@kanis.eu>
7590 * calendar/appt.el (appt-check): Let the 3rd element of
7591 appt-time-msg-list specify the warning time.
7592 (appt-add): Add new argument with the warning time. (Bug#5176)
7594 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7596 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7597 older than version 1.6. (Bug#6361)
7599 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7601 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7602 used by cl-do-arglist. (Bug#6408)
7604 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7606 * textmodes/ispell.el (ispell-dictionary-base-alist):
7607 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7608 Suggested by Rolando Pereira (bug#6434).
7610 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7612 * facemenu.el (list-colors-sort): Doc fix.
7614 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7616 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7618 2010-06-14 Juri Linkov <juri@jurta.org>
7620 Add sort option `list-colors-sort'. (Bug#6332)
7621 * facemenu.el (color-rgb-to-hsv): New function.
7622 (list-colors-sort): New defcustom.
7623 (list-colors-sort-key): New function.
7624 (list-colors-display): Doc fix. Sort list according to the option
7626 (list-colors-print): Add HSV values to `help-echo' property of
7629 2010-06-14 Juri Linkov <juri@jurta.org>
7631 * compare-w.el: Move to the "vc" subdirectory.
7633 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * image-mode.el (image-mode-map): Remap left-char and right-char.
7637 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7639 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7641 * term/common-win.el (x-colors): Add all the color names defined
7642 in rgb.txt (Bug#6332).
7644 * facemenu.el (list-colors-print): Don't print extra names if it
7645 will overflow the window width.
7647 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7650 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7652 * files.el (make-directory): Doc fix (bug#6396).
7654 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7656 * net/tramp.el (tramp-remote-process-environment): Protect version
7657 string by apostroph.
7658 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7660 (tramp-file-name-for-operation): Add `call-process-region'.
7661 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7663 * net/tramp-compat.el (top): Do not autoload
7664 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7665 only when `start-file-process' is not bound.
7666 (tramp-advice-file-expand-wildcards): Do not use
7667 `tramp-handle-file-remote-p'.
7668 (tramp-compat-make-temp-file): Handle the case, that
7669 `make-temp-file' has no third argument EXTENSION.
7671 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7673 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7675 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7677 2010-06-11 Juri Linkov <juri@jurta.org>
7679 * finder.el (finder-known-keywords): Add keyword "vc"
7680 for version control.
7682 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7683 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7684 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7685 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7687 2010-06-11 Juri Linkov <juri@jurta.org>
7689 Move version control related files to the "vc" subdirectory.
7690 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7691 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7692 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7693 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7694 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7695 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7696 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7697 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7698 Move files to the "vc" subdirectory.
7700 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7702 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7705 2010-06-11 Stephen Eglen <stephen@gnu.org>
7707 * shell.el: Bind `shell-resync-dirs' to M-RET.
7709 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7711 * notifications.el: Move file from lisp/net, because it is
7712 supposed to talk locally to the user.
7714 2010-06-10 Julien Danjou <julien@danjou.info>
7716 * net/notifications.el (notifications-on-action-signal)
7717 (notifications-on-closed-signal): Pass notification id as first
7718 argument to the callback functions. Add docstrings.
7719 (notifications-notify): Fix docstring.
7721 2010-06-10 Glenn Morris <rgm@gnu.org>
7723 * emacs-lisp/authors.el (authors-ignored-files)
7724 (authors-valid-file-names): Add some files.
7726 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7729 merge conflict, giving preference to the emacs-23 version of the code.
7731 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * emacs-lisp/advice.el (ad-compile-function):
7734 Define warning-suppress-types before we let-bind it (bug#6275).
7736 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7737 declare it, make it buffer-local and permanent-local (bug#6324).
7738 (vc-resynch-window): Adjust name.
7739 * vc-hooks.el (vc-find-file-hook): Adjust name.
7741 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7743 * net/notifications.el (notifications-notify): Fix docstring.
7745 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7747 Update to Unicode 6.0.0 beta.
7748 * international/charprop.el: Update copyright.
7749 * international/mule-cmds.el (ucs-names): Update character ranges.
7750 * international/uni-bidi.el:
7751 * international/uni-category.el:
7752 * international/uni-combining.el:
7753 * international/uni-comment.el:
7754 * international/uni-decimal.el:
7755 * international/uni-decomposition.el:
7756 * international/uni-digit.el:
7757 * international/uni-lowercase.el:
7758 * international/uni-mirrored.el:
7759 * international/uni-name.el:
7760 * international/uni-numeric.el:
7761 * international/uni-old-name.el:
7762 * international/uni-titlecase.el:
7763 * international/uni-uppercase.el: Regenerate.
7765 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7767 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7768 (smie-precs-precedence-table): Fix typo in docstring.
7770 * vc-mtn.el (log-edit-extract-headers): Declare function.
7772 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7774 * net/notifications.el (dbus-register-signal): Declare function.
7775 (notifications-notify): Fix typos and reflow docstring.
7777 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7779 Improve VC create/retrieve tag/branch.
7780 * vc.el (vc-create-tag): Do not read the directory name for VCs
7781 with repository revision granularity. Adjust the tag/branch
7782 prompt. Reset VC properties.
7783 (vc-retrieve-tag): Do not read the directory name for VCs
7784 with repository revision granularity. Reset VC properties.
7786 2010-06-09 Julien Danjou <julien@danjou.info>
7788 * net/notifications.el: New file.
7790 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7792 Add optional support for resetting VC properties.
7793 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7794 call vc-file-clearprops when true.
7795 (vc-resynch-buffer): Add new optional argument, pass it down.
7796 (vc-resynch-buffers-in-directory): Likewise.
7798 Improve support for special markup in the VC commit message.
7799 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7800 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7801 * vc-git.el (vc-git-checkin):
7802 * vc-bzr.el (vc-bzr-checkin): Likewise.
7804 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7806 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7807 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7809 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7811 * iimage.el: Remove images as soon as the underlying text is modified.
7812 (iimage-modification-hook): New function.
7813 (iimage-mode-buffer): Use it.
7815 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7817 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7818 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7819 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7820 (smie-indent-keyword): Add handling of open-paren keywords.
7821 (smie-indent-comment-continue): Don't assume comment-continue.
7823 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7825 * window.el (pop-to-buffer): Remove the conditional that
7826 compares new-window and old-window, so it will reselect
7827 the selected window unconditionally.
7828 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7830 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7832 * emacs-lisp/smie.el (smie-indent-offset-after)
7833 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7834 (smie-indent-after-keyword): Use them.
7835 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7836 (smie-indent-keyword): Tweak the black magic.
7837 (smie-indent-comment-continue): Strip comment-continue before use.
7838 (smie-indent-functions): Indent comments before keywords.
7840 2010-06-06 Juri Linkov <juri@jurta.org>
7842 * isearch.el (isearch-lazy-highlight-search): Fix looping
7843 by checking for empty match. This syncs this loop with the
7844 similar loop in `isearch-search'. (Bug#6362)
7846 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7848 * net/dbus.el (dbus-register-method): Declare function.
7849 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7850 (dbus-introspect): Doc fix.
7851 (dbus-event-bus-name, dbus-introspect-get-interface)
7852 (dbus-introspect-get-argument): Reflow docstrings.
7854 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7856 vc-log-incoming/vc-log-outgoing fixes for Git.
7857 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7858 incoming/outgoing logs.
7859 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7860 instead of vc-git-compute-remote.
7861 (vc-git-compute-remote): Remove.
7863 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7865 * term/common-win.el (x-colors): Add "dark green" and "dark
7866 turquoise" (Bug#6332).
7868 2010-06-04 Juri Linkov <juri@jurta.org>
7870 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7871 Instead of setting `replace' to t and replacing the same string
7872 with itself, don't do certain actions when
7873 kill-do-not-save-duplicates is non-nil and string is equal to car
7874 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7875 interprogram-paste strings to kill-ring, and don't push the input
7876 argument `string' to kill-ring.
7877 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7879 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7881 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7883 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7885 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7886 (tramp-gvfs-handler-mounted-unmounted)
7887 (tramp-gvfs-connection-mounted-p): Handle default-location.
7889 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7890 move files to trash.
7892 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7894 * international/mule-cmds.el (nonascii-insert-offset)
7895 (nonascii-translation-table): Add obsolescence information.
7897 * international/mule.el (make-translation-table-from-vector): Doc fix.
7899 2010-06-03 Glenn Morris <rgm@gnu.org>
7901 * desktop.el (desktop-clear-preserve-buffers):
7902 Add "*Warnings*" buffer. (Bug#6336)
7904 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7906 vc-log-incoming/vc-log-outgoing improvements for Git.
7907 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7909 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7911 Add bindings for vc-log-incoming and vc-log-outgoing.
7912 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7913 and vc-log-outgoing.
7914 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7915 and vc-log-outgoing.
7917 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7919 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7920 (rcirc-handler-366): Always sort nicknames.
7922 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7924 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7926 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7928 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7930 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7932 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7933 (rcirc-sort-nicknames-join): Avoid setq.
7935 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7937 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7938 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7939 (rcirc-handler-366): Use them.
7941 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7943 Split smie-indent-calculate into more manageable chunks.
7944 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7945 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7946 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7947 (smie-indent-exps): Extract from smie-indent-calculate.
7948 (smie-indent-functions): New var.
7949 (smie-indent-functions): Use them.
7951 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7953 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7954 (smie-indent-calculate): Simplify and cleanup.
7956 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7958 * net/tramp-gvfs.el (top): Require url-util.
7959 (tramp-gvfs-mount-point): Remove.
7960 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7962 (with-tramp-dbus-call-method): Format trace message.
7963 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7964 Implement backup call, when operation on local files fails.
7965 Use progress reporter. Flush properties of changed files.
7966 (tramp-gvfs-handle-make-directory): Make more traces.
7967 (tramp-gvfs-url-file-name): Hexify file name in url.
7968 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7969 into account for the resulting file name.
7970 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7971 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7972 (tramp-gvfs-handler-mounted-unmounted)
7973 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7974 attribute "default_location". Set "prefix" property.
7975 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7976 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7977 exists. Raise an error, if not (due to a corresponding answer
7978 "no" in interactive questions, for example).
7980 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7982 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7984 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7986 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7989 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7991 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7992 * vc-git.el (vc-git-compute-remote): New function.
7993 (vc-git-log-outgoing): Use it instead of hard coding a value.
7994 (vc-git-log-incoming): New function.
7996 Improve state updating for VC tag commands.
7997 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7998 to update the state of all buffers in the directory.
8000 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8002 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8004 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8005 `file-directory-p' to the filename part rather than to the whole text.
8007 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8009 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8011 2010-05-31 Drew Adams <drew.adams@oracle.com>
8013 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8015 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8017 * subr.el (momentary-string-display): Just use read-event to read
8018 the exit event (Bug#6238).
8020 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8022 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8024 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8026 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8027 Suggested by Eli Zaretskii <eliz@gnu.org>.
8029 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * minibuffer.el (completion-file-name-table): Don't return a boundary
8032 past the end of `string' (bug#6299).
8033 (completion--file-name-table): Delegate to completion-file-name-table
8034 for the `boundaries' case.
8036 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8038 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8041 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8042 `path-separator', but maintain compatibility with Emacs 20.2.
8044 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8046 * server.el (server-process-filter): Receive parent-id argument
8048 (server-create-window-system-frame): New arg. Pass parent-id as
8051 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8053 Bidi-sensitive word movement with arrow keys.
8054 * subr.el (right-arrow-command, left-arrow-command): Move to
8057 * bindings.el (right-char, left-char): Move from subr.el and
8058 rename from right-arrow-command and left-arrow-command.
8059 (right-word, left-word): New functions.
8060 (global-map) <right>: Bind to right-char.
8061 (global-map) <left>: Bind to left-char.
8062 (global-map) <C-right>: Bind to right-word.
8063 (global-map) <C-left>: Bind to left-word.
8065 * ls-lisp.el (ls-lisp-classify-file): New function.
8066 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8067 (ls-lisp-classify): Call ls-lisp-classify-file.
8068 (insert-directory): Remove blanks from switches.
8070 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8072 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8073 (ansi-color-drop-regexp): New constant.
8074 (ansi-color-apply, ansi-color-filter-region)
8075 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8076 (ansi-color-apply): Build string list before calling concat.
8078 2010-05-28 Juri Linkov <juri@jurta.org>
8080 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8081 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8084 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8086 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8087 to ignored backtrace functions.
8088 (with-progress-reporter): Expand docstring.
8089 (tramp-handle-delete-file): Implement TRASH argument.
8090 (tramp-get-remote-trash): New defun.
8092 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8094 * net/tramp-compat.el (tramp-compat-delete-file):
8095 Use `symbol-value' for backward compatibility.
8097 * net/tramp.el (tramp-handle-make-symbolic-link)
8099 (tramp-do-copy-or-rename-file-via-buffer)
8100 (tramp-do-copy-or-rename-file-directly)
8101 (tramp-do-copy-or-rename-file-out-of-band)
8102 (tramp-handle-process-file, tramp-handle-call-process-region)
8103 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8104 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8105 (tramp-delete-temp-file-function): Use `delete-file' instead
8106 of `tramp-compat-delete-file'.
8108 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8109 (tramp-fish-handle-make-symbolic-link)
8110 (tramp-fish-handle-process-file): Use `delete-file' instead
8111 of `tramp-compat-delete-file'.
8113 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8114 Use `delete-file' instead of `tramp-compat-delete-file'.
8116 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8117 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8118 `tramp-compat-delete-file'.
8120 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8121 Use `delete-file' instead of `tramp-compat-delete-file'.
8123 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8124 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8125 (tramp-smb-handle-write-region): Use `delete-file' instead of
8126 `tramp-compat-delete-file'.
8127 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8129 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8131 * dired.el (dired-delete-file): New arg TRASH.
8132 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8133 (dired-do-flagged-delete, dired-do-delete): Use trash.
8135 * speedbar.el (speedbar-item-delete): Allow trashing.
8137 * files.el (delete-directory): New arg TRASH.
8139 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8140 (ange-ftp-rename-remote-to-remote)
8141 (ange-ftp-rename-local-to-remote)
8142 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8143 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8145 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8148 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8149 handle new TRASH arg of `delete-file'.
8151 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8152 (tramp-handle-make-symbolic-link, tramp-handle-load)
8153 (tramp-do-copy-or-rename-file-via-buffer)
8154 (tramp-do-copy-or-rename-file-directly)
8155 (tramp-do-copy-or-rename-file-out-of-band)
8156 (tramp-handle-process-file, tramp-handle-call-process-region)
8157 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8158 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8159 (tramp-delete-temp-file-function): Use null TRASH arg in
8160 tramp-compat-delete-file call.
8162 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8163 (tramp-fish-handle-delete-file)
8164 (tramp-fish-handle-make-symbolic-link)
8165 (tramp-fish-handle-process-file): Use null TRASH arg in
8166 `tramp-compat-delete-file' call.
8168 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8169 arg in `tramp-compat-delete-file' call.
8171 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8172 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8173 `tramp-compat-delete-file' call.
8175 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8176 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8177 `tramp-compat-delete-file' call.
8179 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8180 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8181 (tramp-smb-handle-write-region): Use null TRASH arg in
8182 tramp-compat-delete-file call.
8183 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8184 (tramp-smb-handle-delete-file): Rename arg.
8186 * diff.el (diff-sentinel):
8187 * epg.el (epg--make-temp-file, epg-decrypt-string)
8188 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8189 * jka-compr.el (jka-compr-partial-uncompress)
8190 (jka-compr-call-process, jka-compr-write-region):
8191 * server.el (server-sentinel): Remove optional arg from
8192 delete-file, reverting 2010-05-03 change.
8194 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8196 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8197 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8199 2010-05-27 Kenichi Handa <handa@m17n.org>
8201 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8202 element of GSTRING is nil.
8204 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8206 * emacs-lisp/smie.el (smie-forward-token-function)
8207 (smie-backward-token-function): New vars.
8208 (smie-backward-sexp, smie-forward-sexp)
8209 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8210 (smie-default-backward-token): Rename from smie-backward-token and
8212 (smie-default-forward-token): Rename from smie-forward-token and
8214 (smie-next-sexp): Handle nil results from next-token.
8215 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8217 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8219 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8220 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8222 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8224 * htmlfontify.el (hfy-face-resolve-face): New function.
8225 (hfy-face-to-style): Use it (Bug#6279).
8227 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8229 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8230 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8232 2010-05-26 Glenn Morris <rgm@gnu.org>
8234 * emulation/edt.el (edt-load-keys): Use locate-library.
8236 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8238 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8239 (log-edit-changelog-entries): Doc fix.
8240 (log-edit-changelog-insert-entries): Args changed.
8241 Rename relative filenames in ChangeLog entries. Delete tabs.
8242 (log-edit-insert-changelog-entries): Reorganize return value of
8243 `log-edit-changelog-entries' to pass filenames to
8244 log-edit-changelog-insert-entries.
8246 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8248 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8249 `image-dired-dired-insert-marked-thumbs' to
8250 `image-dired-dired-toggle-marked-thumbs'.
8252 * image-dired.el: Require cl when compiling.
8253 (image-dired-dired-toggle-marked-thumbs): Rename from
8254 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8255 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8256 to 'no-dir. Skip files whose names don't match
8257 `image-file-name-regexp'. When file has a thumbnail overlay,
8258 delete it. (Bug#5270)
8260 2010-05-25 Juri Linkov <juri@jurta.org>
8262 * image-mode.el (image-mode): Add image-after-revert-hook to
8264 (image-after-revert-hook): New function. (Bug#5669)
8266 2010-05-25 Juri Linkov <juri@jurta.org>
8268 * image.el (image-animated-p): When delay between animated images
8269 is 0, set it to 10 (0.1 sec). (Bug#6258)
8271 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8273 * net/tramp.el (tramp-handle-insert-directory): Don't use
8274 `forward-word', its default syntax could be changed.
8276 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8278 * net/tramp.el (tramp-progress-reporter-update): New defun.
8279 (with-progress-reporter): Use it.
8280 (tramp-process-actions):
8281 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8282 Preserve current message, in order to let progress reporter continue
8283 afterwards. (Bug#6257)
8285 2010-05-25 Glenn Morris <rgm@gnu.org>
8287 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8290 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8292 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8293 (rcirc-default-full-name): Change to "unknown".
8294 (rcirc-user-name-history): Add variable.
8296 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8297 Jonathan Rockway <jon@jrock.us>
8299 * net/rcirc.el (rcirc-server-alist): Add :pass.
8300 (rcirc): When prompting for connection parameters, also prompt for
8301 username and password.
8302 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8303 value to server when connecting.
8305 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8307 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8308 (smie-merge-prec2s): Pass the tables as separate args.
8309 (smie-bnf-precedence-table): Adjust call accordingly.
8310 (smie-prec2-levels): Set levels at the end.
8312 Replace Lisp calls to delete-backward-char by delete-char.
8313 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8314 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8315 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8316 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8317 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8318 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8319 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8320 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8321 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8322 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8323 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8324 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8325 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8326 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8327 delete-backward-char by calls to delete-char.
8329 2010-05-25 Kenichi Handa <handa@m17n.org>
8331 * language/hebrew.el (hebrew-shape-gstring): New function.
8332 Register it in composition-function-table for all Hebrew combining
8335 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8337 * epa.el (epa--select-keys): Don't explicitly delete the window since
8338 that can fail (e.g. sole window in frame). Use dedication instead.
8340 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8342 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8344 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8346 * image.el (image-refresh): Define as an alias for image-flush.
8348 * image-mode.el (image-toggle-display-image): Caller changed.
8350 2010-05-21 Juri Linkov <juri@jurta.org>
8352 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8353 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8354 whitespace, call wildcard-to-regexp on substrings and concat them
8355 with "\\|". (Bug#6114)
8357 2010-05-21 Alan Mackenzie <acm@muc.de>
8359 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8360 Replace parameter `here' with `here-' and `here-plus', which sandwich
8361 any pertinent CPP construct.
8362 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8363 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8364 CPP construct from taking part in the scanning.
8366 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8368 * net/tramp.el (tramp-do-copy-or-rename-file)
8369 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8370 Tune `with-progress-reporter' messages.
8371 (tramp-handle-vc-registered):
8372 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8373 (tramp-fish-handle-insert-file-contents)
8374 (tramp-fish-maybe-open-connection):
8375 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8376 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8377 (tramp-imap-handle-insert-file-contents)
8378 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8380 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8382 * add-log.el (change-log-font-lock-keywords):
8383 Highlight all authors in multi-author entries.
8385 * smerge-mode.el (smerge-refine-ignore-whitespace)
8386 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8387 Fix typos in docstrings.
8388 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8390 2010-05-21 Glenn Morris <rgm@gnu.org>
8392 * progmodes/fortran.el (fortran-mode):
8393 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8395 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8396 having a relative path in src/Makefile.in.
8398 2010-05-20 Kevin Ryde <user42@zip.com.au>
8400 * help-mode.el (help-make-xrefs): For Info node links turn
8401 newlines into spaces. Link node names with newlines are matched
8402 by help-xref-info-regexp and buttonized, this change ensures they
8403 can be followed successfully with RET. (Bug#6206)
8405 2010-05-20 Juri Linkov <juri@jurta.org>
8407 * locate.el (locate): Use pop-to-buffer instead of
8408 switch-to-buffer-other-window. (Bug#6204)
8410 2010-05-20 Juri Linkov <juri@jurta.org>
8412 * replace.el (replace-highlight): Fix lazy-highlighting
8413 for `M-s w str M-% str RET'.
8415 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8417 * isearch.el (isearch-yank-word-or-char): Pull next subword
8418 when `subword-mode' is activated. (Bug#6220)
8420 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8422 * isearch.el (isearch-update-post-hook): New hook.
8423 (isearch-update): Use the new hook. (Bug#6225)
8425 2010-05-20 Juri Linkov <juri@jurta.org>
8427 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8428 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8431 2010-05-20 Juri Linkov <juri@jurta.org>
8433 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8436 2010-05-20 Juri Linkov <juri@jurta.org>
8438 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8439 FILE-NAME to read from the minibuffer when called interactively
8440 with prefix argument instead of using buffer-file-name.
8441 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8443 * dired.el: Update autoloads.
8445 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8447 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8448 nxml-finish-element, for consistency with SGML mode.
8450 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8453 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8455 * composite.el: Require cl when compiling.
8456 (reference-point-alist, compose-gstring-for-graphic)
8457 (compose-gstring-for-terminal): Fix typos in docstrings.
8459 2010-05-19 Juri Linkov <juri@jurta.org>
8461 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8462 set-window-parameter.
8464 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8466 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8468 (tramp-maybe-open-connection): Use it.
8470 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8472 * simple.el (move-end-of-line): Make sure we are at line beginning
8473 before backing up to end of previous line.
8475 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8477 * password-cache.el (password-cache-remove): Fix docstring.
8479 * net/secrets.el: Autoload the widget functions.
8480 (secrets-search-items, secrets-create-item)
8481 (secrets-get-attributes, secrets-expand-item): Attributes will be
8482 stored on the password database without leading ":", as all other
8484 (secrets-mode): Fix docstring.
8485 (secrets-show-secrets): Provide it as autoloaded command only when
8486 D-Bus support is available. Check existence of Secret Service API.
8488 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8490 * indent.el (indent-region): Deactivate region (bug#6200).
8492 2010-05-19 Glenn Morris <rgm@gnu.org>
8494 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8496 2010-05-19 Kenichi Handa <handa@m17n.org>
8498 * composite.el: Register compose-gstring-for-graphic in
8499 composition-function-table only for combining characters (Mn, Mc, Me).
8501 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8503 * calc/calc-trail.el (calc-trail-isearch-forward)
8504 (calc-trail-isearch-backward): Ensure that the new window
8505 point is set correctly.
8507 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8509 * subr.el (read-quoted-char): Resolve modifiers after key
8510 remapping (bug#6212).
8512 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8514 Add visualization code for secrets.
8515 * net/secrets.el (secrets-mode): New major mode.
8516 (secrets-show-secrets, secrets-show-collections)
8517 (secrets-expand-collection, secrets-expand-item)
8518 (secrets-tree-widget-after-toggle-function)
8519 (secrets-tree-widget-show-password): New defuns.
8521 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8523 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8524 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8525 handled in smie-next-sexp.
8526 (smie-indent-calculate): Provide a starting indentation (so the
8527 recursion is well-founded ;-).
8529 Fix handling of non-associative equal levels.
8530 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8531 when it's not needed.
8532 (smie-op-left, smie-op-right): New functions.
8533 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8534 Better handle equal levels to distinguish the associative case from
8535 the "multi-keyword construct" case.
8536 (smie-backward-sexp, smie-forward-sexp): Use it.
8538 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8540 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8542 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8543 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8545 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8547 Provide a simple generic indentation engine and use it for Prolog.
8548 * emacs-lisp/smie.el: New file.
8549 * progmodes/prolog.el (prolog-smie-op-levels)
8550 (prolog-smie-indent-rules): New var.
8551 (prolog-mode-variables): Use them to configure SMIE.
8552 (prolog-indent-line, prolog-indent-level): Remove.
8554 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8556 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8557 order before computing the averages.
8559 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8561 * calc/calc-vec.el (calc-histogram):
8562 (calcFunc-histogram): Allow vectors as inputs.
8563 (math-vector-avg): New function.
8565 * calc/calc-ext.el (math-group-float): Have the number of digits
8566 being grouped depend on the radix (Bug#6189).
8568 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8570 * version.el (emacs-copyright, emacs-version): Don't define here,
8571 now that emacs.c defines it.
8573 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8575 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8576 "Describe Language Environment" menu item.
8578 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8580 Bidi-sensitive movement with arrow keys.
8581 * subr.el (right-arrow-command, left-arrow-command): New functions.
8583 * bindings.el (global-map): Bind them to right and left arrow keys.
8585 Don't override standard definition of convert-standard-filename.
8586 * files.el (convert-standard-filename):
8587 Call w32-convert-standard-filename and dos-convert-standard-filename on
8588 the corresponding systems.
8590 * w32-fns.el (w32-convert-standard-filename): Rename from
8591 convert-standard-filename. Doc fix.
8593 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8594 (convert-standard-filename): Don't defalias.
8595 (register-name-alist, make-register, register-value)
8596 (set-register-value, intdos): Obsolete aliases for the
8597 corresponding dos-* functions and variables.
8598 (dos-intdos): Add a doc string.
8600 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8602 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8603 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8604 (math-compose-tex-func):
8605 * calc/calccomp.el (math-compose-expr):
8606 * calc/calc-ext.el (math-format-flat-expr-fancy):
8607 * calc/calc-store.el (calc-read-var-name):
8608 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8610 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8611 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8612 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8613 (math-standard-units): Add units.
8615 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8617 * progmodes/asm-mode.el (asm-mode):
8618 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8620 * pcomplete.el (pcomplete-completions-at-point): New function,
8621 extracted from pcomplete-std-complete.
8622 (pcomplete-std-complete): Use it.
8624 2010-05-15 Glenn Morris <rgm@gnu.org>
8626 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8627 Remove references to CVS, RCS and Old directories.
8629 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8631 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8634 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8636 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8637 (sh-mode-syntax-table): Give it a default value instead.
8638 (sh-header-marker): Make buffer-local.
8639 (sh-mode): Move make-local-variable to the corresponding setq.
8640 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8641 Use complete-with-action.
8643 * simple.el (prog-mode): New (abstract) major mode.
8644 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8645 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8647 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8649 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8650 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8651 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8652 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8653 (sql-escape-newlines-filter, sql-input-sender)
8654 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8656 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8658 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8660 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8661 latex-open-block and C-c / to latex-close-block.
8663 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8664 and C-c C-e to sgml-close-tag.
8666 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8668 * net/tramp.el (with-progress-reporter): Create reporter object
8669 only when the message would be displayed. Handle nested calls.
8670 (tramp-handle-load, tramp-handle-file-local-copy)
8671 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8672 (tramp-maybe-send-script, tramp-find-shell):
8673 Use `with-progress-reporter'.
8674 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8677 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8678 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8679 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8680 Use `with-progress-reporter'.
8682 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8684 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8685 process everytime when spellchecking from the minibuffer (bug#6143).
8687 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8689 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8691 * dos-fns.el: Add "dos-" prefix for namespace control.
8692 (convert-standard-filename): Define as alias for
8693 dos-convert-standard-filename but only if applicable.
8695 2010-05-12 Alan Mackenzie <acm@muc.de>
8697 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8698 Push the mark at the start of these functions when appropriate.
8700 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8702 * minibuffer.el (completion-cycle-threshold): New custom var.
8703 (completion--do-completion): Use it.
8704 (minibuffer-complete): Use cycling if appropriate.
8706 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8708 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8709 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8711 2010-05-11 Juri Linkov <juri@jurta.org>
8713 * scroll-all.el (scroll-all-check-to-scroll):
8714 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8716 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8718 * iimage.el (iimage-mode-map): Move initialization into declaration.
8719 (iimage-mode-buffer): Use with-silent-modifications.
8720 Simplify calling convention. Adjust callers.
8721 (iimage-mode): Don't run hook redundantly.
8723 * minibuffer.el (completion-pcm--pattern->regex):
8724 Fix last change (bug#6160).
8726 2010-05-10 Juri Linkov <juri@jurta.org>
8728 Remove nodes visited during Isearch from the Info history.
8729 * info.el (Info-isearch-initial-history)
8730 (Info-isearch-initial-history-list): New variables.
8731 (Info-isearch-start): Record initial values of
8732 Info-isearch-initial-history and Info-isearch-initial-history-list.
8733 Add Info-isearch-end to isearch-mode-end-hook.
8734 (Info-isearch-end): New function.
8736 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8738 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8739 format string, in order to work around a bug in pdksh.
8740 Reported by Gilles Pion <gpion@lfdj.com>.
8741 (tramp-handle-verify-visited-file-modtime): Do not send a command
8742 when the connection is not established.
8743 (tramp-handle-set-file-times): Simplify the check for utc.
8745 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8747 Fix use of `filter-buffer-substring' (rework previous change).
8748 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8749 (cua-repeat-replace-region):
8750 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8751 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8752 (cua-cut-region-to-global-mark): Use it.
8754 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8756 * progmodes/sql.el: Version 2.1.
8757 (sql-product-alist): Redesign structure of product info.
8758 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8759 (sql-port, sql-port-history): New variables.
8760 (sql-interactive-product): New variable.
8761 (sql-send-terminator): New variable.
8762 (sql-imenu-generic-expression): Add "Types" imenu entry.
8763 (sql-oracle-login-params, sql-sqlite-login-params)
8764 (sql-mysql-login-params, sql-solid-login-params)
8765 (sql-sybase-login-params, sql-informix-login-params)
8766 (sql-ingres-login-params, sql-ms-login-params)
8767 (sql-postgres-login-params, sql-interbase-login-params)
8768 (sql-db2-login-params, sql-linter-login-params)
8769 (sql-oracle-scan-on): New variables.
8770 (sql-mode-map): Add C-c C-i to start interactive mode.
8771 (sql-mode-menu): Update existing menu entries.
8772 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8773 (sql-mode-oracle-font-lock-keywords)
8774 (sql-mode-postgres-font-lock-keywords)
8775 (sql-mode-ms-font-lock-keywords)
8776 (sql-mode-sybase-font-lock-keywords)
8777 (sql-mode-informix-font-lock-keywords)
8778 (sql-mode-interbase-font-lock-keywords)
8779 (sql-mode-ingres-font-lock-keywords)
8780 (sql-mode-solid-font-lock-keywords)
8781 (sql-mode-mysql-font-lock-keywords)
8782 (sql-mode-sqlite-font-lock-keywords)
8783 (sql-mode-db2-font-lock-keywords)
8784 (sql-mode-linter-font-lock-keywords): Update initialization to
8785 reduce run-time complexity.
8786 (sql-add-product, sql-del-product): New functions.
8787 (sql-set-product-feature, sql-get-product-feature): New functions.
8788 (sql-product-font-lock): Update product API.
8789 (sql-add-product-keywords): New function.
8790 (sql-highlight-product): Update product API.
8791 (sql-help-list-products): New function.
8792 (sql-help): Dynamically lists free and non-free products.
8793 (sql-get-login): Correct bug in handling history and added
8795 (sql-copy-column): Copy without properties.
8796 (sqli-input-sender): Apply filters to SQLi input.
8797 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8798 Implement as a filter.
8799 (sql-escape-newlines-filter): Implement as a filter.
8800 (sql-remove-tabs-filter): New function.
8801 (sql-send-magic-terminator): New function.
8802 (sql-send-string): Implement magic terminator.
8803 (sql-send-region): Use `sql-send-string'.
8804 (sql-interactive-mode): Use product API.
8805 (sql-product-interactive): Use product API.
8806 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8807 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8808 (sql-db2, sql-linter): Use `sql-product-interactive'.
8809 (sql-connect): New function.
8810 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8811 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8812 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8813 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8816 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8818 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8819 New custom variable.
8820 (completion-pcm--string->pattern): Use it.
8821 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8822 Make it handle any symbol as `any'.
8823 (completion-pcm--merge-completions): Extract common suffix for the new
8824 `prefix' symbol as well.
8825 (completion-substring--all-completions): Use the new `prefix' symbol.
8827 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8829 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8831 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8832 (tramp-compat-funcall): New defmacro.
8833 (tramp-compat-line-beginning-position)
8834 (tramp-compat-line-end-position)
8835 (tramp-compat-temporary-file-directory)
8836 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8837 (tramp-compat-copy-file, tramp-compat-copy-directory)
8838 (tramp-compat-delete-file, tramp-compat-delete-directory)
8839 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8840 * net/tramp.el (top, with-progress-reporter)
8841 (tramp-rfn-eshadow-setup-minibuffer)
8842 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8843 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8844 (tramp-completion-mode-p, tramp-check-for-regexp)
8845 (tramp-open-connection-setup-interactive-shell)
8846 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8847 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8848 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8849 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8850 (tramp-reporter-dump-variable, tramp-load-report-modules)
8851 (tramp-append-tramp-buffers)
8852 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8854 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8856 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8858 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8859 buffer-modtime. Adjust users.
8861 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8863 * international/mule.el (auto-coding-alist): Only purecopy
8864 car of each item, not the whole list (Bug#6083).
8866 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8868 * progmodes/js.el (js-mode): Make paragraph variables local before
8869 calling c-setup-paragraph-variables (Bug#6071).
8871 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8873 * composite.el (compose-region, reference-point-alist): Fix typos
8876 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8878 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8879 gnuplot's "set" command.
8881 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8883 * abbrev.el (last-abbrev-text): Doc fix.
8884 (abbrev-prefix-mark): Don't escape parenthesis.
8886 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8888 * composite.el (find-composition): Doc fix.
8890 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8892 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8893 (sql-oracle-program, sql-sqlite-options)
8894 (sql-query-placeholders-and-send): Doc fixes.
8895 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8896 (sql-imenu-generic-expression, sql-buffer)
8897 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8898 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8899 (sql-mode-sybase-font-lock-keywords)
8900 (sql-mode-informix-font-lock-keywords)
8901 (sql-mode-interbase-font-lock-keywords)
8902 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8903 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8904 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8905 (sql-product-feature, sql-highlight-product)
8906 (comint-line-beginning-position, sql-rename-buffer)
8907 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8908 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8909 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8910 Fix typos in docstrings.
8912 2010-05-08 Juri Linkov <juri@jurta.org>
8914 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8915 property instead of `invisible' and `after-string' (bug#5998).
8917 2010-05-08 Juri Linkov <juri@jurta.org>
8919 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8921 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8923 * filecache.el (file-cache-add-directory-list)
8924 (file-cache-add-directory-recursively): Fix typos in docstrings.
8926 2010-05-08 Kenichi Handa <handa@m17n.org>
8928 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8929 (gujarati-composable-pattern): Fix typo.
8931 2010-05-08 Kenichi Handa <handa@m17n.org>
8933 * language/indian.el (oriya-composable-pattern)
8934 (tamil-composable-pattern, malayalam-composable-pattern):
8935 Add two-part vowels to "v" (vowel sign).
8937 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8939 * files.el (copy-directory): Handle symlinks (Bug#5982).
8941 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8943 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8944 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8947 2010-05-08 Glenn Morris <rgm@gnu.org>
8949 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8951 * minibuffer.el (completion-at-point): Doc fix.
8953 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * electric.el (Electric-command-loop): Minor tweak.
8957 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8958 better with dedicated windows.
8960 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8962 * Version 23.2 released.
8964 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8965 Stefan Monnier <monnier@iro.umontreal.ca>
8967 Highlight vendor specific properties.
8968 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8969 (css-proprietary-property): New face.
8970 (css-font-lock-keywords): Use them.
8972 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8974 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8976 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8978 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8979 * files.el (auto-mode-alist): Remove redundant entries.
8981 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8982 * simple.el (auto-save-mode): Move from files.el.
8983 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8985 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8987 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8989 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8991 * mail/binhex.el (binhex-decode-region-internal)
8992 * mail/uudecode.el (uudecode-decode-region-internal)
8993 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8994 (dns-read-type, dns-query)
8995 * pgg-parse.el (pgg-parse-armor)
8996 * pgg.el (pgg-verify-region)
8997 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9000 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9002 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9004 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9006 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9007 * emulation/cua-base.el (cua-repeat-replace-region):
9008 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9009 (cua-cut-region-to-global-mark):
9010 Remove text properties with `set-text-properties'.
9012 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9014 * net/tramp.el (top, with-progress-reporter):
9015 Use `symbol-function' inside `funcall'.
9017 * net/tramp-compat.el (tramp-compat-file-attributes)
9018 (tramp-compat-delete-file, tramp-compat-delete-directory):
9019 Handle only `wrong-number-of-arguments' error.
9021 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9022 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9025 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9027 * minibuffer.el (completion--sreverse, completion--common-suffix):
9029 (completion-pcm--merge-completions): Extract common suffix when safe.
9031 * emacs-lisp/easy-mmode.el (define-minor-mode):
9032 Make :variable more flexible.
9033 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9035 2010-05-05 Juri Linkov <juri@jurta.org>
9037 Add `slow' and `history' tags to the desktop data.
9039 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9040 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9041 (Info-finder-find-node): Require `finder.el' to be able
9042 to restore node from the desktop.
9043 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9044 data `Info-history' and `slow' tag in the assoc list.
9045 (Info-restore-desktop-buffer): Don't restore nodes with the
9046 `slow' tag. Restore `Info-history'.
9048 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9050 Add FORCE argument to `delete-file'.
9052 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9053 forcing to delete the temporary file.
9054 (ange-ftp-delete-file): Add FORCE arg.
9055 (ange-ftp-rename-remote-to-remote)
9056 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9057 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9058 Force file deletion.
9060 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9062 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9063 (tramp-handle-make-symbolic-link, tramp-handle-load)
9064 (tramp-do-copy-or-rename-file-via-buffer)
9065 (tramp-do-copy-or-rename-file-directly)
9066 (tramp-do-copy-or-rename-file-out-of-band)
9067 (tramp-handle-process-file, tramp-handle-call-process-region)
9068 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9069 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9070 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9072 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9073 (tramp-fish-handle-make-symbolic-link)
9074 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9076 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9077 Use `tramp-compat-delete-file'.
9079 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9080 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9082 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9083 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9085 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9086 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9087 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9088 Use `tramp-compat-delete-file'.
9090 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9093 * subr.el (add-minor-mode): Use push.
9094 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9095 * emulation/edt.el (edt-select-mode): Simplify.
9097 Use define-minor-mode in more cases.
9098 * term/tvi970.el (tvi970-set-keypad-mode):
9099 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9100 (normal-erase-is-backspace-mode):
9101 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9102 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9103 (get-scroll-bar-mode): New function.
9104 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9106 Use define-minor-mode for less obvious cases.
9107 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9108 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9109 * international/iso-ascii.el (iso-ascii-mode):
9110 * frame.el (auto-raise-mode, auto-lower-mode):
9111 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9113 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9115 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9116 in order to see error messages for failed logins.
9118 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9120 * diff.el (diff-sentinel):
9122 * epg.el (epg--make-temp-file, epg-decrypt-string)
9123 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9125 * jka-compr.el (jka-compr-partial-uncompress)
9126 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9128 * server.el (server-sentinel): Use delete-file's new FORCE arg
9131 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9133 Use define-minor-mode where applicable.
9134 * view.el (view-mode):
9135 * type-break.el (type-break-query-mode)
9136 (type-break-mode-line-message-mode):
9137 * textmodes/reftex.el (reftex-mode):
9138 * term/vt100.el (vt100-wide-mode):
9139 * tar-mode.el (tar-subfile-mode):
9140 * savehist.el (savehist-mode):
9141 * ibuf-ext.el (ibuffer-auto-mode):
9142 * composite.el (auto-composition-mode):
9143 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9144 Use define-minor-mode.
9145 (vhdl-mode): Use static mode-line format.
9146 (vhdl-mode-line-update): Delete.
9147 (vhdl-create-mode-menu, vhdl-activate-customizations)
9148 (vhdl-hs-minor-mode): Don't bother calling it.
9150 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9152 * simple.el (with-wrapper-hook): Move.
9153 (buffer-substring-filters): Mark obsolete.
9154 (filter-buffer-substring-functions): New variable.
9155 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9157 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9158 Michael Albinus <michael.albinus@gmx.de>
9160 Implement compression for inline methods.
9162 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9163 (tramp-copy-size-limit): Allow also nil.
9164 (tramp-inline-compress-commands): New defconst.
9165 (tramp-find-inline-compress, tramp-get-inline-compress)
9166 (tramp-get-inline-coding): New defuns.
9167 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9168 replaced by `tramp-get-inline-coding'.
9169 (tramp-handle-file-local-copy, tramp-handle-write-region)
9170 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9172 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9174 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9175 Remove unused functions.
9177 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9178 Set find-tag-default-function as a variable rather than a property.
9180 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9181 * progmodes/etags.el (tags-completion-at-point-function):
9182 Remove left over interactive spec. Add autoloading stub.
9183 (complete-tag): Use tags-completion-at-point-function.
9185 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9187 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9189 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9191 * ido.el (ido-init-completion-maps): Remove C-v binding.
9192 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9194 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9196 * minibuffer.el (tags-completion-at-point-function): New function.
9197 (completion-at-point-functions): Use it.
9199 * progmodes/etags.el (complete-tag): Revert last change.
9201 2010-04-29 Alan Mackenzie <acm@muc.de>
9203 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9204 off-by-one error (in end of macro position).
9206 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9208 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9209 firefox is absent. Don't autoload.
9210 (browse-url-galeon-program): Don't autoload.
9212 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9214 * bindings.el (complete-symbol): Move into minibuffer.el.
9216 * minibuffer.el (complete-tag): Move from etags.el. If tags
9217 completion cannot be performed, return nil instead of signalling
9219 (completion-at-point): Make it an alias for complete-symbol.
9220 (complete-symbol): Move from bindings.el, and replace with the
9221 body of completion-at-point.
9223 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9225 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9227 * net/tramp.el (tramp-remote-selinux-p): New defun.
9228 (tramp-handle-file-selinux-context)
9229 (tramp-handle-set-file-selinux-context): Use it.
9231 2010-04-28 Sam Steingold <sds@gnu.org>
9233 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9234 `safe-local-variable' if the value is a string or a symbol with
9235 the property `bug-reference-url-format'.
9237 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9239 * progmodes/bug-reference.el (bug-reference-url-format):
9240 Revert 2010-04-27 change due to security risk.
9242 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9244 Make it possible to locally disable a globally enabled mode.
9245 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9246 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9247 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9248 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9249 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9250 that subsequent hooks get a chance to disable it.
9252 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9254 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9255 Avoid re-enabling a minor mode after the user turned the minor mode
9256 off if MODE-enable-in-buffers is run twice (typically once from
9257 fundamental-mode's after-change-major-mode-hook and a second time from
9258 run-mode-hook's own after-change-major-mode-hook).
9260 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9262 2010-04-27 Sam Steingold <sds@gnu.org>
9264 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9265 `safe-local-variable' if the value is a string or a function, as
9266 documented and implemented on 2010-04-02.
9268 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9270 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9271 when method is 'kill.
9273 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9275 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9276 condition in default directory check.
9277 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9278 Kill ispell process when killing its associated buffer.
9280 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9282 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9283 but we aren't using it.
9285 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9287 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9288 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9290 2010-04-24 Glenn Morris <rgm@gnu.org>
9292 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9293 Ignore VCS-ignore files, and deleted nextstep preferences files.
9294 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9295 (authors-ambiguous-files): New list.
9296 (authors-valid-file-names): Add some deleted files.
9297 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9298 (authors-disambiguate-file-name): New function. (Bug#5501)
9299 (authors-canonical-file-name): Doc fix.
9300 Don't warn about obsolete files.
9301 (authors-canonical-file-name, authors-scan-el):
9302 Use authors-disambiguate-file-name.
9304 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9305 Add autoload cookies.
9306 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9307 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9308 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9309 They have definitions / compiler macros in cl.el.
9310 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9311 Replace manual autoloads with generated ones.
9312 (htmlfontify-unload-rgb-file): Remove autoload.
9313 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9315 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9317 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9318 (byte-compile-setq-default): Optimize for the
9319 single-var case and don't call byte-compile-form in this case to avoid
9320 inf-loop with byte-compile-set-default.
9322 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9324 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9326 Implement SELINUX backends.
9328 * net/tramp.el (tramp-file-name-handler-alist):
9329 Add `file-selinux-context' and `set-file-selinux-context'.
9330 (tramp-handle-file-selinux-context)
9331 (tramp-handle-set-file-selinux-context): New defuns.
9332 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9333 Handle PRESERVE-SELINUX-CONTEXT.
9335 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9336 Add `file-selinux-context' and `set-file-selinux-context'.
9337 (tramp-gvfs-handle-file-selinux-context)
9338 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9339 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9341 * net/ange-ftp.el (ange-ftp-copy-file):
9342 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9343 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9344 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9345 Add PRESERVE-SELINUX-CONTEXT.
9347 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9349 Synchronize with Tramp repository.
9351 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9352 (tramp-action-process-alive, tramp-action-out-of-band)
9353 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9354 (tramp-exists-file-name-handler): Fix docstring.
9355 (with-progress-reporter): New defmacro.
9356 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9357 (tramp-maybe-open-connection): Use it.
9359 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9361 Detect ssh 'ControlMaster' argument automatically in some cases.
9363 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9364 (tramp-default-method): Use it.
9366 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9368 * net/tramp.el (tramp-handle-copy-file): Add new optional
9369 parameter `preserve-selinux-context'.
9370 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9372 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9374 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9375 Ensure, that non remote files are still checked. Oops.
9377 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9381 * icomplete.el (icomplete-completions): Use `non-essential'.
9383 * net/tramp.el (tramp-connectable-p): New defun.
9384 (tramp-handle-expand-file-name)
9385 (tramp-completion-handle-file-name-all-completions)
9386 (tramp-completion-handle-file-name-completion): Use it.
9388 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9392 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9394 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9396 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9398 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9401 * info.el (info-tool-bar-map): Add labels.
9403 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9405 * cus-edit.el (custom-commands): Add labels for tool bar.
9406 (custom-buffer-create-internal, Custom-mode): Adjust for
9407 labels in custom-commands.
9409 * dynamic-setting.el: Renamed from font-setting.el.
9411 2010-04-21 John Wiegley <jwiegley@gmail.com>
9413 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9414 toggles the use of virtual buffers.
9415 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9416 (ido-toggle-virtual-buffers): New function.
9418 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9420 Use `define-derived-mode'; fix window selection; doc fixes.
9421 * play/tetris.el (tetris, tetris-update-speed-function)
9422 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9423 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9424 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9425 (tetris-pause-game): Fix typos in docstrings.
9426 (tetris-mode-map, tetris-null-map):
9427 Move initialization into declaration.
9428 (tetris-mode): Define with `define-derived-mode';
9429 set show-trailing-whitespace to nil.
9430 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9432 2010-04-21 Karel Klíč <kklic@redhat.com>
9434 * files.el (backup-buffer): Handle SELinux context, and return it
9435 if a backup was made by renaming.
9436 (backup-buffer-copy): Set SELinux context to the target file.
9437 (basic-save-buffer): Set SELinux context of the newly written file.
9438 (basic-save-buffer-1): Now it also returns any SELinux context.
9439 (basic-save-buffer-2): Set SELinux context of the newly created file,
9441 * net/tramp.el (tramp-file-name-for-operation):
9442 Add file-selinux-context.
9444 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9446 Make the log-edit comments use RFC822 format throughout.
9448 * vc.el (vc-checkin, vc-modify-change-comment):
9449 Adjust to new vc-start/finish-logentry.
9450 (vc-find-conflicted-file): New command.
9451 (vc-transfer-file): Adjust to new vc-checkin.
9452 (vc-next-action): Improve scoping.
9454 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9455 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9457 * vc-git.el (vc-git-log-edit-mode): Remove.
9458 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9459 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9461 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9462 (vc-start-logentry): Remove argument `extra'.
9463 (vc-finish-logentry): Remove extra args.
9465 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9466 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9467 (vc-bzr-conflicted-files): New function.
9469 * log-edit.el (log-edit-extra-flags)
9470 (log-edit-before-checkin-process): Remove.
9471 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9472 (log-edit-headers-alist): New var.
9473 (log-edit-header-contents-regexp): New const.
9474 (log-edit-match-to-eoh): New function.
9475 (log-edit-font-lock-keywords): Use them.
9476 (log-edit): Insert a "Summary:" header as default.
9477 (log-edit-mode): Mark font-lock rules as case-insensitive.
9478 (log-edit-done): Cleanup headers.
9479 (log-view-process-buffer): Remove.
9480 (log-edit-extract-headers): New function to replace it.
9482 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9484 * subr.el (default-direction-reversed): Remove obsolescence info.
9486 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9488 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9491 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9492 I.e. include text after point in the completion region.
9493 Also, return nil when we're not after/in a symbol.
9495 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9496 default enable-multibyte-characters.
9498 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9500 * international/mule.el: Help the user choose a valid coding-system.
9501 (read-buffer-file-coding-system): New function.
9502 (set-buffer-file-coding-system): Use it. Prompt the user if the
9503 coding-system cannot encode all the chars.
9505 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9506 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9507 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9508 Don't use *vc-bzr-shelve*.
9510 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9512 Fix the version number for added files.
9513 * vc-hg.el (vc-hg-working-revision): Check if the file is
9514 registered after hg parent fails (Bug#5961).
9516 2010-04-19 Glenn Morris <rgm@gnu.org>
9518 * htmlfontify.el (htmlfontify-buffer)
9519 (htmlfontify-copy-and-link-dir): Autoload entry points.
9521 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9523 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9524 name relative to the project root (Bug#5960).
9526 2010-04-19 Glenn Morris <rgm@gnu.org>
9528 * vc-git.el (vc-git-print-log): Doc fix.
9530 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9532 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9534 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9536 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9537 default settings (Bug#5928).
9539 2010-04-19 Glenn Morris <rgm@gnu.org>
9541 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9543 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9545 2010-04-19 Kenichi Handa <handa@m17n.org>
9547 * language/indian.el (malayalam-composable-pattern): Fix previous
9548 change (add U+0D4D "SIGN VIRAMA").
9549 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9550 (tamil-composable-pattern): Fix typo in the regexp.
9551 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9552 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9553 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9555 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9557 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9558 paragraph-separate (Bug#5821).
9560 2010-04-19 Juri Linkov <juri@jurta.org>
9562 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9564 * info.el (Info-find-node-2): Comment out code that skips
9566 (Info-mouse-follow-link): New command.
9567 (Info-link-keymap): New keymap.
9568 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9569 Return a string with links instead of inserting breadcrumbs
9571 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9572 Instead of putting the `invisible' text property over the Info
9573 header, make an overlay over the Info header with the `invisible'
9574 property and `after-string' set to the string returned by
9577 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9579 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9580 Reported by monkey@sandpframing.com.
9582 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9584 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9585 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9586 available in the "keyseq cache" any more.
9588 * custom.el (defcustom): Add edebug spec.
9590 2010-04-18 Juri Linkov <juri@jurta.org>
9592 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9594 * view.el (view-file, view-buffer): Move test for special mode-class
9595 from view-file to view-buffer.
9597 * tar-mode.el (tar-extract): Turn if's into one cond
9598 like in arc-mode.el.
9600 2010-04-18 Juri Linkov <juri@jurta.org>
9602 Add 7z archive format support (bug#5475).
9604 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9605 (archive-7z-extract): New defcustom.
9606 (archive-find-type): Add magic string for 7z.
9607 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9608 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9609 `buffer' arg of `call-process'.
9610 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9611 call the function `archive-7z-extract' with the variable
9612 `archive-7z-extract' let-bound to `archive-zip-extract'.
9613 (archive-7z-summarize, archive-7z-extract): New functions.
9615 * international/mule.el (auto-coding-alist):
9616 * files.el (auto-mode-alist): Add 7z file extension.
9618 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9620 * loadup.el: Setup hash-cons for pure data.
9622 Fix duplicate entries in cedet's loaddefs.el files.
9623 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9624 Should make most file-local generated-autoload-file unnecessary.
9625 (print-readably): Silence warnings.
9626 (autoload-find-destination): Take load-name as an arg to make sure
9627 it's the same as the one that will be in the file.
9628 (autoload-generate-file-autoloads): Adjust to above changes.
9629 Try to make the dataflow a bit simpler.
9631 * cvs-status.el (cvs-refontify): Remove unused.
9633 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9635 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9637 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9638 twos-complement mode.
9640 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9642 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9643 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9644 (calc-inverse): Add "Option" to message, as appropriate.
9645 (calc-hyperbolic): Add "Option" to message, as appropriate.
9646 (calc-option, calc-is-option): New functions.
9648 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9649 (calc-option-prefix-help): New function.
9651 * calc/calc-misc.el (calc-help): Add "Option" entry.
9653 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9654 (calc-option-flag): New variable.
9655 (calc-do): Set `calc-option-flag to nil.
9656 (calc-set-mode-line): Add "Opt " as appropriate.
9658 2010-04-16 Juri Linkov <juri@jurta.org>
9660 Move scrolling commands from simple.el to window.el
9661 because their primitives are implemented in window.c.
9663 * simple.el (scroll-error-top-bottom)
9664 (scroll-up-command, scroll-down-command, scroll-up-line)
9665 (scroll-down-line, scroll-other-window-down)
9666 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9667 * window.el (scroll-error-top-bottom)
9668 (scroll-up-command, scroll-down-command, scroll-up-line)
9669 (scroll-down-line, scroll-other-window-down)
9670 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9671 Move from simple.el to window.el because their primitives are
9672 implemented in window.c.
9674 2010-04-16 Juri Linkov <juri@jurta.org>
9676 * isearch.el (isearch-lookup-scroll-key): Check both
9677 `isearch-scroll' and `scroll-command' properties.
9678 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9680 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9682 * simple.el (scroll-up-command, scroll-down-command)
9683 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9685 2010-04-15 Juri Linkov <juri@jurta.org>
9687 * simple.el (scroll-up-command, scroll-down-command)
9688 (scroll-up-line, scroll-down-line): Put `scroll-command'
9689 property on the these symbols. Remove them from
9690 `scroll-preserve-screen-position-commands'.
9692 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9693 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9694 Remove it from `scroll-preserve-screen-position-commands'.
9696 * isearch.el (isearch-allow-scroll): Doc fix.
9698 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9700 * net/tramp.el (tramp-error-with-buffer): Don't show the
9701 connection buffer when we are in completion mode.
9702 (tramp-file-name-handler): Catch the error for some operations
9703 when we are in completion mode. This gives the user the chance to
9704 correct the file name in the minibuffer.
9706 2010-04-15 Glenn Morris <rgm@gnu.org>
9708 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9710 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9712 Simplify by using `define-derived-mode'.
9713 * info.el (Info-mode):
9714 * calendar/todo-mode.el (todo-mode):
9715 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9716 (gomoku-mode-map): Move initialization into declaration.
9718 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9721 * ido.el (ido-file-name-all-completions-1):
9722 * minibuffer.el (minibuffer-completion-help):
9723 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9725 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9727 * simple.el (non-essential): New var.
9729 Add a new field `location' to bookmarks for non-file bookmarks.
9730 * bookmark.el (bookmark-location): Use the new field, if present.
9731 (bookmark-insert-location): Undo last change, not needed any more.
9732 * man.el (Man-bookmark-make-record):
9733 * woman.el (woman-bookmark-make-record): Add `location' field.
9735 2010-04-14 Juri Linkov <juri@jurta.org>
9737 * simple.el (scroll-error-top-bottom): New defcustom.
9738 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9740 * emulation/pc-select.el (pc-select-override-scroll-error):
9741 Obsolete in favor of `scroll-error-top-bottom'.
9743 2010-04-14 Juri Linkov <juri@jurta.org>
9745 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9746 `scroll-up-command' and `M-v' to `scroll-down-command'.
9748 * emulation/cua-rect.el (cua--init-rectangles):
9749 * forms.el (forms--change-commands):
9750 * image-mode.el (image-mode-map):
9751 Remap scroll-down-command and scroll-up-command
9752 in addition to scroll-down and scroll-up.
9754 2010-04-14 Juri Linkov <juri@jurta.org>
9756 * mwheel.el (scroll-preserve-screen-position-commands):
9757 Add mwheel-scroll to this list of commands.
9759 * simple.el (scroll-preserve-screen-position-commands):
9760 Add scroll-up-command, scroll-down-command, scroll-up-line,
9761 scroll-down-line to this list of commands.
9763 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9765 * obsolete/complete.el: Move from lisp/complete.el.
9767 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9769 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9770 to the minor mode function now turns the mode ON unconditionally.
9772 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9774 * vc-dir.el (vc-dir-kill-line): New command.
9775 (vc-dir-mode-map): Bind it to C-k.
9777 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9779 * woman.el: Add bookmark declarations to silence the compiler.
9780 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9781 step to compatibility between man and woman bookmarks.
9782 Adjust for Man-default-bookmark-title renaming.
9783 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9785 * man.el: Add bookmark declarations to silence the compiler.
9786 (Man-name-local-regexp): Make it match NAME as well.
9787 (Man-getpage-in-background): Return the buffer.
9788 (Man-notify-when-ready): Use `case'.
9789 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9790 Don't hardcode "NAME". Simplify.
9791 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9792 Rename from Man-bookmark-make-record.
9793 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9794 we have the actual man-args. Use Man-getpage-in-background rather
9795 than `man' since the arg is already processed. Let bookmark.el do the
9796 window handling. Only wait for the relevant process.
9797 Don't forget to autoload.
9799 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9801 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9803 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9805 (woman-mode): Setup bookmark support.
9807 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9808 (man-bookmark-jump): New functions.
9809 (Man-mode): Setup bookmark support.
9811 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9813 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9814 recognize ssh-keygen prompt (Bug#2817).
9816 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9818 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9820 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9822 Synchronize with Tramp repository.
9824 * net/tramp.el (tramp-completion-function-alist)
9825 (tramp-file-name-regexp, tramp-chunksize)
9826 (tramp-local-coding-commands, tramp-remote-coding-commands):
9828 (tramp-remote-process-environment): Use `format' instead of `concat'.
9829 (tramp-handle-directory-files-and-attributes)
9830 (tramp-get-remote-path): Use `copy-tree'.
9831 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9832 compatibility: Use `completion-ignore-case' if
9833 `read-file-name-completion-ignore-case' does not exist.
9834 (tramp-do-copy-or-rename-file-directly): Do not use
9835 `tramp-handle-file-remote-p'.
9836 (tramp-do-copy-or-rename-file-out-of-band):
9837 Use `tramp-compat-delete-directory'.
9838 (tramp-do-copy-or-rename-file-out-of-band)
9839 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9840 Use `format-spec-make'.
9841 (tramp-find-foreign-file-name-handler)
9842 (tramp-advice-make-auto-save-file-name)
9843 (tramp-set-auto-save-file-modes): Remove superfluous check for
9844 `stringp'. This is done inside `tramp-tramp-file-p'.
9845 (tramp-debug-outline-regexp): New defconst.
9846 (tramp-get-debug-buffer): Use it.
9847 (tramp-check-for-regexp): Use (forward-line 1).
9848 (tramp-set-auto-save-file-modes): Adapt version check.
9850 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9851 Wrap call of `featurep' for 2nd argument.
9852 (tramp-compat-make-temp-file): Simplify fallback implementation.
9853 (tramp-compat-copy-tree): Remove function.
9854 (tramp-compat-delete-directory): Provide implementation for older
9857 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9858 Do not use `tramp-fish-handle-file-attributes.
9860 * net/trampver.el: Update release number.
9862 2010-04-10 Glenn Morris <rgm@gnu.org>
9864 * progmodes/compile.el (compilation-save-buffers-predicate):
9865 Add missing :version tag.
9867 2010-04-09 Sam Steingold <sds@gnu.org>
9869 * progmodes/compile.el (compilation-save-buffers-predicate):
9870 Remove the "autoload" cookie.
9872 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9873 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9874 and `bug-reference-prog-mode' can be used in hooks directly.
9876 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9878 Add --author support to git commit.
9879 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9880 (vc-git-log-edit-mode): New minor mode.
9881 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9884 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9886 * vc-hooks.el, vc-git.el: Improve documentation comments.
9888 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9890 Fix some of the problems in defsubst* (bug#5728).
9891 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9892 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9894 2010-04-07 Sam Steingold <sds@gnu.org>
9896 * progmodes/compile.el (compilation-save-buffers-predicate):
9897 New custom variable.
9898 (compile, recompile): Pass it to `save-some-buffers'.
9900 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9902 * wid-edit.el (widget-choose): Move cursor to the second line of
9903 the buffer (Bug#5695).
9905 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9907 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9908 * vc.el (vc-print-log-setup-buttons): New function split out from
9909 vc-print-log-internal.
9910 (vc-log-internal-common): New function, a parametrized version of
9911 vc-print-log-internal.
9912 (vc-print-log-internal): Just call vc-log-internal-common with the
9914 (vc-incoming-outgoing-internal):
9915 (vc-log-incoming, vc-log-outgoing): New functions.
9916 (vc-log-view-type): New permanent local variable.
9918 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9920 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9921 of the dynamic bound vc-short-log.
9922 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9924 * vc-git.el (vc-git-log-outgoing): New function.
9925 (vc-git-log-view-mode): Use vc-log-view-type instead
9926 of the dynamic bound vc-short-log.
9928 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9929 of the dynamic bound vc-short-log. Highlight the tag.
9930 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9931 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9932 (vc-hg-incoming-mode): Remove.
9933 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9935 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9937 Fix default-directory for vc-root-diff.
9938 * vc.el (vc-root-diff): Bind default-directory to the root
9939 directory for the diff command.
9941 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9943 * progmodes/verilog-mode.el (verilog-forward-sexp):
9944 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9945 word keywords, suggested by Steve Pearlmutter.
9946 (verilog-pretty-declarations): Support lineup of declarations in
9948 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9949 fix bug for /* / comments.
9950 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9951 Speed up and simplfy as this is never called with a bound.
9952 (verilog-pretty-declarations): Enhance to line up declarations
9953 inside a parameter list, suggested by Alan Morgan.
9954 (verilog-pretty-expr): Tune assignment regular expression match
9955 string for corner cases; also use markers instead of character
9956 number as indent changes the later.
9958 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9960 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9962 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9963 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9964 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9965 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9968 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9969 1800-2009 keywords, including "global.".
9971 2010-04-06 John Wiegley <jwiegley@gmail.com>
9973 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9974 appearing in buffer list (if a live buffer name matched a recentf
9975 file basename). Should use uniquify to offer a real solution.
9977 2010-04-06 John Wiegley <jwiegley@gmail.com>
9979 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9980 comment to code, and add a :version tag.
9981 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9983 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9985 Enable recentf-mode if using virtual buffers.
9986 * ido.el (recentf-list): Declare for byte-compiler.
9987 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9988 (ido-make-buffer-list): Simplify.
9989 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9991 2010-04-05 Juri Linkov <juri@jurta.org>
9993 Scrolling commands which scroll a line instead of full screen.
9994 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9996 * simple.el (scroll-up-line, scroll-down-line): New commands.
9997 Put property isearch-scroll=t on them.
9999 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10002 2010-04-05 Juri Linkov <juri@jurta.org>
10004 Scrolling commands which do not signal errors at top/bottom.
10005 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10007 * simple.el (scroll-up-command, scroll-down-command): New commands.
10008 Put property isearch-scroll=t on them.
10010 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10011 `scroll-down-command' and [next] from `scroll-up' to
10012 `scroll-up-command'.
10014 * emulation/cua-base.el: Put property CUA=move on
10015 `scroll-up-command' and `scroll-down-command'.
10016 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10017 and `scroll-down-command' to `cua-scroll-down'.
10019 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10021 * help.el (describe-mode): Return nil.
10023 2010-04-04 John Wiegley <jwiegley@gmail.com>
10025 * ido.el (ido-use-virtual-buffers): New variable to indicate
10026 whether "virtual buffer" support is enabled for IDO.
10027 (ido-virtual): Face used to indicate virtual buffers in the list.
10028 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10029 exists, but a virtual buffer of that name does (which would be why
10030 it was in the list), recreate the buffer by reopening the file.
10031 (ido-make-buffer-list): If virtual buffers are being used, call
10032 `ido-add-virtual-buffers-to-list' before the make list hook.
10033 (ido-virtual-buffers): New variable which contains a copy of the
10034 current contents of the `recentf-list', albeit pared down for the
10035 sake of speed, and with proper faces applied.
10036 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10037 create a list of "virtual buffers" to present to the user in
10038 addition to the currently open set. Note that this logic could
10039 get rather slow if that list is too large. With the default
10040 `recentf-max-saved-items' of 200, there is little speed penalty.
10042 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10044 * font-lock.el: Require CL when compiling.
10045 (font-lock-turn-on-thing-lock): Use `case'.
10047 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10049 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10052 2010-04-02 Juri Linkov <juri@jurta.org>
10054 * ehelp.el (electric-help-orig-major-mode):
10055 New buffer-local variable.
10056 (electric-help-mode): Set it to original major-mode. Doc fix.
10057 (with-electric-help): Use `electric-help-orig-major-mode' instead
10058 of (default-value 'major-mode). Doc fix.
10059 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10061 2010-04-02 Sam Steingold <sds@gnu.org>
10063 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10064 `vc-hg-command' with a list of flags.
10066 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10067 Also accept "patch" and "RFE".
10068 (bug-reference-fontify): `bug-reference-url-format' can also be a
10069 function to be able to handle the bug kind.
10070 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10072 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10074 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10075 value to fboundp, it may not be a symbol.
10077 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10079 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10081 2010-03-31 Juri Linkov <juri@jurta.org>
10083 * simple.el (next-line, previous-line): Re-throw a signal
10084 with `signal' instead of using `ding'.
10085 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10087 2010-03-31 Juri Linkov <juri@jurta.org>
10089 * simple.el (keyboard-escape-quit): Raise deselecting the active
10090 region higher than exiting the minibuffer.
10091 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10093 2010-03-31 Juri Linkov <juri@jurta.org>
10095 * image.el (image-animated-p): Use `image-metadata' instead of
10096 `image-extension-data'. Get GIF extenstion data from metadata
10097 property `extension-data'.
10099 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10101 * simple.el (append-to-buffer): Simplify.
10103 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10105 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10106 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10108 2010-03-31 Kenichi Handa <handa@m17n.org>
10110 * language/sinhala.el (composition-function-table): Fix regexp for
10111 the new Unicode specification.
10113 * language/indian.el (devanagari-composable-pattern)
10114 (tamil-composable-pattern, kannada-composable-pattern)
10115 (malayalam-composable-pattern): Adjust for the new Unicode
10117 (bengali-composable-pattern, gurmukhi-composable-pattern)
10118 (gujarati-composable-pattern, oriya-composable-pattern)
10119 (telugu-composable-pattern): New variables to cope with the new
10120 Unicode specification. Use them in composition-function-table.
10122 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10124 Make tmm-menubar work for the Buffers menu again (bug#5726).
10125 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10126 vectors rather than cons cells, as used in menu-bar-update-buffers.
10128 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10130 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10131 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10132 electric punctuation for "{}();,:" (Bug#5586).
10134 * mail/sendmail.el (mail-default-directory): Doc fix.
10136 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10138 * mail/sendmail.el (mail-default-directory): Doc fix.
10140 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10142 * subr.el (version-regexp-alist, version-to-list)
10143 (version-list-<, version-list-=, version-list-<=)
10144 (version-list-not-zero, version<, version<=, version=): Doc fix.
10147 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10149 * vc.el (vc-root-diff): Doc fix.
10151 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10153 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10155 * simple.el (append-to-buffer): Fix last change.
10157 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10159 * simple.el (append-to-buffer): Ensure that point is preserved if
10160 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10163 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10165 * files.el (auto-mode-case-fold): Change default to t.
10167 2010-03-30 Juri Linkov <juri@jurta.org>
10169 * dired-x.el (dired-omit-mode): Doc fix.
10171 2010-03-30 Juri Linkov <juri@jurta.org>
10173 * replace.el (occur-accumulate-lines): Move occur-engine related
10174 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10175 to be located after `occur-engine'.
10177 2010-03-30 Juri Linkov <juri@jurta.org>
10179 Make occur handle multi-line matches cleanly with context.
10180 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10182 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10183 (occur-engine): Add local variables `ret', `prev-after-lines',
10184 `prev-lines'. Use more arguments for `occur-context-lines'.
10185 Set first elem of its returned list to `data', and the second elem
10186 to `prev-after-lines'. Don't print the separator line.
10187 In the end, print remaining context after-lines.
10188 (occur-context-lines): Add new arguments `begpt', `endpt',
10189 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10190 after-lines of the previous match with before-lines of the
10191 current match and not overlap them. Return a list with two
10192 values: the output line and the list of context after-lines.
10194 2010-03-30 Juri Linkov <juri@jurta.org>
10196 * replace.el (occur-accumulate-lines): Fix a bug where the first
10197 context line at the beginning of the buffer was missing.
10199 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10201 * files.el: Make bidi-display-reordering safe variable for boolean
10204 2010-03-29 Phil Hagelberg <phil@evri.com>
10205 Chong Yidong <cyd@stupidchicken.com>
10207 * subr.el: Extend progress reporters to perform "spinning".
10208 (progress-reporter-update, progress-reporter-do-update):
10209 Handle non-numeric value arguments.
10210 (progress-reporter--pulse-characters): New var.
10212 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10214 * progmodes/compile.el (compilation-start): Fix regexp detection
10215 of initial cd command (Bug#5771).
10217 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10219 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10221 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10223 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10224 * progmodes/gdb-mi.el: Restore.
10225 * progmodes/gdb-ui.el: Remove.
10226 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10228 2010-03-25 Glenn Morris <rgm@gnu.org>
10230 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10231 all dired buffers, even tramp ones. (Bug#5755)
10233 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10235 Add "union tags" in mpc.el.
10236 * mpc.el: Remove backward compatibility code.
10237 (mpc-browser-tags): Change default.
10238 (mpc--find-memoize-union-tags): New var.
10239 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10240 (mpc-cmd-find): Handle the case where the playlist does not exist.
10242 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10243 (mpc-cmd-add): Use mpc-cmd-flush.
10244 (mpc-tagbrowser-tag-name): New fun.
10245 (mpc-tagbrowser-buf): Use it.
10246 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10248 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10251 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10252 Use replace-regexp-in-string.
10253 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10254 (makefile-imake-mode-syntax-table): Move init into defvar.
10255 (makefile-mode): Use define-derived-mode.
10257 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10258 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10259 not be present any more.
10261 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10263 * faces.el (set-face-attribute): Fix typo in docstring.
10264 (face-valid-attribute-values): Reflow docstring.
10266 2010-03-24 Glenn Morris <rgm@gnu.org>
10268 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10270 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10272 * indent.el (indent-for-tab-command): Doc fix.
10274 2010-03-24 Alan Mackenzie <acm@muc.de>
10276 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10277 Fix off-by-one error. Fixes bug #5747.
10279 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10281 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10282 (image-dired-read-comment): Doc fix.
10284 * json.el (json-object-type, json-array-type, json-key-type)
10285 (json-false, json-null, json-read-number):
10286 * minibuffer.el (completion-in-region-functions):
10287 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10288 (cal-tex-cursor-week):
10289 * emacs-lisp/trace.el (trace-function):
10290 * eshell/em-basic.el (eshell/printnl):
10291 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10292 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10293 * obsolete/levents.el (allocate-event, event-key, event-object)
10294 (event-point, event-process, event-timestamp, event-to-character)
10295 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10296 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10297 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10298 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10299 (reftex-highlight-selection): Fix typos in docstrings.
10301 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10303 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10305 2010-03-24 Glenn Morris <rgm@gnu.org>
10307 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10308 2008-02-13 without comment; mark it obsolete.
10309 (rmail-highlight-headers): Use rmail-highlight-face once more.
10311 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10313 * woman.el (woman2-process-escapes): Only consume the newline if
10314 the filler character is on a line by itself (Bug#5729).
10316 2010-03-24 Kenichi Handa <handa@m17n.org>
10318 * language/indian.el (devanagari-composable-pattern): Add more
10321 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10323 * net/trampver.el: Update release number.
10325 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10327 * net/tramp.el (tramp-find-executable):
10328 Use `tramp-get-connection-buffer'. Make the regexp for checking
10329 output of "wc -l" more robust.
10330 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10331 (tramp-open-connection-setup-interactive-shell): Remove workaround
10332 for OpenSolaris bug, it is not needed anymore.
10334 2010-03-24 Glenn Morris <rgm@gnu.org>
10336 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10338 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10340 * files.el (auto-mode-alist): Accept more verilog file patterns.
10342 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10346 2010-03-24 Glenn Morris <rgm@gnu.org>
10348 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10349 log-edit-before-checkin-process.
10351 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10353 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10355 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10356 (log-view-process-buffer, log-edit-extra-flags): Declare.
10358 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10360 2010-03-23 Sam Steingold <sds@gnu.org>
10362 Fix bug#5620: recalculate all markers on compilation buffer
10363 modifications, not on file modifications.
10364 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10365 variable: the buffer modification time, for buffers not associated with
10367 (compilation-mode): Create it.
10368 (compilation-filter): Update it.
10369 (compilation-next-error-function): Use it instead of
10370 `visited-file-modtime' for timestamp.
10372 2010-03-23 Juri Linkov <juri@jurta.org>
10374 Implement Occur multi-line matches.
10375 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10377 * replace.el (occur): Doc fix.
10378 (occur-engine): Set `begpt' to the beginning of the first line.
10379 Set `endpt' to the end of the last match line. At first, count
10380 line numbers between `origpt' and `begpt'. Split out code from
10381 `out-line' variable to new let-bindings `match-prefix' and
10382 `match-str'. In `out-line' add non-numeric prefix to all
10383 non-first lines of multi-line matches. Finally, count lines
10384 between `begpt' and `endpt' and add to `lines'.
10386 2010-03-23 Juri Linkov <juri@jurta.org>
10388 * replace.el (occur-accumulate-lines, occur-engine):
10389 Use `occur-engine-line' instead of duplicate code.
10390 (occur-engine-line): New function created from duplicate code
10391 in `occur-accumulate-lines' and `occur-engine'.
10393 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10394 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10396 2010-03-23 Juri Linkov <juri@jurta.org>
10398 * finder.el: Remove TODO tasks.
10400 * info.el (Info-finder-find-node): Add node "all"
10401 with all package info. Handle a list of multiple keywords
10402 separated by comma.
10403 (info-finder): In interactive use with a prefix argument,
10404 use `completing-read-multiple' to read a list of keywords
10405 separated by comma.
10407 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10409 Add a new completion style `substring'.
10410 * minibuffer.el (completion-basic--pattern): New function.
10411 (completion-basic-try-completion, completion-basic-all-completions):
10413 (completion-substring--all-completions)
10414 (completion-substring-try-completion)
10415 (completion-substring-all-completions): New functions.
10416 (completion-styles-alist): New style `substring'.
10418 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10420 Get rid of .elc files after removal of the corresponding .el.
10421 * Makefile.in (compile-clean): New target.
10422 (compile-main): Use it.
10424 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10426 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10427 don't do make there. When compiling with separate object dir, there
10428 is no Makefile there.
10430 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10432 Get rid of the ELCFILES abomination, again.
10433 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10434 (all, compile): Don't call compile-last.
10435 (compile-main): Build the "elcfiles" list dynamically.
10436 (compile-targets): New (internal) target.
10438 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10440 * Makefile.in (top_srcdir): Define.
10441 (abs_top_builddir): Define.
10442 (srcdir): Don't append `/..'.
10443 (EMACS): Use ${abs_top_builddir}.
10444 (all, compile, compile-always, compile-last): Don't set emacswd.
10445 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10447 (lisp): Use $(srcdir) instead of @srcdir@.
10449 2010-03-21 Juri Linkov <juri@jurta.org>
10451 Fix message of multi-line occur regexps and multi-buffer header lines.
10452 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10454 * replace.el (occur-1): Don't display regexp if it is longer
10455 than window-width. Use `query-replace-descr' to display regexp.
10456 (occur-engine): Don't display regexp in the buffer header for
10457 multi-buffer occur. Display a separate header line with total
10458 match count and regexp for multi-buffer occur.
10459 Use `query-replace-descr' to display regexp.
10461 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10463 * net/secrets.el: Fix parenthesis.
10464 (secrets-enabled): Fix parenthesis.
10466 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10468 Use more relative file and directory names.
10469 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10470 (setwins, setwins_almost, setwins_for_subdirs):
10471 Don't `cd'; output relative names.
10472 (all, compile, compile-always, compile-last): Set emacswd.
10473 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10474 Just cd to the lisp source dir so we can use relative file names.
10476 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10478 2010-03-20 Glenn Morris <rgm@gnu.org>
10480 * textmodes/rst.el: Use faces for font-lock customization, and make the
10481 old -face variables obsolete.
10482 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10483 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10484 (rst-block-face, rst-external-face, rst-definition-face)
10485 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10486 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10488 (rst-font-lock-keywords-function): Update for above changes.
10490 2010-03-20 Juri Linkov <juri@jurta.org>
10493 * obsolete/s-region.el: Move to obsolete.
10495 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10497 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10499 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10501 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10503 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10505 Add special markup processing for commit logs.
10506 * log-edit.el (log-edit-extra-flags): New variable.
10507 (log-edit): Add new argument MODE. Use that mode when non-nil
10508 instead of the log-view-mode.
10509 (log-view-process-buffer): New function.
10511 * vc.el: Document that the checkin method takes optional
10512 arguments. Document new backend specific method: log-view-mode.
10513 (vc-default-log-edit-mode): New function.
10514 (vc-checkin): Use a backend specific log-view-mode.
10515 Pass extra arguments to the checkin method.
10516 (vc-modify-change-comment): Pass a dummy extra argument.
10518 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10520 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10521 (vc-finish-logentry): Process the log buffer before passing it
10522 down. Pass log-edit-extra-flags.
10524 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10526 (log-edit-extra-flags, log-edit-before-checkin-process):
10529 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10531 (log-edit-extra-flags, log-edit-before-checkin-process):
10533 (vc-hg-log-edit-mode): New derived mode.
10535 * vc-arch.el (vc-arch-checkin):
10536 * vc-cvs.el (vc-cvs-checkin):
10537 * vc-git.el (vc-git-checkin):
10538 * vc-mtn.el (vc-mtn-checkin):
10539 * vc-rcs.el (vc-rcs-checkin):
10540 * vc-sccs.el (vc-sccs-checkin):
10541 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10543 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10545 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10548 2010-03-19 Glenn Morris <rgm@gnu.org>
10550 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10552 2010-03-18 Glenn Morris <rgm@gnu.org>
10554 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10556 * replace.el (query-replace-history): Give it a doc string.
10557 (map-query-replace-regexp): Use query-replace-from-history-variable
10558 and query-replace-to-history-variable.
10560 * mail/hashcash.el (declare-function): Remove duplicate definition.
10562 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10563 Make it an obsolete alias for report-emacs-bug-address.
10564 (message-strip-special-text-properties): Declare.
10565 (report-emacs-bug): Remove test for a pretest bug address.
10566 Combine message-mode-specific code.
10568 * mail/supercite.el: Don't require sendmail.
10569 (mh-in-header-p): Declare rather than using with-no-warnings.
10570 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10571 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10573 * calendar/cal-french.el: Convert to utf-8.
10575 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10578 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10580 * net/secrets.el (secrets-enabled): New variable. Use it instead
10583 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10585 * net/secrets.el (top): Register the D-Bus signals only when the
10586 service "org.freedesktop.secrets" can be pinged.
10587 Provide subfeature `enabled'.
10589 2010-03-14 Juri Linkov <juri@jurta.org>
10591 Add finder unknown keywords.
10593 * finder.el (finder-unknown-keywords): New function.
10595 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10596 to create a Finder node with unknown keywords.
10598 2010-03-14 Juri Linkov <juri@jurta.org>
10600 * finder.el (finder-compile-keywords): Replace `princ' with
10601 `prin1' on a list of symbols interned from keyword strings.
10603 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10604 a comma, then split keywords using a comma and optional whitespace.
10605 Otherwise, split by whitespace.
10613 * progmodes/mixal-mode.el: Fix keywords.
10615 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10617 * Makefile.in (ELCFILES): Add net/secrets.elc.
10619 * net/secrets.el: New file.
10621 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10623 * facemenu.el (list-colors-display, list-colors-print): New arg
10624 callback. Use it to allow selecting colors.
10626 * wid-edit.el (widget-image-insert): Insert image prop even if the
10627 current display is non-graphic.
10628 (widget-field-value-set): New fun.
10629 (editable-field): Use it.
10630 (widget-field-value-get): Clean up unused var.
10631 (widget-color-value-create, widget-color--choose-action):
10632 New funs. Allow using list-colors-display to choose color.
10634 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10636 * cus-edit.el: Resort topmost custom groups.
10637 (custom-buffer-sort-alphabetically): Default to t.
10638 (customize-apropos): Use apropos-parse-pattern.
10639 (custom-search-field): New var.
10640 (custom-buffer-create-internal): Add custom-apropos search field.
10641 (custom-add-parent-links): Don't display parent doc.
10642 (custom-group-value-create): Don't sort top-level custom group.
10643 (custom-magic-value-create): Show visibility button before option name.
10645 (custom-variable-state): New fun, from custom-variable-state-set.
10646 (custom-variable-state-set): Use it.
10647 (custom-group-value-create): Hide options with standard values
10648 using the :hidden-states property. Use progress reporter.
10650 (custom-show): Simplify.
10651 (custom-visibility): Disable images by default.
10652 (custom-variable): New property :hidden-states.
10653 (custom-variable-value-create): Enable images for
10654 custom-visibility widgets. Use :hidden-states property to
10655 determine initial visibility.
10657 * wid-edit.el (widget-image-find): Give images center ascent.
10658 (visibility): Add :on-image and :off-image properties.
10659 (widget-visibility-value-create): Use them.
10661 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10663 * cus-edit.el (processes): Remove from development group.
10664 (oop, hypermedia): Delete group.
10665 (comm): Promote to top-level group.
10667 * net/browse-url.el (browse-url):
10668 * net/xesam.el (xesam):
10669 * net/tramp.el (tramp):
10670 * net/goto-addr.el (goto-address):
10671 * net/ange-ftp.el (ange-ftp): Put in comm group.
10673 * view.el (view): Remove from editing group.
10675 * uniquify.el (uniquify): Put in files group.
10677 * net/browse-url.el (browse-url):
10678 * ps-print.el (postscript): Put in external group.
10680 * cus-edit.el (outlines):
10681 * textmodes/text-mode.el (text-mode-hook):
10682 * textmodes/table.el (table):
10683 * textmodes/picture.el (picture):
10684 * outline.el (outlines): Put in wp group.
10686 * nxml/nxml-mode.el (nxml): Remove from wp group.
10688 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10690 * mail/metamail.el (metamail): Remove from hypermedia group.
10692 * cus-edit.el (abbrev):
10693 * whitespace.el (whitespace):
10694 * vcursor.el (vcursor):
10695 * reveal.el (reveal):
10696 * hl-line.el (hl-line): Put in convenience group.
10698 * epg-config.el (epg): Put in data group.
10700 * emulation/pc-select.el (pc-select): Put in emulations group.
10702 * calculator.el (calculator): Put in applications group.
10704 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10706 Add .dir-locals.el support for file-less buffers.
10707 * files.el (hack-local-variables): Split out code to apply local
10708 variable settings ...
10709 (hack-local-variables-apply): ... here. New function.
10710 (hack-dir-local-variables): Use the default directory for when the
10711 buffer does not have an associated file.
10712 (hack-dir-local-variables-non-file-buffer): New function.
10713 * diff-mode.el (diff-mode):
10714 * vc-annotate.el (vc-annotate-mode):
10715 * vc-dir.el (vc-dir-mode):
10716 * log-edit.el (log-edit-mode):
10717 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10719 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10721 Add support for shelving snapshots and for showing shelves.
10722 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10723 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10725 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10726 (vc-bzr-extra-menu-map): Map them.
10728 2010-03-11 Glenn Morris <rgm@gnu.org>
10730 * cus-edit.el (customize-changed-options-previous-release):
10733 * image.el (image-animate-max-time): Fix :version tag.
10735 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10739 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10741 * vc-git.el (vc-git-revision-table): Include remote branches.
10743 2010-03-10 Kim F. Storm <storm@cua.dk>
10745 Animated image API.
10746 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10748 * image.el (image-animate-max-time): New defcustom.
10749 (image-animated-types): New defconst.
10750 (create-animated-image, image-animate-timer)
10751 (image-animate-start, image-animate-stop, image-animate-timeout)
10752 (image-animated-p): New functions.
10754 * image-mode.el (image-toggle-display-image):
10755 Replace `create-image' with `create-animated-image'.
10757 2010-03-09 Miles Bader <miles@gnu.org>
10759 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10760 instead of "format:"; this ensures that the output is
10761 newline-terminated.
10763 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10765 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10766 that all errors are caught, and that the return value is always a
10769 2010-03-08 Kenichi Handa <handa@m17n.org>
10771 * language/misc-lang.el (windows-1256): New coding system.
10772 (cp1256): New alias of windows-1256 (bug#5690).
10774 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10776 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10777 call to rfc822-bad-address. (Bug#5692)
10779 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10781 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10782 Use vc-git-root as default directory for revision path (Bug#5657).
10784 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10786 * calculator.el (calculator): Don't bind split-window-keep-point
10789 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10791 * vc-git.el: Re-flow to fit into 80 columns.
10792 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10793 Remove spurious `quote' element in each case alternative.
10794 (vc-git-show-log-entry): Use prog1.
10795 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10797 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10799 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10801 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10803 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10804 definition, not the name (Bug#5481).
10806 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10808 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10809 argument with a local variable. (Bug#5670)
10811 2010-03-02 Juri Linkov <juri@jurta.org>
10813 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10815 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10817 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10818 error when FILENAME and NEWNAME are existing remote directories.
10820 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10821 parameter DIR-FLAG.
10823 2010-03-02 Glenn Morris <rgm@gnu.org>
10825 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10826 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10828 2010-03-01 Kenichi Handa <handa@m17n.org>
10830 * language/burmese.el (burmese-composable-pattern): Rename from
10831 myanmar-composable-pattern.
10833 * international/characters.el (script-list):
10834 * international/fontset.el (script-representative-chars):
10835 Change myanmar to burmese.
10836 (otf-script-alist): Likewise.
10837 (setup-default-fontset): Likewise. Re-fix :otf spec.
10839 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10841 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10843 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10845 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10847 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10849 * net/tramp.el (tramp-handle-write-region): START can be a string.
10850 Take care in the checks. Reported by Dan Davison
10851 <davison@stats.ox.ac.uk>.
10853 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10855 * net/dbus.el (dbus-introspect, dbus-get-property)
10856 (dbus-set-property, dbus-get-all-properties):
10857 Use `dbus-call-method' when noninteractive. (Bug#5645)
10859 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10861 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10862 * emacs-lisp/elint.el (elint-add-required-env):
10863 * calendar/icalendar.el (icalendar--add-diary-entry):
10864 * calc/calcalg2.el (math-tracing-integral):
10865 * files.el (recover-session-finish): Use with-current-buffer
10866 instead of save-excursion.
10868 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10870 Fix in-buffer completion when after-change-functions modify the buffer.
10871 * minibuffer.el (completion--replace): New function.
10872 (completion--do-completion): Use it and use relative movement.
10874 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10876 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10878 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10880 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10881 Allow the characters _<> in the stack entry (Bug#5653).
10883 2010-02-26 Kenichi Handa <handa@m17n.org>
10885 * language/burmese.el: Fix entries in composition-function-table.
10886 (myanmar-composable-pattern): New variable.
10888 * international/fontset.el (setup-default-fontset): Add an entry
10891 * international/characters.el (script-list): Add Myanmar
10894 2010-02-26 Glenn Morris <rgm@gnu.org>
10896 * custom.el (custom-initialize-delay): Doc fix.
10898 * mail/sendmail.el (send-mail-function): Autoload the call
10899 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10901 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10903 * files.el (hack-local-variables-filter): For eval forms, also
10904 check safe-local-variable-p (Bug#5636).
10906 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10908 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10909 setting the modes by `ignore-errors'. It might fail, for example
10910 if the file is not owned by the user but the group.
10911 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10913 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10915 * files.el (directory-listing-before-filename-regexp):
10916 Use stricter matching for iso-style dates, to avoid false matches with
10917 date-like filenames (Bug#5597).
10919 * htmlfontify.el (htmlfontify): Doc fix.
10921 * eshell/eshell.el (eshell): Doc fix.
10923 * startup.el (fancy-about-screen): In mode-line, apply
10924 mode-line-buffer-id face only to the buffer name (Bug#5613).
10926 2010-02-20 Kevin Ryde <user42@zip.com.au>
10928 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10929 In `watcom' anchor regexp to start of line, to avoid slowness
10932 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10934 * subr.el (remove-yank-excluded-properties): Explain in a comment
10935 why `category' property is removed.
10937 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10939 * isearch.el (isearch-update-post-hook, isearch-update):
10940 Revert 2010-02-17 change.
10942 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10944 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10945 (icalendar--convert-weekly-to-ical)
10946 (icalendar--convert-yearly-to-ical)
10947 (icalendar--convert-block-to-ical)
10948 (icalendar--convert-cyclic-to-ical)
10949 (icalendar--convert-anniversary-to-ical): Take care of time
10950 specifications where hour has 1-digit only (Bug#5549).
10952 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10954 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10955 of disassemble output in GDB 7.1.
10957 2010-02-19 Glenn Morris <rgm@gnu.org>
10959 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10960 property. (Bug#5593)
10962 2010-02-18 Sam Steingold <sds@gnu.org>
10964 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10966 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10968 Use abbreviated file names in bookmarks (bug#5591).
10969 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10970 calls to expand-file-name.
10971 (bookmark-relocate): Use abbreviated file names in bookmarks.
10972 (bookmark-load): Use abbreviated file names in messages.
10974 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10976 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10977 expand "." and "..". Reported by Thierry Volpiatto
10978 <thierry.volpiatto@gmail.com>.
10980 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10982 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10983 permissions of the temporary file to "0600". In case the remote
10984 file has no read permissions for the owner, there might be
10985 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10987 22010-02-18 Glenn Morris <rgm@gnu.org>
10989 * emacs-lisp/authors.el (authors-renamed-files-alist):
10990 Add entries for INSTALL.CVS.
10992 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10994 * vc-bzr.el: Fix typo in Known Bugs section.
10996 * isearch.el (isearch-update-post-hook): New hook.
10997 (isearch-update): Use the new hook.
10999 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11001 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11002 Fix errors in copying directories.
11003 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11004 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11005 (tramp-handle-delete-file)
11006 (tramp-handle-dired-recursive-delete-directory)
11007 (tramp-handle-write-region): Flush also the cache for the upper
11010 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11012 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11014 * cus-edit.el (hardware): Doc fix.
11016 * man.el (man): Add to external custom group.
11018 * delim-col.el (columns): Move to wp custom group.
11020 * doc-view.el (doc-view): Add to data custom group.
11022 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11024 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11025 by ispell-parse-output (Bug#5575).
11027 2010-02-16 Kenichi Handa <handa@m17n.org>
11029 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11030 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11031 (skkdic-convert): Use `euc-japan' coding system for writing.
11033 2010-02-16 Glenn Morris <rgm@gnu.org>
11035 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11036 tex-main-file before using it. (Bug#5562)
11038 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11040 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11041 warnings, since it is annoying for the user to see them each time he
11044 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11046 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11047 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11048 instead of PROC for caching "first-password-request". Otherwise,
11049 new processes would not profit from passwords already entered.
11051 * net/tramp-cache.el (tramp-dump-connection-properties):
11052 Don't save "first-password-request" property.
11054 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11056 * outline.el (outline-head-from-level):
11057 * simple.el (with-wrapper-hook):
11058 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11059 (elint-defun, elint-buffer-env, elint-top-form-logged)
11060 (elint-unbound-variable):
11061 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11062 Fix typos in docstrings.
11064 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11066 * files.el (insert-directory): When WILDCARD-REGEXP and
11067 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11068 whole directory. (Bug#5551)
11070 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11071 dired's alignment sanity. (Bug#5516)
11073 2010-02-14 Juri Linkov <juri@jurta.org>
11075 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11076 Remove remaining ^H with their preceding chars. (Bug#5566)
11078 2010-02-13 Glenn Morris <rgm@gnu.org>
11080 * simple.el (transpose-subr): Give it a doc-string.
11082 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11085 2010-02-12 Juri Linkov <juri@jurta.org>
11087 * arc-mode.el (archive-unique-fname): Make directories for nested
11088 archives. (Bug#5540)
11090 2010-02-12 Juri Linkov <juri@jurta.org>
11092 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11094 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11096 * subr.el (copy-overlay): Handle deleted overlays.
11098 * man.el (Man-completion-table): Don't signal an error if we can't run
11099 manual-program (bug#4056).
11101 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11103 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11105 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11107 * info.el (Info-bookmark-jump): Simplify.
11109 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11110 (bookmark-default-handler): Accept new bookmark field `buffer'.
11112 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11114 * iswitchb.el (iswitchb-completions): Revert last change.
11116 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11118 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11119 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11120 This prevents file names like "~/" being listed literally.
11122 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11124 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11125 Remove dead code. (Bug#5546)
11127 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11129 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11130 correctly (Bug#5548).
11132 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11134 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11135 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11137 2010-02-08 Kenichi Handa <handa@m17n.org>
11139 * international/mule-util.el (with-coding-priority): Add autoload
11140 cookie for putting `lisp-indent-function'.
11142 2010-02-07 Glenn Morris <rgm@gnu.org>
11144 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11145 Move F2003 named interfaces from keywords-2 to keywords-1, and
11146 use function-name-face rather than constant-face.
11147 Simplify "abstract interface" regexp.
11149 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11151 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11152 ID-FORMAT. Pass it to `file-attributes'.
11154 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11156 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11158 * faces.el (set-face-attribute): Allow calling
11159 internal-set-lisp-face-attribute with 'unspecified family and
11160 foundry argument (Bug#5536).
11162 2010-02-07 Glenn Morris <rgm@gnu.org>
11164 * progmodes/f90.el (f90-font-lock-keywords-2)
11165 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11166 Handle F2003 named interfaces.
11168 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11170 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11171 beg and end before calling c-get-state-before-change-functions.
11173 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11175 * vc-bzr.el (vc-bzr-dir-extra-headers):
11176 Disable the pending merges header.
11178 2010-02-05 Juri Linkov <juri@jurta.org>
11180 * doc-view.el (doc-view-mode):
11181 * image-mode.el (image-mode): Put property mode-class=special.
11184 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11186 * vc-svn.el (vc-svn-revision-table): New function.
11188 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11190 * net/ange-ftp.el (ange-ftp-insert-directory):
11191 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11192 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11193 Handle also directories. (Bug#5478)
11195 2010-02-05 Glenn Morris <rgm@gnu.org>
11197 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11199 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11201 * startup.el (command-line-1): Convert options beginning with a
11202 single dash as well (Bug#5519).
11204 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11206 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11207 * minibuffer.el (completion-initials-expand): Only check the presence
11208 of delims *within* the boundaries, since otherwise the / delim is
11209 always found for files.
11211 Fix up various corner case problems.
11212 * doc-view.el (doc-view-last-page-number): New function.
11213 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11214 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11215 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11216 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11217 (doc-view-convert-current-doc): Don't create the resolution.el file
11219 (doc-view-pdf/ps->png): Do it here instead.
11220 (doc-view-already-converted-p): Check that resolution.el is present.
11221 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11222 windows that are not yet showing images.
11224 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11226 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11227 `dired-uncache' for every elemnt which is an absolute file name.
11229 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11230 directory, handle its directory component.
11231 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11232 function is called permanently and creates noise, otherwise.
11234 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11235 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11236 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11238 2010-02-04 David Burger <dburger@google.com> (tiny change)
11240 * macros.el (apply-macro-to-region-lines):
11241 Minor simplification. (Bug#5485)
11243 2010-02-04 Glenn Morris <rgm@gnu.org>
11245 * mail/rmail.el (rmail-show-message-1): Handle malformed
11246 quoted-printable text. (Bug#5441)
11248 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11250 * simple.el (visual-line-mode): Capitalize lighter.
11252 2010-02-03 John Wiegley <jwiegley@gmail.com>
11254 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11255 list of files considered for "virtual buffer" completions.
11257 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11259 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11260 also in case of (and (not full) (not wildcard)). This is needed
11261 when dired is called with a list of files, which are not in
11262 `default-directory'. (Bug#5478)
11264 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11266 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11268 2010-02-02 Juri Linkov <juri@jurta.org>
11270 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11271 from unidiff to allow function-line after @@.
11273 2010-02-02 Juri Linkov <juri@jurta.org>
11275 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11276 '(RCS SCCS) with inverted condition.
11278 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11280 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11283 2010-02-01 Juri Linkov <juri@jurta.org>
11285 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11286 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11287 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11288 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11290 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11292 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11293 (doc-view-revert-buffer): New command.
11294 (doc-view-mode-map): Use it.
11296 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11298 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11299 pending merge is detected.
11301 2010-01-31 Juri Linkov <juri@jurta.org>
11303 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11304 beginning of interactive spec like all other grep commands do.
11305 Put "all" in front of "gz". (Bug#5260)
11307 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11309 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11311 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11313 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11314 regexp is incorrect (Bug#5476).
11316 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11318 * net/tramp.el (tramp-handle-insert-directory): Handle also
11319 symlinks, when FILENAME is not in `default-directory'.
11321 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11323 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11324 FILE is not in `default-directory'. (Bug#5478)
11326 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11327 of SWITCHES. Handle the case, FILENAME is not in
11328 `default-directory'. (Bug#5478)
11329 (tramp-register-file-name-handlers): Add safe-magic property.
11331 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11333 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11336 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11338 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11339 (flymake-master-make-header-init): Add other C++ filename masks.
11340 (flymake-find-possible-master-files)
11341 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11343 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11345 Fix some busybox annoyances.
11347 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11348 not responding." string.
11349 (tramp-open-connection-setup-interactive-shell): Dump stty
11350 settings. Enable "neveropen" arg for all `tramp-send-command'
11351 calls. Handle "=" in variable values properly.
11352 (tramp-find-inline-encoding): Raise an error, when no encoding is
11354 (tramp-wait-for-output): Check, whether PROC buffer is available.
11355 Remove spurious " ^H" sequences, sent by busybox.
11356 (tramp-get-ls-command): Suppress coloring, if possible.
11358 2010-01-28 Glenn Morris <rgm@gnu.org>
11360 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11362 * log-edit.el (log-edit-strip-single-file-name): Add missing
11363 :safe, :group, and :version tags.
11365 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11367 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11368 buffers. (Bug#5477)
11370 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11372 * files.el (delete-directory): Handle moving to trash without
11373 first doing recursion (Bug#5436).
11375 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11377 * vc-hooks.el (vc-path): Mark as obsolete.
11379 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11381 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11384 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11386 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11388 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11390 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11392 * vc-bzr.el (vc-bzr-revision-table): New function.
11394 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11396 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11397 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11399 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11401 Remove support for adding --signoff on commit.
11402 Future support will use an incompatible generic mechanism.
11403 * vc-git.el (vc-git-add-signoff): Remove variable.
11404 (vc-git-toggle-signoff): Remove function.
11405 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11407 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11408 Rename from xterm-set-background-mode. Return t if the background mode
11410 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11411 earlier, call it again in case the background mode has changed.
11413 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11415 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11418 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11420 * emacs-lisp/assoc.el (aelement): Doc fix.
11421 (aput, adelete, amake): Use lexical-let (Bug#5450).
11423 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11425 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11426 is the same as subprogram call, not declaration. (Bug#5435).
11428 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11430 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11431 (tramp-smb-maybe-open-connection): Use it.
11433 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11435 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11437 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11439 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11440 just because we see "encoding: 8bit".
11441 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11443 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11445 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11447 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11449 * jka-compr.el (jka-compr-load): If load-file is not in
11450 load-history, try its file-truename version. (bug#5447)
11452 2010-01-21 Alan Mackenzie <acm@muc.de>
11454 Fix a situation where deletion of a cpp construct throws an error.
11455 * progmodes/cc-engine.el (c-invalidate-state-cache):
11456 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11457 special cpp construct is still in the buffer.
11458 (c-parse-state): Record the special cpp with markers, not numbers.
11460 2010-01-21 Kenichi Handa <handa@m17n.org>
11462 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11463 process last-command-event, as it is now decoded first (Bug#5380).
11465 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11467 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11469 2010-01-20 Glenn Morris <rgm@gnu.org>
11471 * indent.el (tab-always-indent): Fix custom-type.
11473 2010-01-19 Alan Mackenzie <acm@muc.de>
11475 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11476 buffer throws "args out of range".
11477 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11478 playing the role of delimiter.
11480 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11482 * progmodes/ada-mode.el: Fix bug#5400.
11483 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11484 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11485 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11486 Improve comments in "is" portion. Handle null procedure declaration.
11487 (ada-move-to-end): Improve doc string.
11489 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11491 * ido.el (ido-cur-list): Initialize to nil.
11492 Remove obsolete information from commentary.
11493 (ido-choice-list): Initialize to nil.
11494 (ido-get-bufname): Reject minibuffers.
11495 (ido-make-buffer-list): If "default" is a nonexistent
11496 buffer, ignore it, as per the function's comment.
11497 (ido-kill-buffer-internal): New function.
11498 (ido-kill-buffer-at-head): Use it.
11499 (ido-visit-buffer): Likewise.
11501 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11503 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11505 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11507 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11508 Fix typos in chart titles.
11510 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11511 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11512 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11513 (describe-class, eieio-describe-generic, describe-generic):
11514 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11515 (eieio-speedbar-expand):
11516 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11517 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11518 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11519 (viper-del-backward-char-in-replace, viper-backward-indent)
11520 (viper-brac-function, viper-register-to-point, viper-submit-report):
11521 * net/tramp.el (tramp-remote-coding-commands):
11522 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11523 Fix typos in docstrings.
11525 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11527 * mail/sendmail.el (mail-yank-original): Set the mark if the
11528 specified function for yanking does not do it.
11530 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11532 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11534 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11535 resyncing a directory.
11537 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11539 * progmodes/ada-mode.el: Fix bug#1920.
11540 (ada-ident-re): Delete ., allow multibyte characters.
11541 (ada-goto-label-re): New; matches goto labels.
11542 (ada-block-label-re): New; matches block labels.
11543 (ada-label-re): New; matches both.
11544 (ada-named-block-re): Deleted; callers changed to use
11545 `ada-block-label-re' instead.
11546 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11547 Use `ada-block-label-re'.
11548 (ada-indent-on-previous-lines): Improve handling of goto labels.
11549 (ada-get-indent-block-start): Special-case block label.
11550 (ada-get-indent-label): Split into `ada-indent-block-label' and
11551 `ada-indent-goto-label'.
11552 (ada-goto-stmt-start, ada-goto-next-non-ws):
11553 Optionally ignore goto labels.
11554 (ada-goto-next-word): Simplify.
11555 (ada-indent-newline-indent-conditional): Insert newline before
11556 trying to fix indentation; doc fix.
11558 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11560 * calc/calc.el (calc-command-flags): Give it an initial value.
11562 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11564 * files.el (minibuffer-with-setup-hook):
11565 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11566 (artist-key-draw-continously, artist-key-do-continously-continously)
11567 (artist-key-set-point-continously, artist-mouse-draw-continously):
11568 Fix typos in docstrings.
11570 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11572 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11573 Never return t (Bug#3898).
11575 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11577 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11578 can parse the output of the external commands (Bug#5279).
11580 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11582 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11584 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11586 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11588 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11590 * startup.el (command-line): Remove unused --icon-type arg.
11591 Handle --display arg, passing it to command-line-1 (Bug#5392).
11593 2010-01-16 Mario Lang <mlang@delysid.org>
11595 * emacs-lisp/chart.el (chart-translate-namezone):
11596 * textmodes/artist.el (artist-compute-popup-menu-table):
11597 Remove duplicated words in doc-strings.
11599 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11601 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11602 to mairix-search to suppress threading (Bug#5342).
11604 2010-01-15 Kenichi Handa <handa@m17n.org>
11606 * international/mule-cmds.el (canonicalize-coding-system-name):
11607 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11609 2010-01-15 Glenn Morris <rgm@gnu.org>
11611 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11613 * wid-edit.el (widget-keymap): Doc fix.
11615 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11616 former seems to be more widely accepted by various svn versions.
11618 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11620 * find-cmd.el (find-constituents):
11621 * vc-arch.el (vc-arch-root):
11622 * window.el (window-body-height, pop-up-frames):
11623 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11624 * progmodes/ada-stmt.el (ada-if):
11625 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11626 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11627 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11628 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11630 * progmodes/flymake.el (flymake-post-syntax-check):
11631 Fix typo in error message.
11633 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11635 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11636 which is always a string. (Bug#5313)
11638 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11640 * progmodes/ada-xref.el (ada-default-prj-properties):
11641 Simplify previous change.
11643 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11645 * progmodes/ada-xref.el (ada-default-prj-properties):
11646 Default ada_project_path to $ADA_PROJECT_PATH.
11648 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11650 * progmodes/ada-mode.el (ada-create-keymap):
11651 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11653 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11655 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11656 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11657 (ada-get-current-indent, ada-imenu-generic-expression)
11658 (ada-which-function): Check for it.
11660 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11662 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11663 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11665 2010-01-14 Glenn Morris <rgm@gnu.org>
11667 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11669 2010-01-14 Kenichi Handa <handa@m17n.org>
11671 * composite.el (auto-composition-mode): Make it a buffer local
11672 variable (permanent-local).
11673 (auto-composition-function): Set the default value to
11674 auto-compose-chars.
11675 (auto-composition-mode): Make it a simple function, not a minor mode.
11676 (global-auto-composition-mode): Likewise.
11677 (turn-on-auto-composition-if-enabled): Delete it.
11679 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11681 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11683 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11685 * files.el (copy-directory): Compute target for recursive
11686 directories with identical names. (Bug#5343)
11688 2010-01-12 Glenn Morris <rgm@gnu.org>
11690 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11691 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11693 2010-01-11 Sam Steingold <sds@gnu.org>
11695 * imenu.el (imenu-default-create-index-function): Detect infinite
11696 loops caused by imenu-prev-index-position-function.
11698 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11700 * htmlfontify.el (htmlfontify-load-rgb-file)
11701 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11702 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11703 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11704 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11705 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11706 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11707 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11708 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11709 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11710 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11711 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11712 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11713 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11714 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11715 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11716 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11717 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11718 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11719 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11720 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11721 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11722 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11723 backslash-quoting from parentheses, etc.
11725 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11727 * progmodes/js.el: Autoload javascript-mode alias.
11729 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11731 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11732 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11733 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11734 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11735 Fix typos in docstrings.
11736 (ffap-url-regexp): Doc fix.
11737 (ffap-at-mouse): Fix typo in message.
11739 2010-01-11 Glenn Morris <rgm@gnu.org>
11741 * version.el (emacs-copyright): Set copyright year to 2010.
11743 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11745 * format.el (format-annotate-function): Only set
11746 write-region-post-annotation-function after running to-fn so as not to
11747 affect nested write-region calls (bug#5273).
11749 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11751 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11754 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11756 * man.el (Man-goto-section): Signal error if the section is not
11759 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11761 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11762 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11764 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11766 * progmodes/compile.el: Don't treat compile-command as safe if
11767 compilation-read-command might be nil (Bug#4218).
11769 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11771 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11774 2010-01-08 Kenichi Handa <handa@m17n.org>
11776 * international/fontset.el (build-default-fontset-data):
11777 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11779 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11781 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11782 to `create-file-buffer' as it expects, not just a buffer name.
11783 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11784 to help uniquify. (Bug#3224)
11786 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11788 * font-setting.el (font-setting-change-default-font): Use user-spec
11791 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11793 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11795 2010-01-05 Tom Tromey <tromey@redhat.com>
11797 * progmodes/python.el (python-font-lock-keywords):
11798 Handle qualified decorators (Bug#881).
11800 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11802 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11803 in a lightweight checkout.
11805 2010-01-05 Kenichi Handa <handa@m17n.org>
11807 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11809 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11811 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11813 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11815 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11816 checkouts. (Bug#618)
11817 (vc-bzr-log-view-mode): Also highlight the author.
11818 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11819 (vc-bzr-shelve-menu-map):
11820 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11821 (vc-bzr-shelve-apply): Make prompt more explicit.
11823 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11825 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11826 They are valid characters in URL paths (rfc3986), and at least
11827 Firefox does not understand the encoded version (Bug#3166).
11829 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11831 * progmodes/octave-mod.el (octave-end-keywords)
11832 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11833 Add "end" keyword (Bug#3061).
11834 (octave-end-as-array-index-p): New function.
11835 (calculate-octave-indent): Use it.
11837 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11839 * bookmark.el: Consistently put the text property on the bookmark name.
11840 (bookmark-bmenu-marks-width): Bump back to 2, to include
11842 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11843 property on the bookmark name, instead of not putting it at all.
11844 (bookmark-bmenu-list): Fix where we put the text property.
11846 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11848 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11849 for showing buffer modified state (as added in the previous change).
11851 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11853 * bookmark.el: Show modified state of bookmark buffer more accurately.
11854 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11855 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11856 (with-buffer-modified-unmodified): New macro.
11857 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11858 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11859 Use new macro to preserve the buffer modified state.
11861 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11863 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11864 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11865 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11866 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11867 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11868 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11869 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11871 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11873 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11874 Make the lines in the generated doc string shorter. (Bug#4668)
11876 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11878 * net/rcirc.el: Add follow-link binding (Bug#4738).
11880 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11882 * Makefile.in (bzr-update): Rename from cvs-update.
11883 (cvs-update): New target for backward compatibility.
11885 * makefile.w32-in (bzr-update): Rename from cvs-update.
11886 (cvs-update): New target for backward compatibility.
11888 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11890 * bookmark.el: Remove gratuitous gratitude.
11892 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11894 * bookmark.el (bookmark-bmenu-any-marks): New function.
11895 (bookmark-bmenu-save): Clear buffer modification if no marks.
11897 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11899 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11900 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11901 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11902 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11904 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11905 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11906 To: emacs-devel {_AT_} gnu.org
11907 Subject: bookmark.el bug report
11908 Date: Mon, 28 Dec 2009 14:19:16 +0800
11909 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11911 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11913 * bookmark.el: Improvements suggested by Drew Adams:
11914 (bookmark-bmenu-ensure-position): New name for
11915 `bookmark-bmenu-check-position'. Just ensure the position,
11916 don't return any meaningful value.
11917 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11920 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11922 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11923 (bookmark-yank-point, bookmark-bmenu-check-position):
11924 Fix typos in docstrings.
11925 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11926 (bookmark-name-from-full-record, bookmark-get-position)
11927 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11928 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11929 Remove useless quoting of parenthesis, etc. in docstrings.
11931 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11932 (ediff-append-custom-diff): Fix typo in error message.
11933 (ediff-meta-mark-equal-files): Fix typos in messages.
11935 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11937 * net/imap-hash.el (imap-hash-make): Doc fix.
11938 (imap-hash-test): Fix typo in error message; reflow docstring.
11939 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11940 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11941 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11942 Fix typos in docstrings.
11943 (imap-hash-open-connection): Fix typo in error message.
11945 * play/gomoku.el (gomoku): Fix typos in docstring.
11947 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11948 (gdb-jsonify-buffer): Fix typos in docstring.
11949 (gdb-goto-breakpoint): Fix typo in error message.
11950 ("Display Other Windows"): Fix typo in help message.
11951 (gdb-speedbar-expand-node): Fix typo in question.
11953 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11954 (idlwave-html-system-help-location, idlwave-html-help-location)
11955 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11956 (idlwave-help-browser-generic-args, idlwave-help-directory)
11957 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11958 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11959 (idlwave-online-help, idlwave-help-html-link)
11960 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11961 Fix typos in docstrings.
11962 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11964 (idlwave-help-assistant-start): Fix typo in error message.
11966 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11967 (octave-electric-space): Fix typos in docstrings.
11969 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11971 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11973 2010-01-01 Juri Linkov <juri@jurta.org>
11975 * comint.el (comint-input-ring-size): Make it a defcustom and
11976 increase the default to 500 (Bug#5148).
11978 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11980 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11981 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11982 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11984 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11986 Show working revision correctly for mercurial.
11987 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11988 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11990 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11992 Declare some functions for the byte-compiler.
11993 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11994 (speedbar-timer-fn, speedbar-change-expand-button-char)
11995 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11997 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11999 This changeset reverts GDB Graphical Interface to use annotations.
12000 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12002 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12004 Make vc-dir work on subdirectories of the bzr root.
12005 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12006 Return file names relative to it.
12007 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12008 relative directory to vc-bzr-after-dir-status.
12010 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12012 * font-lock.el (font-lock-refresh-defaults): New function, which
12013 can be used to let font-lock react to external changes in
12014 variables like font-lock-defaults and keywords.
12015 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12017 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12019 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12021 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12023 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12025 Supersede color.diff settings in git log (bug#5211).
12027 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12028 escape chars in its output when the user has color.diff set to `always'.
12029 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12031 2009-12-26 Kevin Ryde <user42@zip.com.au>
12033 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12034 node. Keep previous "Index" name to work with past coreutils too.
12036 * man.el (man): Revise docstring a bit to show -a and -l as
12037 examples. Add -k description since support for it has otherwise
12038 been a secret. (Further to bug#3717.)
12039 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12040 "no matches" rather than "Can't find manpage", as the latter reads
12041 like -k was interpreted as a page name, which is not so. (Bug#5431)
12043 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12045 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12046 switches. Check also for //SUBDIRED// line.
12048 2009-12-25 Kenichi Handa <handa@m17n.org>
12050 * language/indian.el (devanagari-composable-pattern): Fix to
12051 handle ZWNJ and ZWJ. Use it in composition-function-table for
12053 (malayalam-composable-pattern): Fix previous change.
12055 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12057 * ps-print.el (ps-face-attributes): It was not returning the
12058 attribute face for faces specified as string. Reported by harven
12059 <harven@free.fr>. (Bug#5254)
12060 (ps-print-version): New version 7.3.5.
12062 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12064 * calendar/icalendar.el (icalendar--convert-tz-offset):
12065 Fix timezone names.
12066 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12067 (icalendar--add-diary-entry): Remove the trailing blank that
12068 diary-make-entry inserts.
12070 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12072 Make `file-expand-wildcards' work for remote files.
12074 * files.el (file-expand-wildcards): In case of remote files, check
12075 only local file name part for wildcards. Provide feature 'files
12076 and subfeature 'remote-wildcards. (Bug#5198)
12078 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12079 if there is already an established connection.
12080 (tramp-advice-file-expand-wildcards): Remove it.
12082 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12083 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12084 Activate advice for older GNU Emacs versions. (Bug#5237)
12086 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12088 Some doc fixes (more needed).
12090 * find-cmd.el (find-constituents): Reflow docstring.
12091 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12092 (find-generic): Doc fix.
12094 2009-12-17 Juri Linkov <juri@jurta.org>
12096 Fix regression from 23.1 to allow multiple modes in Local Variables.
12098 * files.el (hack-local-variables-filter): While ignoring duplicates,
12099 don't take `mode' into account.
12100 (hack-local-variables-filter, hack-dir-local-variables):
12101 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12103 2009-12-17 Juri Linkov <juri@jurta.org>
12105 Make `dired-diff' safer. (Bug#5225)
12107 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12108 `current' or when `file' is a directory of the `current' file.
12110 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12112 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12113 unconditionally preloaded files.
12115 2009-12-16 Juri Linkov <juri@jurta.org>
12117 Revert to old 23.1 logic of using the file at the mark as default.
12118 * dired-aux.el (dired-diff): Use the file at the mark as default
12119 if it's not the same as the current file, and the target dir is
12120 the current dir or the mark is active. Add the current file
12121 as the arg of `dired-dwim-target-defaults'. Use the default file
12122 in the prompt. (Bug#5225)
12124 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12126 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12127 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12128 (tramp-check-for-regexp): Check also, when an echoing shell stops
12129 to echo sent commands.
12131 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12133 * Makefile.in: Revert last change (Bug#5191).
12135 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12137 * vc-hg.el (vc-hg-print-log): Fix argument order.
12138 (vc-hg-working-revision): Make sure the command is executed in a
12139 known environment so that we can parse the output. (Bug#4417)
12141 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12143 * progmodes/python.el (python-symbol-completions): Remove text
12144 properties from symbol string before calling python-send-receive.
12146 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12148 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12149 when there are values for both file and line. (Bug#5060)
12151 2009-12-14 Juri Linkov <juri@jurta.org>
12153 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12154 whitespace after the file name of the first line of unified format,
12155 because git-diff doesn't output whitespace and file modification time
12156 after the file name.
12158 2009-12-14 David Kastrup <dak@gnu.org>
12160 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12161 check if it already has the `display' property added by
12162 `Info-display-images-node', and not put the `invisible' property
12165 2009-12-13 Glenn Morris <rgm@gnu.org>
12167 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12168 (report-emacs-bug): In message-mode, sort manually before storing
12169 original report text. (Bug#5178)
12170 Remove superfluous save-excursion.
12172 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12174 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12175 when responding to "GetAll" properties.
12177 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12179 * simple.el (compose-mail): Remove mail-setup-with-from from
12180 customization checks.
12182 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12184 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12185 RAR archives created on Unix systems.
12187 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12189 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12190 the varalias that was accidentally removed by the 2009-11-19 change
12193 2009-12-12 Kenichi Handa <handa@m17n.org>
12195 * language/indian.el (indian-compose-regexp): New function.
12196 (malayalam-composable-pattern): Fix the pattern.
12197 (composition-function-table): Set malayalam-composable-pattern for
12198 Malayalam characters.
12200 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12202 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12203 rather than down-mouse-1, based on follow-link conventions.
12205 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12208 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12210 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12211 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12212 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12213 (verilog-leap-to-head, verilog-backward-token):
12214 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12216 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12218 * progmodes/verilog-mode.el (verilog-auto-lineup)
12219 (verilog-nameable-item-re): Cleanup user-visible spelling and
12220 documentation errors. One reported by Gary Delp.
12221 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12222 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12223 package, bug195. Reported by Pierre-David Pfister.
12225 2009-12-11 Glenn Morris <rgm@gnu.org>
12227 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12229 * mail/emacsbug.el: No longer require sendmail.
12230 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12231 (report-emacs-bug-orig-text): Doc fix.
12232 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12233 New local variables, to adapt to different mail-user-agents.
12234 (report-emacs-bug): Fix test for a gnu.org address.
12235 Use overlays for emphasis, since font-lock defeats 'face property.
12236 Pretest bugs also end up at the newsgroup these days.
12237 Stop message-mode stripping text properties.
12238 Set and use the new buffer-local variables.
12239 (report-emacs-bug-hook): Add doc-string.
12240 Remove some unnecessary save-excursions and simplify.
12241 Use the appropriate hook and send-command.
12243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12244 capitalization of some menu entries.
12246 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12248 * whitespace.el (whitespace-display-char-on):
12249 Ensure `buffer-display-table' is unique when two or more windows are
12250 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12253 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12255 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12256 characters in the Attribute field.
12258 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12260 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12262 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12264 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12265 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12266 Disregard autoload-excludes.
12267 (update-directory-autoloads): Obey autoload-excludes here instead.
12268 But don't store its contents in no-autoloads and remove entries that
12269 refer to excludes files.
12271 2009-12-10 Glenn Morris <rgm@gnu.org>
12273 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12274 (expand-mail-aliases): Define for compiler.
12276 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12277 Define for compiler.
12279 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12280 appropriate for the mail-user-agent in use.
12282 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12284 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12286 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12288 Fix short log parsing and fontification.
12289 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12290 Fix fontification for the [merge] label.
12292 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12294 Drop some properties to avoid surprises (bug#5002).
12295 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12296 (hfy-fontify-buffer): Use it.
12298 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12301 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12302 Adjust all callers.
12303 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12304 args compulsory. Adjust callers.
12305 (ffap-gopher-at-point): Remove unused var `name'.
12307 Get rid of the ELCFILES abomination.
12308 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12309 (compile-elcfiles): New phony target.
12310 (compile-main): Compute ELCFILES dynamically.
12311 (compile-clean): New target to remove left-over elc files.
12312 (compile, all): Use it.
12314 2009-12-09 Kenichi Handa <handa@etlken>
12316 * international/mule-diag.el: Require help-mode instead of help-fns.
12318 2009-12-09 Kenichi Handa <handa@m17n.org>
12320 * international/mule-cmds.el (ucs-names): Supply sufficiently
12321 fine ranges instead of pre-calculating accurate ranges.
12322 Iterate with bigger gc-cons-threshold.
12324 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12326 Add support for stashing a snapshot of the current tree.
12327 * vc-git.el (vc-git-stash-snapshot): New function.
12328 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12330 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12332 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12333 instead of `(beginning|end)-of-line'.
12335 2009-12-08 Glenn Morris <rgm@gnu.org>
12337 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12339 * Makefile.in (ELCFILES): Regenerate.
12341 2009-12-07 Juri Linkov <juri@jurta.org>
12343 Don't lazy-highlight the comint output in history Isearch mode.
12345 * comint.el (comint-history-isearch-search): Instead of
12346 `comint-line-beginning-position', use `comint-after-pmark-p'
12347 to check if point if before the process mark, and go to
12348 `process-mark' in this case.
12350 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12352 * textmodes/tex-mode.el (latex-complete)
12353 (latex-indent-or-complete): Remove.
12354 (latex-mode): Set completion-at-point-functions instead.
12356 Provide a standard completion command and hook it into TAB.
12357 * minibuffer.el (completion-at-point-functions): New var.
12358 (completion-at-point): New command.
12359 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12360 * progmodes/python.el (python-mode-map): Use completion-at-point.
12361 (python-completion-at-point): Rename from python-partial-symbol and
12362 adjust for use in completion-at-point-functions.
12363 (python-mode): Setup completion-at-point for Python completion.
12364 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12365 extracted from lisp-complete-symbol.
12366 (lisp-complete-symbol): Use it.
12367 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12368 setup completion-at-point for Elisp completion.
12369 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12370 Use completion-at-point.
12371 * ielm.el (ielm-map): Use completion-at-point.
12372 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12373 * progmodes/sym-comp.el: Move to...
12374 * obsolete/sym-comp.el: Move from progmodes.
12376 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12378 Prevent save-buffer in Rmail buffers from using the coding-system
12379 of the current message, and from clobbering the encoding mnemonics
12380 in the mode line (Bug#4623).
12382 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12384 (rmail-message-encoding): New variable.
12385 (rmail-write-region-annotate): Record the encoding of the current
12386 message in rmail-message-encoding.
12387 (rmail-after-save-hook): New function, restores the encoding of
12388 the current message after the message collection is saved.
12390 2009-12-07 Juri Linkov <juri@jurta.org>
12392 * progmodes/grep.el (grep-read-files): Use `completing-read'
12393 instead of `read-string'. Set its `collection' arg to
12394 `read-file-name-internal'. (Bug#4301)
12396 2009-12-07 Juri Linkov <juri@jurta.org>
12398 Correctly restore original Isearch point. (Bug#4994)
12400 * isearch.el (isearch-mode): Move `isearch-push-state' after
12401 `(run-hooks 'isearch-mode-hook)'.
12402 (isearch-cancel): When `isearch-push-state-function' is defined,
12403 let-bind `isearch-cmds' to the first state (the last element of
12404 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12405 function and restores the original point). Otherwise, move point
12406 to `isearch-opoint'.
12408 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12410 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12411 chars that don't have names, so the table can be built much faster at
12414 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12416 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12417 change. Suggested by David Kastrup.
12419 * simple.el (compose-mail): Check for incompatibilities and warn.
12420 (compose-mail-user-agent-warnings): New option.
12422 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12424 Support showing a single log entry from vc-annotate.
12425 * vc.el (print-log): Add a new argument: START-REVISION.
12426 (vc-print-log-internal): Add a new optional argument and
12427 pass it to the backend.
12428 (vc-print-log, vc-print-root-log): Adjust callers.
12429 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12430 buffer already displays the requested log entry, use it.
12431 Otherwise display only the log entry in question.
12432 * vc-svn.el (vc-svn-print-log):
12433 * vc-mtn.el (vc-mtn-print-log):
12434 * vc-hg.el (vc-hg-state):
12435 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12436 (vc-git-show-log-entry): Return t on success.
12437 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12438 (vc-bzr-show-log-entry): Return t on success.
12439 * vc-rcs.el (vc-rcs-print-log):
12440 * vc-sccs.el (vc-sccs-print-log):
12441 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12443 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12445 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12446 Add menus to the meta mode. (Bug#5043)
12448 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12450 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12453 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12455 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12457 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12458 Berbain <raphael.berbain@gmail.com>.
12460 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12462 (tramp-initial-end-of-output): New defconst.
12463 (tramp-methods, tramp-find-shell)
12464 (tramp-open-connection-setup-interactive-shell)
12465 (tramp-maybe-open-connection): Use it.
12466 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12467 Handle existence of `#' and `$'.
12469 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12470 Use `tramp-initial-end-of-output'.
12472 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12474 Get the background mode from the terminal for xterm, and set
12476 * term/xterm.el (xterm-set-background-mode): New function.
12477 (terminal-init-xterm): Use it in case xterm supports background
12478 color queries. Recompute faces after getting the background
12481 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12483 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12484 number comment back on its own line, for easier parsing.
12486 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12488 Make it work for non-file buffers (bug#5102).
12489 * doc-view.el (doc-view-current-cache-dir):
12490 Use doc-view-buffer-file-name rather than buffer-file-name.
12491 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12493 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12495 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12496 author field is too short.
12498 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12500 * vc-git.el (vc-git-print-log): Handle a limit argument.
12501 Display the short log in graph form and with labels.
12502 (vc-git-log-view-mode): Handle labels.
12504 Make vc-revert change VC state from 'added to 'unregistered.
12505 * vc-git.el (vc-git-revert): Call git reset first.
12507 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12509 * net/newst-backend.el, net/newst-plainview.el:
12510 * net/newst-reader.el, net/newst-ticker.el:
12511 * net/newst-treeview.el, net/newsticker.el:
12512 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12514 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12516 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12518 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12519 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12520 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12521 Update annotation regexp.
12523 * simple.el (beginning-of-visual-line): Constrain to field
12524 boundaries (Bug#5106).
12526 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12528 * xml.el (xml-substitute-numeric-entities):
12529 Move newsticker--decode-numeric-entities in newst-backend.el to
12530 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12531 * net/newst-backend.el (newsticker--parse-generic-feed)
12532 (newsticker--parse-generic-items)
12533 (newsticker--decode-numeric-entities):
12534 Move newsticker--decode-numeric-entities in newst-backend.el to
12535 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12537 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12539 * progmodes/js.el (js--js-not): Add null to the list of values.
12541 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12543 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12545 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12547 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12548 delimiter if it is at the end of the current line.
12549 (bibtex-generate-url-list): Fix docstring.
12551 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12553 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12554 minibuffer's content with itself.
12555 Fold the confirm-after-completion case into the `confirm' case.
12556 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12558 2009-12-06 Kevin Ryde <user42@zip.com.au>
12560 * ffap.el (ffap-rfc-path): Make this a defcustom since
12561 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12563 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12564 manuals, similar to existing setup for help-mode. (Bug#3913.)
12566 2009-12-05 Juri Linkov <juri@jurta.org>
12568 Save and restore dired buffer's point positions too. (Bug#4880)
12570 * dired.el (dired-save-positions): Return in the first element
12571 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12573 (dired-restore-positions): First restore buffer's position.
12574 While restoring window's positions, check if window still displays
12575 the original buffer.
12577 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12579 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12582 * shell.el (shell): Require ansi-color (Bug#5113).
12584 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12586 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12588 2009-12-05 Alan Mackenzie <acm@muc.de>
12590 * progmodes/cc-mode.el (c-before-hack-hook)
12591 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12592 `c-file-style' to work again. This reversion restores the current
12593 software to its state in Emacs 23.1. (Bug#4146)
12595 2009-12-05 Kevin Ryde <user42@zip.com.au>
12597 * textmodes/sgml-mode.el (sgml-lexical-context):
12598 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12600 2009-12-05 Juri Linkov <juri@jurta.org>
12602 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12603 for virtual nodes. (Bug#4147)
12604 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12605 when moving from a virtual node.
12606 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12607 (Info-mode): Add `Info-virtual-index' to the docstring.
12609 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12611 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12612 track of the buffer position of the end of a BibTeX entry as this
12613 position may change during reformatting.
12614 (bibtex-format-entry): Remove whitespace before processing
12615 numerical fields so that we recognize the latter properly.
12616 (bibtex-reformat): Do not use push which changes the global value
12617 of bibtex-entry-format.
12618 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12619 (bibtex-field-re-init): Replace only space characters by regexp
12621 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12622 (bibtex-initialize): Also update bibtex-strings.
12623 (bibtex-kill-field): Preserve white space at end of entry.
12624 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12625 Update bibtex-reference-keys.
12627 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12629 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12630 point after a star, if that's the only place where modifications can
12633 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12635 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12638 2009-12-04 Juri Linkov <juri@jurta.org>
12640 * proced.el (proced): Call `(proced-update t)' to update process
12641 information instead of only running proced-post-display-hook.
12642 (proced-send-signal): Add a leading space to the buffer name
12643 " *Marked Processes*" to make this buffer ephemeral.
12645 2009-12-04 Juri Linkov <juri@jurta.org>
12647 * dired.el (dired-auto-revert-buffer): New defcustom.
12648 (dired-internal-noselect): Use it.
12650 2009-12-04 Juri Linkov <juri@jurta.org>
12652 Change roles of modes and functions in image-mode.el (Bug#5062).
12654 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12655 in `auto-mode-alist'.
12656 (image-mode-previous-major-mode): New variable.
12657 (image-minor-mode-map): Rename from `image-mode-text-map'.
12658 (image-mode): Move graceful error-handling code from
12659 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12660 (image-minor-mode): Remove all image-handling code.
12661 Replace `image-mode-text-map' with `image-minor-mode-map'.
12662 Check for `image-type' in mode-line format string.
12663 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12664 (image-mode-as-text): New function with most code from
12665 `image-mode-maybe'.
12666 (image-toggle-display-text): Move code that removes image
12667 properties from `image-toggle-display' to here.
12668 (image-toggle-display-image): New function with code that adds
12669 image properties copied from `image-toggle-display'.
12670 (image-toggle-display): Remove most code with leaving only code
12671 that toggles between `image-mode-as-text' and `image-mode'.
12673 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12675 * net/newst-treeview.el
12676 (newsticker--treeview-list-highlight-start): Restored call to
12677 save-excursion: Selected item was stuck.
12678 (newsticker--treeview-list-select): New.
12679 (newsticker--treeview-item-show-text)
12680 (newsticker--treeview-item-show)
12681 (newsticker--treeview-item-update): Use new
12682 newsticker-treeview-item-mode.
12683 (newsticker-treeview-update): Keep current item.
12684 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12685 (newsticker--treeview-first-feed): Doc change.
12686 (newsticker-treeview-list-menu)
12687 (newsticker-treeview-item-menu): Add menu entries.
12688 (newsticker-treeview-item-mode): New.
12690 * net/newst-backend.el (newsticker-customize): Delete other
12693 2009-12-04 Sam Steingold <sds@gnu.org>
12695 * log-view.el (log-view-mode-map): "q" calls quit-window,
12696 like in all the other non-self-insert buffers.
12698 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12701 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12702 key decoding rather than do it manually via last-input-event +
12704 (term-exec): Use delete-and-extract-region.
12705 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12706 (term-process-pager): Remove unused var `i'.
12707 (term-dynamic-simple-complete): Make obsolete.
12708 (serial-update-config-menu): Remove unused vars `y' and `str'.
12709 (term-update-mode-line): Remove unused var `temp'.
12711 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12713 Limit the number of log entries displayed by default.
12714 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12715 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12716 using a prefix argument.
12718 2009-12-03 Glenn Morris <rgm@gnu.org>
12720 * progmodes/idlwave.el (class): Restore still useful declaration.
12722 2009-12-03 Alan Mackenzie <acm@muc.de>
12724 Enhance `c-parse-state' to run efficiently in "brace deserts".
12726 * progmodes/cc-mode.el (c-basic-common-init):
12727 Call c-state-cache-init.
12728 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12729 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12730 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12732 * progmodes/cc-langs.el (c-before-font-lock-function):
12733 c-extend-and-neutralize-syntax-in-CPP has been renamed
12734 c-neutralize-syntax-in-and-mark-CPP.
12736 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12737 with `category' properties now, not `syntax-table' ones.
12739 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12740 enhanced (but slower) version of c-end-of-macro that won't land
12741 inside a literal or on another awkward character.
12742 (c-state-cache-too-far, c-state-cache-start)
12743 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12744 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12745 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12746 (c-state-min-scan-pos, c-state-brace-pair-desert)
12747 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12748 buffer local variables.
12749 (c-state-literal-at, c-state-lit-beg)
12750 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12751 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12752 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12753 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12754 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12755 (c-renarrow-state-cache)
12756 (c-append-lower-brace-pair-to-state-cache)
12757 (c-state-push-any-brace-pair, c-append-to-state-cache)
12758 (c-remove-stale-state-cache)
12759 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12760 (c-invalidate-state-cache-1, c-parse-state-1)
12761 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12762 (c-parse-state): Enhance and refactor.
12763 (c-debug-parse-state): Amend to deal with all the new variables.
12765 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12766 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12767 modify to use category text properties rather than syntax-table ones.
12768 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12769 to switch off/on the syntactic paren property of C++ template
12770 delimiters using the category property.
12771 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12772 template delims suppressed.
12773 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12774 New constant/macros which apply category properties to the start
12775 and end of preprocessor constructs.
12776 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12777 "comment out" the syntactic value of characters in preprocessor
12779 (c-with-cpps-commented-out)
12780 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12781 with characters in all or all but one preprocessor constructs
12784 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12786 * proced.el (proced-filter-alist): Use regexp-quote.
12788 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12791 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12792 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12793 arguments. Expand `default-directory'.
12795 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12796 the benefit of returning an expanded localname.
12797 (tramp-tramp-file-p): Handle the case NAME is not a string.
12799 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12801 Add support for bzr shelve/unshelve.
12802 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12803 (vc-bzr-extra-menu-map): New variables.
12804 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12805 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12806 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12807 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12808 (vc-bzr-dir-extra-headers): Display shelves.
12810 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12812 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12814 * textmodes/bibtex.el (bibtex-complete-internal):
12815 Use completion-in-region.
12816 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12818 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12820 Support applying stashes. Improve UI.
12821 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12822 (vc-git-stash-apply, vc-git-stash-pop)
12823 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12824 (vc-git-stash-menu): New functions.
12825 (vc-git-stash-menu-map): New variable.
12826 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12828 2009-12-03 Glenn Morris <rgm@gnu.org>
12830 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12831 (vc-print-log-internal): Fix previous change.
12832 (vc-revert): Correct pluralization.
12834 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12836 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12837 it to be an alist any more.
12838 (makefile-complete): Use completion-in-region.
12840 * progmodes/octave-mod.el (octave-complete-symbol):
12841 Use completion-in-region.
12844 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12845 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12846 (idlwave-complete-class): Don't quote lambda.
12847 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12848 (idlwave-mode-map): Move initialization into declaration.
12849 (idlwave-action-and-binding): Use backquotes.
12850 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12852 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12853 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12854 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12855 `parts', and `all-parts'.
12856 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12857 (idlwave-convert-xml-system-routine-info): Remove unused string
12859 (idlwave-display-user-catalog-widget): Use dolist.
12860 (idlwave-scanning-lib): Declare dynamically-scoped var.
12861 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12862 (completion-highlight-first-word-only): Declare to silence bytecomp.
12863 (idlwave-popup-select): Tighten scope of `resp'.
12864 (idlwave-find-struct-tag): Remove unused var `beg'.
12865 (idlwave-after-load-rinfo-hook): Declare.
12866 (idlwave-sintern-class-info): Remove unused var `taglist'.
12867 (idlwave-find-class-definition): Remove unused var `list'.
12868 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12869 (idlwave-what-module-find-class): Remove unused var `classes'.
12871 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12873 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12875 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12877 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12878 buffers visited. Remove redundant current-buffer-saving.
12880 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12882 Use completion-in-buffer and remove uses of dynamic scoping.
12883 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12884 (pascal-buffer-to-use, pascal-flag): Don't declare.
12885 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12886 (pascal-get-completion-decl, pascal-keyword-completion):
12887 Add `pascal-str' argument, save-excursion,
12888 return the found completions, and don't filter with pascal-pred.
12889 (pascal-completion-cache): New var.
12890 (pascal-completion): Don't switch buffer any more (it was never
12891 necessary). Don't save-excursion any more (it's done by the called
12892 subroutines). Use a cache to avoid redundant computations.
12893 Use complete-with-action rather than pascal-completion-response and
12894 let it apply the predicate as well.
12895 (pascal-complete-word): Use completion-in-buffer when
12896 pascal-toggle-completions is nil.
12897 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12899 (pascal-comp-defun): Don't change buffer any more.
12900 Use complete-with-action rather than pascal-completion-response and
12901 let it apply the predicate as well.
12902 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12905 2009-12-02 Kenichi Handa <handa@m17n.org>
12907 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12908 shape for all Indic scripts.
12910 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12912 Use completion-in-buffer.
12913 * wid-edit.el (widget-field-text-end): New function.
12914 (widget-field-value-get): Use it.
12915 (widget-string-complete, widget-file-complete)
12916 (widget-color-complete): Use it and completion-in-region.
12917 (widget-complete): Don't narrow the buffer.
12919 2009-12-02 Glenn Morris <rgm@gnu.org>
12921 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12922 (rmail-select-summary): Use rmail-pop-to-buffer.
12923 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12924 rmail-pop-to-buffer, to prevent horizontal splits.
12926 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12927 save-excursion with save-current-buffer.
12928 Widen before searching. (Bug#5093)
12929 (diary-list-sexp-entries): Remove superfluous save-excursion.
12931 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12933 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12936 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12938 * ido.el (ido-file-internal): Handle filenames at point that do
12939 not have a directory part. (Bug#5049)
12941 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12943 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12944 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12946 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12948 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12949 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12952 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12954 * comint.el (comint-insert-input): Ignore clicks to the right of
12955 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12957 * vc.el (vc-print-log-internal): Don't wait for the process to
12958 terminate before setting up the major mode.
12960 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12963 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12966 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12968 2009-12-01 Glenn Morris <rgm@gnu.org>
12970 * window.el (window--display-buffer-2): Fix previous changes.
12972 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12974 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12976 2009-12-01 Glenn Morris <rgm@gnu.org>
12978 * Makefile.in (ELCFILES): Add mpc.elc.
12980 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12982 * mpc.el: New file.
12984 2009-12-01 Glenn Morris <rgm@gnu.org>
12986 * window.el (window-to-use): Define for compiler.
12988 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12989 consistent with others (no final period).
12991 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12992 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12994 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12996 Make vc-print-log buttons work.
12997 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12999 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13001 * savehist.el (savehist-autosave-interval): Allow setting to nil
13002 through customize. (Bug#5056)
13004 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13006 Fix references to jit-lock properties.
13007 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13008 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13009 (perl-font-lock-special-syntactic-constructs):
13010 Quote jit-lock-defer-multiline property.
13012 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13014 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13016 2009-11-30 Juri Linkov <juri@jurta.org>
13018 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13019 value `buffer' of `multi-isearch-next-buffer-current-function'.
13020 Use `(current-buffer)' when `buffer' is nil.
13021 (multi-isearch-next-buffer-from-list): Don't fallback to
13022 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13024 2009-11-30 Juri Linkov <juri@jurta.org>
13026 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13027 of buffers with `get-buffer' to `multi-isearch-buffers'.
13028 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13029 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13030 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13031 FILES with `expand-file-name' converting relative file names
13032 to absolute. Doc fix. (Bug#4727)
13034 2009-11-30 Juri Linkov <juri@jurta.org>
13036 * misearch.el (multi-isearch-read-buffers)
13037 (multi-isearch-read-matching-buffers): New functions.
13038 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13039 Use them in the `interactive' spec. Doc fix.
13040 (multi-isearch-read-files, multi-isearch-read-matching-files):
13042 (multi-isearch-files, multi-isearch-files-regexp):
13043 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13045 2009-11-30 Juri Linkov <juri@jurta.org>
13047 * doc-view.el (doc-view-continuous):
13048 Rename from `doc-view-continuous-mode'.
13049 (doc-view-menu): Move "Toggle display" to the top.
13050 Add submenu "Continuous" with radio buttons "Off"/"On"
13051 and "Save as Default".
13052 (doc-view-scroll-up-or-next-page)
13053 (doc-view-scroll-down-or-previous-page)
13054 (doc-view-next-line-or-next-page)
13055 (doc-view-previous-line-or-previous-page):
13056 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13058 2009-11-30 Juri Linkov <juri@jurta.org>
13060 * comint.el (comint-mode-map): Rebind `M-r' from
13061 `comint-previous-matching-input' to
13062 `comint-history-isearch-backward-regexp'.
13063 Unbind `M-s' to allow global key binding `M-s'.
13064 Add menu items for `comint-history-isearch-backward' and
13065 `comint-history-isearch-backward-regexp'. (Bug#3746)
13067 2009-11-30 Juri Linkov <juri@jurta.org>
13069 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13070 For def=recenter, replace `recenter' with `recenter-top-bottom'
13071 that is called with `this-command' and `last-command' let-bound
13072 to `recenter-top-bottom'. When the last `def' was not `recenter',
13073 set `recenter-last-op' to nil. (Bug#4981)
13075 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13077 Minor cleanup and simplification.
13078 * filecache.el (file-cache-add-directory)
13079 (file-cache-add-directory-recursively)
13080 (file-cache-add-from-file-cache-buffer)
13081 (file-cache-delete-file-regexp, file-cache-delete-directory)
13082 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13083 (file-cache-temp-minibuffer-message): Delete function.
13084 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13086 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13087 Don't signal an error when bumping into EOB in tr, s, or y.
13089 2009-11-29 Juri Linkov <juri@jurta.org>
13091 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13094 * descr-text.el (describe-char-unidata-list): Use lowercase name
13095 for "Unicode name" like in other tags.
13097 2009-11-29 Juri Linkov <juri@jurta.org>
13099 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13100 New compatibility macro.
13101 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13103 2009-11-29 Juri Linkov <juri@jurta.org>
13105 Add defcustom to define the cycling order of `recenter-top-bottom'.
13108 * window.el (recenter-last-op): Doc fix.
13109 (recenter-positions): New defcustom.
13110 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13111 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13113 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13115 Improve integration of Tramp and ange-ftp in eshell.
13117 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13118 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13119 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13121 * eshell/esh-util.el (top): Require also Tramp when compiling.
13122 (eshell-directory-files-and-attributes): Check for FTP remote
13124 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13125 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13126 (eshell-file-attributes): Handle ".". Return `entry'.
13128 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13129 (ange-ftp-directory-files-and-attributes)
13130 (ange-ftp-real-directory-files-and-attributes): New defuns.
13132 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13133 shell with "exec" when possible. This prevents trailing prompts
13134 in `start-file-process'.
13136 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13138 Try and remove assumptions about point-min==1.
13139 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13140 (rng-compute-mode-line-string): Show the validation percentage in
13141 terms of the narrowed text, not the widened text.
13142 (rng-do-some-validation): Don't catch internal errors when debugging.
13143 (rng-first-error): Simplify.
13144 (rng-after-change-function): Remove work around. AFAIK the bug has
13145 been fixed a while ago.
13147 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13148 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13150 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13152 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13153 `cd' doesn't always do it for us (bug#5067).
13155 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13156 on 2009-10-25 as part of some other change (bug#5067).
13158 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13160 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13162 (byte-compile-warnings): Use byte-compile-warning-types.
13163 (byte-compile-save-excursion): Warn about use of set-buffer right
13164 after save-excursion.
13166 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13167 the excursion as well.
13169 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13171 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13172 providing a Tramp related implementation of "su" and "sudo".
13173 (eshell-unix-initialize): Add "su" and "sudo".
13175 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13177 * net/socks.el (socks-send-command): Convert binary request to
13178 unibyte before sending. This fixes mishandling of some port
13179 numbers such as 129.
13181 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13183 * help.el (describe-bindings-internal): Remove `interactive'.
13185 * man.el (Man-completion-table): Trim a terminating "(".
13186 Remove the space between name page a section.
13187 Add the command's description on the `help-echo' property.
13188 Remove `process-connection-type' binding since it's unused by
13190 Provide completion for the "<section> <name>" format as well.
13191 (Man-default-man-entry): Remove spurious var shadowing the argument.
13193 2009-11-26 Kevin Ryde <user42@zip.com.au>
13195 * log-view.el: Add "Keywords: tools", since its other keywords
13196 aren't in finder-known-keywords, and following vc.el.
13198 * sha1.el (sha1-string-external): default-directory "/" in case
13199 otherwise non-existent. process-connection-type pipe for touch of
13200 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13202 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13204 Misc coding convention cleanups.
13205 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13206 hfy-init-kludge-hooks.
13207 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13208 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13209 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13211 (hfy-slant, hfy-weight): Use tables rather than code.
13212 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13213 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13214 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13215 (hfy-face-to-css): Remove `nconc' with single arg.
13216 (hfy-p-to-face-lennart): Use `or'.
13217 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13218 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13219 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13220 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13221 (hfy-force-fontification): Use run-hooks.
13223 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13225 Various minor fixes.
13226 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13227 Javascript belongs in the header, not the body.
13228 (hfy-javascript): Remove.
13229 (hfy-fontify-buffer): Don't insert it any more.
13230 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13231 Fix bug in invis handling when there were no invis props in a chunk.
13233 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13235 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13237 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13239 * finder.el (finder-mode-map): Add a menu.
13241 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13243 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13244 "unsigned" structs.
13246 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13247 fork" statement better.
13249 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13251 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13252 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13253 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13254 Reported by Clay Douglass.
13256 (verilog-auto-inst, verilog-auto-star-safe)
13257 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13258 Fix removing "// Interfaces" when saving .* expansions.
13259 Reported by Pierre-David Pfister.
13261 2009-11-26 Glenn Morris <rgm@gnu.org>
13263 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13266 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13268 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13269 Really use previous revision.
13271 2009-11-25 Kevin Ryde <user42@zip.com.au>
13273 * man.el (Man-completion-table): default-directory "/" in case
13274 doesn't otherwise exist. process-environment COLUMNS=999 so as
13275 not to truncate long names. process-connection-type pipe to avoid
13276 any chance of hitting the pseudo-tty TIOCGWINSZ.
13277 (man): completion-ignore-case t for friendliness and since man
13278 itself is case-insensitive on the command line.
13279 Further to Bug#3717.
13281 * arc-mode.el: Add "Keywords: files", so the details in its
13282 commentary can be reached from finder-by-keyword.
13283 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13284 editing mode, but it's comms related and sgml-mode.el has "comm"
13286 * textmodes/bibtex-style.el: Add "Keywords: tex".
13287 * international/isearch-x.el, international/ja-dic-cnv.el:
13288 * international/ja-dic-utl.el, international/kkc.el:
13289 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13291 2009-11-25 Juri Linkov <juri@jurta.org>
13293 * man.el (Man-completion-table): Modify regexp to include
13294 section names to completion strings. (Bug#3717)
13296 2009-11-25 Juri Linkov <juri@jurta.org>
13298 Search recursively in gzipped files. (Bug#4982)
13300 * progmodes/grep.el (grep-highlight-matches): Add new options
13301 `always' and `auto'. Doc fix.
13302 (grep-process-setup): Check `grep-highlight-matches' for
13303 `auto-detect' to determine the need to compute grep defaults.
13304 Move Windows/DOS specific --colors settings handling
13305 to `grep-compute-defaults'. Check `grep-highlight-matches'
13306 to get the value of "--color=".
13307 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13308 has the value `auto-detect'. Move Windows/DOS specific settings
13309 from `grep-process-setup'.
13310 (zrgrep): New command with alias `rzgrep'.
13312 2009-11-25 Juri Linkov <juri@jurta.org>
13314 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13315 to nil instead of switching off view-mode. (Bug#4896)
13317 2009-11-25 Juri Linkov <juri@jurta.org>
13319 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13321 * mwheel.el (mwheel-scroll-up-function)
13322 (mwheel-scroll-down-function): New defvars.
13323 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13324 `scroll-up', and `mwheel-scroll-down-function' instead of
13327 * doc-view.el (doc-view-scroll-up-or-next-page)
13328 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13329 Use this ARG in the call to image-scroll-up/image-scroll-down.
13330 Change `interactive' spec to "P". Goto next/previous page only
13331 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13332 SPC/DEL case). Doc fix.
13333 (doc-view-next-line-or-next-page)
13334 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13336 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13337 `doc-view-scroll-up-or-next-page', and buffer-local
13338 `mwheel-scroll-down-function' to
13339 `doc-view-scroll-down-or-previous-page'.
13341 2009-11-25 Juri Linkov <juri@jurta.org>
13343 Provide additional default values (directories at other Dired
13344 windows) via M-n in the minibuffer of some Dired commands.
13346 * dired-aux.el (dired-diff, dired-compare-directories)
13347 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13348 `minibuffer-default' in `minibuffer-with-setup-hook'.
13349 (dired-dwim-target-directory): Find a window that displays Dired
13350 buffer instead of failing when the next window is not Dired.
13351 Use `get-window-with-predicate' to find for the next Dired window.
13352 (dired-dwim-target-defaults): New function.
13354 * ediff-util.el (ediff-read-file-name):
13355 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13356 in `minibuffer-with-setup-hook'.
13358 2009-11-25 Juri Linkov <juri@jurta.org>
13360 Provide additional default values (file name at point or at the
13361 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13363 * minibuffer.el (read-file-name-defaults): New function.
13364 (read-file-name): Reset `minibuffer-default' to nil when
13365 it duplicates initial input `insdef'.
13366 Bind `minibuffer-default-add-function' to lambda that
13367 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13368 (minibuffer-insert-file-name-at-point): New command.
13370 * files.el (file-name-at-point-functions): New defcustom.
13371 (find-file-default): Remove defvar.
13372 (find-file-read-args): Don't use `find-file-default'.
13373 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13374 to `read-file-name'.
13375 (find-file-literally): Use `read-file-name' with
13376 `confirm-nonexistent-file-or-buffer'.
13378 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13380 * dired.el (dired-read-dir-and-switches):
13381 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13382 to `read-file-name'.
13383 (dired-file-name-at-point): New function.
13384 (dired-mode): Add hook `dired-file-name-at-point' to
13385 `file-name-at-point-functions'.
13387 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13389 Really make the *Completions* window soft-dedicated (bug#5030).
13390 * window.el (window--display-buffer-2): Add `dedicated' argument.
13391 (display-buffer): Pass it when needed so the dedicated flag is set
13392 after calling set-window-buffer, which would otherwise reset it.
13394 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13396 * progmodes/meta-mode.el (meta-complete-symbol):
13397 * progmodes/etags.el (complete-tag):
13398 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13399 Use completion-in-region.
13401 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13402 (dabbrev-completion): Use completion-in-region.
13403 (dabbrev--abbrev-at-point): Simplify regexp.
13405 * abbrev.el (abbrev--before-point): Use word-motion functions
13406 if :regexp is not specified (bug#5031).
13408 * subr.el (string-prefix-p): New function.
13410 * man.el (Man-completion-cache): New var.
13411 (Man-completion-table): Use it.
13413 * vc.el (vc-print-log-internal): Make `limit' optional for better
13414 compatibility (e.g. with vc-annotate.el).
13416 2009-11-24 Kevin Ryde <user42@zip.com.au>
13418 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13419 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13421 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13422 when .el source file not found or other error.
13424 2009-11-24 Markus Triska <markus.triska@gmx.at>
13426 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13428 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13430 Handle the [back] button properly (bug#4979).
13431 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13432 Use help-setup-xref, help-buffer, and with-help-window.
13433 (describe-char): Add `buffer' argument.
13434 Pass proper command to help-setup-xref. Don't meddle with
13435 help-xref-stack-item directly.
13436 (describe-text-category): Use with-help-window and help-buffer.
13438 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13439 for the displayed buffer (bug#4887).
13441 * man.el (Man-completion-table): New function.
13444 2009-11-24 David Reitter <david.reitter@gmail.com>
13446 * vc-git.el (vc-git-registered): Use checkout directory (where
13447 .git is) rather than the file's directory and a relative path spec
13448 to work around a bug in git.
13450 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13452 Improve handling of processes on remote hosts.
13454 * eshell/esh-util.el (eshell-path-env): New defvar.
13455 (eshell-parse-colon-path): New defun.
13456 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13458 * eshell/esh-ext.el (eshell-search-path):
13459 Use `eshell-parse-colon-path'.
13460 (eshell-remote-command): Remove argument HANDLER.
13461 (eshell-external-command): Check for FTP remote connection.
13463 * eshell/esh-proc.el (eshell-gather-process-output):
13464 Use `file-truename', in order to start also symlinked files.
13465 Apply `start-file-process' instead of `start-process'.
13466 Shorten `command' to the local file name part.
13468 * eshell/em-cmpl.el (eshell-complete-commands-list):
13469 Use `eshell-parse-colon-path'.
13471 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13473 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13474 to `eshell-directory-change-hook'.
13476 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13478 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13479 because it could be enabled automatically if view-read-only is non-nil.
13481 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13483 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13484 made on 2009-11-22.
13486 2009-11-24 Glenn Morris <rgm@gnu.org>
13488 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13489 deleted variable bookmark-bmenu-bookmark-column.
13491 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13493 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13495 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13497 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13498 two slashes to the "file:" prefix.
13499 (browse-url-file-url): De-munge Cygwin filenames before passing
13500 them to Windows browser.
13501 (browse-url-default-windows-browser): Use call-process.
13503 2009-11-23 Juri Linkov <juri@jurta.org>
13505 Implement DocView Continuous mode. (Bug#4896)
13506 * doc-view.el (doc-view-continuous-mode): New defcustom.
13507 (doc-view-mode-map): Bind C-n/<down> to
13508 `doc-view-next-line-or-next-page', C-p/<up> to
13509 `doc-view-previous-line-or-previous-page'.
13510 (doc-view-next-line-or-next-page)
13511 (doc-view-previous-line-or-previous-page): New commands.
13513 2009-11-23 Juri Linkov <juri@jurta.org>
13515 Implement Isearch in comint input history. (Bug#3746)
13516 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13517 `isearch-mode-hook'.
13518 (comint-history-isearch): New defcustom.
13519 (comint-history-isearch-backward)
13520 (comint-history-isearch-backward-regexp): New commands.
13521 (comint-history-isearch-message-overlay): New buffer-local variable.
13522 (comint-history-isearch-setup, comint-history-isearch-end)
13523 (comint-goto-input, comint-history-isearch-search)
13524 (comint-history-isearch-message, comint-history-isearch-wrap)
13525 (comint-history-isearch-push-state)
13526 (comint-history-isearch-pop-state): New functions.
13528 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13530 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13532 (tramp-handle-make-symbolic-link)
13533 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13535 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13536 (tramp-handle-process-file): Use it.
13538 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13540 * window.el (move-to-window-line-last-op): Remove.
13541 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13543 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13545 Make M-r mirror the new cycling behavior of C-l.
13546 * window.el (move-to-window-line-last-op): New var.
13547 (move-to-window-line-top-bottom): New command.
13548 (global-map): Bind M-r move-to-window-line-top-bottom.
13550 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13552 * dired-x.el (dired-guess-shell-alist-default):
13553 Support xz format. (Bug#4953)
13555 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13557 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13558 last-command-char/last-command-event.
13559 (viper-prefix-arg-value): Do correct conversion of event-char for
13562 * emulation/viper-util.el, emulation/viper.el:
13563 Use viper-last-command-char instead of
13564 last-command-char/last-command-event.
13566 * ediff-init.el, ediff-mult.el, ediff-util.el:
13567 Replace last-command-char and last-command-event
13568 with (ediff-last-command-char) everywhere.
13570 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13571 created in fundamental mode.
13573 * ediff.el (ediff-version): Revert the change of interactive-p to
13574 called-interactively-p.
13576 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13578 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13579 generation from word-movement command names.
13581 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13583 * cus-start.el (all): Add native condition for font-use-system-font.
13585 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13587 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13588 Correct the patch from 2009-11-18. (Bug#3910)
13590 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13592 * progmodes/subword.el: Rename from lisp/subword.el.
13594 * subword.el: Rename to progmodes/subword.el.
13596 * Makefile.in (ELCFILES): Adapt to subword.el move.
13598 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13599 Stefan Monnier <monnier@iro.umontreal.ca>
13601 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13602 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13603 (bookmark-bmenu-show-filenames): Use push.
13604 (bookmark-bmenu-hide-filenames): Use local var instead of
13605 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13606 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13607 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13608 filenames now that the bookmark names are always available.
13610 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13612 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13613 (bookmark-search-pattern): Move and leave unbound.
13614 (bookmark-bmenu-mode-map): Change binding.
13615 (bookmark-read-search-input): Simplify.
13616 Don't use text-char-description. Don't error on non-char events.
13617 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13618 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13619 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13620 Use a local var for the timer.
13621 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13622 (i.e. bookmark-bmenu-search).
13624 2009-11-21 Glenn Morris <rgm@gnu.org>
13626 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13628 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13630 * net/browse-url.el (browse-url-default-windows-browser):
13631 Use cygstart for cygwin.
13633 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13635 * bookmark.el: Formatting and doc fixes only:
13636 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13637 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13638 Minor grammar and punctuation fixes in doc string.
13639 (bookmark-read-search-input): Adjust to fit within 80 columns.
13641 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13643 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13644 (c-backward-into-nomenclature): Adapt to subword renaming.
13646 * subword.el (subword-forward, subword-backward, subword-mark)
13647 (subword-kill, subword-backward-kill, subword-transpose)
13648 (subword-downcase, subword-upcase, subword-capitalize)
13649 (subword-forward-internal, subword-backward-internal):
13650 Rename from forward-subword, backward-subword, mark-subword,
13651 kill-subword, backward-kill-subword, transpose-subwords,
13652 downcase-subword, upcase-subword, capitalize-subword,
13653 forward-subword-internal, backward-subword-internal.
13655 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13657 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13659 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13661 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13662 (bookmark-bmenu-filter-alist-by-regexp)
13663 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13664 (bookmark-bmenu-search): New command.
13665 (bookmark-bmenu-mode-map): Bind it.
13667 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13669 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13670 backward-subword to quit the byte-compiler.
13672 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13674 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13676 * progmodes/cc-cmds.el (c-update-modeline)
13677 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13678 Refer to subword.el functions instead of cc-subword.el.
13680 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13681 subword.el functions instead of cc-subword.el.
13683 * progmodes/cc-subword.el: Rename to subword.el.
13684 * subword.el: Rename from progmodes/cc-subword.el.
13685 (subword-mode-map): Rename from c-subword-mode-map.
13686 (subword-mode): Rename from c-subword-mode.
13687 (global-subword-mode): New global minor mode.
13688 (forward-subword): Rename from c-forward-subword.
13689 (backward-subword): Rename from c-backward-subword.
13690 (mark-subword): Rename from c-mark-subword.
13691 (kill-subword): Rename from c-kill-subword.
13692 (backward-kill-subword): Rename from c-backward-kill-subword.
13693 (transpose-subwords): Rename from c-tranpose-subword.
13694 (downcase-subword): Rename from c-downcase-subword.
13695 (capitalize-subword): Rename from c-capitalize-subword.
13696 (forward-subword-internal): Rename from c-forward-subword-internal.
13697 (backward-subword-internal): Rename from c-backward-subword-internal.
13699 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13701 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13702 from a dired buffer.
13703 (vc-dired-deduce-fileset): New function.
13704 (vc-root-diff, vc-print-root-log): Use it.
13706 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13707 nil LIMIT argument to vc-print-log-internal.
13709 2009-11-20 Glenn Morris <rgm@gnu.org>
13711 * Makefile.in (ELCFILES): Regenerate.
13713 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13715 * calc/calc.el (calc-set-mode-line):
13716 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13717 (math-format-number): Rename `math-format-complement-signed' to
13718 `math-format-twos-complement'.
13720 * calc/calc-bin.el (math-format-twos-complement): Rename from
13721 math-format-complement-signed.
13722 (calc-radix): Rename `calc-complement-signed-mode' to
13723 `calc-twos-complement-mode'.
13724 (calc-octal-radix, calc-hex-radix): Add an argument for
13727 * calc/calc-embed.el (calc-embedded-mode-vars):
13728 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13730 * calc/calc-ext.el (calc-init-extensions):
13731 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13732 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13734 * calc/calc-units.el (math-build-units-table-buffer):
13735 Let `calc-twos-complement-mode' be nil.
13737 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13740 * calc/calc-vec.el (calcFunc-vunpack):
13741 * calc/calc-aent.el (calc-do-calc-eval):
13742 * calc/calc-forms.el (math-format-date):
13743 * calc/calc-graph.el (calc-graph-plot):
13744 * calc/calc-math.el (math-use-emacs-fn):
13745 * calc/calccomp.el (math-compose-expr):
13746 Let `calc-twos-complement-mode' be nil.
13748 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13751 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13752 * minibuffer.el (completion-in-region-functions): New hook.
13753 (completion-in-region): New function.
13754 * emacs-lisp/lisp.el (lisp-complete-symbol):
13755 * pcomplete.el (pcomplete-std-complete): Use it.
13757 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13759 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13760 (latex-complete-alist): New vars.
13761 (latex-string-prefix-p, latex-complete-bibtex-keys)
13762 (latex-complete-envnames, latex-complete-refkeys)
13763 (latex-complete-data): New functions.
13764 (latex-complete, latex-indent-or-complete): New commands.
13766 * window.el (display-buffer-mark-dedicated): New var.
13767 (display-buffer): Obey it.
13768 * minibuffer.el (minibuffer-completion-help): Use it.
13770 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13772 * filecache.el (file-cache-add-file): Use push and cons.
13773 (file-cache-delete-file-regexp): Use push.
13774 (file-cache-complete): Use completion-in-region.
13776 * simple.el (with-wrapper-hook): Fix thinko.
13778 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13779 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13780 Use with-current-buffer and string-to-number.
13781 (hfy-fallback-colour-values): Use assoc-string.
13782 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13783 (hfy-face-at): Remove unused var `found-face'.
13784 (hfy-compile-stylesheet): Remove unused var `css'.
13785 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13787 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13788 Use with-current-buffer.
13789 (hfy-text-p): Use expand-file-name and fewer setq.
13791 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13793 * htmlfontify.el, hfy-cmap.el: New files.
13795 2009-11-19 Juri Linkov <juri@jurta.org>
13797 * minibuffer.el (completions-format): New defcustom.
13798 (completion--insert-strings): Implement vertical format.
13800 * simple.el (switch-to-completions): Move point to the first
13801 completion when point was at the beginning of the buffer.
13803 2009-11-19 Juri Linkov <juri@jurta.org>
13805 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13807 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13809 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13811 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13812 (mail-signature): Change default to t.
13813 (mail-from-style): Deprecate `system-default' value.
13814 (mail-insert-from-field): For default value of mail-from-style,
13815 default to `angles' unless `angles' needs quoting and `parens'
13817 (mail-citation-prefix-regexp): Use citation regexp from
13820 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13822 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13823 Set variables for computing the prompt for reading password.
13825 2009-11-19 Glenn Morris <rgm@gnu.org>
13827 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13829 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13831 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13832 (newsticker-treeview-listwindow-height): Fix custom type.
13834 2009-11-19 Kenichi Handa <handa@m17n.org>
13836 * descr-text.el (describe-char-padded-string): Compose with TAB
13837 only if there's a font for CH.
13838 (describe-char): Fix the condition for detecting a trivial composition.
13840 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13842 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13843 more accurate version of the regexp. (Bug#3910)
13845 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13847 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13849 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13851 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13852 (font-setting-change-default-font): Fix typo in docstring.
13854 2009-11-18 Alan Mackenzie <acm@muc.de>
13856 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13858 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13860 * font-setting.el (font-use-system-font): Move ...
13862 * cus-start.el (all): ... to here.
13864 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13866 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13867 Don't set `ad-return-value' if `ad-do-it' doesn't.
13869 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13872 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13874 * menu-bar.el: Put "Use system font" in Option-menu.
13875 (menu-bar-options-save): Add font-use-system-font.
13877 * loadup.el: If feature system-font-setting or font-render-setting is
13878 there, load font-setting.
13880 * Makefile.in (ELCFILES): Add font-settings.el.
13881 * font-setting.el: New file.
13883 2009-11-17 Glenn Morris <rgm@gnu.org>
13885 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13887 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13888 Preserve point in the list buffer. (Bug#4939)
13890 (newsticker--treeview-list-update-highlight)
13891 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13893 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13895 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13898 * calc/calc-ext.el (calc-init-extensions): Remove references to
13901 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13903 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13904 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13907 2009-11-16 Kevin Ryde <user42@zip.com.au>
13909 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13910 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13912 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13913 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13914 Ignore trailing spaces by omit-nulls to split-string (fixing
13915 regression from Emacs 21 due to the incompatible split-string
13916 change). (Bug #4928.)
13918 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13920 * vc.el (vc-log-show-limit): Default to 2000.
13921 (vc-print-log-internal): Insert buttons to request more entries
13922 when limiting the output.
13924 * vc-sccs.el (vc-sccs-print-log):
13925 * vc-rcs.el (vc-rcs-print-log):
13926 * vc-cvs.el (vc-cvs-print-log):
13927 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13930 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13932 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13933 error when `tramp-gvfs-dbus-event-vector' is set.
13934 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13936 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13938 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13940 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13942 * net/dbus.el (dbus-unregister-service): New defun.
13943 (dbus-register-property): Register the handlers of
13944 "org.freedesktop.DBus.Properties" for SERVICE.
13945 (dbus-property-handler): Fix docstring.
13947 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13949 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13950 Quote doc string reference in defvaralias as it is not in special form.
13951 (byte-compile-output-docform): Doc fix.
13953 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13955 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13956 (calc-complement-signed-mode): New variables.
13957 (calc-set-mode-line): Add indicator for twos-complements.
13958 (math-format-number): Format twos-complement notation.
13960 * calc/calc-bin.el (calc-word-size): Reset the variables
13961 `math-2-word-size' and `math-half-2-word-size'.
13962 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13963 (calc-symclip): New functions.
13965 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13967 * calc/calc-embed.el (calc-embedded-mode-vars):
13968 Add `calc-complement-signed-mode' to the list of modes.
13970 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13971 (calc-b-oper-keys): Add `calc-symclip' to list.
13973 * calc/calc-ext.el (math-read-number-fancy): Read complement
13975 (calc-init-extensions): Add binding for `calc-symclip'.
13976 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13978 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13980 (calc-modes-menu): Add item for twos complement mode.
13982 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13984 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13986 * register.el (jump-to-register, insert-register): Handle Semantic
13987 tags. From commented-out advice in semantic/senator.el.
13989 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13991 * vc.el (vc-log-show-limit): New variable.
13992 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13993 when using a prefix argument.
13994 (vc-print-log-internal): Add new argument LIMIT.
13996 * vc-svn.el (vc-svn-print-log):
13997 * vc-mtn.el (vc-mtn-print-log):
13998 * vc-hg.el (vc-hg-print-log):
13999 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14000 pass it to the log command when set. Make the BUFFER argument
14003 * vc-sccs.el (vc-sccs-print-log):
14004 * vc-rcs.el (vc-rcs-print-log):
14005 * vc-git.el (vc-git-print-log):
14006 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14007 ignore it. Make the BUFFER argument non-optional
14009 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14011 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14013 * dired.el (dired-mode-map): Move encryption items to "Operate"
14016 * strokes.el (strokes-update-window-configuration): Make strokes
14017 buffer current before erasing (Bug#4906).
14019 2009-11-15 Juri Linkov <juri@jurta.org>
14021 * simple.el (set-mark-default-inactive): Add :type, :group
14022 and :version. (Bug#4876)
14024 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14026 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14027 (archive-unique-fname): ... here. (Bug#4929)
14029 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14031 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14034 * novice.el (disabled-command-function): Add useful args.
14035 Setup the help buffer so that [back] works.
14036 Remove redundant call to help-mode.
14037 (disabled-command-function): Use `case'.
14038 (en/disable-command): New function extracted from enable-command.
14039 (enable-command, disable-command): Use it.
14041 2009-11-14 Glenn Morris <rgm@gnu.org>
14043 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14044 constants. (Bug#4913)
14046 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14048 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14050 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14051 defined in C that have no doc-strings. (Bug#1063)
14053 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14055 * cus-edit.el (data, files):
14056 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14058 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14060 * simple.el (shell-command): Doc fix (Bug#4891).
14062 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14064 2009-11-14 Glenn Morris <rgm@gnu.org>
14066 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14067 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14068 If they are already loaded, eval-after-load will do the right thing.
14070 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14073 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14075 * simple.el (x-selection-owner-p): Declare.
14076 (read-mail-command): Use custom radio type rather than choice.
14077 (completion-no-auto-exit): Doc fix.
14079 * custom.el (defgroup):
14080 * epg-config.el (epg): Doc fixes.
14082 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14084 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14085 * international/ccl.el (define-ccl-program): Do not purecopy the
14086 docstring, defconst does it anyway.
14088 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14090 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14093 * x-dnd.el (x-dnd-maybe-call-test-function):
14094 * window.el (split-window-vertically):
14095 * whitespace.el (whitespace-help-on):
14096 * vc-rcs.el (vc-rcs-consult-headers):
14097 * userlock.el (ask-user-about-lock-help)
14098 (ask-user-about-supersession-help):
14099 * type-break.el (type-break-force-mode-line-update):
14100 * time-stamp.el (time-stamp-conv-warn):
14101 * terminal.el (te-set-output-log, te-more-break, te-filter)
14102 (te-sentinel, terminal-emulator):
14103 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14104 (term-write-input-ring, term-check-source, term-start-output-log):
14105 (term-display-buffer-line, term-dynamic-list-completions):
14106 (term-ansi-make-term, serial-term):
14107 * subr.el (selective-display):
14108 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14109 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14110 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14111 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14112 (speedbar-remove-localized-speedbar-support)
14113 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14114 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14115 (speedbar-buffers-line-directory):
14116 * simple.el (shell-command-on-region, append-to-buffer)
14117 (prepend-to-buffer):
14118 * shadowfile.el (shadow-save-todo-file):
14119 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14120 (scroll-bar-maybe-set-window-start):
14121 * sb-image.el (speedbar-image-dump):
14122 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14123 (load-save-place-alist-from-file):
14124 * ps-samp.el (ps-print-message-from-summary):
14125 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14126 (ps-background-image, ps-begin-job, ps-do-despool):
14127 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14128 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14129 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14130 (pr-call-process, pr-file-list, pr-interface-save):
14131 * novice.el (disabled-command-function)
14132 (enable-command, disable-command):
14133 * mouse.el (mouse-buffer-menu-alist):
14134 * mouse-copy.el (mouse-kill-preserving-secondary):
14135 * macros.el (kbd-macro-query):
14136 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14137 * informat.el (batch-info-validate):
14138 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14139 * hippie-exp.el (try-expand-dabbrev-visible):
14140 * help-mode.el (help-make-xrefs):
14141 * help-fns.el (describe-variable):
14142 * generic-x.el (bat-generic-mode-run-as-comint):
14143 * finder.el (finder-mouse-select):
14144 * find-dired.el (find-dired-sentinel):
14145 * filesets.el (filesets-file-close):
14146 * files.el (list-directory):
14147 * faces.el (list-faces-display, describe-face):
14148 * facemenu.el (list-colors-display):
14149 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14150 * epg.el (epg--process-filter, epg-cancel):
14151 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14152 (epa--read-signature-type):
14153 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14154 (emerge-file-names):
14155 * ehelp.el (electric-helpify):
14156 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14157 * ediff-vers.el (rcs-ediff-view-revision):
14158 * ediff-util.el (ediff-setup):
14159 * ediff-mult.el (ediff-append-custom-diff):
14160 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14162 * echistory.el (Electric-command-history-redo-expression):
14163 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14164 * disp-table.el (describe-display-table):
14165 * dired.el (dired-find-buffer-nocreate):
14166 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14167 * dabbrev.el (dabbrev--same-major-mode-p):
14168 * chistory.el (list-command-history):
14169 * apropos.el (apropos-documentation):
14170 * allout.el (allout-obtain-passphrase):
14171 (allout-copy-exposed-to-buffer):
14172 (allout-verify-passphrase): Use with-current-buffer.
14174 2009-11-13 Glenn Morris <rgm@gnu.org>
14176 * Makefile.in (ELCFILES): Regenerate.
14178 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14180 * net/dbus.el (dbus-registered-objects-table): Rename from
14181 `dbus-registered-functions-table', because it contains also properties.
14182 (dbus-unregister-object): Unregister also properties.
14183 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14184 Use a timeout of 500 msec, in order to not block.
14185 (dbus-register-property, dbus-property-handler): New defuns.
14187 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14189 * simple.el (minibuffer-default-add-completions): Drop deprecated
14192 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14194 * textmodes/artist.el (artist-mouse-choose-operation):
14195 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14196 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14197 (artist-compute-up-event-key): New function.
14198 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14200 2009-11-13 Kenichi Handa <handa@m17n.org>
14202 * language/japan-util.el: Make sure that the value of jisx0208
14203 property is jisx0208 character.
14205 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14207 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14208 car or each item, not the whole list.
14210 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14212 * minibuffer.el (minibuffer-completion-help):
14213 Use minibuffer-hide-completions.
14215 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14217 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14218 (dired-revert): Use them (bug#4880).
14220 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14222 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14224 2009-11-12 Juri Linkov <juri@jurta.org>
14226 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14228 (find-file-literally-at-point): Alias of `ffap-literally'.
14230 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14232 * textmodes/ispell.el (ispell-skip-region-alist):
14233 * textmodes/css-mode.el (auto-mode-alist):
14234 * progmodes/compile.el (auto-mode-alist):
14235 * international/mule.el (ctext-non-standard-encodings-alist)
14236 (ctext-non-standard-encodings-regexp):
14237 * simple.el (shell-command-switch, text-read-only):
14238 * replace.el (occur-mode-map):
14239 * paths.el (rmail-file-name):
14240 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14241 * find-file.el (ff-special-constructs):
14242 * files.el (file-name-handler-alist):
14243 * composite.el: Purecopy strings.
14245 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14247 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14249 * widget.el (define-widget): Purecopy the docstring.
14250 * international/mule-cmds.el (charset): Do not purecopy the
14251 docstring here, define-widget does it.
14253 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14254 * textmodes/bibtex-style.el (auto-mode-alist):
14255 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14256 * progmodes/compile.el (compile-command):
14257 * language/korea-util.el (default-korean-keyboard):
14258 * international/mule-conf.el (file-coding-system-alist):
14259 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14260 * tooltip.el (tooltip-frame-parameters):
14261 * newcomment.el (comment-end, comment-padding):
14262 * dired.el (dired-trivial-filenames):
14263 * comint.el (comint-file-name-prefix): Purecopy initial values.
14265 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14267 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14268 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14270 (tramp-advice-make-auto-save-file-name)
14271 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14272 after removing the advice.
14274 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14276 * progmodes/grep.el (grep-regexp-alist):
14277 * international/mule-cmds.el (iso-2022-control-alist):
14278 * emacs-lisp/timer.el (timer-duration-words):
14279 * subr.el (version-separator, version-regexp-alist):
14280 * minibuffer.el (completion-styles-alist):
14281 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14282 Change defvars to defconsts.
14284 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14285 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14286 * international/mule-conf.el: Allow to be byte compiled.
14288 * international/mule.el (define-charset): Purecopy props.
14289 (load-with-code-conversion): Purecopy doc string and file name.
14290 (put-charset-property): Purecopy strings.
14291 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14293 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14294 (define-char-code-property): Correctly purecopy the table.
14296 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14298 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14300 * subr.el (add-hook): Purecopy strings.
14301 (eval-after-load): Purecopy load-history-regexp and the form.
14303 * custom.el (custom-declare-group): Purecopy load-file-name.
14305 * subr.el (menu-bar-separator): New defconst.
14306 * net/eudc.el (eudc-tools-menu):
14307 * international/mule-cmds.el (set-coding-system-map)
14308 (mule-menu-keymap):
14309 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14310 * vc-hooks.el (vc-menu-map):
14311 * replace.el (occur-mode-map):
14312 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14313 (menu-bar-edit-menu, menu-bar-goto-menu)
14314 (menu-bar-custom-menu, menu-bar-showhide-menu)
14315 (menu-bar-options-menu, menu-bar-tools-menu)
14316 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14317 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14318 (menu-bar-help-menu):
14319 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14320 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14322 * term/x-win.el (x-gtk-stock-map):
14323 * progmodes/vera-mode.el (auto-mode-alist):
14324 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14325 (inferior-lisp-program, inferior-lisp-load-command):
14326 * progmodes/hideshow.el (hs-special-modes-alist):
14327 * progmodes/gud.el (same-window-regexps):
14328 * progmodes/grep.el (grep-program, find-program, xargs-program):
14329 * net/telnet.el (same-window-regexps):
14330 * net/rlogin.el (same-window-regexps):
14331 * language/ethiopic.el (font-ccl-encoder-alist):
14332 * vc-sccs.el (vc-sccs-master-templates):
14333 * vc-rcs.el (vc-rcs-master-templates):
14334 * subr.el (cl-assertion-failed):
14335 * simple.el (next-error-overlay-arrow-position):
14336 * lpr.el (lpr-command):
14337 * locate.el (locate-ls-subdir-switches):
14338 * info.el (same-window-regexps, info)
14339 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14340 * image-mode.el (image-mode, auto-mode-alist):
14341 * hippie-exp.el (hippie-expand-ignore-buffers):
14342 * format.el (format-alist):
14343 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14345 * facemenu.el (facemenu-keybindings):
14346 * dired.el (dired-listing-switches, dired-chown-program):
14347 * diff.el (diff-switches, diff-command):
14348 * cus-edit.el (same-window-regexps):
14349 * bindings.el (mode-line-mule-info)
14350 (mode-line-buffer-identification): Purecopy strings.
14352 2009-11-11 Juri Linkov <juri@jurta.org>
14354 * simple.el (dired-get-filename) <declare-function>:
14355 Tell the byte-compiler about dired-get-filename.
14356 (shell-command): In Dired mode, get filename from the current line
14357 as the default value.
14359 2009-11-10 Glenn Morris <rgm@gnu.org>
14361 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14362 * calendar/holidays.el, progmodes/cperl-mode.el:
14363 Update x-popup-menu declarations.
14365 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14366 (list-load-path-shadows): Use dolist.
14367 (list-load-path-shadows): Use with-current-buffer.
14369 2009-11-10 Juri Linkov <juri@jurta.org>
14371 * minibuffer.el (read-file-name): Support a list of default values
14372 in `default-filename'. Use the first file name where only one
14373 element is required. Doc fix.
14375 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14377 * net/dbus.el (dbus-unregister-object): Release service, if no
14378 other method is registered for it.
14380 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14382 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14383 bookmark-sort-flag is non-nil (Bug#4653).
14385 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14387 * emulation/cua-base.el: Add CUA property to some CC mode commands
14390 2009-11-08 Kevin Ryde <user42@zip.com.au>
14392 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14393 at end of sentence (Bug#4818).
14395 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14397 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14398 Handle "see declaration of" MSFT statements (Bug#4100).
14400 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14402 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14403 (tramp-advice-file-expand-wildcards): Unload via
14404 `ad-remove-advice'.
14406 * net/trampver.el: Update release number.
14408 2009-11-08 Kevin Ryde <user42@zip.com.au>
14410 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14413 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14415 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14416 in order to keep context in SELinux.
14418 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14420 * dired-aux.el (dired-query): Place cursor in echo area and allow
14423 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14424 menu item if not on a directory (Bug#4701).
14426 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14428 Sync with Tramp 2.1.17.
14430 * net/tramp.el (tramp-handle-copy-directory): Don't use
14431 `file-remote-p' (due to compatibility).
14433 * net/tramp-compat.el (tramp-compat-copy-directory)
14434 (tramp-compat-delete-directory): New defuns.
14436 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14437 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14438 Use `tramp-compat-delete-directory'.
14440 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14441 (tramp-smb-handle-delete-directory):
14442 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14444 * net/trampver.el: Update release number.
14446 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14448 * tar-mode.el (tar-copy): Call write-region on the right buffer
14451 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14452 by hand, if necessary (Bug#4878).
14454 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14456 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14457 align size column (Bug#4839).
14459 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14462 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14464 * progmodes/ld-script.el (auto-mode-alist):
14465 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14467 * cus-face.el (custom-declare-face): Purecopy face spec.
14469 2009-11-06 Kenichi Handa <handa@m17n.org>
14471 * international/uni-bidi.el: Re-generated.
14472 * international/uni-category.el: Re-generated.
14473 * international/uni-combining.el: Re-generated.
14474 * international/uni-mirrored.el: Re-generated.
14476 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14478 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14479 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14480 (tex-start-options, slitex-run-command, latex-run-command)
14481 (tex-run-command, tex-directory):
14482 * textmodes/ispell.el (ispell-html-skip-alists)
14483 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14484 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14485 (adaptive-fill-regexp):
14486 * textmodes/dns-mode.el (auto-mode-alist):
14487 * progmodes/python.el (interpreter-mode-alist):
14488 * progmodes/etags.el (tags-compression-info-list):
14489 * progmodes/etags.el (tags-file-name):
14490 * net/browse-url.el (browse-url-galeon-program)
14491 (browse-url-firefox-program):
14492 * mail/sendmail.el (mail-signature-file)
14493 (mail-citation-prefix-regexp):
14494 * international/mule-conf.el (eight-bit):
14495 * international/latexenc.el (latex-inputenc-coding-alist):
14496 * international/fontset.el (x-pixel-size-width-font-regexp):
14497 * emacs-lisp/warnings.el (warning-type-format):
14498 * emacs-lisp/trace.el (trace-buffer):
14499 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14500 (emacs-lisp-mode-map):
14501 * calendar/holidays.el (holiday-solar-holidays)
14502 (holiday-bahai-holidays, holiday-islamic-holidays)
14503 (holiday-christian-holidays, holiday-hebrew-holidays)
14504 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14505 (hebrew-holidays-1, holiday-oriental-holidays)
14506 (holiday-general-holidays):
14507 * x-dnd.el (x-dnd-known-types):
14508 * tool-bar.el (tool-bar):
14509 * startup.el (site-run-file):
14510 * shell.el (shell-dumb-shell-regexp):
14511 * rfn-eshadow.el (file-name-shadow-tty-properties)
14512 (file-name-shadow-properties):
14513 * paths.el (remote-shell-program, news-directory):
14514 * mouse.el ([C-down-mouse-3]):
14515 * menu-bar.el (menu-bar-tools-menu):
14516 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14517 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14518 (jka-compr-compression-info-list):
14519 * isearch.el (search-whitespace-regexp):
14520 * image-file.el (image-file-name-extensions):
14521 * find-dired.el (find-ls-option):
14522 * files.el (directory-listing-before-filename-regexp)
14523 (directory-free-space-args, insert-directory-program)
14524 (list-directory-brief-switches, magic-fallback-mode-alist)
14525 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14526 (automount-dir-prefix):
14527 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14528 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14529 (face-font-registry-alternatives, face-font-registry-alternatives)
14530 (face-font-family-alternatives):
14531 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14532 (facemenu-foreground-menu, facemenu-face-menu):
14533 * epa-hook.el (epa-file-name-regexp):
14534 * dnd.el (dnd-protocol-alist):
14535 * textmodes/rst.el (auto-mode-alist):
14536 * button.el (default-button): Purecopy strings.
14538 2009-11-06 Glenn Morris <rgm@gnu.org>
14540 * Makefile.in (ELCFILES): Update.
14542 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14544 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14545 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14547 * nxml/xsd-regexp.el (xsdre-gen-categories):
14548 * nxml/xmltok.el (xmltok-parse-entity):
14549 * nxml/rng-parse.el (rng-parse-validate-file):
14550 * nxml/rng-maint.el (rng-format-manual)
14551 (rng-manual-output-force-new-line):
14552 * nxml/rng-loc.el (rng-save-schema-location-1):
14553 * nxml/rng-cmpct.el (rng-c-parse-file):
14554 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14555 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14557 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14559 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14560 Remove extra save-excursions and make-variable-buffer-local's.
14561 Suggested by Stefan Monnier.
14563 (verilog-getopt-file, verilog-module-inside-filename-p)
14564 (verilog-set-define): Merge GNU 1.35 and repair changes from
14565 switching to using with-current-buffer.
14567 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14568 being treated as a number and confusing AUTORESET.
14569 Reported by Dan Dever.
14571 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14572 Add verilog-auto-ignore-concat to fix backward compatibility with
14573 older verilog-modes. Reported by Dan Katz.
14575 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14576 containing closing anchors "...$".
14578 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14579 Reported by Wade Smith.
14581 (verilog-batch-execute-func): Comment on function usage.
14583 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14585 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14588 (verilog-label-re, verilog-calc-1): Support proper indent of named
14591 (verilog-backward-token, verilog-basic-complete-re)
14592 (verilog-beg-of-statement, verilog-indent-re): Support proper
14593 indent of the assert statement at the beginning of a block of text.
14595 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14596 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14599 2009-11-05 Glenn Morris <rgm@gnu.org>
14601 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14602 Emacs 19. (Bug#1531)
14603 (byte-compile-fix-header): Update for the above change.
14604 Drop test for epoch::version.
14606 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14607 * cus-dep.el (custom-make-dependencies):
14608 * finder.el (finder-compile-keywords):
14609 Use autoload-rubric's feature argument.
14611 * calendar/diary-lib.el (top-level): Make load behave more like require.
14613 * vc-git.el (vc-git-stash-map): Move definition before use.
14615 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14617 * custom.el (custom-declare-group): Purecopy standard-value.
14618 (custom-declare-group): Purecopy custom-prefix.
14620 * international/mule.el (load-with-code-conversion):
14621 Call do-after-load-evaluation unconditionally.
14623 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14625 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14627 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14629 2009-11-04 Glenn Morris <rgm@gnu.org>
14631 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14632 (byte-compile-compatibility): Remove option.
14633 (byte-compile-close-variables, byte-compile-fix-header)
14634 (byte-compile-insert-header, byte-compile-output-docform)
14635 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14636 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14637 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14638 (byte-compile-insert, byte-compile-defun):
14639 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14640 (byte-defop-compiler19): Remove.
14641 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14642 used by anything. Replace all calls with byte-defop-compiler.
14644 2009-11-04 Juri Linkov <juri@jurta.org>
14646 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14647 (menu-bar-options-menu): Don't quote the `prop' arg of
14648 `menu-bar-make-mm-toggle'.
14650 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14652 * calendar/calendar.el (cal-loaddefs):
14653 * calendar/diary-lib.el (diary-loaddefs):
14654 * calendar/holidays.el (hol-loaddefs):
14655 * eshell/esh-module.el (esh-groups): Load rather than require.
14657 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14661 (todo-top-priorities): Only display-buffer when called interactively.
14662 (todo-item-start): Don't save excursion point.
14663 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14664 (todo-insert-item-here, todo-file-item, todo-remove-item):
14665 Adjust uses of todo-item-start and todo-item-end.
14667 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14668 (autoload-rubric): Don't use any more.
14670 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14671 and only put a prop if it is non-nil.
14673 2009-11-03 Juri Linkov <juri@jurta.org>
14675 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14676 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14678 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14679 and "Menu" to make top-level menu item visually one unit (like
14680 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14681 multi-word menu items). Fix :help string for quit-window.
14683 2009-11-03 Glenn Morris <rgm@gnu.org>
14685 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14686 (byte-compile-file-form-define-abbrev-table)
14687 (byte-compile-file-form-custom-declare-variable)
14688 (byte-compile-variable-ref, byte-compile-defvar):
14689 Whether or not a warning is enabled should only affect whether we issue
14690 the warning, not whether or not we collect the relevant data.
14691 Eg warnings can be turned on and off throughout the course of a file.
14693 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14694 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14696 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14698 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14699 * play/mpuz.el (mpuz-create-buffer):
14700 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14701 (lm-print-y,s,noise, lm-print-w0, lm-init):
14702 * play/gomoku.el (gomoku-prompt-for-move):
14703 * play/fortune.el (fortune-in-buffer):
14704 * play/dissociate.el (dissociated-press):
14705 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14706 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14707 * mail/supercite.el (sc-eref-show):
14708 * mail/smtpmail.el (smtpmail-send-it):
14709 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14710 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14711 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14712 (rmail-summary-goto-msg, rmail-summary-expunge)
14713 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14714 (rmail-summary-add-label, rmail-summary-output-menu)
14715 (rmail-summary-output-body):
14716 * mail/rfc822.el (rfc822-addresses):
14717 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14718 * mail/mailpost.el (post-mail-send-it):
14719 * mail/hashcash.el (hashcash-generate-payment):
14720 * mail/feedmail.el (feedmail-run-the-queue)
14721 (feedmail-queue-send-edit-prompt-help-first)
14722 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14723 (feedmail-deduce-address-list):
14724 * eshell/esh-ext.el (eshell-remote-command):
14725 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14726 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14727 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14728 (viper-save-string-in-file, viper-valid-marker):
14729 * emulation/viper-keym.el (viper-toggle-key):
14730 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14731 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14732 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14733 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14734 (viper-exec-form-in-emacs, viper-brac-function):
14735 * emulation/viper.el (viper-delocalize-var):
14736 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14737 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14738 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14739 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14740 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14741 * emulation/edt.el (edt-electric-helpify):
14742 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14743 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14744 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14745 (cua-indent-to-global-mark-column):
14746 * calendar/diary-lib.el (calendar-mark-1):
14747 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14748 Use with-current-buffer.
14749 * emulation/viper.el (viper-delocalize-var): Use dolist.
14751 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14753 * comint.el (comint-replace-by-expanded-history-before-point):
14754 Replace !! with the previous input string literally (Bug#1795).
14756 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14758 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14759 to be made up of whitespace.
14761 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14763 * minibuffer.el (read-file-name): Don't use file dialogs for
14764 remote directories (Bug#99).
14766 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14768 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14770 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14772 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14773 instead of deleting the window or frame.
14775 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14777 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14778 Support face colors.
14780 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14781 New function. Support face colors (Bug#1168).
14782 (tex-common-initialization): Use it.
14784 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14785 mode allows it (Bug#1168).
14787 2009-10-31 Juri Linkov <juri@jurta.org>
14789 * facemenu.el (list-colors-display): Don't mark buffer as
14790 modified (Bug#3948).
14792 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14794 * international/mule-diag.el (list-character-sets-1):
14795 Minor message fix (Bug#3526).
14797 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14798 Fix face property (Bug#4834).
14799 (etags-list-tags, etags-tags-apropos-additional)
14800 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14803 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14806 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14808 * textmodes/two-column.el (2C-split):
14809 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14810 * textmodes/tex-mode.el (tex-set-buffer-directory):
14811 * textmodes/spell.el (spell-region, spell-string):
14812 * textmodes/reftex.el (reftex-erase-buffer):
14813 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14814 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14815 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14816 (reftex-select-item):
14817 * textmodes/reftex-ref.el (reftex-label-info-update)
14818 (reftex-offer-label-menu):
14819 * textmodes/reftex-index.el (reftex-index-change-entry)
14820 (reftex-index-phrases-info):
14821 * textmodes/reftex-global.el (reftex-create-tags-file)
14822 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14823 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14824 (reftex-view-crossref-from-bibtex):
14825 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14826 (reftex-extract-bib-entries-from-thebibliography)
14827 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14828 * textmodes/refbib.el (r2b-capitalize-title):
14829 (r2b-convert-buffer, r2b-help):
14830 * textmodes/page-ext.el (pages-directory)
14831 (pages-directory-goto-with-mouse):
14832 * textmodes/bibtex.el (bibtex-validate-globally):
14833 * textmodes/bib-mode.el (bib-capitalize-title):
14834 * textmodes/artist.el (artist-clear-buffer, artist-system):
14835 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14836 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14837 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14838 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14839 (xscheme-send-control-g-interrupt, xscheme-start-process)
14840 (xscheme-process-sentinel, xscheme-cd):
14841 * progmodes/verilog-mode.el (verilog-read-always-signals)
14842 (verilog-set-define, verilog-getopt-file)
14843 (verilog-module-inside-filename-p):
14844 * progmodes/sh-script.el:
14845 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14846 (python-pdbtrack-grub-for-buffer, python-execute-file):
14847 * progmodes/octave-inf.el (inferior-octave):
14848 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14849 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14850 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14851 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14852 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14853 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14854 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14855 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14856 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14857 (idlwave-shell-examine-display, idlwave-shell-run-region)
14858 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14859 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14860 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14861 (idlwave-help-get-help-buffer):
14862 * progmodes/gud.el (gud-basic-call, gud-find-class)
14863 (gud-tooltip-activate-mouse-motions-if-enabled):
14864 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14865 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14866 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14867 (ebrowse-tags-next-file):
14868 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14869 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14870 (ebnf-eps-finish-and-write):
14871 * progmodes/cpp.el (cpp-edit-save):
14872 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14873 * progmodes/cc-defs.el (c-emacs-features):
14874 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14875 (antlr-directory-dependencies):
14876 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14877 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14878 (ada-find-any-references, ada-make-filename-from-adaname)
14879 (ada-make-body-gnatstub):
14880 * obsolete/rnews.el (news-list-news-groups):
14881 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14882 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14883 * net/rcirc.el (rcirc-debug):
14884 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14885 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14886 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14887 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14888 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14889 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14890 (newsticker--treeview-list-clear-highlight)
14891 (newsticker--treeview-list-update-highlight)
14892 (newsticker--treeview-list-highlight-start)
14893 (newsticker--treeview-tree-update-highlight)
14894 (newsticker--treeview-get-selected-item)
14895 (newsticker-treeview-mark-list-items-old)
14896 (newsticker--treeview-set-current-node):
14897 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14898 * net/newst-backend.el (newsticker--get-news-by-funcall)
14899 (newsticker--get-news-by-wget, newsticker--image-get)
14900 (newsticker--image-sentinel):
14901 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14902 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14903 (eudc-ph-close-session):
14904 * net/eudc.el (eudc-save-options):
14905 * language/thai-word.el (thai-update-word-table):
14906 * language/japan-util.el (japanese-string-conversion):
14907 * international/titdic-cnv.el (tsang-quick-converter)
14908 (ziranma-converter, ctlau-converter):
14909 * international/mule-cmds.el (describe-language-environment):
14910 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14911 (skkdic-convert-postfix, skkdic-convert-prefix):
14912 (skkdic-convert-okuri-nasi, skkdic-convert):
14913 * emacs-lisp/re-builder.el (reb-update-overlays):
14914 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14915 * emacs-lisp/gulp.el (gulp-send-requests):
14916 * emacs-lisp/find-gc.el (trace-call-tree):
14917 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14918 (eieio-describe-generic):
14919 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14920 * emacs-lisp/edebug.el (edebug-outside-excursion):
14921 * emacs-lisp/debug.el (debugger-make-xrefs):
14922 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14923 * emacs-lisp/chart.el (chart-new-buffer):
14924 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14925 Use with-current-buffer.
14926 * textmodes/artist.el (artist-system): Don't call
14927 copy-sequence on a fresh string.
14928 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14930 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14932 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14933 is no item to edit. (Bug#4820)
14934 (todo-top-priorities): Restore point and restore narrowing in Todo
14937 2009-10-31 Glenn Morris <rgm@gnu.org>
14939 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14940 (comint-last-output-start, comint-last-input-start)
14941 (comint-last-input-end): Don't defvar when compiling.
14942 (ange-ftp-process-file): Use bound-and-true-p.
14944 * pcmpl-rpm.el (top-level): Move provide statement to end.
14945 (pcmpl-rpm): Remove unused custom group.
14947 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14949 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14951 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14952 (byte-compile-warnings): Add `constants' as an option.
14953 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14954 (display-call-tree): Update for byte-compile-fdefinition possibly
14955 returning `(macro lambda ...)'. (Bug#4778)
14956 (byte-compile-variable-ref, byte-compile-setq-default):
14957 Respect `constants' member of byte-compile-warnings.
14959 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14961 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14962 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14965 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14967 * textmodes/ispell.el (ispell-skip-region-alist):
14968 * international/mule-conf.el (eight-bit):
14969 * international/fontset.el (font-encoding-alist):
14970 * startup.el (pure-space-overflow-message):
14971 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14972 * paths.el (gnus-nntp-service, rmail-spool-directory)
14973 (term-file-prefix):
14974 * files.el (save-some-buffers-action-alist):
14975 * cmuscheme.el (same-window-buffer-names):
14976 * ielm.el (same-window-buffer-names):
14977 * shell.el (same-window-buffer-names):
14978 * mail/sendmail.el (same-window-buffer-names):
14979 * progmodes/inf-lisp.el (same-window-buffer-names):
14980 * bindings.el (mode-line-client)
14981 (mode-line-column-line-number-mode-map):
14982 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14983 (tibetan-precomposed-regexp): Purecopy string arguments.
14985 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14987 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14988 (calcDigit-nondigit):
14989 * calc/calc-yank.el (calc-copy-to-buffer):
14990 * calc/calc-units.el (calc-invalidate-units-table):
14991 * calc/calc-trail.el (calc-trail-yank):
14992 * calc/calc-store.el (calc-insert-variables):
14993 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14994 * calc/calc-prog.el (calc-read-parse-table):
14995 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14996 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14997 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14998 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14999 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15000 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15001 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15002 * calc/calc-ext.el (calc-realign):
15003 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15004 (calc-embedded-finish-edit, calc-embedded-make-info)
15005 (calc-embedded-finish-command, calc-embedded-stack-change):
15006 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15008 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15009 shell-dynamic-complete-filename in preference to
15010 comint-dynamic-complete-filename.
15012 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15013 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15014 Don't consider whether the display supports colors.
15015 (bookmark-import-new-list): Use dolist.
15016 (bookmark-bmenu-mode-map): Move initialization into declaration.
15017 (bookmark-bmenu-list): Use dolist, simplify.
15018 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15019 (menu-bar-final-items): Use push.
15021 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15023 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15024 it works on remote files.
15025 (vc-hg-diff): Don't pass any `--cwd' argument.
15027 2009-10-27 Kevin Ryde <user42@zip.com.au>
15029 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15030 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15031 (Further to Bug#3921).
15033 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15035 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15036 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15037 calling `tramp-imap-put-file'. Add file size to the call.
15038 (tramp-imap-get-file-entries): Compute also user name, file size,
15040 (tramp-imap-handle-insert-directory): Insert uid and gid.
15041 (tramp-imap-handle-file-attributes): Transform uid and gid
15042 according to `id-format'.
15043 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15044 size in header X-Size.
15046 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15048 * simple.el (transpose-subr): Give clearer error when the mark
15049 is not set. (Bug#4807)
15051 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15053 * net/tramp.el (tramp-perl-file-truename): New defconst.
15054 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15055 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15056 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15057 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15059 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15060 Ignore `dired-call-process'.
15061 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15063 2009-10-26 Julian Scheid <julians37@gmail.com>
15065 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15066 (tramp-get-remote-readlink): New defun.
15067 (tramp-handle-file-truename): Use it.
15068 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15069 file exists if cache value present.
15070 (tramp-check-cached-permissions): New defun.
15071 (tramp-handle-file-readable-p): Use it.
15072 (tramp-handle-file-writable-p): Likewise.
15073 (tramp-handle-file-executable-p): Likewise.
15074 (tramp-handle-file-name-all-completions): Try using Perl to get
15075 partial completions. When perl not available, combine `cd' and
15076 `ls' into single remote operation and use shell expansion to get
15077 partial remote directory contents. Set `file-exists-p' cache for
15078 directory and any files returned by ls. Change cache handling to
15079 support partial directory contents. Use error message emitted by
15080 remote `cd' or Perl code for local tramp-error.
15081 (tramp-do-copy-or-rename-file-directly): Avoid separate
15082 tramp-send-command-and-check call.
15083 (tramp-handle-process-file): Merge three remote ops into one.
15084 Do not flush all caches when `process-file-side-effects' is set.
15085 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15086 file-attributes shows uid/gid to be set already.
15088 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15090 * textmodes/tex-mode.el (tex-dvi-view-command)
15091 (tex-show-queue-command, tex-open-quote):
15092 * progmodes/ruby-mode.el (auto-mode-alist)
15093 (interpreter-mode-alist): Purecopy strings.
15095 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15097 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15098 string for the hook, keymap and abbrev table.
15100 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15102 * x-dnd.el (x-dnd-xdnd-to-action):
15103 * startup.el (fancy-startup-text, fancy-about-text): Change to
15104 defconst from defvar.
15106 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15108 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15109 Purecopy initialization strings.
15111 * mail/sendmail.el (mail-header-separator)
15112 (mail-personal-alias-file):
15113 * mail/rmail.el (rmail-default-dont-reply-to-names)
15114 (rmail-ignored-headers, rmail-retry-ignored-headers)
15115 (rmail-highlighted-headers, rmail-secondary-file-directory)
15116 (rmail-secondary-file-regexp):
15117 * files.el (null-device, file-name-invalid-regexp)
15118 (locate-dominating-stop-dir-regexp)
15119 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15120 (interpreter-mode-alist): Use mapcar instead of mapc.
15122 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15124 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15125 (completion-ignored-extensions):
15126 (debug-ignored-errors): Purecopy strings.
15128 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15130 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15131 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15132 (pcomplete--here): Use push.
15134 * subr.el (all-completions): Declare the 4th arg obsolete.
15136 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15138 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15139 (pcomplete-unquote-argument): New function.
15140 (pcomplete--common-suffix): Always pay attention to case.
15141 (pcomplete--table-subvert): Quote and unquote the text.
15142 (pcomplete--common-quoted-suffix): New function.
15143 (pcomplete-std-complete): Use it and pcomplete-begin.
15145 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15146 we're inside a dedicated or minibuffer window.
15148 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15150 * bookmark.el: Update documentation, especially documentation
15151 of `bookmark-alist' and of the bookmark file format.
15152 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15154 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15156 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15157 keybindings apply to the mail buffer (Bug#4003). Shrink help
15160 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15161 (global-whitespace-mode, global-whitespace-newline-mode)
15162 (whitespace-toggle-options, global-whitespace-toggle-options):
15163 Doc fix (Bug#3660).
15165 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15166 of xmltok-start before the end tag was inserted (Bug#2840).
15168 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15169 patterns that are preceded by an open-paren (Bug#1320).
15171 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15173 * files.el (delete-directory): Delete symlinks to directories with
15174 delete-file (Bug#4739).
15176 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15178 * vc.el (vc-backend-for-registration): Rename from
15179 vc-get-backend-for-registration. Update callers.
15181 * international/mule-cmds.el (set-language-info-alist):
15183 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15184 (charset): Purecopy the name.
15185 (define-char-code-property): Purecopy string arguments.
15187 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15188 Purecopy string arguments.
15190 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15191 * ediff-hook.el (menu-bar-ediff-menu):
15192 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15193 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15195 2009-10-24 Glenn Morris <rgm@gnu.org>
15197 * comint.el (comint-dynamic-list-completions):
15198 * term.el (term-dynamic-list-completions): Use choose-completion rather
15199 than obsolete alias mouse-choose-completion.
15201 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15202 file-cache-choose-completion.
15203 (file-cache-choose-completion): Handle an optional event argument.
15204 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15206 * progmodes/octave-mod.el (octave-complete-symbol):
15207 Use choose-completion if mouse-choose-completion is ever removed.
15209 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15212 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15215 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15217 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15219 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15220 Ignore `pred' now that we receive one.
15221 Handle test-completion specially.
15223 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15225 * vc.el (vc-responsible-backend): Throw an error if not backend is
15226 found. Remove the REGISTER argument. Move the code dealing with
15228 (vc-get-backend-for-registration): ... here. New function.
15229 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15230 of vc-responsible-backend, pass the file name instead of the
15233 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15235 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15237 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15238 (pcomplete-comint-setup): Don't modify a global var via
15239 accidental side-effects.
15240 (pcomplete-shell-setup): Adjust call accordingly.
15241 (pcomplete-parse-comint-arguments): Use push.
15243 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15245 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15246 Allow uncapitalized info node names (Bug#3921).
15248 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15249 to the DEBUG file (Bug#3781).
15251 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15253 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15254 dictionary entry (Bug#4579).
15256 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15258 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15259 from `rfn-eshadow-update-overlay-hook' when unloading.
15260 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15261 "rsyncc". Adjust doc string.
15262 (tramp-temp-buffer-file-name): New buffer-local defvar.
15263 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15264 Keep temporary file when indicated by method ("rsync" and
15266 (tramp-handle-write-region): Handle APPEND.
15267 (tramp-delete-temp-file-function): New defun. Added to
15268 `kill-buffer-hook'.
15270 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15272 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15274 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15276 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15277 (color-name-rgb-alist, tty-standard-colors)
15278 (tty-color-mode-alist): Change to defconst.
15280 * simple.el (mark-inactive): Purecopy message.
15282 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15283 (global-map, yank-menu):
15284 * textmodes/ispell.el (ispell-menu-map):
15285 * net/eudc.el (eudc-tools-menu):
15286 * international/mule-cmds.el (describe-language-environment-map)
15287 (setup-language-environment-map, set-coding-system-map)
15288 (mule-menu-keymap):
15289 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15290 * replace.el (occur-mode-map):
15291 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15293 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15295 * calc/calc.el (math-read-number, math-read-number-simple):
15296 Use `save-match-data'.
15298 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15300 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15301 rather than fiddling with global-map bindings, since it should only
15302 affect per-terminal settings.
15303 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15305 * minibuffer.el (completion-table-with-terminator): Allow to specify
15306 the terminator-regexp.
15308 * simple.el (switch-to-completions): Look for *Completions* in other
15311 * pcomplete.el: Allow the use of completion-tables.
15312 (pcomplete-std-complete): New command.
15313 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15314 (pcomplete--here): Use a function for `form' rather than an expression,
15315 so it can be byte-compiled.
15316 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15317 Add edebug declaration.
15318 (pcomplete-show-completions): Remove unused var `curbuf'.
15319 (pcomplete-do-complete, pcomplete-stub):
15320 Don't assume `completions' is a list of strings any more.
15322 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15324 * find-dired.el (find-name-arg): Fix typo in docstring.
15326 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15328 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15329 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15331 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15334 * comint.el (comint-read-input-ring, comint-write-input-ring)
15335 (comint-substitute-in-file-name)
15336 (comint-dynamic-complete-as-filename)
15337 (comint-dynamic-simple-complete)
15338 (comint-dynamic-list-filename-completions)
15339 (comint-dynamic-list-completions)
15340 (comint-redirect-results-list-from-process): Minor simplifications.
15342 2009-10-21 Kevin Ryde <user42@zip.com.au>
15344 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15345 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15346 the first form. And insert a blank line after ";;; Code" since
15347 that's usual style. (Bug#4612)
15349 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15351 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15353 * minibuffer.el (completion-table-with-terminator): Properly implement
15354 boundaries, in case `terminator' appears in the suffix.
15355 (completion--embedded-envvar-table): Don't return boundaries if
15356 there's no valid completion. Simplify.
15357 (completion-file-name-table): New completion table extracted from
15358 completion--file-name-table.
15359 (completion--file-name-table): Use it.
15360 (read-file-name-predicate): Declare obsolete.
15361 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15362 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15363 completion-file-name-table, and use the `pred' argument.
15364 * files.el (locate-file-completion-table): Use the `pred' arg rather
15365 than read-file-name-predicate.
15366 (abbreviate-file-name): Use \` rather than ^ for BOS.
15368 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15370 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15371 vc-responsible-backend to register, it causes problems.
15373 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15375 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15377 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15379 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15380 (tramp-smb-handle-file-attributes): Use it.
15381 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15382 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15383 `mapcar'. Use `tramp-smb-get-stat-capability'.
15384 Add `dired-filename' text properties.
15385 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15386 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15389 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * subr.el (read-key-delay): Reduce to 0.01.
15392 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15395 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15399 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15400 (Info-menu): Remove unused vars `last' and `completions'.
15401 (Info-index-nodes): Remove unused var `node'.
15403 * info.el (Info-complete-menu-item): Use complete-with-action.
15405 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15407 Make vc-annotate work through copies and renames.
15408 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15409 Return the file name too.
15410 (vc-annotate-revision-at-line)
15411 (vc-annotate-find-revision-at-line)
15412 (vc-annotate-revision-previous-to-line)
15413 (vc-annotate-show-log-revision-at-line): Update to get the file
15414 name from vc-annotate-extract-revision-at-line.
15415 (vc-annotate-show-diff-revision-at-line-internal): Change the
15416 argument to mean whether to show a file diff or not. Get the file
15417 name from vc-annotate-extract-revision-at-line.
15418 (vc-annotate-show-diff-revision-at-line):
15419 Update vc-annotate-show-diff-revision-at-line call.
15420 (vc-annotate-warp-revision): Add an optional file argument.
15422 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15423 (vc-git-annotate-extract-revision-at-line): Also return the file
15426 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15427 command. Remove unused code.
15428 (vc-hg-annotate-re): Update to match --follow output.
15429 (vc-hg-annotate-extract-revision-at-line): Also return the file
15432 * vc.el: Update annotate-extract-revision-at-line documentation.
15434 2009-10-18 Kevin Ryde <user42@zip.com.au>
15436 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15437 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15439 * net/browse-url.el (browse-url): Identify alist with "consp and
15440 not functionp" and let all other things go down the `apply' leg,
15441 as suggested by Stefan. (Further to bug#4531.)
15443 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15445 * minibuffer.el (read-file-name): Check for repeat before putting
15446 a default argument in file-name-history (Bug#4657).
15448 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15449 read syntax (Bug#4737).
15451 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15453 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15455 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15456 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15457 entries and make note of obsolete tags.
15459 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15461 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15463 2009-10-18 Glenn Morris <rgm@gnu.org>
15465 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15466 grep, so that binary files (eg international/uni-bidi.el) can match.
15467 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15468 now, and in any case the file header format has changed.
15470 2009-10-17 Glenn Morris <rgm@gnu.org>
15472 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15473 (flyspell-get-word, flyspell-large-region)
15474 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15476 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15478 * Makefile.in (ELCFILES): Add ede/shell.
15480 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15482 * term/common-win.el (x-colors): Purecopy it.
15484 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15486 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15487 permissive for when the buffer is empty.
15488 (tar-header-block-tokenize): Decode the username and groupname.
15489 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15491 2009-10-17 Eric Ludlam <zappo@gnu.org>
15493 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15494 contains multibyte characters, choose first applicable coding
15495 system automatically.
15497 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15499 * international/mule-cmds.el (select-safe-coding-system): If the file
15500 has a coding cookie, use it regardless of any other setting (bug#4712).
15502 2009-10-17 Glenn Morris <rgm@gnu.org>
15504 * foldout.el (foldout-mouse-swallow-events):
15505 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15507 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15508 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15509 (dired-keep-marker-symlink, dired-dwim-target)
15510 (dired-copy-preserve-time): Do not autoload these defcustoms.
15512 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15513 messages from messing up the file coding. (Bug#4623)
15515 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15517 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15518 if no match is found for the current dictionary. (Bug#4578)
15520 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15521 optional, since that is how it is documented, and this is often called
15522 with a nil argument. (Bug#4577)
15523 (flyspell-external-point-words, flyspell-auto-correct-word)
15524 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15525 (flyspell-word-search-backward): Remove nil argument in calls to
15526 flyspell-get-word, since it is not needed now.
15528 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15530 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15532 2009-10-16 Glenn Morris <rgm@gnu.org>
15534 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15536 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15538 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15539 (ange-ftp-file-size): New function.
15540 (ange-ftp-file-attributes): Use it.
15542 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15544 * net/tramp-smb.el (tramp-smb-version): New defvar.
15545 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15548 2009-10-16 Glenn Morris <rgm@gnu.org>
15550 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15551 Maybe copy some custom properties from old to new name. (Bug#4706)
15553 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15555 * subr.el (error, sit-for, start-process-shell-command)
15556 (start-file-process-shell-command): Set the calling convention
15557 after the function definition.
15559 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15561 * subr.el (error, sit-for, start-process-shell-command)
15562 (start-file-process-shell-command): Use the new
15563 set-advertised-calling-convention feature.
15565 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15567 * international/ucs-normalize.el (ucs-normalize-version):
15569 (check-range): Adjust for Unicode 5.2.
15571 2009-10-15 Juri Linkov <juri@jurta.org>
15573 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15574 to the `menu-item' format.
15576 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15578 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15579 if the environment variable does not exist.
15581 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15582 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15584 (tramp-smb-handle-add-name-to-file)
15585 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15586 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15587 (tramp-smb-handle-file-attributes)
15588 (tramp-smb-do-file-attributes-with-stat)
15589 (tramp-smb-handle-file-local-copy)
15590 (tramp-smb-handle-insert-directory)
15591 (tramp-smb-handle-make-directory)
15592 (tramp-smb-handle-make-directory-internal)
15593 (tramp-smb-handle-make-symbolic-link)
15594 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15595 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15596 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15597 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15598 Handle long file names.
15599 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15600 process is running.
15601 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15602 Read share names with "-g" option.
15604 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15606 * net/rcirc.el (rcirc-view-log-file): New command.
15607 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15608 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15611 2009-10-15 Glenn Morris <rgm@gnu.org>
15613 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15614 from the second command-line argument.
15615 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15616 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15617 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15618 w32-batch-update-autoloads.
15619 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15620 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15622 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15623 the headers cannot be located. Simplify, subtracting superflous
15626 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15628 Replace completion-base-size by completion-base-position to fix bugs
15629 such as (bug#4699).
15630 * simple.el (completion-base-position): New var.
15631 (completion-base-size): Mark as obsolete.
15632 (choose-completion): Make it work for mouse events as well.
15633 Pass the new base-position to choose-completion-string.
15634 (choose-completion-guess-base-position): New function, extracted from
15635 choose-completion-delete-max-match.
15636 (choose-completion-delete-max-match): Use it. Make obsolete.
15637 (choose-completion-string): Use the new base-position info.
15638 (completion-root-regexp): Delete.
15639 (completion-setup-function): Preserve completion-base-position.
15640 Eliminate obsolete base-size manipulation.
15641 * minibuffer.el (display-completion-list): Don't mess with base-size.
15642 (minibuffer-completion-help): Set completion-base-position instead.
15643 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15645 * textmodes/bibtex.el (bibtex-complete):
15646 * emacs-lisp/crm.el (crm--choose-completion-string):
15647 Adjust to new calling convention.
15648 * complete.el (partial-completion-mode): Use minibufferp to avoid
15649 bumping into incompatible change to choose-completion-string-functions.
15650 * ido.el (ido-choose-completion-string): Make its calling convention
15652 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15653 base-size manipulation.
15654 (comint-dynamic-list-input-ring): Use dotimes and push.
15655 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15656 fundamental-mode. Use `or'.
15658 2009-10-14 Juri Linkov <juri@jurta.org>
15660 * misearch.el (multi-isearch-next-buffer-from-list)
15661 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15663 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15665 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15668 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15669 string we return is all made up of text from the completions rather
15670 than part from the completions and part from the input (bug#4219).
15672 * ido.el (ido-everywhere): Use define-minor-mode.
15674 * buff-menu.el (list-buffers, ctl-x-map):
15675 Mark the entry points with ;;;###autoload cookies.
15677 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15679 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15680 correctly in the detached head case.
15681 (vc-git-print-log): Remove unused binding.
15683 * vc.el (vc-responsible-backend): When a directory is passed for
15684 for registration create a VC repository if no backend is
15685 responsible for the directory argument.
15686 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15688 * vc.el: Move comments about RCS and SCCS ...
15690 * vc-sccs.el: ... here, respectively.
15692 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15694 * minibuffer.el (completion--file-name-table): Return nil if there's
15695 no file completion, even if substitute-in-file-name changed
15696 the string (bug#4708).
15698 2009-10-13 Juri Linkov <juri@jurta.org>
15700 * files-x.el (read-file-local-variable-value): Don't filter out
15701 minor modes from mode name completion (bug#4664).
15703 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15705 * international/mule-cmds.el (ucs-names): Remove exclusion of
15706 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15708 2009-10-13 Kenichi Handa <handa@m17n.org>
15710 * international/uni-name.el: Regenerated.
15712 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15714 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15715 should be automatically buffer-local, but isn't.)
15717 2009-10-12 Sam Steingold <sds@gnu.org>
15719 * progmodes/compile.el (compilation-next-error-function): Fix the
15720 timestamps if the buffer has been visited before.
15721 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15722 non-anchored patterns, like the perl one (bug#3928).
15724 2009-10-12 Glenn Morris <rgm@gnu.org>
15726 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15729 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15731 * proced.el (proced-unload-function): New function.
15733 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15734 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15737 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15739 2009-10-11 Juri Linkov <juri@jurta.org>
15741 * files-x.el (read-file-local-variable-value):
15742 Provide default value only for bound variables (bug#4664).
15744 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15746 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15747 connection methods like smb.
15749 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15752 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15753 (tramp-smb-file-name-handler-alist): Add handlers for
15754 `add-name-to-file', `make-symbolic-link'.
15755 (tramp-smb-handle-add-name-to-file)
15756 (tramp-smb-do-file-attributes-with-stat)
15757 (tramp-smb-handle-make-symbolic-link)
15758 (tramp-smb-get-cifs-capabilities): New defuns.
15759 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15760 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15761 (tramp-smb-handle-file-local-copy)
15762 (tramp-smb-handle-make-directory-internal)
15763 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15764 The file name syntax depends on cifs capabilities.
15765 (tramp-smb-handle-file-attributes):
15766 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15767 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15768 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15770 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15772 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15773 (eieio-defclass): Apply deftype handler and setf-method properties
15775 (eieio-add-new-slot): Avoid union function from cl library.
15776 (eieio--typep): New function.
15777 (eieio-perform-slot-validation): Use it.
15779 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15781 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15782 Update documentation to refer to the variables documented in r1.135.
15785 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15787 * bookmark.el (Info-suffix-list): Remove this unused variable.
15788 (bookmark-current-point): Remove this obsolete variable.
15789 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15790 Adjust for removal of bookmark-current-point.
15792 (bookmarks-already-loaded, bookmark-current-buffer)
15793 (bookmark-yank-point): Document. (Bug#4188)
15795 2009-10-10 Glenn Morris <rgm@gnu.org>
15797 * frame.el (frame-height): Doc fix.
15799 * calendar/calendar.el (calendar-split-width-threshold): New option.
15800 (calendar-basic-setup): Use calendar-split-width-threshold.
15802 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15804 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15805 Ideographic Supplement" range (U+1F200..U+1F2FF).
15807 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15809 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15810 since the list will have been rebuilt anyway. (Bug#4349)
15812 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15814 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15815 (bookmark-bmenu-execute-deletions): Don't save here, as
15816 bookmark-delete will now do so if necessary.
15817 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15820 2009-10-09 Glenn Morris <rgm@gnu.org>
15822 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15824 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15826 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15827 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15828 argument now, so the two function's behaviors will match. (Bug#3645)
15830 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15832 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15833 (tramp-file-name-real-host, tramp-file-name-port):
15834 Apply `save-match-data'.
15836 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15837 case both directories are remote.
15838 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15839 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15841 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15843 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15845 2009-10-07 Glenn Morris <rgm@gnu.org>
15847 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15850 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15852 * files-x.el (read-file-local-variable): Include some
15853 non-user-variables in the completion table (bug#4664).
15855 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15857 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15860 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15861 (tramp-smb-file-name-handler-alist): Add handler for
15862 `copy-directory', `expand-file-name', `set-file-modes'.
15863 (tramp-smb-handle-copy-directory)
15864 (tramp-smb-handle-expand-file-name)
15865 (tramp-smb-handle-set-file-modes): New defuns.
15866 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15867 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15869 (tramp-smb-handle-insert-directory): Don't flush the cache.
15870 (tramp-smb-maybe-open-connection): Check for samba client and
15873 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15875 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15876 to not error out of search for "^lisp=" fails.
15878 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15880 * makefile.w32-in (WINS_UPDATES): New macro.
15881 (custom-deps, finder-data, autoloads): Use it.
15883 2009-10-07 Glenn Morris <rgm@gnu.org>
15885 * Makefile.in (autoloads): Revert previous change.
15886 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15887 the list of preloaded files passed on the command-line, get
15888 it from src/Makefile.
15890 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15891 show the original buffer rather than a random one.
15893 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15895 * help.el (describe-no-warranty): Place point in a slightly better
15896 position in the GPLv3 text.
15898 2009-10-06 Sam Steingold <sds@gnu.org>
15900 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15901 the comm attribute is present before calling regexp-quote.
15903 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15905 * play/animate.el (animate-string): For good effect, make sure
15906 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15908 * play/animate.el (animate-sequence, animate-birthday-present):
15909 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15911 2009-10-06 Glenn Morris <rgm@gnu.org>
15913 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15915 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15916 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15917 (batch-update-autoloads): Process a string value of autoload-excludes,
15918 set during the build process.
15919 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15921 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15922 inside with-parsed... macro so that `v' is defined.
15924 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15925 * progmodes/fortran.el (fortran-end-of-block)
15926 (fortran-beginning-of-block):
15927 Also push mark in the macro case.
15929 * emerge.el (emerge-show-file-name):
15930 * calc/calc.el (calc-quit):
15931 * calc/calc-misc.el (calc-big-or-small):
15932 * calc/calc-graph.el (calc-graph-view):
15933 * calc/calc-ext.el (calc-reset):
15934 * calendar/calendar.el (calendar-basic-setup):
15935 Use window-full-height-p.
15937 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15938 header we don't understand, don't insert another. (Bug#4624)
15939 If changing mime charset, insert the new one in the right place.
15941 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15943 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15944 (cal-tex-cursor-month): Correctly increment the end date for diary and
15945 holiday listing. (Bug#4626)
15947 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15949 * help-fns.el (describe-function-1): Don't burp if the function is not
15952 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15954 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15955 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15956 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15957 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15959 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15960 (eieio-default-superclass): Reflow docstrings.
15961 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15962 (eieio-unbind-method-implementations, defmethod)
15963 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15964 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15965 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15966 (eieio-slot-originating-class-p, eieio-slot-name-index)
15967 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15968 (constructor, initialize-instance, no-next-method, object-print)
15969 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15970 Fix typos in docstrings.
15971 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15972 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15973 (next-method-p): Doc fixes.
15974 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15975 Fix typos in error messages.
15976 (eieio-defmethod): Fix typo in description of generic method.
15978 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15979 (eieio-persistent-save-interactive, slot-missing):
15980 Fix typos in docstrings.
15981 (eieio-instance-inheritor-slot-boundp): Doc fix.
15983 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15984 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15986 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15987 (eieio-custom-object-apply-reset):
15988 Fix typos in docstrings and error messages.
15990 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15991 Fix typo in docstring.
15993 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15994 (eieio-browse-tree): Doc fix.
15995 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15996 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15997 Fix typos in docstrings.
15999 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16000 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16001 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16002 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16005 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16007 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16008 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16009 Set log-view-vc-backend so that diff can work.
16011 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16013 (vc-diff-internal): Autoload this instead of vc-version-diff.
16015 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16017 * simple.el (eval-expression): Doc fix.
16019 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16021 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16023 * files.el (directory-files-no-dot-files-regexp): New defconst.
16024 (delete-directory): Use it.
16025 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16027 * net/tramp.el (tramp-verbose): Fix docstring.
16028 (tramp-methods): Add recursive option to `tramp-copy-args'.
16029 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16030 "scp1_old", "scp2_old", "rsync", "rsyncc".
16031 (tramp-default-method): Check also for `auth-source-user-or-password'.
16032 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16033 Add handler for `copy-directory'.
16034 (tramp-handle-copy-directory): New defun.
16035 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16036 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16037 Optimize sent command.
16039 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16041 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16042 window if necessary.
16044 * calendar/calendar.el (calendar-basic-setup): Don't call
16045 switch-to-buffer in a dedicated window.
16047 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16049 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16050 don't do anything related to relocating, just return nil.
16051 (bookmark-error-no-filename): New error.
16052 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16053 bookmark has no file. Don't even attempt to handle things that
16054 are not files; the whole point of custom handlers is to keep that
16055 knowledge elsewhere anyway. Tighten some comments.
16056 (bookmark-file-or-variation-thereof): Remove now-unused function.
16057 (bookmark-location): Doc string fix.
16060 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16062 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16063 don't use a file dialog, because they usually don't know how to read
16064 a directory target from the user. (Bug#4230)
16065 Also, make sure the prompt can display directories as well as files.
16067 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16069 * bookmark.el (bookmark-set, bookmark-buffer-name):
16070 Improve doc strings. (Bug#1193)
16072 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16074 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16075 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16076 (bookmark-get-annotation, bookmark-set-annotation)
16077 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16078 (bookmark-set-position, bookmark-get-front-context-string)
16079 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16080 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16081 (bookmark-jump-other-window, bookmark-handle-bookmark)
16082 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16083 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16084 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16085 Improve doc strings to say whether bookmark can be a string or
16086 a record or both, and make other consistency and clarity fixes.
16087 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16088 (bookmark-default-annotation-text, bookmark-yank-word)
16089 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16090 (bookmark-import-new-list, bookmark-maybe-rename)
16091 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16092 (bookmark-bmenu-bookmark): Give these doc strings.
16093 (bookmark-bmenu-check-position): Give this a doc string, but also
16094 add a FIXME comment about how the function may be pointless.
16095 (bookmark-default-handler): Rework doc string and change a
16096 parameter name, to clarify that this takes a bookmark record
16097 not a bookmark name.
16098 (bookmark-set): Change a parameter name to indicate its meaning,
16099 and improve the doc string a bit.
16102 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16104 * bookmark.el (bookmark-alist): Document the new `handler' element
16105 in the param alist.
16106 (bookmark-make-record-function): Adjust documentation for above.
16109 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16111 * info.el (Info-bookmark-make-record): Document this function.
16112 (Info-bookmark-jump): Document with a doc string, not just a comment.
16115 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16117 * files.el (copy-directory): New defun.
16119 * dired-aux.el (dired-copy-file-recursive): Use it.
16121 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16123 * files-x.el (modify-dir-local-variable)
16124 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16127 * recentf.el (recentf-unload-function): New function.
16129 2009-10-04 Glenn Morris <rgm@gnu.org>
16131 * window.el (window-full-height-p): Add doc string.
16133 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16135 * window.el (window-full-height-p): New function. (Bug#4543)
16137 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16139 * vc.el: Remove commented out code.
16140 (vc-derived-from-dir-mode): Remove, unused.
16141 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16143 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16145 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16146 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16147 there could be recursive loading when `default-directory' is a
16148 remote file name. (Bug#4614)
16150 2009-10-03 Glenn Morris <rgm@gnu.org>
16152 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16154 (calendar-generate-window): Test for shrinkability rather than width.
16156 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16157 reusing existing buffers, in case we happen to visit two files with the
16158 same basename. (Bug#4593)
16160 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16162 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16163 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16164 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16165 subdirs of cedet as well.
16166 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16168 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16170 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16171 Obey advertised-signature-table.
16173 * help-fns.el (help-function-arglist): Don't check
16174 advertised-signature-table.
16175 (describe-function-1): Do it here instead so it also applies to subrs.
16177 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16179 * simple.el (start-file-process): Say in the doc-string, that file
16180 handlers might not support pty association, if PROGRAM is nil.
16182 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16183 HOST and USER are strings. They are nil, when there are
16184 incomplete entries in ~/.netrc, for example.
16185 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16186 root directory ("device busy" error otherwise).
16188 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16189 Flush file properties of created directory.
16191 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16193 * makefile.w32-in (WINS_BASIC): Remove cedet.
16194 (WINS_CEDET): Add cedet.
16195 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16197 2009-10-02 Kevin Ryde <user42@zip.com.au>
16199 * net/browse-url.el (browse-url): Pass any symbol in
16200 browse-url-browser-function to `apply', since if you've mistakenly put
16201 an unbound symbol then the error is clearer. (Bug#4531)
16203 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16205 * allout.el (allout-init, allout-back-to-current-heading)
16206 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16207 (allout-ascend, allout-up-current-level, allout-end-of-level)
16208 (allout-previous-visible-heading, allout-forward-current-level)
16209 (allout-backward-current-level, allout-show-children):
16210 * apropos.el (apropos-describe-plist):
16211 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16212 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16213 * completion.el (add-completion, add-permanent-completion):
16214 * descr-text.el (describe-text-category, describe-char):
16215 * desktop.el (desktop-lazy-abort):
16216 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16217 * dired.el (dired-build-subdir-alist):
16218 * ediff.el (ediff-version):
16219 * elide-head.el (elide-head, elide-head-show):
16220 * emerge.el (emerge-version):
16222 * face-remap.el (variable-pitch-mode):
16223 * faces.el (describe-face):
16224 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16226 * files.el (find-file-existing, auto-save-mode):
16227 * font-lock.el (font-lock-fontify-buffer):
16228 * help-fns.el (describe-function, describe-variable)
16229 (describe-syntax, describe-categories):
16230 * help.el (view-lossage, describe-bindings, describe-key)
16232 * hexl.el (hexl-current-address):
16233 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16234 * info.el (Info-goto-emacs-key-command-node):
16235 * log-edit.el (log-edit-insert-cvs-template)
16236 (log-edit-insert-cvs-rcstemplate):
16237 * menu-bar.el (menu-bar-mode):
16238 * mouse.el (mouse-appearance-menu):
16239 * newcomment.el (comment-indent-new-line):
16240 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16241 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16242 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16243 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16244 * recentf.el (recentf-mode):
16245 * savehist.el (savehist-mode, savehist-save):
16246 * shadowfile.el (shadow-copy-files):
16247 * simple.el (kill-ring-save, next-line, previous-line)
16248 (normal-erase-is-backspace-mode):
16249 * strokes.el (strokes-update-window-configuration)
16250 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16251 (strokes-xpm-for-stroke):
16252 * time.el (emacs-uptime, emacs-init-time):
16253 * tutorial.el (tutorial--describe-nonstandard-key)
16254 (tutorial--detailed-help):
16255 * type-break.el (type-break-mode)
16256 (type-break-mode-line-message-mode, type-break-query-mode)
16257 (type-break-guesstimate-keystroke-threshold):
16258 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16259 * version.el (emacs-version):
16260 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16261 * winner.el (winner-mode):
16262 * calendar/timeclock.el (timeclock-in, timeclock-out)
16263 (timeclock-status-string, timeclock-change)
16264 (timeclock-workday-remaining-string)
16265 (timeclock-workday-elapsed-string)
16266 (timeclock-when-to-leave-string):
16267 * calendar/todo-mode.el (todo-add-category):
16268 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16269 * emacs-lisp/autoload.el (update-file-autoloads):
16270 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16271 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16272 (checkdoc-message-text, checkdoc-defun):
16273 * emacs-lisp/debug.el (debugger-list-functions):
16274 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16275 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16276 (eieio-describe-generic):
16277 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16278 * emacs-lisp/shadow.el (list-load-path-shadows):
16279 * emulation/cua-base.el (cua-mode):
16280 * emulation/edt.el (edt-set-scroll-margins):
16281 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16282 (tpu-toggle-regexp, tpu-toggle-search-direction)
16283 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16284 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16285 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16286 (viper-set-parsing-style-toggling-macro)
16287 (viper-set-emacs-state-searchstyle-macros):
16288 * emulation/viper.el (viper-set-hooks):
16289 * eshell/esh-mode.el (eshell-truncate-buffer):
16290 * international/mule-cmds.el (prefer-coding-system)
16291 (describe-input-method, describe-language-environment):
16292 * international/mule-diag.el (list-character-sets)
16293 (describe-character-set, describe-coding-system)
16294 (describe-fontset, list-fontsets, list-input-methods):
16295 * mail/sendmail.el (mail-signature):
16296 * net/ange-ftp.el (ange-ftp-copy-file):
16297 * net/browse-url.el (browse-url):
16298 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16299 * net/quickurl.el (quickurl-add-url):
16300 * net/rcirc.el (names, topic):
16301 * net/xesam.el (xesam-mode):
16302 * play/5x5.el (5x5-new-game):
16303 * play/yow.el (apropos-zippy):
16304 * progmodes/ada-mode.el (ada-mode-version):
16305 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16307 (f90-beginning-of-block):
16308 * progmodes/fortran.el (fortran-end-of-block)
16309 (fortran-beginning-of-block):
16310 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16311 * progmodes/python.el (python-describe-symbol, python-shell):
16312 * term/ns-win.el (ns-print-buffer):
16313 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16314 * textmodes/flyspell.el (flyspell-mode-on):
16315 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16316 (pages-directory-for-addresses):
16317 * textmodes/table.el (table-recognize-cell)
16318 (table-query-dimension, table-generate-source)
16319 (table-insert-sequence, table--warn-incompatibility):
16320 * textmodes/tex-mode.el (tex-validate-buffer):
16321 * textmodes/texinfmt.el (texinfmt-version)
16322 (texinfo-format-buffer):
16323 Use `called-interactively-p' instead of `interactive-p'.
16325 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16327 * image-mode.el (image-toggle-display):
16328 * emacs-lisp/elp.el (elp-instrument-function):
16329 * emacs-lisp/advice.el (ad-make-advised-definition):
16330 * emacs-lisp/easy-mmode.el (define-minor-mode):
16331 * net/browse-url.el (browse-url-maybe-new-window):
16332 * progmodes/sh-script.el (sh-learn-buffer-indent):
16333 Pass new argument 'any to `called-interactively-p'.
16335 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16337 * international/uni-bidi.el:
16338 * international/uni-category.el:
16339 * international/uni-combining.el:
16340 * international/uni-comment.el:
16341 * international/uni-decimal.el:
16342 * international/uni-decomposition.el:
16343 * international/uni-digit.el:
16344 * international/uni-lowercase.el:
16345 * international/uni-mirrored.el:
16346 * international/uni-name.el:
16347 * international/uni-numeric.el:
16348 * international/uni-old-name.el:
16349 * international/uni-titlecase.el:
16350 * international/uni-uppercase.el:
16351 Regenerate from Unicode 5.2.0 data.
16353 2009-10-01 Glenn Morris <rgm@gnu.org>
16355 * Makefile.in (ELCFILES): Regenerate.
16357 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16359 * subr.el (interactive-p): Mark obsolete.
16360 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16361 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16362 advertised-signature-table for subroutines as well.
16364 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16365 (set-advertised-calling-convention): New function.
16366 (make-obsolete, define-obsolete-function-alias)
16367 (make-obsolete-variable, define-obsolete-variable-alias):
16368 Make the optional-ness of `when' obsolete.
16369 (define-obsolete-face-alias): Make `when' non-optional.
16370 * help-fns.el (help-function-arglist):
16371 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16372 Use advertised-signature-table.
16374 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16376 * files.el (delete-directory): New defun. The original function
16377 in fileio.c has been renamed to `delete-directory-internal'.
16379 * dired.el (dired-delete-file): Call `delete-directory' with
16380 RECURSIVE parameter.
16382 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16383 parameter RECURSIVE. Implementation is missing.
16385 * net/tramp.el (tramp-handle-make-directory): Flush upper
16386 directory's file properties.
16387 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16388 (tramp-handle-dired-recursive-delete-directory): Flush directory
16389 properties after the remove command only.
16391 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16392 Handle optional parameter RECURSIVE.
16394 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16395 Handle optional parameter RECURSIVE.
16397 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16398 connection timeout.
16399 (tramp-smb-handle-delete-directory): Handle optional parameter
16402 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16404 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16405 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16406 (byte-compile-defmacro): Use backquotes.
16408 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16410 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16411 has no associated file.
16412 (vc-resynch-buffer): Use vc-dir-buffers.
16414 2009-10-01 Glenn Morris <rgm@gnu.org>
16416 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16417 (chart-file-count):
16418 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16419 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16420 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16421 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16422 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16423 (eieio-copy-parents-into-subclass, make-instance, class-children)
16424 (eieio-generic-form):
16426 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16427 match-data. (Bug#4555).
16429 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16430 rather than parsing it as a regexp. This relaxes the layout
16431 requirements and makes errors easier to detect.
16432 (check-declare-verify): Check file is regular.
16433 (check-declare-directory): Doc fix.
16434 * subr.el (declare-function): Doc fix.
16436 * ibuffer.el (ibuffer-format-qualifier):
16437 * isearch.el (hi-lock-regexp-okay):
16438 * calc/calc.el (math-zerop):
16439 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16440 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16441 Remove unused declarations.
16443 2009-09-30 Eric Ludlam <zappo@gnu.org>
16445 * emacs-lisp/eieio.el (boolean-p): Delete.
16447 2009-09-30 Glenn Morris <rgm@gnu.org>
16449 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16451 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16452 filename is not a string.
16454 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16456 * files.el (safe-local-eval-forms): Fix typo.
16458 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16460 * vc-hooks.el (vc-dir-buffers): New var.
16461 (vc-state-refresh): New function.
16462 (vc-state): Use it.
16463 (vc-after-save): Always ask the backend to recompute the new state.
16464 Always call vc-dir if necessary, using vc-dir-buffers.
16465 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16466 Use vc-dir-buffers.
16467 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16468 (vc-dir-prepare-status-buffer, vc-dir-update)
16469 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16470 Don't call expand-file-name on default-directory.
16472 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16474 * speedbar.el (speedbar-item-delete):
16475 * calc/calc-prog.el (calc-kbd-if):
16476 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16478 * epa.el (epa-key-list-mode-map):
16479 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16481 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16482 (hs-show-hook): Fix typo in docstring.
16484 2009-09-29 Glenn Morris <rgm@gnu.org>
16486 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16487 file-name-nondirectory call preventing location of cedet files.
16488 (check-declare-verify): Use literal search rather than re-search.
16489 Add basic defmethod and defclass, and define-overloadable-function.
16491 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16492 Use tramp-compat-file-attributes rather than nonexistent
16493 tramp-compat-handle-file-attributes.
16495 * Makefile.in (lisptagsfiles4): New.
16496 (AUTOGENEL): Add cedet loaddefs files.
16497 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16498 (update-elclist, compile-always, backup-compiled-files)
16499 (bootstrap-clean): Add yet another directory level.
16500 (update-elclist): Use LC_COLLATE rather than COLLATE.
16501 (ELCFILES): Update, via `make update-elclist'.
16503 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16505 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16506 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16507 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16509 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16511 * Makefile.in (lisptagsfiles3): Define.
16512 (TAGS, TAGS-LISP): Use it.
16513 (update-elclist): Add third directory level to look for elc files.
16514 (compile-always): Likewise.
16515 (backup-compiled-files): Likewise.
16516 (bootstrap-clean): Likewise.
16517 (ELCFILES): Update.
16519 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16521 * Makefile.in (ELCFILES): Add CEDET files.
16523 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16525 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16527 * net/tramp.el (top): Require tramp-imap.
16529 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16530 Use `tramp-compat-handle-file-attributes'.
16532 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16534 * net/tramp-imap.el: New package.
16536 2009-09-28 Eric Ludlam <zappo@gnu.org>
16538 * emacs-lisp/chart.el:
16539 * emacs-lisp/eieio-base.el:
16540 * emacs-lisp/eieio-comp.el:
16541 * emacs-lisp/eieio-custom.el:
16542 * emacs-lisp/eieio-datadebug.el:
16543 * emacs-lisp/eieio-opt.el:
16544 * emacs-lisp/eieio-speedbar.el:
16545 * emacs-lisp/eieio.el: New files.
16547 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16549 * whitespace.el (whitespace-trailing-regexp)
16550 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16553 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16555 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16558 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16559 menu-bar-ediff-menu.
16561 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16562 define-overloadable-function.
16564 * progmodes/autoconf.el: Provide autoconf as well, so that this
16565 file can be `require'd.
16567 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16569 * emacs-lisp/autoload.el (generated-autoload-feature)
16570 (generated-autoload-load-name): New vars.
16571 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16572 (make-autoload): Recognize define-overloadable-function and
16573 defclass forms (for EIEIO).
16575 * Makefile.in (update-subdirs): Exclude cedet directory.
16577 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16579 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16581 * faces.el: Default light-background background for region face to
16582 ns_selection_color under NS.
16584 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16586 * net/imap-hash.el: New library, see NEWS.
16588 * Makefile.in (ELCFILES): Add imap-hash.el.
16590 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16592 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16593 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16594 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16595 definition where the docstring could be taken for the return value.
16597 2009-09-26 Glenn Morris <rgm@gnu.org>
16599 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16600 Add option to only show images below a certain size.
16601 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16602 save-excursion calls.
16604 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16606 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16607 subdirectories) and eieio.
16609 2009-09-26 Alan Mackenzie <acm@muc.de>
16611 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16612 Correct buggy bracketing. (Bug#4289)
16614 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16615 character constants (as case labels). (Bug#4289)
16617 2009-09-25 Juri Linkov <juri@jurta.org>
16619 * files.el (safe-local-eval-forms): Allow time-stamp in
16620 before-save-hook (Bug#4554).
16622 2009-09-25 Drew Adams <drew.adams@oracle.com>
16624 * menu-bar.el (list-buffers-directory): Doc fix.
16626 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16628 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16629 Try and avoid copying twice the same paragraph.
16630 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16631 Remove save-excursion.
16632 (log-edit-changelog-entry): Do it here instead.
16634 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16636 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16637 when available, instead of hardcoding mode names. Doc fix.
16639 * menu-bar.el (list-buffers-directory): Add docstring.
16640 Make automatically buffer-local.
16642 * dired.el (dired-mode):
16643 * files.el (cd-absolute):
16644 * pcvs.el (cvs-temp-buffer):
16645 * pcvs-util.el (cvs-get-buffer-create):
16646 * shell.el (shell-mode):
16647 * vc-dir.el (vc-dir-mode):
16648 Don't make `list-buffers-directory' buffer local.
16650 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16652 * comint.el (comint-exec, comint-run, make-comint):
16653 Doc fixes (Bug#4542).
16655 2009-09-25 Glenn Morris <rgm@gnu.org>
16657 * mail/rmailmm.el (rmail-mime): New custom group.
16658 Move all defcustoms in this file into this group.
16659 (rmail-mime-media-type-handlers-alist): Revert previous change.
16660 (rmail-mime-show-images): New option.
16661 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16662 references to it, since it wasn't actually used for anything.
16663 (rmail-mime-insert-image): New function.
16664 (rmail-mime-image): Use rmail-mime-insert-image.
16665 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16666 obey the value of `rmail-mime-show-images' option. Print the size of
16669 2009-09-25 David Engster <deng@randomsample.de>
16671 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16673 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16675 * whitespace.el: Does not highlight trailing spaces While point is
16676 at end of line. Does not highligt spaces at beginning of buffer
16677 while point is at beginning of buffer. Does not highlight spaces
16678 at end of buffer while point is at end of buffer. (Bug#4177)
16680 (whitespace-display-mappings): Adjust initialization.
16681 (whitespace-point, whitespace-font-lock-refontify): New vars.
16682 (whitespace-color-on, whitespace-color-off): Adjust code.
16683 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16684 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16685 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16687 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16689 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16691 * textmodes/sgml-mode.el: Remove xml-mode alias.
16693 * files.el (auto-mode-alist, conf-mode-maybe)
16694 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16696 2009-09-24 Alan Mackenzie <acm@muc.de>
16698 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16699 c-forward-conditionals, but it doesn't move point and doesn't set
16701 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16702 (c-down-conditional-with-else, c-backward-conditional)
16703 (c-forward-conditional): Refactor to use c-scan-conditionals.
16705 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16707 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16708 (help-default-arg-highlight): Remove.
16709 (help-highlight-arg): New function.
16710 (help-do-arg-highlight): Use it.
16711 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16713 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16715 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16716 Undo last change, which didn't fix the problem and introduced others.
16718 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16720 * progmodes/gdb-mi.el: Don't require speedbar.
16721 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16723 2009-09-24 Glenn Morris <rgm@gnu.org>
16725 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16727 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16729 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16730 there is no newline after the final mime boundary. (Bug#4539)
16731 Move markers on insertion so that any buttons inserted don't end up in
16732 the next part of a multipart message.
16733 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16734 (rmail-mime-bulk-handler): Optionally handle images.
16735 (rmail-mime-image): New button action.
16736 (rmail-mime-image-handler): New function.
16737 (rmail-mime-mode): New mode.
16738 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16740 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16742 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16743 than just dropping elements from it (bug#4504).
16745 * term.el (term-set-scroll-region): Don't move cursor any more.
16746 (term-handle-ansi-escape): Call term-goto here instead.
16747 Suggested by Ivan Kanis <apple@kanis.eu>.
16749 * term.el: Require CL.
16750 (term-ansi-reset): New function.
16751 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16752 (term-handle-colors-array): Simplify.
16754 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16756 * allout.el (allout-overlay-interior-modification-handler)
16757 (allout-obtain-passphrase):
16758 * epa-file.el (epa-file-write-region):
16759 * ps-print.el (ps-begin-job):
16760 * vc-hooks.el (vc-toggle-read-only):
16761 * vc-rcs.el (vc-rcs-rollback):
16762 * vc-sccs.el (vc-sccs-rollback):
16763 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16764 (vc-version-diff, vc-revert, vc-rollback):
16765 * wdired.el (wdired-check-kill-buffer):
16766 * emacs-lisp/authors.el (authors):
16767 * net/socks.el (socks-open-connection):
16768 * net/zeroconf.el (zeroconf-service-add-hook):
16769 * obsolete/vc-mcvs.el (vc-mcvs-register):
16770 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16771 (gdb-select-frame):
16772 * progmodes/grep.el (lgrep, rgrep):
16773 * progmodes/idlw-help.el (idlwave-help-check-locations)
16774 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16775 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16776 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16777 (reftex-toc-rename-label): Fix typos in error messages.
16779 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16780 (dired-copy-how-to-fn): Doc fix.
16781 (dired-files-attributes, dired-read-shell-command):
16782 Fix typos in docstrings.
16784 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16785 (dired-x-find-file-other-window): Reflow docstrings.
16786 (dired-omit-marker-char, dired-read-shell-command)
16787 (dired-x-submit-report): Fix typos in docstrings.
16789 * shell.el (shell-mode-hook):
16790 * view.el (View-scroll-line-forward):
16791 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16792 Fix typos in docstrings.
16794 * net/dig.el (dig-invoke): Fix typo in docstring.
16795 (query-dig): Reflow docstring.
16797 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16798 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16799 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16800 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16801 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16802 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16803 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16804 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16805 (idlwave-completion-map, idlwave-current-indent)
16806 (idlwave-custom-ampersand-surround, idlwave-customize)
16807 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16808 (idlwave-define-abbrev, idlwave-determine-class-special)
16809 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16810 (idlwave-end-block-reg, idlwave-end-of-statement)
16811 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16812 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16813 (idlwave-explicit-class-listed, idlwave-file-header)
16814 (idlwave-fill-paragraph, idlwave-find-class-definition)
16815 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16816 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16817 (idlwave-in-quote, idlwave-indent-action-table)
16818 (idlwave-indent-expand-table, idlwave-indent-line)
16819 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16820 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16821 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16822 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16823 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16824 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16825 (idlwave-outlawed-buffers, idlwave-popup-select)
16826 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16827 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16828 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16829 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16830 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16831 (idlwave-statement-type, idlwave-struct-skip)
16832 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16833 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16834 (idlwave-what-module-find-class): Fix typos in docstrings.
16835 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16836 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16837 (idlwave-find-module, idlwave-find-structure-definition)
16838 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16839 (idlwave-list-load-path-shadows, idlwave-next-statement)
16840 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16841 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16842 (idlwave-template): Reflow docstrings.
16844 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16845 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16846 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16847 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16848 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16849 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16850 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16851 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16852 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16853 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16854 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16855 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16856 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16857 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16858 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16859 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16860 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16861 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16862 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16863 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16864 Fix typos in docstrings.
16865 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16866 (idlwave-shell-hide-output, idlwave-shell-mode)
16867 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16870 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16872 2009-09-24 Ivan Kanis <apple@kanis.eu>
16874 * term.el (term-bold-attribute): New var.
16875 (term-handle-colors-array): Use it.
16877 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16879 * progmodes/gdb-mi.el (gdb-version): New variable.
16880 (gdb-non-stop-handler): Set gdb-version.
16881 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16882 Condition "--thread" option on gdb-version.
16883 (gdb-invalidate-threads): Remove unused argument.
16885 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16887 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16888 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16890 2009-09-23 Glenn Morris <rgm@gnu.org>
16892 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16893 replying to mail without References or Message-Id. (Bug#4525)
16895 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16897 * term/ns-win.el (ns-reg-to-script): New variable.
16899 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16901 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16903 2009-09-22 Sam Steingold <sds@gnu.org>
16905 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16906 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16907 to 1 because hg returns status 1 when nothing is found.
16908 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16910 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16912 * textmodes/fill.el: Convert to utf-8 encoding.
16913 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16916 * add-log.el (change-log-fill-forward-paragraph): New function.
16917 (change-log-mode): Use it so fill-region DTRT.
16918 Set fill-indent-according-to-mode here rather than in
16919 change-log-fill-paragraph.
16920 (change-log-fill-paragraph): Remove.
16922 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16924 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16925 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16927 2009-09-22 Glenn Morris <rgm@gnu.org>
16929 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16930 the scroll-bar scroll the calendar window rather than the buffer.
16932 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16933 commands that move point (as opposed to scrolling).
16935 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16937 * emacs-lisp/elint.el (elint): New custom group.
16938 (elint-log-buffer): Make it a defcustom.
16939 (elint-scan-preloaded, elint-ignored-warnings)
16940 (elint-directory-skip-re): New options.
16941 (elint-builtin-variables): Doc fix.
16942 (elint-preloaded-env): New variable.
16943 (elint-unknown-builtin-args): Add an entry for encode-time.
16944 (elint-extra-errors): Make it a variable rather than a constant.
16945 (elint-preloaded-skip-re): New constant.
16946 (elint-directory): Skip files matching elint-directory-skip-re.
16947 (elint-features): New variable, local to linted buffers.
16948 (elint-update-env): Initialize elint-features. Possibly add
16949 elint-preloaded-env to the buffer's environment.
16950 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16952 (elint-init-form): New function, extracted from elint-init-env.
16953 Make non-list forms a warning rather than an error.
16954 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16955 easy-menu-define, put that adds an error-condition, and provide.
16956 When requiring cl, also require cl-macs. Really require cl, to handle
16957 some cl macros. Store required libraries in the list elint-features,
16958 so as not to re-load them. Treat cc-require like require.
16959 (elint-init-env): Call elint-init-form to do the work.
16960 Handle eval-and-compile and such like.
16961 (elint-add-required-env): Do not clear messages.
16962 (elint-special-forms): Add handlers for function, defalias, if, when,
16964 (elint-form): Add optional argument to ignore elint-special-forms,
16965 useful to prevent recursive calls from handlers. Doc fix.
16966 Respect elint-ignored-warnings.
16967 (elint-form): Respect elint-ignored-warnings.
16968 (elint-bound-variable, elint-bound-function): New variables.
16969 (elint-unbound-variable): Respect elint-bound-variable.
16970 (elint-get-args): Respect elint-bound-function.
16971 (elint-check-cond-form): Add some simple handling for (f)boundp and
16973 (elint-check-defalias-form): New handler.
16974 (elint-check-let-form): Make an empty let a warning rather than an
16976 (elint-check-setq-form): Make an empty setq a warning rather than an
16977 error. Respect elint-ignored-warnings.
16978 (elint-check-defvar-form): Accept null doc-strings.
16979 (elint-check-conditional-form): New handler. Does some simple-minded
16980 checking of featurep and (f)boundp tests.
16981 (elint-put-function-args): New function.
16982 (elint-initialize): Use elint-scan-doc-file rather than
16983 elint-find-builtin-variables. Use elint-put-function-args.
16984 Possibly scan preloaded-file-list.
16985 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16986 extend to handle functions as well.
16988 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16990 * linum.el (linum-delete-overlays, linum-update-window):
16991 Do not modify the right margin. (Bug#3971)
16993 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16995 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16996 Use nxml-mode instead of xml-mode.
16998 2009-09-21 Kevin Ryde <user42@zip.com.au>
17000 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17002 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17004 * net/dig.el (dig-mode): Use define-derived-mode.
17006 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17008 * vc-dispatcher.el (vc-do-command): Return the process object in
17009 the asynchronous case. Use when instead of if. Do not run
17010 vc-exec-after to display a message if not enabled. (Bug#4463)
17012 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17013 properties to the stash strings.
17014 (vc-git-stash-list): Return a list of strings.
17015 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17016 (vc-git-stash-show-at-point): New functions.
17017 (vc-git-stash-map): New keymap.
17019 * register.el (ctl-x-r-map): Define the keys here instead of
17022 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17024 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17025 list, to workaround performance problem (bug#4485).
17027 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17029 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17031 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17033 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17034 Document that this option is not recommended to use.
17036 2009-09-19 Glenn Morris <rgm@gnu.org>
17038 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17041 * calc/calc-alg.el (var):
17042 * calc/calcalg2.el (var): Define for compiler.
17044 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17046 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17047 Doc fix (Bug#3932).
17049 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17051 * time-stamp.el (time-stamp-month-dd-yyyy)
17052 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17053 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17054 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17055 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17056 Remove functions that have been obsolete since 1995 (Bug#4436).
17058 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17059 indent buffer only if called interactively (Bug#4452).
17061 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17062 Eli Zaretskii <eliz@gnu.org>
17064 This fixes bug#4197 (merged to bug#865, though not identical).
17065 * server.el (server-auth-dir): Add docstring note about FAT32.
17066 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17067 but warn against using them.
17069 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17071 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17072 older GDB where there is no has_more field.
17074 2009-09-19 Glenn Morris <rgm@gnu.org>
17076 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17078 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17080 * files.el (auto-mode-alist): Change default for XML files to nXML
17083 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17085 * server.el (server-ensure-safe-dir): Pass 'integer
17086 to `file-attributes', as suggested.
17088 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17090 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17091 (dired-query): Use read-key.
17093 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17095 * cus-start.el (ns-use-qd-smoothing): Remove.
17097 2009-09-18 Glenn Morris <rgm@gnu.org>
17099 * allout.el (top-level): Remove unnecessary progn.
17101 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17103 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17104 definition of abbrev table.
17106 * speedbar.el (speedbar-track-mouse):
17107 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17108 * net/eudc.el (eudc-expand-inline):
17109 * net/newst-backend.el (newsticker--cache-read-feed):
17110 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17111 condition-case handlers.
17113 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17115 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17116 (gdb-var-list): Add an element for has_more field.
17117 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17118 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17119 (gdb-var-update-handler-1): Parse output of dynamic variable
17120 objects (STL containers).
17121 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17122 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17124 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17126 (gud-speedbar-buttons): Make node expandable if expression "has more"
17129 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17131 * startup.el (emacs-quick-startup): Remove variable and all uses.
17132 (command-line): Set `inhibit-x-resources' instead.
17133 (command-line-1): Use `inhibit-x-resources' instead.
17135 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17137 * subr.el: Fix last change to avoid using the `unless' macro,
17138 which breaks bootstrapping.
17140 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17142 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17143 extended definitions, in case we reload subr.el after having
17145 (eval-next-after-load): Mark as obsolete.
17147 2009-09-17 Juri Linkov <juri@jurta.org>
17149 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17150 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17151 (menu-bar-showhide-menu, menu-bar-tools-menu)
17152 (menu-bar-describe-menu, menu-bar-help-menu)
17153 (minibuffer-local-completion-map, minibuffer-local-map):
17156 2009-09-17 Glenn Morris <rgm@gnu.org>
17158 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17159 arguments, whether or not it has a handler.
17161 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17163 * simple.el (hard-newline): Give it a doc-string.
17165 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17166 (lisp-mode-syntax-table): Give them doc-strings.
17168 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17170 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17171 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17172 (menu-bar-options-menu, menu-bar-showhide-menu)
17173 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17174 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17175 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17176 (menu-bar-options-menu, menu-bar-tools-menu)
17177 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17178 (menu-bar-help-menu):
17179 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17182 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17183 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17184 calls for the menu names and :help.
17186 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17188 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17189 to :minor-mode-function (bug#4455).
17191 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17193 * startup.el (command-line): Initialize the window-system after
17194 processing the command-line.
17196 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17197 page-delimiter matches the empty string.
17199 2009-09-16 Glenn Morris <rgm@gnu.org>
17201 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17202 byte-compile-not-obsolete-var. It's a list now.
17203 (byte-compile-not-obsolete-funcs): New variable.
17204 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17205 byte-compile-not-obsolete-funcs.
17206 (byte-compile-variable-ref, byte-compile-defvar): Update for
17207 byte-compile-not-obsolete-vars name-change and list nature.
17208 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17209 and variables behind (f)boundp tests.
17210 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17212 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17214 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17216 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17218 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17219 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17222 2009-09-15 Stephen Eglen <stephen@gnu.org>
17224 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17225 the virtual-buffers, use the name of the buffer specified by
17226 find-file-noselect, as the match may be a symlink. (This was a
17227 problem if the target and the symlink had different names.)
17229 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17233 * desktop.el (desktop-path): Check user-emacs-directory.
17235 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17237 * loadup.el: Use after-load-functions to GC after loading each file.
17238 Remove the explicit GC calls that used to be sprinkled around.
17240 * subr.el (after-load-functions): New hook.
17241 (do-after-load-evaluation): Run it. Use string-match-p to detect
17242 `obsolete' packages, rather than painfully extracting the relevant
17245 2009-09-15 Glenn Morris <rgm@gnu.org>
17247 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17248 free variable `doc'.
17250 * dired.el (dired-mode-map): Add menu entry for async shell command.
17252 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17253 variables, also consider the .elc files, since the .el files are
17254 normally gzipped (subsequent code locates the .el.gz from the .elc).
17256 * calc/calc-prog.el (arglist): Define for compiler.
17258 * calendar/diary-lib.el (diary-display-function): Change the default to
17260 (body): Define for compiler.
17262 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17263 (byte-compile-file-form, byte-compile-lambda)
17264 (byte-compile-top-level-body, byte-compile-form)
17265 (byte-compile-variable-ref, byte-compile-setq)
17266 (byte-compile-setq-default, byte-compile-body)
17267 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17268 (batch-byte-compile): Give some more local variables with common names
17269 a "bytecomp-" prefix to avoid masking warnings about free variables.
17271 * startup.el (command-line-1): Give local variables with common names a
17272 distinguishing prefix, so as not to hide free variable warnings during
17275 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17276 clever and add a suffix to make a unique name, just let the user decide
17277 whether or not to overwrite it. If the input is a directory, write the
17278 default filename to that directory. (Bug#4388)
17279 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17280 is a filename-as-a-directory.
17282 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17284 * textmodes/page.el (what-page): Don't move to beginning of line.
17285 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17287 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17289 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17291 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17293 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17294 * help.el (help-for-help-internal): Add purecopy calls for text.
17296 * vc.el (top): print-log method now takes an optional SHORTLOG
17297 argument. Add a new method: root.
17298 (vc-root-diff, vc-print-root-log): New functions.
17299 (vc-log-short-style): New variable.
17300 (vc-print-log-internal): Add support for showing short logs.
17302 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17303 vc-print-root-log and vc-print-root-diff.
17305 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17306 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17307 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17310 * vc-cvs.el (vc-cvs-print-log):
17311 * vc-mtn.el (vc-mtn-print-log):
17312 * vc-rcs.el (vc-rcs-print-log):
17313 * vc-sccs.el (vc-sccs-print-log):
17314 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17315 that is ignored for now.
17317 * vc-mtn.el (vc-mtn-annotate-command):
17318 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17320 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17322 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17323 to function-key-map, and give them ascii-character property.
17324 * term/x-win.el (x-alternatives-map):
17325 * term/ns-win.el (ns-alternatives-map):
17326 * term/internal.el (msdos-key-remapping-map):
17327 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17329 2009-09-14 Glenn Morris <rgm@gnu.org>
17331 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17332 temp-buffers (2009-09-12).
17334 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17336 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17337 the new read-key function.
17339 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17341 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17342 is defined (Bug#4405).
17344 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17346 * recentf.el (recentf-cleanup): Use a hash table to find
17347 duplicates (Bug#4407).
17349 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17351 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17352 kp-0 to ascii equivalents (Bug#4325).
17354 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17356 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17358 * eshell/em-hist.el:
17359 * eshell/em-dirs.el (eshell-complete-user-reference):
17360 Declare pcomplete functions and variables to avoid compiler warnings.
17362 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17364 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17365 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17366 * eshell/em-alias.el (eshell-aliases-file):
17367 * eshell/em-hist.el (eshell-history-file-name):
17368 Use expand-file-name instead of concat to make file names (Bug#4308).
17370 2009-09-13 Glenn Morris <rgm@gnu.org>
17372 * ediff-merg.el (ediff-do-merge):
17373 * filesets.el (filesets-run-cmd):
17374 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17375 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17376 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17377 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17378 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17379 Replace empty `let's with `progn'.
17381 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17383 * mail/sendmail.el (send-mail-function):
17384 * tooltip.el (tooltip-mode):
17385 * simple.el (transient-mark-mode):
17386 * rfn-eshadow.el (file-name-shadow-mode):
17387 * frame.el (blink-cursor-mode):
17388 * font-core.el (global-font-lock-mode):
17389 * files.el (temporary-file-directory)
17390 (small-temporary-file-directory, auto-save-file-name-transforms):
17391 * epa-hook.el (auto-encryption-mode):
17392 * composite.el (global-auto-composition-mode):
17393 Use custom-initialize-delay.
17394 * startup.el (command-line): Don't explicitly call
17395 custom-reevaluate-setting for all the above vars.
17396 * custom.el (custom-initialize-safe-set)
17397 (custom-initialize-safe-default): Delete.
17399 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17401 * term/x-win.el (x-initialize-window-system):
17402 * term/w32-win.el (w32-initialize-window-system):
17403 * term/ns-win.el (ns-initialize-window-system): Don't call
17404 mouse-wheel-mode since it's enabled globally by default already.
17406 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17407 actually define the variable, but only silences the byte-compiler.
17408 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17409 before looking it up.
17410 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17413 2009-09-12 Glenn Morris <rgm@gnu.org>
17415 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17417 (elint-add-required-env): Don't beep on error.
17418 (elint-forms): In case of error, return ENV unchanged.
17419 (elint-init-env): Skip non-list forms.
17420 (elint-log): Handle unknown file positions.
17422 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17424 * epg.el (epg-make-context): Add autoload cookie.
17425 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17426 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17427 (epg-verify-string, epg-start-sign, epg-sign-file)
17428 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17429 (epg-encrypt-string, epg-start-export-keys)
17430 (epg-export-keys-to-file, epg-export-keys-to-string)
17431 (epg-start-import-keys, epg-import-keys-from-file)
17432 (epg-import-keys-from-string, epg-start-receive-keys)
17433 (epg-receive-keys, epg-import-keys-from-server)
17434 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17435 (epg-sign-keys, epg-start-generate-key)
17436 (epg-generate-key-from-file, epg-generate-key-from-string):
17437 Remove autoload cookie.
17439 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17441 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17442 reevaluation of trash-directory.
17444 * mwheel.el: Fix last change.
17445 (mouse-wheel-mode): New defvar.
17446 (mouse-wheel-mode): Remove autoload cookie.
17448 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17450 * mwheel.el (mwheel-installed-bindings): New var.
17451 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17452 the bindings we set last time. Use custom-initialize-delay.
17453 * loadup.el: Load mwheel after term/*-win.el.
17454 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17455 and mouse-wheel-up-event now that their first evaluation is done
17456 sufficiently late to be correct.
17458 * startup.el (tutorial-directory): Make it a defcustom.
17459 Use custom-initialize-delay rather than eval-at-startup to set it.
17460 * image.el (image-load-path): Make it a defcustom.
17461 Use custom-initialize-delay rather than eval-at-startup to set it.
17462 * subr.el (eval-at-startup): Remove.
17463 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17465 * subr.el (do-after-load-evaluation): Warn the user after loading an
17468 2009-09-12 Glenn Morris <rgm@gnu.org>
17470 * proced.el (proced-mark-alt): Remove alias.
17471 (proced-mode-map): Remove proced-mark-alt.
17473 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17474 Elint file and directory. Remove initialization entry.
17476 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17478 (elint-current-buffer): Set mode-line-process.
17479 (elint-init-env): Handle define-derived-mode.
17480 Fix declare-function with unspecified arglist. Guard against odd
17481 defalias statements (eg iso-insert's 8859-1-map).
17482 (elint-add-required-env): Use a temp buffer.
17483 (elint-form): Just print the function/macro name, not the whole form.
17484 Return env unchanged if we fail to parse a macro.
17485 (elint-forms): Guard against parse errors.
17486 (elint-output): New function, to handle batch mode.
17487 (elint-log-message): Add optional argument. Use elint-output.
17488 (elint-set-mode-line): New function.
17490 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17492 * emacs-lisp/elp.el (elp-not-profilable): Add more
17493 functions (Bug#4233).
17495 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17497 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17498 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17500 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17502 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17503 (gdb-var-list-children): Use json parsing.
17505 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17507 * progmodes/js.el (js--proper-indentation): Handle the case where
17508 char-before is null. Reported by Deniz Dogan.
17510 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17512 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17514 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17516 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17517 (epg-digest-algorithm-alist): Add SHA224.
17518 (epg-context-set-passphrase-callback)
17519 (epg-context-set-progress-callback): Add description about
17522 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17524 * custom.el (custom-delayed-init-variables): New var.
17525 (custom-initialize-delay): New function.
17526 * startup.el (command-line): "Re"evaluate all vars in
17527 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17528 explicitly any more.
17529 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17530 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17532 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17534 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17536 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17537 (gdb-var-update-handler): Use json parsing.
17539 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17541 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17542 decode annotated text, regardless of language environment. (Bug#2741)
17544 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17546 * Makefile.in (autoloads): Make rmail.el writable as well.
17548 2009-09-11 Glenn Morris <rgm@gnu.org>
17550 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17552 * dired.el: Regenerate with extracted autoloads.
17553 * Makefile.in (autoloads): Make dired.el writable.
17555 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17556 * ibuffer.el: Regenerate with extracted autoloads.
17557 * Makefile.in (autoloads): Make ibuffer.el writable.
17559 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17560 * version.el (emacs-copyright, emacs-major-version)
17561 (emacs-minor-version): Reformat doc-strings for make-docfile.
17563 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17564 functions and variables, since they must be stuff specific to some other
17566 (apropos-print): Make mouse-click message less specific about button.
17568 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17569 that records where a macro was defined.
17570 * help-fns.el (describe-function-1): Mention if a function has a
17572 * help-mode.el (help-function-cmacro): New button.
17574 * locate.el (top-level): Always require dired.
17575 (locate-mode-map): Initialize inside the defvar.
17577 * net/ange-ftp.el (dired-compress-file): Declare.
17578 (ange-ftp-dired-compress-file): Add doc string.
17580 * term/ns-win.el (x-display-name, x-setup-function-keys):
17581 Unify doc-strings with X versions.
17583 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17585 * emulation/crisp.el (crisp-mode-map): Move initialization
17587 (crisp-mode): Use define-minor-mode.
17589 * progmodes/xscheme.el (xscheme-evaluation-commands):
17590 Put a :advertised-binding property rather than using
17591 advertised-xscheme-send-previous-expression.
17592 (advertised-xscheme-send-previous-expression): Declare obsolete.
17593 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17595 (crisp-mode): Add corresponding bindings to
17596 undo's :advertised-binding instead.
17597 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17598 than using dired-advertised-find-file.
17599 (dired-advertised-find-file):
17600 * simple.el (advertised-undo):
17601 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17602 (widget-keymap): Put a :advertised-binding property rather
17603 than using advertised-widget-backward.
17604 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17605 than using advertised-undo.
17606 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17608 2009-09-10 Simon South <ssouth@slowcomputing.org>
17610 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17611 Mark mode is enabled and region is active; otherwise indent or
17612 insert TAB as usual.
17613 (delphi-mode): Update description of TAB-key binding.
17615 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17617 * subr.el (define-key-rebound-commands): Mark obsolete.
17618 * startup.el (precompute-menubar-bindings): Remove.
17619 (normal-top-level): Remove obsolete code that tried to precompute
17621 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17622 define-key-rebound-commands and precompute-menubar-bindings.
17624 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17626 * net/imap.el (imap-interactive-login): Better messages.
17627 (imap-open): Fix bug with renamed buffer on reconnect.
17628 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17629 for easier debugging and cleaner code. On successful (guessed based on
17630 server capabilities) secondary authentication, set imap-state
17632 (imap-last-authenticator): Define imap-last-authenticator as a variable
17635 2009-09-10 Glenn Morris <rgm@gnu.org>
17637 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17639 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17640 (byte-compile-file-form-autoload): Don't warn about unknown functions
17641 where the autoload statement comes after the use.
17642 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17643 that any handlers inside the body (eg require) are in turn respected.
17645 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17648 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17649 and syntax and abbrev tables basic docs, if they don't have any.
17651 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17653 * international/mule-cmds.el (top-level): Require cl when compiling.
17654 (view-hello-file): Use default-value rather than
17655 default-enable-multibyte-characters.
17657 * progmodes/fortran.el: Move all safe and risky properties into the
17660 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17661 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17662 * mail/undigest.el:
17663 Put autoloads in rmail.el rather than loaddefs.el.
17664 * mail/rmail.el: Regenerate with extracted autoloads.
17666 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17667 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17669 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17671 Reported in thread for Bug#4375.
17672 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17673 "-data-evaluate-expression" instead of print.
17674 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17675 (gdb-tooltip-print): Parse output from above MI command.
17676 (gdb): Revert 2009-08-11 change. User should detach inferior
17679 Remove the word "separate" from IO functions as inferior
17680 output is now never displayed in the GUD buffer.
17682 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17684 * startup.el (command-line-normalize-file-name): On Windows and
17685 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17687 2009-09-10 Juri Linkov <juri@jurta.org>
17689 * isearch.el (isearch-text-char-description): Propertize escape
17690 character sequences with the `escape-glyph' face. (Bug#4344)
17692 * simple.el (shell-command): Set asynchronous process filter to
17693 `comint-output-filter'. (Bug#4343)
17695 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17696 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17697 the list. Move "asm" to the bottom.
17698 (grep-find-ignored-directories): Add `choice' with nil value
17699 to empty the list easily.
17700 (grep-find-ignored-files): New option.
17701 (grep-files-history): Set to nil by default instead of '("ch" "el").
17702 (grep-compute-defaults): Add "<X>" to `grep-template'.
17703 (grep-read-files): Bind new local variables `default-alias' and
17704 `default-extension'. Use a list of default values for the file prompt.
17705 (lgrep): Add `--exclude=' command line options composed from
17706 `grep-find-ignored-files'.
17707 (rgrep): Add `-name' command line options composed from
17708 `grep-find-ignored-files'. (Bug#4301)
17710 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17712 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17715 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17717 * calendar/time-date.el (autoload):
17718 Expand define-obsolete-function-alias into defalias and make-obsolete
17719 for old Emacsen that Gnus supports.
17720 (with-no-warnings): Define it for old Emacsen.
17721 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17723 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17724 float-time is available; suppress compile warning for time-to-seconds.
17726 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17728 * net/imap.el (imap-message-map): Docstring fix.
17730 2009-09-09 Glenn Morris <rgm@gnu.org>
17732 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17733 line numbers too. (Bug#4374)
17735 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17737 * smerge-mode.el (smerge-remove-props, smerge-refine):
17738 Use with-silent-modifications (bug#4342).
17740 * subr.el (with-silent-modifications): New macro.
17742 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17744 * files.el (top-level): Require `cl' when compiling.
17746 2009-09-07 Glenn Morris <rgm@gnu.org>
17748 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17750 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17751 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17753 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17755 * vc-git.el (vc-git-annotate-command): Use separator to parse
17756 arguments correctly.
17758 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17760 * proced.el (proced-mode): Doc fix.
17762 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17764 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17766 (tramp-do-file-attributes-with-ls): Check for file existence at
17768 (tramp-do-file-attributes-with-stat): Likewise.
17769 (tramp-convert-file-attributes): Return nil when attr is nil.
17771 2009-09-05 Glenn Morris <rgm@gnu.org>
17773 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17774 properties to this button.
17775 (diary-fancy-display): Don't extend the button to the final newline.
17776 (diary-fancy-display-mode): Continue to define "q" as a local key.
17778 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17781 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17783 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17784 (byte-compile-dest-file-function): New option.
17785 (byte-compile-dest-file): Doc fix.
17786 Obey byte-compile-dest-file-function.
17787 (byte-compile-cl-file-p): New function.
17788 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17789 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17790 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17791 than for file being previously loaded.
17792 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17793 (byte-compile-file-form-require): Handle the case where requiring a file
17794 indirectly causes CL to be loaded.
17796 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17798 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17799 before killing the old buffer, since by the time `kill-buffer' is
17800 run so many buffer variables have been set to nil that it may not
17801 behave as expected. (Bug#4061)
17803 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17805 * files.el (find-alternate-file): If the old buffer is modified
17806 and visiting a file, behave similarly to `kill-buffer' when
17807 killing it, thus reverting to the pre-1.878 behavior; see
17808 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17809 for discussion. Also, consult `buffer-file-name' as a variable
17810 not as a function, for consistency with the rest of the code.
17812 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17814 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17815 also when adding a new directory.
17817 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17820 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17822 * files.el (locate-file-completion-table): Make it provide boundary
17823 information, so partial-completion works better.
17825 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17827 * mail/footnote.el (Footnote-text-under-cursor):
17828 Check footnote-text-marker-alist before using it (bug#4324).
17830 2009-09-04 Glenn Morris <rgm@gnu.org>
17832 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17833 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17834 * play/solitaire.el, play/tetris.el:
17835 Remove leading * from defcustom and defface docs.
17837 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17839 (diary-fancy-overriding-map): New variable.
17840 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17843 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17846 2009-09-03 Glenn Morris <rgm@gnu.org>
17848 * arc-mode.el (archive-mode):
17849 * dos-fns.el (set-default-process-coding-system):
17850 * man.el (Man-getpage-in-background):
17851 * menu-bar.el (menu-bar-describe-menu):
17852 * server.el (server-process-filter):
17853 * startup.el (command-line):
17854 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17855 * w32-fns.el (set-default-process-coding-system):
17856 * x-dnd.el (x-dnd-handle-file-name):
17857 * international/mule-cmds.el (mule-menu-keymap)
17858 (set-default-coding-systems, language-info-alist, set-language-info)
17859 (set-language-environment, standard-display-european-internal)
17860 (set-locale-environment):
17861 * international/mule-diag.el (mule-diag):
17862 * mail/emacsbug.el (report-emacs-bug):
17863 * mail/rmail.el (rmail-mode):
17864 * mail/sendmail.el (mail-setup):
17865 Use default-value rather than default-enable-multibyte-characters.
17867 * progmodes/f90.el: Move all safe properties into the defcustoms.
17868 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17870 * calendar/appt.el (appt-check):
17871 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17872 (diary-check-diary-file, diary-list-entries)
17873 (diary-include-other-diary-files, diary-simple-display)
17874 (diary-fancy-display, diary-print-entries)
17875 (diary-mark-included-diary-files, diary-make-entry):
17876 Don't call substitute-in-file-name on diary-file.
17878 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17879 Stefan Monnier <monnier@iro.umontreal.ca>
17881 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17882 (footnote-mode-map): Move initialization into the declaration.
17883 (footnote-minor-mode-map): Define it rather than changing global-map.
17884 (footnote-mode): Use define-minor-mode.
17886 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17888 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17889 (tramp-do-file-attributes-with-perl)
17890 (tramp-do-file-attributes-with-stat): Rename from
17891 `tramp-handle-file-attributes-with-*'.
17892 (tramp-handle-file-attributes): Use them.
17893 (tramp-do-directory-files-and-attributes-with-perl)
17894 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17895 `tramp-handle-directory-files-and-attributes-with-*'.
17896 (tramp-handle-directory-files-and-attributes): Use them.
17897 (tramp-method-out-of-band-p): Additional parameter SIZE.
17898 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17899 (tramp-handle-write-region): Use it.
17900 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17901 (tramp-handle-vc-registered): Check, whether the first run did
17902 return files to be tested.
17903 (tramp-advice-make-auto-save-file-name): Do not call directly
17904 `tramp-handle-make-auto-save-file-name', because this would bypass
17905 the locking mechanism.
17907 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17908 (file-remote-p, process-file, start-file-process, set-file-times)
17909 (tramp-compat-file-attributes): Compatibility functions shall not
17910 call directly `tramp-handle-*', because this would bypass the
17912 (tramp-compat-number-sequence): New defun.
17914 2009-09-02 Glenn Morris <rgm@gnu.org>
17916 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17917 alias for float-time.
17918 (time-to-number-of-days): In Emacs, use float-time.
17919 * net/newst-backend.el (time-add): Suppress warnings from compat
17921 * time.el (emacs-uptime, emacs-init-time):
17922 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17923 Use float-time rather than time-to-seconds.
17925 * minibuffer.el (completion-initials-expand): Fix typo.
17927 * faces.el (modeline, modeline-inactive, modeline-highlight)
17928 (modeline-buffer-id):
17929 * info.el (info-menu-5): Mark these face aliases as obsolete.
17931 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17933 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17935 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17936 no "--thread" option.
17937 (gdb-stopped): Don't print "Switched to thread" message when it is
17940 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17942 * minibuffer.el (completion-try-completion)
17943 (completion-all-completions): Remove ill-defined (and
17944 mistakenly installed and luckily never used nor documented)
17945 `completion-styles' property.
17946 (completion-initials-expand, completion-initials-all-completions)
17947 (completion-initials-try-completion): New functions.
17948 (completion-styles-alist): Add doc to each entry.
17949 Add new `initials' entry.
17951 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17953 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17954 MI command -var-evaluate-expression.
17955 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17956 and tweak for case of string child.
17957 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17959 2009-09-01 Glenn Morris <rgm@gnu.org>
17961 * add-log.el (change-log-date-face, change-log-name-face)
17962 (change-log-email-face, change-log-file-face, change-log-list-face)
17963 (change-log-conditionals-face, change-log-function-face)
17964 (change-log-acknowledgement-face):
17965 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17966 (custom-modified-face, custom-set-face, custom-changed-face)
17967 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17968 (custom-documentation-face, custom-state-face, custom-comment-face)
17969 (custom-comment-tag-face, custom-variable-tag-face)
17970 (custom-variable-button-face, custom-face-tag-face)
17971 (custom-group-tag-face-1, custom-group-tag-face):
17972 * diff-mode.el (diff-header-face, diff-file-header-face)
17973 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17974 (diff-added-face, diff-changed-face, diff-function-face)
17975 (diff-context-face, diff-nonexistent-face):
17976 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17977 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17978 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17979 (Info-title-4-face):
17980 * isearch.el (isearch-lazy-highlight-face):
17981 * log-view.el (log-view-file-face, log-view-message-face):
17982 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17983 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17984 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17986 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17987 (smerge-base-face, smerge-markers-face):
17988 * wid-edit.el (widget-documentation-face, widget-button-face)
17989 (widget-field-face, widget-single-line-field-face)
17990 (widget-inactive-face, widget-button-pressed-face):
17991 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17992 (woman-addition-face):
17993 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17994 (eshell-ls-executable-face, eshell-ls-readonly-face)
17995 (eshell-ls-unreadable-face, eshell-ls-special-face)
17996 (eshell-ls-missing-face, eshell-ls-archive-face)
17997 (eshell-ls-backup-face, eshell-ls-product-face)
17998 (eshell-ls-clutter-face):
17999 * eshell/em-prompt.el (eshell-prompt-face):
18000 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18001 * obsolete/old-whitespace.el (whitespace-highlight-face):
18002 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18003 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18004 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18005 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18006 (antlr-font-lock-literal-face):
18007 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18008 (ebrowse-root-class-face, ebrowse-file-name-face)
18009 (ebrowse-default-face, ebrowse-member-attribute-face)
18010 (ebrowse-member-class-face, ebrowse-progress-face):
18011 * progmodes/make-mode.el (makefile-space-face):
18012 * progmodes/sh-script.el (sh-heredoc-face):
18013 * textmodes/flyspell.el (flyspell-incorrect-face)
18014 (flyspell-duplicate-face):
18015 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18016 * textmodes/texinfo.el (texinfo-heading-face):
18017 Mark face aliases with "-face" suffix as obsolete.
18019 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18022 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18023 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18024 easy-menu-define wants to modify these.
18026 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18028 * net/browse-url.el (browse-url-file-url):
18029 * term/internal.el (dos-codepage-setup):
18030 Use default-value rather than default-enable-multibyte-characters.
18032 * progmodes/etags.el (etags-goto-tag-location):
18033 * progmodes/flymake.el (flymake-highlight-line)
18034 (flymake-goto-file-and-line, flymake-goto-line):
18035 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18036 (gdb-goto-breakpoint):
18037 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18038 * progmodes/python.el (python-find-function)
18039 (python-pdbtrack-track-stack-file):
18040 * progmodes/verilog-mode.el (verilog-surelint-off):
18041 * term/ns-win.el (ns-open-file-select-line):
18042 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18043 Use forward-line rather than goto-line.
18045 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18046 * textmodes/reftex-index.el (reftex-display-index):
18047 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18048 * textmodes/reftex-toc.el (reftex-toc):
18049 Remove unnecessary bindings of default-major-mode (all are followed by
18050 major-mode check and possible mode switch).
18052 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18054 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18055 Handle watchpoints (bug#4282).
18056 (def-gdb-thread-buffer-command): Enable thread to be selected by
18057 clicking without selecting threads buffer first.
18058 (gdb-current-context-command): Use selected frame so that "up",
18059 "down" etc work in the GUD buffer.
18060 (gdb-update): Find selected frame before rendering stack buffer.
18061 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18063 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18065 * progmodes/sym-comp.el (displayed-completions): Remove.
18066 (symbol-complete): Use minibuffer-complete.
18068 2009-08-31 Glenn Morris <rgm@gnu.org>
18070 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18072 * apropos.el (apropos-symbols-internal):
18073 Handle (obsolete) face aliases.
18075 * faces.el (describe-face): Adjust the output format to be more like
18076 describe-variable, and to mention (obsolete) face aliases.
18077 Adjust the whitespace so that help-setup-xref works.
18079 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18080 * calendar/diary-lib.el (diary-button-face):
18081 Mark these face aliases as obsolete.
18083 * calendar/calendar.el (calendar-today): Doc fix.
18085 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18087 * progmodes/gdb-mi.el (gdb-control-all-threads)
18088 (gdb-control-current-thread): Force tool bar update.
18089 (gdb-non-stop-handler): New function.
18090 (gdb-init-1): Use it to test if non-stop mode is supported.
18091 Remove unused gdbmi buffer type.
18093 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18095 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18096 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18098 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18100 * comint.el (comint-exec-1): Check command is non-null first.
18101 Part of gdb-mi.el change (2009-08-28).
18103 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18105 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18107 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18109 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18110 instead of `dolist' to avoid a recursive require when bootstrapping.
18112 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18114 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18116 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18118 * net/imap.el (imap-send-command): Simplify.
18119 (imap-wait-for-tag): point-max -> buffer-size.
18121 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18123 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18124 with constant argument.
18126 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18128 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18130 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18131 Change default, since most of our files don't have a history.
18132 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18135 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18138 * calc/calc.el: Improve commenting convention.
18139 (calc-digit-map, toplevel): Simplify.
18141 * comint.el (comint-insert-input): Be careful to only set point if we
18142 don't delegate to some other command.
18144 * proced.el (proced-signal-list): Make it an alist.
18145 (proced-grammar-alist): Capitalize names.
18146 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18147 Disable undo manually and make it read-only.
18148 Use completion-annotate-function.
18150 * minibuffer.el (minibuffer-message): If the current buffer is not
18151 a minibuffer, insert the message in the echo area rather than at the
18153 (completion-annotate-function): New variable.
18154 (minibuffer-completion-help): Use it.
18155 (completion--embedded-envvar-table): Environment vars are
18156 always case-sensitive.
18158 2009-08-30 Glenn Morris <rgm@gnu.org>
18160 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18161 from fortran-current-defun.
18162 (fortran-beginning-of-subprogram): Be more precise about finding the
18163 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18164 (fortran-end-of-subprogram): Simplify.
18165 (fortran-current-defun): Use fortran-start-prog-re.
18167 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18169 * subr.el (do-after-load-evaluation): Simplify.
18171 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18173 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18175 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18176 (vc-rcs-print-log): Use it.
18178 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18180 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18182 * paths.el (abbrev-file-name): Move to abbrev.el.
18183 * abbrev.el (abbrev-file-name): Move from paths.el.
18184 Obey user-emacs-directory.
18185 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18186 user-emacs-directory.
18187 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18188 abbrev-file-name and calc-settings-file any more.
18189 * startup.el (command-line): Recompute abbrev-file-name and
18190 abbreviated-home-dir.
18191 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18192 of the special code for when C-h bindings haven't been changed.
18193 (display-startup-echo-area-message): Use with-current-buffer.
18194 (command-line-1): Use a list of strings, rather than a list of lists
18195 of strings for longopts.
18197 * files.el (get-free-disk-space): Use / for default-directory.
18199 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18200 Use with-current-buffer.
18202 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18203 Recognize immutable variables like most-positive-fixnum.
18204 (byte-compile-setq-default): Check and warn if trying to assign
18205 to an immutable variable, or a non-variable.
18207 * progmodes/cc-vars.el (c-comment-continuation-stars):
18208 * progmodes/cc-engine.el (c-looking-at-bos):
18209 * progmodes/cc-cmds.el (c-toggle-auto-state)
18210 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18211 (c-comment-line-break-function): Add version of obsolescence.
18213 2009-08-28 Juri Linkov <juri@jurta.org>
18215 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18216 associated with `archive-mode'.
18218 * image.el (image-type-header-regexps): Use only JPEG magic number
18219 to determine JPEG images, and don't use `image-jpeg-p' because
18220 Emacs can display non-JFIF non-Exif JPEG images.
18222 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18224 * arc-mode.el (archive-mode):
18225 * emacs-lisp/re-builder.el (re-builder-unload-function):
18226 Protect against the default value of `major-mode' being nil.
18228 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18230 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18231 Fix typos in docstrings.
18233 * progmodes/js.el (js--macro-decl-re): Doc fix.
18234 (js--plain-method-re, js--split-name): Refloc docstring.
18235 (js--class-styles, js--make-merged-item, js--splice-into-items):
18236 Fix typos in docstrings; reflow docstrings.
18237 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18238 (js--variable-decl-matcher, js--inside-pitem-p)
18239 (js--parse-state-at-point, js--get-all-known-symbols)
18240 (js--symbol-history, js-find-symbol, js--js-references)
18241 (js--moz-interactor, js--js-encode-value, js--read-tab):
18242 Fix typos in docstrings.
18244 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18246 * textmodes/reftex.el (reftex-get-file-buffer-force):
18247 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18248 * emulation/viper.el (viper-go-away, viper-set-hooks):
18249 * emacs-lisp/re-builder.el (re-builder-unload-function):
18250 * emacs-lisp/bytecomp.el (byte-compile-file):
18251 * ses.el (ses-unload-function):
18252 * hexl.el (hexl-find-file):
18253 * files.el (normal-mode):
18254 * ehelp.el (with-electric-help):
18255 * autoinsert.el (auto-insert-alist):
18256 * arc-mode.el (archive-mode):
18257 Use (default-value 'major-mode) instead of default-major-mode.
18259 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18260 * international/mule.el (load-with-code-conversion):
18261 * emacs-lisp/debug.el (debug):
18262 * ediff-vers.el (ediff-rcs-get-output-buffer):
18263 * dired.el (dired-internal-noselect): Don't let-bind
18264 default-major-mode around code that doesn't use it.
18265 E.g. buffer creation via get-buffer-create doesn't use it.
18267 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18269 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18270 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18271 when writing the temp file. Otherwise, epa-file gets confused.
18272 (tramp-register-file-name-handlers): Make it a defun. Move also
18273 `epa-file-handler' to the front of `file-name-handler-alist'.
18275 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18277 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18278 start right after a ^M.
18279 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18280 (tramp-completion-file-name-regexp-separate)
18281 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18282 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18283 Don't modify last-coding-system-used by accident.
18284 (tramp-completion-file-name-handler): Apply the checks here,
18285 instead during registration.
18286 (tramp-register-file-name-handlers): Rename from
18287 `tramp-register-file-name-handler'. Register both
18288 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18289 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18291 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18293 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18294 Remove variable ...
18295 (gdb-init-1, gdb-display-separate-io-buffer)
18296 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18298 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18299 (gdb-inferior-filter): Use comint-output-filter to stop
18300 echoing and remove ^M characters.
18302 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18304 * emulation/viper-init.el (viper-restore-cursor-type):
18305 * emulation/cua-base.el (cua--update-indications):
18306 Replace default-cursor-type with (default-value 'cursor-type).
18308 * mail/sendmail.el (mail-recover-1):
18309 * international/mule-diag.el (describe-current-coding-system-briefly)
18310 (describe-current-coding-system):
18311 * international/mule-cmds.el (select-safe-coding-system)
18312 (select-message-coding-system)
18313 (set-language-environment-coding-systems, set-locale-environment):
18314 * hexl.el (hexl-insert-multibyte-char):
18315 * dos-w32.el (find-buffer-file-type-coding-system):
18316 * simple.el (what-cursor-position):
18317 Replace uses of default-buffer-file-coding-system
18318 with (default-value 'buffer-file-coding-system).
18320 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18321 Replace uses of default-cursor-in-non-selected-windows
18322 with (default-value 'cursor-in-non-selected-windows).
18323 Use with-current-buffer.
18325 * mail/feedmail.el: Use CL macros.
18326 (feedmail-run-the-queue, feedmail-send-it-immediately):
18327 * dos-w32.el (find-buffer-file-type): Replace uses of
18328 default-buffer-file-type with (default-value 'buffer-file-type).
18330 2009-08-28 Glenn Morris <rgm@gnu.org>
18332 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18333 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18334 Use default-value of major-mode rather than default-major-mode.
18336 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18338 * Makefile.in (update-elcfiles): Report left over elc files.
18340 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18341 expand-file-name and with-current-buffer.
18342 (mail-get-names, mail-directory): Use with-current-buffer.
18344 * vc.el (vc-read-revision): New function.
18345 (vc-version-diff, vc-merge): Use it.
18347 2009-08-27 Sam Steingold <sds@gnu.org>
18349 * simple.el (kill-do-not-save-duplicates): New user option.
18350 (kill-new): When it is non-nil, and the new string is the same as
18351 the latest kill, set replace to t to avoid duplicates in kill-ring.
18353 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18355 * net/tramp.el (tramp-handle-process-file): Do not flush all
18356 caches when `process-file-side-effects' is set.
18357 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18358 instead of `tramp-find-file-exists-command'.
18359 Unset `process-file-side-effects'.
18361 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18363 * net/tramp.el (tramp-methods): New method "rsyncc".
18364 (top): Add completion function for "rsyncc".
18365 (tramp-message-show-message): New defvar.
18366 (tramp-message, tramp-error): Use it.
18367 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18369 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18370 `tramp-methods' entry `copy-env' of "rsyncc".
18371 (tramp-vc-registered-read-file-names): New defconst.
18372 (tramp-vc-registered-file-names): New defvar.
18373 (tramp-handle-vc-registered): Implement optimization strategy.
18374 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18375 (tramp-vc-file-name-handler): New defun.
18376 (tramp-get-ls-command, tramp-get-test-command)
18377 (tramp-get-file-exists-command, tramp-get-remote-ln)
18378 (tramp-get-remote-perl, tramp-get-remote-stat)
18379 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18381 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18382 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18384 (tramp-get-file-property): Check for timestamps in
18385 `tramp-cache-inhibit-cache'.
18386 (tramp-set-file-property): Write timestamp.
18388 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18390 * language/japan-util.el (japanese-symbol-table): Add entries for
18393 * international/characters.el: Add category `j' to cp932-2-byte.
18395 2009-08-27 Kenichi Handa <handa@m17n.org>
18397 * international/fontset.el (build-default-fontset-data): New macro.
18398 (setup-default-fontset): Use build-default-fontset-data for CJK,
18399 tibetan, ethiopic, and ipa.
18401 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18403 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18404 (enable-multibyte-characters): Not customizable any more.
18406 * subr.el (default-mode-line-format, default-header-line-format)
18407 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18408 (default-direction-reversed, default-truncate-lines)
18409 (default-left-margin, default-tab-width, default-case-fold-search)
18410 (default-left-margin-width, default-right-margin-width)
18411 (default-left-fringe-width, default-right-fringe-width)
18412 (default-fringes-outside-margins, default-scroll-bar-width)
18413 (default-vertical-scroll-bar, default-indicate-empty-lines)
18414 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18415 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18416 (default-scroll-down-aggressively, default-fill-column)
18417 (default-cursor-type, default-buffer-file-type)
18418 (default-cursor-in-non-selected-windows)
18419 (default-buffer-file-coding-system, default-major-mode)
18420 (default-enable-multibyte-characters): Mark as obsolete.
18422 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18424 * vc-dir.el (vc-dir-update): Remove debug helper.
18426 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18428 2009-08-26 Sam Steingold <sds@gnu.org>
18430 * simple.el (save-interprogram-paste-before-kill): New user option.
18431 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18432 save the interprogram-paste into kill-ring before overriding it
18433 with the Emacs kill.
18435 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18437 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18438 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18439 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18440 and move to vc-rcs.el.
18441 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18443 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18444 (vc-rcs-update-changelog): Remove.
18445 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18446 and move to vc-rcs.el.
18448 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18449 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18451 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18452 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18453 vc.el, renamed to be RCS specific.
18455 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18457 (vc-cvs-update-changelog): Move here from vc.el.
18459 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18462 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18464 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18466 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18468 * vc-git.el (vc-git-register): Use "git add" for directories.
18469 (vc-git-stash, vc-git-stash-show): New functions.
18470 (vc-git-extra-menu-map): Bind them.
18472 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18473 directory correctly in case the item is a directory itself.
18475 * vc.el: Document the desired behavior for reverted files in the
18477 (vc-default-prettify-state-info): Remove function, unused.
18479 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18481 2009-08-26 Glenn Morris <rgm@gnu.org>
18483 * bindings.el (standard-mode-line-format): Reposition dashes in
18484 which-func entry. (Bug#4217)
18486 * files.el (enable-local-variables, enable-local-eval)
18487 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18489 (auto-mode-alist, ignored-local-variables)
18490 (save-some-buffers-action-alist): Move risky declarations to the
18492 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18493 (font-lock-defaults, format-alist, imenu--index-alist)
18494 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18495 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18496 (mode-line-modified, mode-line-mule-info, mode-line-position)
18497 (mode-line-process, mode-line-remote, outline-level)
18498 (parse-time-rules, rmail-output-file-alist)
18499 (special-display-buffer-names, vc-mode):
18500 Move risky declarations to the relevant files.
18501 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18502 (mode-line-modified, mode-line-process, mode-line-position)
18503 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18504 * font-core.el (font-lock-defaults):
18505 * format.el (format-alist):
18506 * vc-hooks.el (vc-mode):
18507 * window.el (special-display-buffer-names):
18508 * international/mule-cmds.el (input-method-alist):
18509 Define riskiness here (dumped file) rather than in files.el.
18510 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18511 * imenu.el (imenu-generic-expression, imenu--index-alist):
18512 * outline.el (outline-level):
18513 * time.el (display-time-string):
18514 * calendar/parse-time.el (parse-time-rules):
18515 * mail/rmailout.el (rmail-output-file-alist):
18516 Autoload riskiness here, rather than placing in files.el.
18518 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18520 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18522 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18524 * simple.el (process-file-side-effects): New defvar.
18526 * dired-aux.el (dired-show-file-type):
18527 * vc.el (vc-diff-internal):
18528 * vc-arch.el (vc-arch-diff):
18529 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18530 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18531 * vc-git.el (vc-git-registered, vc-git-working-revision)
18532 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18533 (vc-git--empty-db-p):
18534 * vc-hooks.el (vc-user-login-name):
18535 * vc-svn.el (vc-svn-registered, vc-svn-state)
18536 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18537 * progmodes/grep.el (grep-probe): Let-bind
18538 `process-file-side-effects' with nil.
18540 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18542 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18543 daemon. Replace ping by checking for running service for bluez
18544 and zeroconf. (Bug#4239)
18546 2009-08-25 Kevin Ryde <user42@zip.com.au>
18548 * net/dig.el (dig): Add autoload cookie.
18550 2009-08-25 Glenn Morris <rgm@gnu.org>
18552 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18553 load-history for absolute file-names.
18554 (byte-compile-file-form-require): Warn about use of the cl package.
18556 * format.el (format-alist): Doc fix.
18558 * play/bubbles.el (top-level): Don't require cl at run-time.
18560 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18563 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18565 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18567 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18569 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18571 * calc/calc-alg.el (math-trig-rewrite)
18572 (math-hyperbolic-trig-rewrite): New functions.
18573 (calc-simplify): Simplify trig functions when asked.
18575 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18577 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18579 2009-08-24 Kenichi Handa <handa@m17n.org>
18581 * language/ind-util.el (mapthread): Delete it.
18582 (combinatorial): New function.
18583 (indian--puthash-cv): Use combinatorial instead of mapthread.
18585 2009-08-22 Kevin Ryde <user42@zip.com.au>
18587 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18588 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18589 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18590 Clarify docstring that the value is strings not symbols.
18591 (checkdoc-list-of-strings-p): New function.
18593 2009-08-22 Glenn Morris <rgm@gnu.org>
18595 * files.el (auto-mode-alist):
18596 * hippie-exp.el (he-concat-directory-file-name):
18597 * lpr.el (lpr-windows-system, printer-name):
18598 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18599 * ps-print.el (ps-windows-system):
18600 * startup.el (command-line):
18601 * emulation/viper-ex.el (viper-glob-function):
18602 * international/mule-cmds.el (set-language-environment-coding-systems):
18603 * net/ange-ftp.el (ange-ftp-write-region):
18604 * obsolete/fast-lock.el (fast-lock-cache-name):
18605 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18606 unisoft-unix, vax-vms, win32, w32.
18608 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18609 given name if the pattern is not more specific.
18611 * calendar/lunar.el (lunar-phase-names): New option.
18612 (lunar-phase): Doc fix.
18613 (lunar-cycles-per-year): New constant.
18614 (lunar-index): New function.
18615 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18616 (lunar-phase-name): Use lunar-phase-names.
18617 (calendar-lunar-phases): Use format.
18618 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18620 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18621 Copy imenu-example--name-and-position function here for own use.
18622 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18624 * bs.el (bs--redisplay):
18625 * cus-edit.el (custom-redraw):
18626 * ibuffer.el (ibuffer-bury-buffer):
18627 * server.el (server-goto-line-column):
18628 * startup.el (command-line-1):
18629 * strokes.el (strokes-xpm-for-stroke):
18630 * term.el (term-display-buffer-line):
18631 * view.el (View-goto-line):
18632 * calc/calc.el (calc-do, calc-trail-buffer):
18633 * play/gamegrid.el (gamegrid-add-score-insecure):
18634 * progmodes/ada-mode.el (ada-compile-goto-error):
18635 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18636 (ebrowse-select-1st-to-9nth):
18637 * progmodes/cperl-mode.el (cperl-time-fontification):
18638 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18639 * progmodes/gud.el (gud-display-line):
18640 (idlwave-shell-display-line):
18641 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18642 * progmodes/make-mode.el (makefile-browser-toggle):
18643 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18644 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18645 * textmodes/picture.el (picture-draw-rectangle):
18646 * textmodes/reftex-index.el (reftex-index-goto-letter):
18647 (reftex-select-jump-to-previous):
18648 * textmodes/reftex-sel.el (reftex-find-start-point)
18649 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18650 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18651 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18652 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18653 * textmodes/two-column.el (2C-associated-buffer):
18654 Use forward-line rather than goto-line.
18656 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18659 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18660 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18661 (quick-check-list-to-regexp): Declare.
18663 * progmodes/make-mode.el (makefile-browser-insert-selection):
18664 Use goto-char rather than goto-line.
18666 * progmodes/prolog.el (compilation-error-regexp-alist)
18667 (compilation-forget-errors): Declare.
18669 2009-08-22 Juri Linkov <juri@jurta.org>
18671 * progmodes/grep.el (lgrep, rgrep): At the beginning
18672 set `dir' to `default-directory' unless `dir' is a non-nil
18673 readable directory. (Bug#4052)
18674 (lgrep, rgrep): Change a weird way to report an error
18675 from using `read-string' to using `error'.
18676 Instead of using interactive arguments in the function body,
18677 add new argument `confirm'.
18679 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18681 * textmodes/remember.el (remember-buffer):
18682 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18683 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18684 (icalendar-extract-ical-from-buffer):
18685 * net/newst-treeview.el (newsticker-groups-filename):
18686 * net/newst-backend.el (newsticker-cache-filename):
18687 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18688 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18689 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18690 (speedbar-buffers-line-path, speedbar-path-line)
18691 (speedbar-buffers-line-path):
18692 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18694 * epa.el (epa-display-verify-result):
18695 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18697 2009-08-21 Glenn Morris <rgm@gnu.org>
18699 * progmodes/js.el (inferior-moz-process): Fix declaration.
18701 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18703 * obsolete/rnewspost.el (news-mail-reply):
18704 Use goto-char rather than goto-line.
18706 * term/ns-win.el (ns-open-file-select-line):
18707 Use line-beginning-position rather than goto-line.
18709 * apropos.el (apropos-command):
18710 * ehelp.el (electric-helpify):
18711 * printing.el (pr-show-setup):
18712 * strokes.el (strokes-help):
18713 * tutorial.el (tutorial--describe-nonstandard-key)
18714 (tutorial--detailed-help):
18715 * woman.el (woman-mini-help, woman-display-extended-fonts):
18716 * calc/calc-help.el (calc-describe-key):
18717 * emulation/edt.el (edt-electric-helpify):
18718 * international/mule-diag.el (mule-diag):
18719 * play/yow.el (apropos-zippy):
18720 * progmodes/python.el (python-describe-symbol):
18721 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18722 * textmodes/table.el (*table--cell-describe-mode)
18723 (*table--cell-describe-bindings):
18724 Use help-print-return-message rather than the now obsolete alias.
18726 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18727 (calendar-cursor-to-visible-date):
18728 * play/5x5.el (5x5-position-cursor):
18729 * play/decipher.el (decipher):
18730 * play/gomoku.el (gomoku-goto-xy):
18731 * play/landmark.el (lm-goto-xy):
18732 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18733 (mpuz-paint-digit):
18734 Use forward-line, not goto-line.
18736 * mail/rmail.el (rmail-obsolete): Delete custom group.
18737 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18738 (rmail-remote-password, rmail-remote-password-required):
18739 Remove unneeded :set-after and :set properties.
18741 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18743 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18745 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18747 * loadup.el: Remove leftover macos code.
18749 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18750 Explicitly pass the date format to git blame so that user local
18751 so that the output format can be parsed.
18753 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18755 * net/dbus.el (top): Don't check for (getenv
18756 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18758 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18760 * log-edit.el (log-edit-strip-single-file-name): New var.
18761 (log-edit-insert-changelog): Use it. Bug#3571
18763 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18765 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18768 * help.el (help-print-return-message): Rename from
18769 print-help-return-message.
18771 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18772 cvs-mode-map parent hack.
18773 (log-view-mode): Derive from special-mode.
18775 * linum.el (linum-mode): window-size-change-functions is redundant.
18776 Adapt to new window-configuration-change-hook behavior.
18777 (linum-after-size, linum-after-config): Remove.
18779 * imenu.el (imenu-example--name-and-position)
18780 (imenu-example--lisp-extract-index-name)
18781 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18784 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18785 (inferior-prolog-mode): Use it.
18786 (inferior-prolog-load-file): Reset list of errors.
18788 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18790 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18792 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18794 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18796 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18797 is running already.
18799 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18801 * subr.el (listify-key-sequence-1): Use normal syntax since those
18802 integers are nowadays always represented by the same (positive) number
18804 (read-key-empty-map): New const.
18805 (read-key-delay): New var.
18806 (read-key): New function.
18807 (force-mode-line-update): Use with-current-buffer.
18808 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18809 (start-process-shell-command, start-file-process-shell-command):
18810 Discourage the use of command-args.
18812 2009-08-19 Glenn Morris <rgm@gnu.org>
18814 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18816 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18818 * simple.el (choose-completion-string): Don't rely on
18819 minibuffer-completing-file-name and ad-hoc checks to decide whether
18820 to continue completion or not.
18822 * minibuffer.el (minibuffer-hide-completions): New function.
18823 (completion--do-completion): Use it.
18824 (completions-annotations): New face.
18825 (completion--insert-strings): Use it.
18826 (completion-pcm--delim-wild-regex): Add docstring.
18827 (completion-pcm--string->pattern): Add support for 0-width delimiters
18828 in completion-pcm--delim-wild-regex.
18830 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18832 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18833 Remove unused var `buffer-modified-p'.
18835 * minibuffer.el (completion--do-completion): Move point for the #b001
18836 case as well (bug#4176).
18837 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18839 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18841 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18842 and :session buses.
18844 2009-08-18 Kenichi Handa <handa@m17n.org>
18846 * international/ucs-normalize.el (ucs-normalize-version):
18848 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18849 (utf-8-hfs): Make it perform normalization on encoding too.
18851 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18852 (sentence-end-without-space): Delete duplicated chars.
18853 (sentence-end-base): Likewise.
18855 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18856 (html-mode): Delete duplicated chars from sentence-end-base.
18858 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18859 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18861 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18863 * files.el (hack-one-local-variable): If the mode function is for
18864 a minor mode, pass it an argument (Bug#4148).
18866 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18868 * net/tramp.el (tramp-register-completion-file-name-handler):
18869 Check also for (member 'partial-completion completion-styles).
18871 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18873 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18876 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18878 * progmodes/cperl-mode.el: Merge upstream 6.2.
18879 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18880 (cperl-forward-re): Check cperl-brace-recursing.
18881 (cperl-highlight-charclass): New function.
18882 (cperl-find-pods-heres): Use it.
18883 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18884 (cperl-beautify-regexp-piece): Fix column calculation.
18885 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18886 (cperl-beautify-level): Don't process entire regexp.
18887 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18889 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18890 (cperl-init-faces): Build a list in the normal way.
18892 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18894 * calendar/parse-time.el (parse-time-string-chars): Save match
18897 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18899 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18900 (sql-product): Use it.
18901 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18902 (sql-set-product): Add completion.
18903 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18904 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18905 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18906 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18907 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18908 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18909 (sql-highlight-db2-keywords): Remove.
18910 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18911 (sql-highlight-product): Use derived-mode-p.
18912 (sql-set-sqli-buffer): Use with-current-buffer.
18913 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18916 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18918 * term.el: Fix commenting convention, turn comments into docstrings.
18920 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18922 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18924 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18926 * calendar/parse-time.el (parse-time-string-chars): Compute using
18927 character classes, to handle non-ascii characters (Bug#3190).
18929 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18931 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18932 another heredoc if the user adds another < (Bug#3226).
18934 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18935 Don't initialize based on window-system (Bug#4124).
18937 * facemenu.el (facemenu-read-color): Use a completion function
18938 that accepts any defined color, such as RGB triplets (Bug#3677).
18940 * files.el (get-free-disk-space): Change fallback default
18941 directory to /. Expand DIR argument before switching to fallback.
18942 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18944 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18946 * files.el (load-library): Doc fix.
18948 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18950 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18951 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18952 incremental search string.
18954 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18957 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18958 (ediff-merge-region-is-non-clash)
18959 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18960 Also check if the job is really a merge job.
18962 * ediff.el (ediff-current-file): New function.
18964 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18966 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18968 (js-insert-and-indent): Delete function.
18969 (js-mode-map): Don't bind keys to js-insert-and-indent.
18970 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18971 (js-end-of-defun): Rename from js--end-of-defun.
18972 (js-auto-indent-flag): Delete variable.
18974 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18976 * progmodes/js.el: Remove proclaim statement.
18977 Defvar which-func-imenu-joiner-function to silence compiler.
18979 * files.el (auto-mode-alist): Use js-mode for .js files.
18981 * progmodes/js2-mode.el: Remove file.
18983 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18985 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18987 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18989 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18990 Karl Landstrom <karl.landstrom@brgeight.se>
18992 * progmodes/js.el: New file.
18994 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18996 * timezone.el (timezone-parse-date): Add ability to understand ISO
18997 basic format (minimal separators) dates in addition to the
18998 already-supported extended format dates.
19000 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19002 * international/ucs-normalize.el: Add a `coding' file variable.
19004 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19006 2009-08-14 Sam Steingold <sds@gnu.org>
19008 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19010 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19012 * faces.el (help-argument-name): Define it here instead of
19013 help-fns.el, because in daemon mode help-fns.el may be loaded when
19014 faces are still uninitialized (Bug#1078).
19016 * help-fns.el (help-argument-name): Move defface to faces.el.
19018 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19020 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19021 create buffer with a pty but no process so that GDB can make the
19022 inferior the controlling process.
19024 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19026 * international/ucs-normalize.el: New file.
19028 2009-08-13 Richard Stallman <rms@gnu.org>
19030 * mail/rmail.el (rmail-get-attr-names):
19031 Accept an attribute header that is too short.
19033 * mail/rmail.el (rmail-forget-messages):
19034 Ignore nil elt in rmail-message-vector. Use dotimes.
19036 * progmodes/compile.el (compilation-goto-locus):
19037 Use next-error-move-function.
19039 * simple.el (next-error-move-function): New variable.
19041 2009-08-12 Juri Linkov <juri@jurta.org>
19043 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19044 always non-nil. (Bug#4052)
19046 * replace.el (read-regexp): Return empty string when
19047 `default-value' is nil.
19048 (keep-lines-read-args): Don't use empty string as the
19049 default value for `read-regexp'. (Bug#2495)
19051 2009-08-12 Juri Linkov <juri@jurta.org>
19053 * international/mule-cmds.el (ucs-insert): Change arguments
19054 from `arg' to `character', `count', `inherit' to be the same
19055 as in `insert-char'. Doc fix. (Bug#4039)
19057 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19059 2009-08-12 Juri Linkov <juri@jurta.org>
19061 * files-x.el: New file.
19063 * files.el: Move code that deals with adding/deleting
19064 file/directory-local variables to files-x.el.
19066 * Makefile.in (ELCFILES): Add files-x.elc.
19068 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19070 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19071 to use `goto-line'.
19072 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19074 (gdb-invalidate-disassembly): Do not refresh upon receiving
19075 'update signal. Instead, update all disassembly buffers only after
19077 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19078 (gdb-starting): Move -data-list-register-names...
19079 (gdb-stopped): ...here so it's sent when first thread stops.
19080 (gdb-registers-handler-custom): Do nothing if register names are
19083 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19084 from `gdb-mi.el' to avoid extra tangling.
19086 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19087 change which breaks `gud-def' definitions used in `gdb'.
19088 (gdb-update-gud-running): No extra fuss for updating frame number.
19090 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19092 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19093 (describe-language-environment-map, setup-language-environment-map)
19094 (set-coding-system-map): Move initialization into declaration.
19095 (set-language-info-alist): Last arg to define-key-after can be skipped.
19097 * international/quail.el (quail-completion-1): Simplify.
19098 (quail-define-rules): Use slightly more compact code.
19099 (quail-insert-decode-map): Propertize keys, compact columns.
19101 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19104 2009-08-10 Miles Bader <miles@gnu.org>
19106 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19107 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19108 (js2-instance-member, js2-private-member, js2-private-function-call)
19109 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19110 (js2-magic-paren, js2-external-variable):
19111 Remove "-face" suffix from face names.
19112 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19113 (js2-highlight-undeclared-vars, js2-peek-token)
19114 (js2-parse-function-params, js2-mode-show-errors)
19115 (js2-mode-show-warnings, js2-make-magic-delimiter)
19116 (js2-mode-highlight-magic-parens): Update to use new face names.
19118 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19120 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19121 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19123 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19125 * subr.el: Provide hashtable-print-readable.
19127 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19128 hs-c-like-adjust-block-beginning.
19129 (hs-hide-block-at-point): Stop hiding at the beginning of
19130 hs-block-end-regexp (Bug#700).
19132 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19134 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19136 (gdb-registers-handler-custom): Do not fail when register names
19139 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19141 * progmodes/gdb-mi.el (gdb-control-all-threads)
19142 (gdb-control-current-thread): Interactive setters for
19143 `gdb-gud-control-all-threads' to use in menu.
19144 (gdb-show-run-p): Show «Go» when process is not active.
19145 (gud-tool-bar-map): Add non-stop/A,T indicator.
19146 Uses gud/thread.xpm and gud/all.xpm.
19148 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19150 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19151 (nslookup-font-lock-keywords): Make it a variable.
19152 (net-utils-mode): New mode for viewing diagnostic network output.
19153 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19154 (net-utils-run-simple): New function.
19155 (ifconfig, iwconfig, netstat, arp, route): Use it.
19157 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19159 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19160 (gdb-memory-set-address, def-gdb-set-positive-number)
19161 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19162 after changing settings.
19163 (gdb-invalidate-disassembly): Update when first shown.
19164 (gdb-edit-locals-value): Fixed.
19165 (gdb-registers-handler-custom): Print registers in right order and
19166 allow changing register values (only for current thread yet).
19167 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19168 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19169 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19170 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19171 Thread info in mode name.
19172 (gdb-registers-mode-map): TAB to switch to locals.
19174 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19176 * mail/rmail.el (rmail-add-mbox-headers)
19177 (rmail-set-message-counters-counter): Search for
19178 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19180 2009-08-08 Glenn Morris <rgm@gnu.org>
19182 * Makefile.in (ELCFILES): Update.
19184 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19186 * mail/sendmail.el (mail-yank-original):
19187 Set buffer-file-coding-system from the one used by the message whose
19190 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19191 to "windows" when "pgnuplot" is used.
19192 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19193 Don't call accept-process-output if "pgnuplot" is used.
19194 (calc-graph-init): Don't send -display and -geometry to
19195 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19196 running "pgnuplot -V" with shell-command-to-string.
19198 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19201 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19203 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19206 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19208 * vc-dispatcher.el (vc-resynch-window): Update comment.
19210 * term.el (term-handle-ansi-escape): Add comments with the
19211 terminfo capabilities implemented.
19213 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19215 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19216 (gdb-var-create-handler): Rewritten using JSON parser.
19217 (gdb-propertize-header): Move earlier.
19218 (gdb-set-header): Remove to avoid duplication.
19219 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19220 Refresh disassembly buffers only after threads list have been
19222 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19225 2009-08-04 Juri Linkov <juri@jurta.org>
19227 * files.el: Commands to add/delete file/directory-local variables.
19228 (read-file-local-variable, read-file-local-variable-value)
19229 (read-file-local-variable-mode, modify-file-local-variable)
19230 (modify-file-local-variable-prop-line)
19231 (modify-dir-local-variable): New functions.
19232 (add-file-local-variable, delete-file-local-variable)
19233 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19234 (add-dir-local-variable, delete-dir-local-variable)
19235 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19236 (copy-dir-locals-to-file-locals-prop-line): New commands.
19238 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19240 * abbrev.el (insert-abbrev-table-description): Prettify output.
19241 Suggested by Karl Chen.
19243 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19245 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19246 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19247 (gdb-overlay-arrow-position, gdb-thread-position)
19248 (gdb-disassembly-position): Declare variables.
19249 (gdb-wait-for-pending): Function now.
19250 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19251 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19252 compilation goes smoothly.
19253 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19254 (gdb-non-stop-setting): New customization setting which replaces
19255 `gdb-non-stop' so changing it doesn't break active GDB session.
19256 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19257 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19258 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19259 (gdb-show-threads-by-default): New customization options.
19260 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19262 (gdb-get-buffer-create): Send buffers update signal when they are
19264 (gdb-invalidate-locals, gdb-invalidate-registers)
19265 (gdb-invalidate-breakpoints)
19266 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19267 (gdb-invalidate-memory): Accept update signal.
19268 (gdb-current-context-command): Use --frame option.
19269 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19270 Implement `gdb-frame-number' selection logic.
19271 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19272 whether to show GUD toolbar buttons.
19273 (gdb-thread-exited): Unselect current thread when it exits.
19274 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19275 (gdb-mark-line): Routine which sets overlay arrow or inverses
19276 video on fringeless displays.
19277 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19278 to build aligned columns of data in GDB buffers and set text
19279 properties line-by-line.
19280 (gdb-invalidate-breakpoints)
19281 (gdb-breakpoints-list-handler-custom)
19282 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19283 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19284 (gdb-registers-handler-custom): Align data columns.
19285 (gdb-locals-handler-custom): Now prints data like in variable
19287 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19288 Remove confusing buttons.
19289 (gdb-invalidate-threads): Append --frame.
19290 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19291 between breakpoints/threads buffers.
19292 (gdb-set-window-buffer): Now can ignore dedicated windows.
19293 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19294 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19295 (def-gdb-thread-buffer-gud-command): Replaces
19296 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19297 for fine thread control.
19298 (gdb-preempt-existing-or-display-buffer): New function used to
19299 display bound buffers without breaking window layout.
19300 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19301 (gdb-select-frame): New version of `gdb-frames-select' which now
19302 sets `gdb-frame-number' so commands may use --frame option instead
19303 of inner debugger state.
19304 (gdb-frame-handler): Do not set `gdb-frame-number'.
19305 (gdb-threads-mode-map): Select threads with mouse.
19307 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19308 avoid compilation warning.
19309 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19312 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19313 Argument `key' renamed to `buffer-type'.
19314 (gdb-current-context-buffer-name): Do not add thread info to
19315 buffer name when no thread is selected.
19316 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19317 command (bug 3794).
19318 (gdb-thread-selected): Handle `=thread-selected' notification.
19319 (gdb-wait-for-pending): New macro to deal with congestion problems.
19320 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19322 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19323 This fixes problem similar to one described in bug 3947.
19324 (gud-menu-map): More menu items.
19325 (gdb-init-1): Reset `gdb-thread-number' to nil.
19327 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19330 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19331 (gdb-current-context-command): Do not append --thread if
19332 `gdb-thread-number' is nil.
19333 (gdb-running-threads-count, gdb-stopped-threads-count):
19335 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19336 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19337 New customization options.
19338 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19340 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19341 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19342 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19343 set `gdb-thread-number' and update `gud-running' properly.
19344 (gdb-running): Update threads list when new threads appear.
19345 (gdb-stopped): Support non-stop operation and new thread switching
19347 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19348 (gdb-json-partial-output): New set of JSON routines.
19349 (def-gdb-auto-update-trigger): New `signal-list' optional
19351 (gdb-thread-list-handler-custom): Update `gud-running',
19352 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19353 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19354 (gdb-continue-thread, gdb-step-thread): New commands for fine
19355 thread execution control.
19356 (gud-menu-map): New menu items to switch non-stop options.
19357 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19358 (gdb-send): Mimic RET properly (bug 3794).
19360 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19361 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19363 (def-gdb-auto-update-handler): New nopreserve optional argument.
19364 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19366 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19367 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19368 (gdb-parent-mode): New mode to derive other GDB modes from.
19369 (gdb-display-disassembly-for-thread)
19370 (gdb-frame-disassembly-for-thread): New commands for threads
19373 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19374 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19375 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19376 (gdb-update): We now store all GDB buffers in a list so that they
19377 can be updated by traversing a list instead of calling invalidate
19378 triggers explicitly.
19379 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19380 pair for GDB buffer.
19381 (gdb-stack-buffer-name): Add thread information.
19382 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19383 handle pending triggers.
19384 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19385 (def-gdb-thread-buffer-simple-command)
19386 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19387 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19388 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19389 New commands which show buffers bound to thread.
19390 (gdb-stack-list-locals-regexp): Remove unused regexp.
19392 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19393 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19394 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19395 to (gud-comint-buffer) in *-buffer-name functions
19396 because (gdb-get-target-string) already does that.
19397 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19398 (gdb-changed-registers-handler): Rewritten without regexps.
19400 * progmodes/gdb-mi.el: Basic thread selection support.
19401 (gdb-thread-number): New variable.
19402 (gdb-current-context-command): New macro which adds --thread
19404 (gdb-threads-mode-map): Select thread with SPC.
19405 (gdb-thread-list-handler-custom): Mark current thread with overlay
19406 arrow. Synchronize GDB thread and Emacs thread.
19407 (gdb-select-thread): New command which selects current thread.
19408 (gdb-invalidate-frames, gdb-invalidate-locals)
19409 (gdb-invalidate-registers): Use --thread option.
19411 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19413 * net/tramp.el (top): Make check for tramp-gvfs loading more
19415 (tramp-handle-insert-file-contents): `unwind-protect' must be
19416 inside `with-parsed-tramp-file-name'.
19418 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19421 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19423 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19424 directory if CLASSPATH is not set.
19426 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19428 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19430 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19432 2009-08-02 Kevin Ryde <user42@zip.com.au>
19434 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19435 Update freshmeat link. Delete newsforge.com as it seems gone.
19437 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19439 * select.el (x-set-selection): Doc fix (Bug#4021).
19441 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19443 * help-fns.el (describe-variable): Treat list return values from
19444 dir-locals-find-file properly (Bug#4005).
19446 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19448 * net/tramp.el (tramp-debug-message): Print also microseconds.
19450 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19452 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19454 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19455 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19458 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19459 (tramp-get-file-property): Use it.
19461 * autorevert.el (auto-revert-handler):
19462 Allow `auto-revert-tail-mode' for remote files.
19464 2009-08-02 Jason Rumney <jasonr@gnu.org>
19466 * minibuffer.el (read-file-name): Treat confirm options to
19467 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19469 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19471 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19472 (font-lock-variable-name-face, font-lock-constant-face):
19473 Darken the colors for light backgrounds.
19475 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19477 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19478 month names. (Bug#3987)
19480 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19482 * simple.el (line-move-finish): Pass whole number to
19483 line-move-to-column.
19484 (line-move-visual): Perform hscroll to the recorded position.
19486 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19488 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19490 2009-07-29 Alan Mackenzie <acm@muc.de>
19492 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19494 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19496 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19497 (gdb-place-breakpoints): Use full path when setting breakpoints.
19499 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19501 * calc/calc.el (calc-mode-map): Add keybinding for
19502 `calc-transpose-lines'.
19504 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19506 * calc/calc-misc.el (calc-transpose-lines): New function.
19508 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19510 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19511 Simplify check for out-of-band methods.
19512 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19513 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19515 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19517 * vc-git.el (vc-git-checkin): Fix typo.
19519 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19521 * progmodes/js2-mode.el: New file.
19523 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19525 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19526 (gud-menu-map): Adjust tooltip accordingly.
19528 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19530 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19531 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19533 * add-log.el (change-log-mode-map): Add a menu.
19535 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19537 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19538 function returns nil.
19539 (dbus-handle-event): Handle special return value :ignore.
19540 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19542 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19544 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19547 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19551 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19553 * term/pc-win.el (x-display-name, x-colors)
19554 (x-select-enable-clipboard, x-select-text): Doc fix.
19556 * term/common-win.el (x-display-name, x-colors): Doc fix.
19558 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19559 (xw-defined-colors): Doc fix.
19561 * w32-fns.el (x-select-text, x-setup-function-keys)
19562 (x-get-selection, x-set-selection): Doc fix.
19564 * term/x-win.el (x-select-text, x-setup-function-keys)
19565 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19567 * select.el (x-set-selection): Doc fix.
19569 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19571 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19572 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19573 "IsNSSSupportAvailable" method is not available.
19574 Reported by Steve Youngs <steve@sxemacs.org>.
19576 2009-07-24 Kenichi Handa <handa@m17n.org>
19578 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19579 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19580 (build-unicode-category-table): Fix range checks.
19582 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19584 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19585 the buffer we try to sync is current when calling
19588 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19589 not show up to date files.
19591 2009-07-24 Glenn Morris <rgm@gnu.org>
19593 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19594 Add autoload cookies. If necessary, initialize.
19595 (elint-log): Handle non-file buffers.
19596 (elint-initialize): Add optional argument to reinitialize.
19597 (elint-find-builtin-variables): Save excursion.
19599 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19601 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19604 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19606 * vc.el (vc-print-log-internal): New function, split out from ...
19607 (vc-print-log): ... here.
19608 (vc-dir-move-to-goal-column): Declare.
19610 * vc-git.el (vc-git-add-signoff): New variable.
19611 (vc-git-checkin): Use it.
19612 (vc-git-toggle-signoff): New function.
19613 (vc-git-extra-menu-map): Bind it to menu.
19614 (vc-git--run-command-string): Accept a nil FILE argument.
19615 (vc-git-stash-list): New function.
19616 (vc-git-dir-extra-headers): Use it.
19618 2009-07-23 Glenn Morris <rgm@gnu.org>
19620 * help-fns.el (describe-variable): Describe ignored and risky local
19621 variables in a similar way to that in which we describe safe ones.
19623 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19624 (byte-compile-output-file-form, byte-compile-output-docform)
19625 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19626 Give some more local variables with common names a "bytecomp-" prefix,
19627 so as not to shadow things during compilation.
19628 * emacs-lisp/cl-macs.el (load-time-value)
19629 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19630 `outbuffer' to `bytecomp-outbuffer'.
19632 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19633 since the next two variables cover them automatically now.
19634 (elint-builtin-variables, elint-autoloaded-variables): New.
19635 (elint-unknown-builtin-args): Remove all members, since they can be
19636 parsed automatically now.
19637 (elint-extra-errors): New.
19638 (elint-env-add-env, elint-env-add-macro): Use cadr.
19639 (elint-current-buffer): Use or. Change final message.
19640 (elint-get-top-forms): Use line-end-position.
19641 (elint-init-env): Use cadr. Handle autoload, declare-function,
19643 (elint-add-required-env): Doc fix. Use or. Standardize error.
19644 (regexp-assoc): Remove unused function.
19645 (elint-top-form): Set elint-current-pos, to record the start of the
19646 top-level form, for compilation-mode.
19647 (elint-form): Trap errors in macro expansion. Use dolist.
19648 (elint-unbound-variable): Use elint-builtin-variables and
19649 elint-autoloaded-variables.
19650 (elint-get-args): Use cadr, or.
19651 (elint-check-cond-form): Use dolist, cadr.
19652 (elint-check-condition-case-form): Doc fix. Use cadr.
19653 Use elint-extra-errors.
19654 (elint-log): New function.
19655 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19656 Distinguish errors and warnings.
19657 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19658 Use a bytecomp-style format.
19659 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19660 (elint-get-log-buffer): Use compilation mode. Disable undo.
19661 Don't truncate lines.
19662 (elint-initialize): Set builtin and autoloaded variable lists.
19663 Only process elint-unknown-builtin-args if non-nil.
19664 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19666 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19668 2009-07-22 Kevin Ryde <user42@zip.com.au>
19670 * net/newst-backend.el (newsticker--parse-atom-1.0)
19671 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19672 (newsticker--parse-rss-1.0):
19673 * progmodes/idlwave.el (idlwave-mode):
19674 * progmodes/idlw-shell.el (idlwave-shell-mode):
19675 * progmodes/vera-mode.el (vera-mode):
19676 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19677 * progmodes/vhdl-mode.el (vhdl-mode):
19678 * textmodes/table.el (table-generate-source)
19679 (table--warn-incompatibility):
19680 Hyperlink urls in docstrings with URL `...'.
19682 2009-07-22 Glenn Morris <rgm@gnu.org>
19684 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19685 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19686 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19687 Remove leading * from defcustom docs.
19689 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19691 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19693 (list-load-path-shadows): Optionally, just return shadows as a string.
19695 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19697 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19699 * mail/rmailedit.el (rmail-edit-mode):
19700 Use auto-save-include-big-deletions.
19702 * mail/rmail.el (rmail-variables):
19703 Use auto-save-include-big-deletions.
19705 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19708 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19710 * calc/calc.el (calc-undo-length): New variable.
19711 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19713 2009-07-21 Richard Stallman <rms@gnu.org>
19715 * files.el (auto-save-mode): Handle buffer-save-size = -2
19718 2009-07-21 Glenn Morris <rgm@gnu.org>
19720 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19722 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19724 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19725 silence compiler. Instead...
19726 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19727 (ps-print-ensure-fontified): Update for above function name changes.
19729 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19730 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19731 silence compiler. Instead...
19732 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19733 (mh-show-buffer): Only define for compiler.
19734 (pr-mh-current-message): Update for above function name changes.
19736 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19738 (find-file-noselect, insert-file-1): Update for above change.
19740 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19742 * mail/mailclient.el (mailclient-send-it): Fix message.
19744 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19745 (edebug-eval): Check cl-debug-env is bound.
19746 (print-level, print-circle): Don't redefine built-in variables.
19748 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19749 (custom-print-vectors): Remove old comments from doc.
19751 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19752 (emerge-version): Make the variable an obsolete alias for the
19753 emacs-version variable. Make the function obsolete.
19754 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19755 Emerge options, rather than merging in into the main Options menu.
19756 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19757 and auto advance modes. Disable edit/fast items when not relevant.
19759 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19761 * term/vt420.el (terminal-init-vt420): Fix typo.
19763 2009-07-20 Sam Steingold <sds@gnu.org>
19765 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19766 variable (removed from compile.el on 2004-03-11).
19768 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19770 * files.el (hack-local-variables-filter): Fix last change.
19772 2009-07-19 Juri Linkov <juri@jurta.org>
19774 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19775 (dir-local-variables-alist): New buffer-local variable.
19776 (hack-local-variables-filter): If variable is not dir-local,
19777 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19778 because file-local overrides dir-local.
19779 (c-postprocess-file-styles) <declare-function>:
19780 Remove obsolete declaration.
19781 (hack-dir-local-variables): Add dir-local variable/value pair to
19782 `dir-local-variables-alist' and remove duplicates. Doc fix.
19784 * help-fns.el (describe-variable): Add information about
19785 file-local and dir-local variables.
19787 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19789 * files.el (hack-local-variables-filter): Rewrite.
19791 2009-07-19 Glenn Morris <rgm@gnu.org>
19793 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19794 Silence compiler by only defining on XEmacs.
19796 * international/mule.el (auto-coding-regexp-alist): Only match
19797 BABYL... at the start of buffer, not of lines. (Bug#3790)
19799 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19800 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19801 (cal-menu-context-mouse-menu): Doc fix.
19803 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19805 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19807 2009-07-18 Juri Linkov <juri@jurta.org>
19809 * info.el: Virtual Info keyword finder.
19810 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19811 (Info-finder-file): New variable.
19812 (Info-finder-find-file): New function.
19813 (finder-known-keywords, finder-package-info)
19814 (find-library-name, lm-commentary): Use defvar and
19815 declare-function to silence compiler warnings.
19816 (Info-finder-find-node): New function.
19817 (info-finder): New command.
19819 * subr.el (process-kill-buffer-query-function): New function.
19820 (add-hook)<kill-buffer-query-functions>: Add hook
19821 `process-kill-buffer-query-function'.
19823 2009-07-18 Alan Mackenzie <acm@muc.de>
19825 * progmodes/cc-mode.el (c-before-hack-hook)
19826 (c-postprocess-file-styles): Give invocation of `c-set-style'
19827 DONT-OVERRIDE parameter of t. Already set style variables will
19828 thus not be overridden by style settings given by `c-file-syle'.
19830 * files.el (hack-local-variables-filter): Remove entries with
19831 duplicate keys from `file-local-variables-alist'.
19833 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19835 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19836 x-set-selection if display-selections-p returns nil for the
19839 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19841 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19843 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19845 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19846 Accept nil in addition to a regexp.
19847 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19848 Accept nil in addition to a regexp.
19849 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19850 buffers that have an associated file. Handle nil values of
19851 desktop-buffers-not-to-save and desktop-files-not-to-save.
19854 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19855 (x-disown-selection-internal): New functions.
19857 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19859 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19861 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19862 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19864 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19866 * simple.el (set-mark): Revert last change.
19868 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19870 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19871 rendering of pngs is not possible instead of messaging a long
19874 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19876 * w32-fns.el (x-selection-owner-p): New function.
19878 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19879 (mouse-yank-at-click, mouse-yank-primary):
19880 If select-active-regions is non-nil, deactivate the mark before
19883 * simple.el (deactivate-mark, set-mark): Only save selection if we
19886 2009-07-17 Kenichi Handa <handa@m17n.org>
19888 * case-table.el (describe-buffer-case-table): Fix for the case
19889 that KEY is a cons.
19891 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19893 * vc-rcs.el (vc-rcs-find-file-hook):
19894 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19896 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19898 * net/tramp.el (tramp-wait-for-output): Handle the case when
19899 commands do not return a newline but a null byte before the shell
19902 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19904 * term/ns-win.el (ns-set-alpha): Don't declare.
19905 (ns-set-background-alpha): Remove function.
19907 2009-07-16 Kevin Ryde <user42@zip.com.au>
19909 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19910 y-or-n-p, for safety.
19912 2009-07-16 Richard Stallman <rms@gnu.org>
19914 * files.el (auto-save-mode): If buffer-saved-size is -2,
19917 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19918 (rmail-retry-ignored-headers): Add more uninteresting fields.
19920 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19922 * net/rcirc.el (rcirc): Use history variables.
19923 (rcirc-server-name-history, rcirc-nick-name-history)
19924 (rcirc-server-port-history): New variables.
19926 2009-07-15 Kenichi Handa <handa@m17n.org>
19928 * international/mule-cmds.el (set-language-environment-charset):
19929 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19932 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19933 Delete unibyte-display.
19935 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19937 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19939 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19941 * simple.el (deactivate-mark): Optional argument FORCE.
19942 (set-mark): Use deactivate-mark.
19944 * info.el (Info-search): No need to check transient-mark-mode
19945 before calling deactivate-mark.
19947 * select.el (x-set-selection): Doc fix.
19948 (x-valid-simple-selection-p): Allow buffer values.
19949 (xselect--selection-bounds): Handle buffer values.
19950 Suggested by David De La Harpe Golden.
19952 * mouse.el (mouse-set-region, mouse-drag-track):
19953 Call copy-region-as-kill before setting the mark, to let
19954 select-active-regions work.
19956 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19958 * simple.el (deactivate-mark): If select-active-regions is
19959 non-nil, copy the selection data into a string.
19960 (activate-mark): If select-active-regions is non-nil, set the
19961 selection to the current buffer.
19962 (set-mark): Update selection if select-active-regions is non-nil.
19964 * select.el (x-valid-simple-selection-p): Allow buffer values.
19966 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19968 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19969 and more featureful message-mode.
19971 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19973 * select.el (x-set-selection): Doc fix.
19974 (x-valid-simple-selection-p): Disallow selection data consisting
19975 of a list or cons of integers, since that is not used.
19976 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19977 (xselect-convert-to-string, xselect-convert-to-length)
19978 (xselect-convert-to-filename, xselect-convert-to-charpos)
19979 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19981 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19983 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19984 output in -break-info command (Emacs bug #3794).
19986 2009-07-14 Glenn Morris <rgm@gnu.org>
19988 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19989 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19990 (edebug-print-length, edebug-print-level, edebug-print-circle)
19991 (edebug-sit-for-seconds, edebug-view-outside)
19992 (edebug-bounce-point, edebug-set-global-break-condition)
19993 (edebug-Go-nonstop-mode, edebug-trace-mode)
19994 (edebug-Trace-fast-mode, edebug-continue-mode)
19995 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19996 (edebug-visit-eval-list): Doc fixes.
19998 * subr.el (def-edebug-spec): Doc fix.
20000 2009-07-14 Kenichi Handa <handa@m17n.org>
20002 * international/characters.el: Fix setting of category ?C.
20004 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20006 * term/ns-win.el (x-select-font): defalias x-select-font to
20007 ns-popup-font-panel instead of generate-fontset-menu.
20009 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20011 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20013 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20015 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20016 the PK\003\004 header (Bug#3770).
20018 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20020 * pcomplete.el (pcomplete-comint-setup): Check for
20021 shell-dynamic-complete-filename too.
20023 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20025 * simple.el (temporary-goal-column): Change the value for
20026 line-move-visual to a cons cell.
20027 (line-move-visual): Record or set the window hscroll, if
20028 necessary (Bug#3494).
20029 (line-move-1): Handle cons value of temporary-goal-column.
20031 2009-07-11 Kenichi Handa <handa@m17n.org>
20033 * international/mule-diag.el (describe-character-set): Don't show
20036 2009-07-10 Sam Steingold <sds@gnu.org>
20038 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20039 Omake sometimes indents the errors it prints, so allow all
20040 regexps to start with spaces.
20042 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20044 * cus-edit.el (customize-changed-options-previous-release):
20045 Bump value to 22.1. (Bug#3804)
20047 2009-07-08 Sam Steingold <sds@gnu.org>
20049 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20050 to be a cons cell (test . ignored-directory) to selectively ignore
20051 some directories depending on the location of the search.
20053 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20055 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20056 remote user is root, on the local host.
20057 (tramp-local-host-p): Either the local user or the remote user
20058 must be root. (Bug#3771)
20060 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20062 * progmodes/gdb-mi.el (gdb): Remove description of
20063 gdb-use-separate-io-buffer.
20064 (menu): Don't allow toggling of or enable
20065 gdb-use-separate-io-buffer from menubar.
20067 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20069 * mail/unrmail.el (unrmail): Make sure the message ends with two
20070 newlines (Bug#3769).
20072 2009-07-08 Glenn Morris <rgm@gnu.org>
20074 * calendar/calendar.el (calendar-current-date): Rework previous change.
20076 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20078 * calendar/calendar.el (calendar-current-date):
20079 Add an optional argument giving an offset from today.
20081 2009-07-08 Glenn Morris <rgm@gnu.org>
20083 * tutorial.el (tutorial--describe-nonstandard-key):
20084 Adjust the message for when a key has been unbound.
20085 (help-with-tutorial): Hide the arch-tag.
20087 2009-07-08 Kenichi Handa <handa@m17n.org>
20089 * international/fontset.el (setup-default-fontset): For each
20090 script, append (not set) font-specs.
20092 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20095 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20097 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20098 -data-list-register-names to ...
20099 (gdb-starting): ... here because GDB 7.0 requires execution to
20100 have started when using this MI command.
20101 (gdb-set-header): New function to distinguish select and
20102 unselected tabs in gdb buffers.
20103 (gdb-propertize-header): New macro that uses gdb-set-header.
20104 (gdb-breakpoints-header, gdb-locals-header): Use it.
20105 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20107 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20109 * Makefile.in (ELCFILES): Remove fadr.elc.
20111 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20113 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20114 may contain frame information, so `string-match' should be used.
20115 (gdb-update): Disassembly is invalidated through
20116 `gdb-get-selected-frame'.
20117 (gdb-pad-string): New function to pad string with spaces.
20118 (gdb-invalidate-disassembly): Invalidate only if the buffer
20120 (gdb-disassembly-handler-custom): Column alignment.
20121 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20123 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20125 (gdb-frame-handler): Match convention to for disassembly buffer
20127 (gdb-stack-list-frames-handler): Rewritten without regexps.
20128 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20129 not highlight breakpoints without line information.
20130 (gdb-input): Add trailing newline to command.
20132 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20134 (gdb-breakpoints-list-handler-custom): Replacement for
20135 `gdb-break-list-handler'. Using real parser instead of regexps
20137 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20138 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20139 to place breakpoints.
20140 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20142 (gdb-disassembly-handler-custom): Show overlay arrow.
20143 (gdb-disassembly-place-breakpoints): Show breakpoints in
20144 disassembly buffer.
20145 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20146 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20147 instead of parsing breakpoints buffer. Fixed old menu references
20152 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20153 (gdb-memory-address): New variable which holds top address of
20154 memory page shown in memory buffer.
20155 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20156 New customization variables.
20158 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20159 display the memory buffer.
20160 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20161 buffer display parameters.
20162 (def-gdb-memory-format, gdb-memory-format-binary)
20163 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20164 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20165 Functions for setting memory buffer format.
20166 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20167 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20168 unit size used in memory buffer.
20169 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20170 Switch to next/previous page of memory buffer.
20171 Now using (bindat-get-field) instead of fadr functions.
20173 2009-07-07 Sam Steingold <sds@gnu.org>
20175 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20176 non-top-level files.
20178 2009-07-07 Kenichi Handa <handa@m17n.org>
20180 * international/mule-cmds.el (reset-language-environment):
20181 Put the highset priority to the charset iso-8859-1.
20183 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20185 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20186 to the end of the line when locating the block (Bug#700).
20188 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20190 * net/tramp.el (tramp-handle-write-region): Flush file properties
20191 in case of short track.
20193 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20195 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20196 Coded custom representation of verilog error regular expressions
20197 to work with Emacs-22's new format.
20198 (verilog-error-regexp-xemacs-alist): Coded custom representation
20199 of verilog error regular expressions to work with XEmacs format.
20200 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20201 error recognition into XEmacs.
20202 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20203 error recognition into Emacs-22.
20205 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20207 * woman.el: Remove stand-alone closing parentheses.
20208 (woman-file-name, woman2-format-paragraphs)
20209 (woman-leave-blank-lines): Code cleanup.
20210 (woman-use-own-frame): Change default to nil.
20211 (woman-italic, woman-bold, woman-unknown, woman-addition):
20212 Change defaults to inherit from default faces.
20213 (woman2-process-escapes): Consume the newline after a stand-alone
20214 filler character (Bug#3651).
20216 2009-07-06 Glenn Morris <rgm@gnu.org>
20218 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20219 (top-level): Move provide to the end.
20220 (ffap): Remove defunct URL from custom group.
20222 * subr.el (eval-after-load): Doc fix.
20224 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20226 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20227 `calc-embedded-word' is called twice.
20229 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20231 * files.el (find-alternate-file-other-window, find-alternate-file):
20232 Obey confirm-nonexistent-file-or-buffer.
20234 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20236 * dired-aux.el (dired-show-file-type): Handle remote files.
20238 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20240 * desktop.el (desktop-globals-to-save):
20241 Add file-name-history (Bug#2750).
20243 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20245 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20247 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20249 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20250 property on entire argument since this is what eshell-lisp-command
20253 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20255 * net/tramp-gvfs.el (tramp-gvfs-methods)
20256 (tramp-gvfs-zeroconf-domain)
20257 (tramp-bluez-discover-devices-timeout): Add version flag.
20258 (tramp-gvfs-handler-mounted-unmounted)
20259 (tramp-gvfs-connection-mounted-p): Polish handling of
20260 incompatibilities between GVFS 0.2 and 1.0.
20262 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20264 * cus-start.el (all): Add make-pointer-invisible.
20266 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20268 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20269 formatted correctly.
20271 2009-07-02 Juri Linkov <juri@jurta.org>
20273 * info.el: Virtual Info files and nodes.
20274 (Info-virtual-files, Info-virtual-nodes): New variables.
20275 (Info-current-node-virtual): New variable.
20276 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20278 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20279 to check for a virtual file instead of checking a fixed list
20281 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20282 instead of ad-hoc processing of "dir" and (apropos history toc).
20283 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20284 instead of ad-hoc processing of "dir" and (apropos history toc).
20285 Reread a file when moving from a virtual node.
20286 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20287 (Info-directory-toc-nodes, Info-directory-find-file)
20288 (Info-directory-find-node): New functions.
20289 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20290 (Info-history): Move part of code to
20291 `Info-history-find-node'.
20292 (Info-history-toc-nodes, Info-history-find-file)
20293 (Info-history-find-node): New functions.
20294 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20295 (Info-toc): Move part of code to `Info-toc-find-node'.
20296 (Info-toc-find-node): New function.
20297 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20298 the current Info file name to references because now the node
20299 "*TOC*" belongs to the same Info manual.
20300 (Info-toc-build): Rename from `Info-build-toc'.
20301 (Info-toc-nodes): Rename input argument `file' to `filename'.
20302 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20303 instead of ad-hoc processing of ("dir" apropos history toc).
20304 (Info-index-nodes): Use Info-virtual-file-p
20305 to check for a virtual file instead of checking a fixed list
20307 (Info-index-node): Add check for `Info-current-node-virtual'.
20308 Raise `save-match-data' higher up the tree to contain
20309 `search-forward' too (bug fix).
20310 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20311 (Info-virtual-index-nodes): New variable.
20312 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20313 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20314 (Info-apropos-file, Info-apropos-nodes): New variables.
20315 (Info-apropos-toc-nodes, Info-apropos-find-file)
20316 (Info-apropos-find-node, Info-apropos-matches): New functions.
20317 (info-apropos): Move part of code to `Info-apropos-find-node' and
20318 `Info-apropos-matches'.
20319 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20320 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20321 for a virtual file instead of checking a fixed list of node names.
20323 * simple.el (async-shell-command): New command.
20325 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20327 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20328 instead of `mount-info'.
20330 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20332 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20333 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20335 2009-07-02 Kenichi Handa <handa@m17n.org>
20337 * international/mule.el (set-keyboard-coding-system): Force *-unix
20338 coding-system to avoid eol conversion.
20340 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20342 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20343 Add handler for `process-file', `shell-command' and
20344 `start-file-process'.
20345 (tramp-gvfs-handle-shell-command)
20346 (tramp-gvfs-handle-start-file-process)
20347 (tramp-gvfs-handle-process-file): New defuns.
20348 (tramp-synce-list-devices): Simplify check for existence of property.
20350 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20352 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20354 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20356 * language/korean.el (set-language-info-alist): Add korean-cp949,
20359 2009-07-01 Kenichi Handa <handa@m17n.org>
20361 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20363 * international/encoded-kb.el: Deleted.
20365 * international/mule.el (set-keyboard-coding-system): Perform the
20366 necessary setup here instead of calling encoded-kbd-setup-display.
20368 2009-07-01 Glenn Morris <rgm@gnu.org>
20370 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20372 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20374 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20376 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20378 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20379 Handle also the 'rename case, when setting file modes. (Bug#3712)
20380 (tramp-default-file-modes): Remove execute permissions.
20382 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20383 (top): Add a default for "synce" in `tramp-default-user-alist'.
20384 Add completion function for "synce" method.
20385 (tramp-hal-service, tramp-hal-path-manager)
20386 (tramp-hal-interface-manager, tramp-hal-interface-device):
20388 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20389 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20392 * net/trampver.el: Update release number.
20394 2009-06-30 Kenichi Handa <handa@m17n.org>
20396 * international/fontset.el (setup-default-fontset): Add CJK fonts
20397 for symbols and the other miscellaneous characters.
20399 * language/korea-util.el (setup-korean-environment-internal):
20400 Make char-width-table suitable for Korean environments.
20401 (exit-korean-environment): Cancel above.
20403 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20404 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20405 setup-function to make char-width-table suitable for respective
20406 environments, and an exit-function to cancel that.
20408 * language/japan-util.el (setup-japanese-environment-internal):
20409 Call use-cjk-char-width-table with arg `ja_JP'.
20411 * international/characters.el (cjk-char-width-table): Delete it.
20412 (cjk-char-width-table-list): New variable.
20413 (use-cjk-char-width-table): New arg local-name.
20414 (use-default-char-width-table): Fix for the case that Emacs is
20415 already using the default char-width-table.
20417 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20419 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20420 modes mandatory. (Bug#3712)
20422 2009-06-29 Alan Mackenzie <acm@muc.de>
20424 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20425 correction between the visible width of TABs and their number of bytes.
20427 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20429 * server.el (server-buffer-done): Prevent kill-buffer from
20430 prompting by clearing the buffer modification flag (Bug#3696).
20432 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20434 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20435 (verilog-endcomment-reason-re): Support unique case and priority case.
20436 (verilog-basic-complete-re): Support localparam lineup.
20437 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20438 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20440 (verilog-leap-to-case-head): Now support *nested* unique &
20441 priority case statements.
20442 (verilog-auto-lineup): Make just declarations the default (as it
20444 (verilog-leap-to-case-head): Support priority/unique case statements.
20445 (verilog-auto-lineup): Rework to give users radio buttons to
20446 select the various styles of automatic lineup.
20447 (verilog-error-regexp-alist): Rework to support the XEmacs style
20448 of error regular expressions from compilers, lint tools &
20449 simulators. Note that GNU Emacs has made it impossible for a mode
20450 to load such things.
20451 (electric-verilog-terminate-line, verilog-indent-declaration)
20452 (verilog-auto-wiure): Rework for radio button selection of
20453 auto-lineup selection of specification of auto lineup.
20454 (verilog-beg-of-statement-1): Redesign to support proper operation
20455 in additional code, based on testing with auto-lineup.
20456 (verilog-calculate-indent, assignments & declarations)
20457 (verilog-backward-token): Enhance to support auto-lineup of
20458 assignments & declarations.
20459 (verilog-in-directive-p, verilog-at-struct-p): New function for
20460 easy test of whether we are.
20461 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20462 to support safe execution at almost anyline.
20463 (verilog-calc-1): Properly support indenting deep inside generate
20465 (verilog-init-font): Remove definition & use of verilog-init-font,
20466 as it is redundant with font-lock-defaults.
20467 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20468 to avoid circular calls if syntax-ppss is a function (as is the
20469 case now in 22.x GNU Emacs) as that function would sometimes call
20470 itself, leading to (nearly) infinite recursion.
20471 (verilog-ovm-begin-re, verilog-ovm-end-re)
20472 (verilog-ovm-statement-re, verilog-leap-to-head)
20473 (verilog-backward-token): Add support for OVM macros. Some are
20474 complete statements, and others open and close scopes like begin
20476 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20477 (verilog-defun-level-generate-only-re): Really fix the defun-list
20479 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20480 coverpoint, constraint and cross statements.
20481 (verilog-defun-level-list, verilog-generate-defun-level-list)
20482 (verilog-all-defun-level-list): Redo these specifications - it is
20483 too hard to support eval-when compile aggregation of lists also
20484 built at when-compile time.
20485 (verilog-defun-level-list): Place defconsts of variables used in
20486 building regular expressions which are built in eval-when-compile
20487 bodies in the same eval-when-compile body to facilitate compile
20489 (verilog-beg-block-re-ordered): Support indenting
20490 virtual/protected tasks and functions.
20491 (verilog-defun-level-list, verilog-in-generate-region-p)
20492 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20493 indentation of some module items (generate items).
20494 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20495 across virtual/protected tasks and functions.
20497 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20499 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20500 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20501 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20502 in concatenations. Reported by Yishay Belkind.
20503 (verilog-auto-ascii-enum): Support one-hot state machines in
20504 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20505 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20506 modport in AUTOINST and add vl-modport for users.
20507 Reported by David Rogoff.
20508 (verilog-auto-inout-module, verilog-auto-inst)
20509 (verilog-decls-get-interfaces, verilog-insert-definition)
20510 (verilog-insert-one-definition, verilog-read-decls)
20511 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20512 (verilog-sig-modport, verilog-signals-combine-bus)
20513 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20514 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20515 Suggested by David Rogoff.
20516 (verilog-repair-open-comma): Fix non-insertion of comma when
20517 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20518 (verilog-make-width-expression): Simplify [A-1:0] expression
20519 widths to just {A{1'b0}}.
20520 (verilog-mode): Cleanup checkdoc warnings.
20521 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20522 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20523 inputs/outputs or data type. Suggested by Vasu Kandadi.
20524 (next-error-last-buffer): Fix byte-compiler warning.
20525 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20526 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20527 or shell command text during AUTO expansion. Suggested by Tad Truex.
20528 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20529 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20530 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20531 in AUTOINOUT. Reported by Matthew Lovell.
20532 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20533 causing use of <= assignments. Reported by Alex Reed.
20534 (verilog-read-decls): Fix triand, trior, wand, wor to be
20535 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20536 (verilog-extended-complete-re): Support import "DPI-C" functions.
20537 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20538 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20539 (verilog-insert-date, verilog-insert-year)
20540 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20541 Windows systems. Reported by Michael Potts.
20542 (verilog-read-module-name): Fix AUTOINST when the child module
20543 declaration's name is a tick define. Reported by Elliot Mednick.
20544 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20545 passed to next parameter's definition. Reported by Bruce T.
20546 (verilog-read-decls): Fix detecting "parameter int" when using
20547 AUTOINSTPARAM. Reported by Bruce T.
20548 (verilog-goto-defun): Fix goto not finding modules unless first
20549 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20550 (verilog-mode): Expand -f flag arguments on entry to mode so
20551 verilog-goto-defun will work. Reported by Lawrence Butcher.
20552 (verilog-getopt): Expand environment variables in -f file
20553 arguments. Suggested by Lawrence Butcher.
20554 (verilog-set-define): Fix "Symbol's value as variable is void"
20555 when reading enumerations.
20556 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20557 Suggested by Stephen Peltan.
20558 (verilog-read-defines): Fix reading of enumerations in include
20559 files. Reported by Steve Peltan.
20561 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20563 * files.el (trash-directory): Fix defcustom type.
20565 2009-06-28 Juri Linkov <juri@jurta.org>
20567 * help-fns.el (describe-function-1): Correctly locate adviced
20568 functions in hyperlink (Bug#2438).
20570 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20572 * files.el (trash-directory): Change default to nil.
20573 (move-file-to-trash): If trash-directory is nil and
20574 system-move-file-to-trash is unbound, perform freedesktop-style
20577 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20579 * files.el (move-file-to-trash): Add freedesktop trash
20582 2009-06-28 Glenn Morris <rgm@gnu.org>
20584 * autorevert.el (global-auto-revert-non-file-buffers)
20585 (global-auto-revert-mode): Doc fixes.
20587 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20589 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20591 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20593 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20594 opened an X connection before calling x-get-resource (Bug#3194).
20596 * play/doctor.el: Remove reference to obsolete website.
20597 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20599 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20601 Remove find-file-not-found-hook VC method. (Bug#2757)
20602 * vc-hooks.el (vc-file-not-found-hook)
20603 (vc-default-find-file-not-found-hook): Remove functions.
20604 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20605 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20608 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20610 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20612 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20613 compatibility function for `looking-back'.
20615 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20616 Use `ispell-looking-back'.
20618 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20620 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20621 rather than `filename'.
20623 2009-06-23 Miles Bader <miles@gnu.org>
20625 * face-remap.el (text-scale-set): New function.
20627 2009-06-23 Glenn Morris <rgm@gnu.org>
20629 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20631 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20633 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20635 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20637 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20638 Simplify Persian conditionals.
20640 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20641 variable `filename'.
20643 * comint.el (comint-insert-input): Doc fix.
20645 * Makefile.in (ELCFILES): Fix typo in previous change.
20647 2009-06-23 Miles Bader <miles@gnu.org>
20649 * cus-start.el: Add entry for `recenter-redisplay'.
20651 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20653 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20654 Add an optional argument for the backend, use it instead of
20655 calling vc-backend.
20656 (vc-mode-line): Add an optional argument for the backend.
20657 Pass the backend to vc-state and vc-working-revision. Move code for
20658 special handling for vc-state being a buffer to ...
20660 * vc-rcs.el (vc-rcs-find-file-hook):
20661 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20663 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20664 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20665 vc-stay-local-p and vc-mode-line calls.
20667 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20668 (vc-cvs-diff, vc-cvs-annotate-command)
20669 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20670 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20671 vc-mode-line calls.
20673 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20675 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20676 backend when calling vc-mode-line.
20677 (vc-register): Do not create a closure for calling the vc register
20678 function, call it directly.
20680 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20682 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20683 to make it obvious item can be clicked.
20685 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20687 2009-06-23 Kenichi Handa <handa@m17n.org>
20689 * language/korea-util.el (korean-key-bindings): Change the binding
20690 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20693 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20695 Sync with Tramp 2.1.16.
20697 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20699 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20700 when a loading of a package fails. Completion function for rsync
20701 is `tramp-completion-function-alist-ssh'.
20702 (all): Replace all calls of `split-string' and
20703 `tramp-split-string' by `tramp-compat-split-string'.
20704 (tramp-default-method): Use `tramp-compat-process-running-p'.
20705 (tramp-default-proxies-alist): Allow also Lisp forms.
20706 (tramp-remote-path): Add choice "Private Directories".
20707 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20708 (tramp-domain-regexp): Allow also "-", "_" and ".".
20709 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20710 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20711 (tramp-debug-message): Insert header line in debug buffer.
20712 (tramp-handle-directory-files-and-attributes-with-stat):
20713 Care about filenames with spaces, or starting with "-".
20714 (tramp-handle-dired-uncache): New defun.
20715 (tramp-handle-insert-directory): Don't flush the directory from
20716 cache, this is handled by `dired-uncache' now.
20717 (tramp-handle-insert-file-contents): Improve error handling.
20718 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20719 Quote `tramp-end-of-output'.
20720 (tramp-action-password): Improve trace message.
20721 (tramp-check-for-regexp): Both echoes must be present, before removing.
20722 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20723 (tramp-compute-multi-hops): Eval cons cells of
20724 `tramp-default-proxies-alist'.
20725 (tramp-maybe-open-connection): Use the same command pattern for
20726 first hop and further hops.
20727 (tramp-wait-for-output): Remove handling of newlines.
20728 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20729 (tramp-split-string): Remove function. It is handled in
20732 * net/tramp-cmds.el (tramp-bug):
20733 Recommend `tramp-cleanup-all-connections' in the bug mail.
20735 * net/tramp-compat.el (tramp-compat-split-string)
20736 (tramp-compat-process-running-p): New defuns.
20738 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20739 for `dired-uncache'.
20741 * net/tramp-gvfs.el: New package.
20743 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20744 Add handler for `dired-uncache'.
20745 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20747 * net/trampver.el: Update release number. Make version check fit
20750 2009-06-22 Jim Meyering <meyering@redhat.com>
20752 Automatically handle .xz suffix (XZ-compressed files), too.
20753 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20754 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20756 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20757 Nick Roberts <nickrob@snap.net.nz>
20759 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20760 repository (http://sphinx.net.ru/hg/gdb-mi/).
20762 2009-06-22 Glenn Morris <rgm@gnu.org>
20764 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20765 `mode' and `eval' entries. (Bug#3430)
20767 * Makefile.in (ELCFILES): Add fadr.elc.
20769 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20770 differing behavior of \n and ^ in strings. (Bug#3385)
20772 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20774 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20776 (lisp-indent-function): Make it a defcustom.
20778 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20780 * progmodes/gdb-ui.el: Replace with ...
20781 * progmodes/gdb-mi.el: ... this file.
20782 * progmodes/gud.el: Modify for gdb-mi.el.
20784 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20786 * fadr.el: New file.
20788 See ChangeLog.14 for earlier changes.
20790 ;; Local Variables:
20794 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20796 This file is part of GNU Emacs.
20798 GNU Emacs is free software: you can redistribute it and/or modify
20799 it under the terms of the GNU General Public License as published by
20800 the Free Software Foundation, either version 3 of the License, or
20801 (at your option) any later version.
20803 GNU Emacs is distributed in the hope that it will be useful,
20804 but WITHOUT ANY WARRANTY; without even the implied warranty of
20805 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20806 GNU General Public License for more details.
20808 You should have received a copy of the GNU General Public License
20809 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.