1 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
4 (smerge-resolve--normalize-re): New var.
5 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
6 (smerge-resolve): Use them.
7 * newcomment.el (comment-only-p): New function.
8 (comment-or-uncomment-region): Use it.
10 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
12 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
13 table, get the value before switching to the output buffer. (Bug#7733)
15 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
17 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
19 2011-01-14 Kim F. Storm <storm@cua.dk>
21 * emulation/cua-base.el (cua--init-keymaps):
22 Remap exchange-point-and-mark in cua-global-keymap.
24 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
26 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
29 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
31 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
33 (easy-menu-create-menu, easy-menu-convert-item-1):
34 Use :label rather than nil for labels. Use `case'.
35 Add :enable as alias for :active.
36 (easy-menu-binding): Obey :label.
38 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
40 Use run-mode-hooks for major mode hooks (bug#513).
41 * textmodes/reftex-toc.el (reftex-toc-mode-map):
42 Rename from reftex-toc-map.
43 (reftex-toc-mode): Use define-derived-mode.
44 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
45 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
46 Rename from reftex-select-(label|bib)-map. Move init into declaration.
47 (reftex-select-label-mode, reftex-select-bib-mode):
48 Use define-derived-mode.
49 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
50 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
51 Move init into delcaration.
52 (reftex-index-mode, reftex-index-phrases-mode):
53 Use define-derived-mode.
54 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
55 speedbar-syntax-table. Move init into declaration.
56 (speedbar-mode-map): Rename from speedbar-key-map.
57 Move init into declaration.
58 (speedbar-file-key-map): Move init into declaration.
59 (speedbar-mode): Use define-derived-mode.
60 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
61 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
62 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
63 (chart-face-list): Move initialization into declaration.
64 (chart-mode): Use define-derived-mode.
65 * calculator.el (calculator-mode-map): Move init into declaration.
66 (calculator-mode): Use define-derived-mode.
68 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
69 work for nested comments.
71 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
72 (prolog-use-prolog-tokenizer-flag): Change default when
73 syntax-propertize can be used.
74 (prolog-syntax-propertize-function): New var.
75 (prolog-mode-variables): Move make-local-variable into `set'.
76 Don't make comment-column local since we don't set it.
77 Set comment-add (as it was in previous prolog.el). Use dolist.
78 Set syntax-propertize-function.
79 (prolog-mode, prolog-inferior-mode):
80 Call prolog(-inferior)-menu directly, not through the mode-hook.
81 (prolog-buffer-module, prolog-indent-level)
82 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
83 (prolog-comment-limits, prolog-goto-comment-column):
84 Use line-(end|beginning)-position.
85 (prolog-build-prolog-command): Tighten up regexp.
86 (prolog-consult-compile): Move make-local-variable into `set'.
87 (prolog-consult-compile-filter, prolog-goto-next-paren)
88 (prolog-help-on-predicate, prolog-clause-info)
89 (prolog-mark-predicate): Don't let+setq.
90 (prolog-indent-line): Use indent-line-to.
91 Only call prolog-goto-comment-column if necessary.
92 (prolog-indent-level): Use bobp.
93 (prolog-first-pos-on-line): Remove, not used any more.
94 (prolog-in-string-or-comment): Use syntax-ppss if available.
95 (prolog-help-on-predicate): Use read-string.
96 (prolog-goto-predicate-info): Simplify.
97 (prolog-read-predicate): Use `default' rather than `initial'.
98 (prolog-temporary-file): Use make-temp-file to close a security hole.
99 (prolog-toggle-sicstus-sd): New command.
100 (prolog-electric-underscore, prolog-variables-to-anonymous):
101 Use dynamic-scoping as it was meant.
102 (prolog-menu): Move menu definitions to top-level.
103 Use a toggle-button for Sicstus's source debugger.
104 Change "Code" to the more usual "Prolog", and hence change "Prolog"
106 (prolog-inferior-menu): Reuse prolog-menu's help menu.
107 Move other menu definition to top-level.
109 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
111 * doc-view.el (doc-view-open-text): Use meaningful text buffer
112 name. Keep original document's directory as default-directory
114 (doc-view-initiate-display): Fall back to normal mode when
115 doc-view-mode cannot be enabled, also when extracting the document
116 text into a separate buffer (bug#6446).
118 * simple.el (shell-command): Don't error out if shell command
119 buffer contains text with non-nil read-only property when erasing
122 2011-01-13 Kim F. Storm <storm@cua.dk>
124 * ido.el (ido-may-cache-directory): Move "too-big" check later.
125 (ido-next-match, ido-prev-match): Fix stray reordering of matching
126 items when cycling through the matches.
128 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
130 * dired-x.el (dired-omit-verbose): New defcustom that allows
131 disabling the omit messages.
132 (dired-omit-expunge): Use it.
134 2011-01-13 Christian Ohler <ohler@gnu.org>
136 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
138 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
140 * font-lock.el (font-lock-verbose): Default to nil.
142 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
144 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
145 (compose-mail): New arg RETURN-ACTION.
146 (compose-mail-other-window, compose-mail-other-frame): Likewise.
148 * mail/sendmail.el (mail-return-action): New var.
149 (mail-mode): Make it buffer-local.
150 (mail-bury): Obey it. Move special Rmail window handling to
152 (mail, mail-setup): New arg RETURN-ACTION.
153 (sendmail-user-agent-compose): Move from simple.el.
155 * mail/rmail.el (rmail-mail-return): New function.
156 (rmail-start-mail): Pass it to compose-mail.
158 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
160 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
161 menus. Add menu item for customize-themes.
163 * cus-theme.el (customize-themes):
164 * emacs-lisp/package.el (package--list-packages): Use
167 2011-01-11 Johan Bockgård <bojohan@gnu.org>
169 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
171 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
173 * progmodes/prolog.el: Fix up coding convention and such.
174 (prolog-indent-width): Use the same default as in
175 previous prolog.el rather than tab-width which depends on which buffer
176 is current when the file is loaded.
177 (prolog-electric-newline-flag): Only enable if electric-indent-mode
179 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
180 (prolog-known-systems): Remove.
181 (prolog-mode-syntax-table, prolog-inferior-mode-map):
182 Move initialization into declaration.
183 (prolog-mode-map): Move initialization into declaration.
184 Remove system-specific mode-map vars, since they referred to the same
186 (prolog-mode-variables): Obey the user's preference w.r.t
187 adaptive-fill-mode. Prefer symbol-value to `eval'.
188 (prolog-mode-keybindings-edit): Add compatibility bindings.
189 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
190 (mercury-mode-map): New var.
191 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
192 (prolog-ensure-process, prolog-process-insert-string)
193 (prolog-consult-compile): Use with-current-buffer.
194 (prolog-guess-fill-prefix): Simplify data flow.
195 (prolog-replace-in-string): New function to use instead of
197 (prolog-enable-sicstus-sd): Don't abuse `eval'.
198 (prolog-uncomment-region): Use `uncomment-region' when available.
199 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
200 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
201 of int-to-char and char-to-int.
202 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
204 2011-01-11 Stefan Bruda <stefan@bruda.ca>
206 * progmodes/prolog.el: Replace by a whole new file.
208 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
210 * subr.el (eval-after-load): Fix timing for features (bug#7769).
211 (declare-function, undefined, insert-for-yank)
212 (replace-regexp-in-string): Follow checkdoc's recommendations.
214 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
216 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
217 refreshing the diary buffer.
219 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
221 * allout.el: Add 2011 to the file copyright.
222 (allout-encrypt-string): Prevent encryption from adding an extra
223 newline at the end of the topic body.
224 (allout-version): Increment to 2.3.
226 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
228 * net/dbus.el (dbus-unregister-service): Complete doc.
229 Fix call of dbus-error signal.
230 (dbus-register-property): Use `dont-register' keyword.
232 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
234 * net/dbus.el (dbus-unregister-service): Translate returned
235 integer into a symbol.
236 (dbus-register-property): Use `dbus-register-service' to do the
239 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
241 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
242 Suggested by Joakim Verona.
244 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
246 * wid-edit.el (visibility): Replace :on-image and :off-image
247 widget properties with :on-glyph and :off-glyph, for consistency
248 with the `visibility' widget.
249 (widget-toggle-value-create, widget-visibility-value-create):
250 Merge into a single function `widget-toggle-value-create'.
252 * cus-edit.el (custom-variable-value-create, custom-visibility)
253 (custom-face-edit-value-create, custom-face-value-create):
254 Replace :on-image and :off-image widget properties with :on-glyph and
255 :off-glyph, for consistency with the `visibility' widget.
257 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
259 * net/ldap.el (ldap-search-internal): Don't use eval.
261 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
263 * subr.el (read-char-choice): Use read-key.
265 * custom.el (custom-safe-themes): Rename from
266 custom-safe-theme-files. Add :risky tag.
267 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
268 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
270 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
272 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
273 from Search and add a label to Undo.
275 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
276 inappropriate buttons and adding :vert-only tags.
278 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
279 removal of Help tool-bar button. Remove Undo button for space.
281 * info.el (info-tool-bar-map): Add :vert-only tags.
283 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
285 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
286 image backend support. Either of them is fine.
288 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
290 * subr.el (y-or-n-p): Doc fix.
292 * custom.el (custom-safe-theme-files): New defcustom.
293 (custom-theme-load-confirm): New function.
294 (load-theme): Load theme using `load', confirming with
295 custom-theme-load-confirm if necessary.
297 * subr.el (read-char-choice): New function, factored out from
298 dired-query and hack-local-variables-confirm.
300 * dired-aux.el (dired-query):
301 * files.el (hack-local-variables-confirm): Use it.
303 * dired-aux.el (dired-compress-file):
304 * files.el (abort-if-file-too-large, find-alternate-file)
305 (set-visited-file-name, write-file, backup-buffer)
306 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
307 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
308 Use new format string args for y-or-n-p and yes-or-no-p.
310 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
312 * progmodes/compile.el (compilation-error-regexp-alist-alist)
313 [gcc-include]: Tighten file name match, add match for column
315 [gnu]: Remove unused group.
317 2011-01-08 Glenn Morris <rgm@gnu.org>
319 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
321 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
323 2011-01-07 Sam Steingold <sds@gnu.org>
325 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
326 the `explicit-shell-file-name' because that is the
327 non-interactive shell.
329 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
331 * subr.el (y-or-n-p): Accept format string args.
333 2011-01-07 Glenn Morris <rgm@gnu.org>
335 * Makefile.in (EMACSOPT): Add --no-site-lisp.
337 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
339 * allout.el (allout-back-to-current-heading): Ensure return to
340 the visible containing topic, rather than a collapsed one.
341 (allout-view-change-hook): Remove hook that was deprecated long ago.
342 (allout-exposure-change-hook): Remove documentation remarks
343 concerning removed allout-view-change-hook.
344 (allout-flag-region): Remove invocation of and documentation
345 remarks concerning allout-view-change-hook.
347 2011-01-06 Glenn Morris <rgm@gnu.org>
349 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
350 (vc-bzr-annotate-extract-revision-at-line):
351 Handle authors with embedded spaces. (Bug#7792)
353 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
355 * doc-view.el (doc-view-image-width): New variable.
356 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
357 backend for PNG images, and do dynamic rescaling instead of
358 reconverting the whole doc.
360 2011-01-05 Glenn Morris <rgm@gnu.org>
362 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
364 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
366 * allout.el: Reconcile with changes in line movement behavior for
367 long text lines that cross more than a single physical window
368 line, ie when truncate-lines is nil.
369 (allout-next-visible-heading): Provide for change in line-move
370 behavior on long lines when truncate-lines is nil. In that case,
371 line-move can wind up on the same textual line when it moves to
372 the next window line, and moving to the bullet position after the
373 move yields zero advancement. Add logic to detect and compensate
374 for the lack of progress.
375 (allout-current-topic-collapsed-p): move-end-of-line respect for
376 field boundaries is different when operating with body lines
377 shorter than window width versus ones greater than window width,
378 which can yield false negatives in this function. Avoid
379 difference by applying move-end-of-line while field-text-motion is
382 2011-01-04 Glenn Morris <rgm@gnu.org>
384 * textmodes/rst.el (rst-compile-toolsets):
385 Add pdf and s5 to option alist.
387 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
389 * net/dbus.el (dbus-register-property): Add optional parameter
390 dont-register-service. Updated docstring accordingly.
392 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
394 * textmodes/rst.el (rst-compile-pdf-preview)
395 (rst-compile-slides-preview): Remove extra line.
397 2011-01-04 Glenn Morris <rgm@gnu.org>
399 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
400 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
401 default to `prog' without a .py extension.
402 (rst-compile-pdf-preview, rst-compile-slides-preview):
403 Use program names from rst-compile-toolsets, rather than hard-coding.
404 (rst-portable-mark-active-p): Fix presumed typo.
406 2011-01-02 Eli Zaretskii <eliz@gnu.org>
408 * term/w32-win.el (dynamic-library-alist): Set up correctly for
409 libpng versions both before and after 1.4.0. (Bug#7716)
411 2011-01-02 Eli Zaretskii <eliz@gnu.org>
413 * time.el (display-time-mode): Mention display-time-interval in
414 the doc string. (Bug#7713)
416 2011-01-02 Kenichi Handa <handa@m17n.org>
418 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
419 condition-case and return an error message string if something
421 (rmail-show-mime): Adjust for the above change. Insert the
422 header by rmail-mime-insert-header.
424 2011-01-02 Kenichi Handa <handa@m17n.org>
426 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
427 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
428 (rmail-mime-mbox-buffer)
429 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
430 (rmail-mime-entity): Argument changed. All codes handling an
431 entity object are changed.
432 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
434 (rmail-mime-entity-children, rmail-mime-entity-handler)
435 (rmail-mime-entity-tagline): New functions.
436 (rmail-mime-message-p): New function.
437 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
438 (rmail-mime-entity-segment, rmail-mime-next-item)
439 (rmail-mime-previous-item, rmail-mime-shown-mode)
440 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
441 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
442 (rmail-mime-insert-tagline, rmail-mime-insert-header):
444 (rmail-mime-text-handler): Call rmail-mime-insert-text.
445 (rmail-mime-insert-decoded-text): New function.
446 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
447 (rmail-mime-insert-image): Argument changed. Caller changed.
448 (rmail-mime-image): Call rmail-mime-toggle-hidden.
449 (rmail-mime-set-bulk-data): New funciton.
450 (rmail-mime-insert-bulk): Argument changed.
451 (rmail-mime-multipart-handler): Return t.
452 (rmail-mime-process-multipart): Argument changed.
453 Handle "multipart/alternative" here.
454 (rmail-mime-process): Argument changed.
455 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
456 (rmail-mime-insert): Argument changed. Handle raw display mode.
457 (rmail-mime): Argument changed. Handle toggling of raw display
459 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
460 rmail-mime-view-buffer.
461 (rmail-insert-mime-forwarded-message): Likewise.
462 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
464 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
465 non-nil, handle the header in rmail-show-mime-function.
467 2011-01-02 Leo <sdl.web@gmail.com>
469 * help-fns.el (describe-variable): Fix previous change.
471 2011-01-02 Juri Linkov <juri@jurta.org>
473 * isearch.el (isearch-lazy-highlight-error): New variable.
474 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
475 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
476 to the current value of `isearch-error' (Bug#7468).
478 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
480 * help-fns.el (describe-variable): Don't emit trailing whitespace
483 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
485 * textmodes/rst.el (rst-compile-pdf-preview)
486 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
488 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
490 * emulation/edt-mapper.el: Override mapping of function keys so
491 that the later call to read-key-sequence works.
493 2011-01-02 Eli Zaretskii <eliz@gnu.org>
495 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
496 Unix EOLs. (Bug#7589)
498 2011-01-02 Leo <sdl.web@gmail.com>
500 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
501 if point is not behind eshell-last-output-end (Bug#7585).
503 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
505 * files.el (file-local-variables-alist):
506 Make permanent-local (bug#7767).
508 2011-01-02 Glenn Morris <rgm@gnu.org>
510 * version.el (emacs-copyright): Set short copyright year to 2011.
512 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
514 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
515 an existing temp buffer. (Bug#7746)
517 2011-01-02 Glenn Morris <rgm@gnu.org>
519 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
520 multiple addresses. (Bug#7760)
522 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
524 * allout.el (allout-auto-fill): Do not infinitely recurse - use
525 do-auto-fill if everything points back to allout-auto-fill.
526 (allout-mode-deactivate-hook): Declare obsolete, in favor of
527 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
529 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
531 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
534 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
536 * doc-view.el (doc-view-set-doc-type): New function refactored
538 (doc-view-fallback-mode): New function.
539 (doc-view-mode): Use it.
540 (doc-view-mode-maybe): New function that checks if doc-view-mode
541 can be used and falls back to the next best mode otherwise.
543 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
544 DVI, OpenDocument, and MS Office files.
546 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
548 * emacs-lisp/rx.el (rx-syntax): Fix typo.
550 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
552 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
553 on a copy of auto-mode-alist, because that deletes with side
556 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
558 * doc-view.el (doc-view-mode, doc-view-toggle-display):
559 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
560 fallback instead of hard coding fundamental mode.
562 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
564 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
565 Office) files also for searching.
567 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
569 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
570 Office) files. Not yet enabled via auto-mode-list.
571 (doc-view-unoconv-program): New custom variable.
572 (doc-view-mode-p): Handle new odf document type.
573 (doc-view-odf->pdf): New conversion function.
574 (doc-view-convert-current-doc): Call it for odf files.
575 (doc-view-mode): Recognize newly supported file extensions.
577 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
579 * net/tramp.el (tramp-default-method-alist)
580 (tramp-default-user-alist)
581 (tramp-local-host-regexp, tramp-prefix-domain-format)
582 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
589 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
590 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
592 2010-12-29 Karl Fogel <kfogel@red-bean.com>
594 * saveplace.el (save-place-alist-to-file): Save list sorted and
595 pretty-printed, so that it is mergeable by line-based text merging,
596 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
598 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
600 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
601 (allout-mode): Argument "toggle" => "force".
602 Refine the docstring.
603 Remove special provisions for reactivation, besides the 'force'
605 Consolidate layout provisions coce directly into the activation
606 condition branch, now that we've removed those provisions.
607 (allout-unload-function): Explicitly activate the mode before
608 deactivating, if it's initially deactivated.
609 (allout-set-buffer-multibyte): Properly prevent byte-compiler
610 warnings for version of function used only where
611 set-buffer-multibyte is unavailable.
613 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
615 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
616 are handled by the menu-bar entries. As before, don't use
617 :visibile to avoid changing the tool-bar.
619 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
621 * net/secrets.el (secrets-delete-alias): New defun.
623 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
625 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
626 methods, otherwise ~/.ssh/config would be ignored.
628 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
630 * emacs-lisp/rx.el: Make it a superset of sregex.
631 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
632 of args, add `regex' alias.
633 (rx-info): Add arg to distinguish head and standalone forms.
634 (rx-check, rx-form): Pass the corresponding arg.
636 (rx-repeat): Make it work for any number of args.
637 (rx-syntax): Make it accept syntax chars as is.
638 * obsolete/sregex.el: Move from emacs-lisp/.
639 * emacs-lisp/re-builder.el: Remove sregex support.
640 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
642 2010-12-25 Eli Zaretskii <eliz@gnu.org>
644 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
645 PRIMARY first, then the clipboard. (Bug#7699)
647 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
649 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
652 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
654 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
655 .emacs.elc (Bug#7530).
657 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
658 image spec (Bug#7480).
660 2010-12-21 Daiki Ueno <ueno@unixuser.org>
662 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
663 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
666 2010-12-20 Leo <sdl.web@gmail.com>
668 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
669 always be performed (Bug#7680).
671 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
673 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
674 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
677 * color.el: Move from gnus/.
679 * vc/diff.el (diff-better-file-name): Function deleted.
680 abbreviating file names causes problems with shell-quote-argument.
681 (diff-no-select): Just use expand-file-name.
683 * tool-bar.el (tool-bar--image-expression): New function.
684 (tool-bar-local-item, tool-bar--image-exp): Use it.
685 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
686 Use :enable instead of :visible to avoid changing the tool-bar
687 configuration unnecessarily.
689 * info.el (info-tool-bar-map): Add separators.
691 2010-12-17 Ken Brown <kbrown@cornell.edu>
693 * loadup.el: Use version numbers in Cygwin build.
695 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
697 * ido.el (ido-file-internal): Ask for confirmation before
698 overwriting an existing file (Bug#1238).
700 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
702 * tool-bar.el (tool-bar-setup): Add separators.
704 * menu-bar.el (featurep): Use menu-bar-separator.
706 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
708 Migrate allout encryption provisions from pgg to epg.
710 * allout.el (allout-toggle-current-subtree-encryption)
711 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
712 defaulting policy and other changes. Change fetch-pass to keymode-cue,
713 for simpler universal argument interpretation.
714 (allout-toggle-subtree-encryption): Adjust docstring to describe
715 changed encryption provisions. Change fetch-pass to keymode-cue, for
716 simpler universal argument interpretation. Remove provisions for
717 handling key type and identity - they'll all be within
718 allout-encrypt-string or epg/epg or even contained all the way in gpg.
719 (allout-encrypt-string): Include keymode-cue, for optionally prompting
720 for keypair recipients (universal argument > 1) and, in addition,
721 associating the specified recipients with the outline (universal
722 argument > 4) using a file local variable setting for
723 'epa-file-encrypt-to'.
724 Require epa, for recipients handling.
725 Change how regexp filtering elements are named.
726 Describe the problem with caching of incorrect symmetric-decryption
728 Use the epa-passphrase-callback-function, in case the user is using
730 Support saving of the selected keypair recipients when invoked with a
732 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
734 Establish epg-context with armoring and default epg-protocol.
735 Remove all passphrase cache, verification, and hinting code.
736 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
737 No longer used, delete.
738 (allout-mode): Adjust docstring to describe changed encryption
739 provisions. Describe the problem with caching of incorrect
740 symmetric-decryption keys.
741 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
742 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
743 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
744 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
747 2010-12-16 Daiki Ueno <ueno@unixuser.org>
749 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
750 key selection prompt; make 'silent as default (Bug#7487).
752 2010-12-16 Leo <sdl.web@gmail.com>
754 * eshell/eshell.el (eshell-directory-name):
755 Use locate-user-emacs-file (Bug#7578).
757 2010-12-15 Glenn Morris <rgm@gnu.org>
759 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
761 2010-12-15 Jari Aalto <jari.aalto@cante.net>
762 Scott Evans <gse@antisleep.com>
764 * rect.el (rectange--default-line-number-format)
765 (rectangle-number-line-callback): New functions.
766 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
768 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
770 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
771 Delete unused variables.
772 (move-to-column-force): Remove function obsolete since 21.2.
774 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
776 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
777 (tramp-handle-insert-file-contents): Do not set permanent-local
780 * net/tramp-cache.el (tramp-persistency-file-name):
781 Use `locate-user-emacs-file' if fboundp.
783 * net/tramp-sh.el (tramp-methods): Add "ksu".
784 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
787 2010-12-14 Glenn Morris <rgm@gnu.org>
789 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
790 (find-tag-marker-ring): Declare.
791 (js-find-symbol): Require etags.
793 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
795 (mail-alias-file): Don't autoload. Doc fix.
796 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
797 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
798 Mark as obsolete, and risky.
799 (mail-setup): Simplify.
801 * mail/mailalias.el (build-mail-aliases): Make it interactive.
802 * mail/sendmail.el (build-mail-aliases): Update autoload.
804 * dired.el (dired-trivial-filenames, dired-chown-program)
805 (dired-auto-revert-buffer): Remove autoload cookies.
806 * mail/sendmail.el (mail-recover-1): Require 'dired.
808 * dired.el (dired-subdir-switches, dired-chown-program)
809 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
810 Make into defcustoms.
811 (dired-chown-program): Simplify initialization.
813 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
815 2010-12-13 Romain Francoise <romain@orebokech.com>
817 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
819 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
821 * net/netrc.el (netrc-point-at-eol): Remove the unused
822 netrc-point-at-old and netrc-bound-and-true-p bindings.
823 (netrc-parse): Cache the netrc contents.
825 2010-12-13 Eli Zaretskii <eliz@gnu.org>
827 * subr.el (posn-col-row): Evaluate header-line-format in the
828 context of the POSITION window's buffer.
830 2010-12-13 Glenn Morris <rgm@gnu.org>
832 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
833 (with-silent-modifications): Doc fixes.
835 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
837 * net/tramp.el (tramp-action-password, tramp-process-actions):
838 Revert previous from. Use `save-restriction'.
840 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
842 * calendar/diary-lib.el (diary-list-sexp-entries):
843 Handle case of no newline at end of file. (Bug#7536)
845 2010-12-13 Glenn Morris <rgm@gnu.org>
847 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
849 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
851 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
852 (tramp-process-actions): Do not widen.
854 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
855 Protect buffer-modified value. (Bug#7557)
857 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
859 * log-edit.el (log-edit-changelog-entries):
860 Regexp quote filename. (Bug#7505)
862 2010-12-13 Tom Breton <tehom@panix.com>
864 * cus-edit.el (custom-save-all):
865 Bind print-length and print-level to nil. (Bug#7581)
867 2010-12-13 Glenn Morris <rgm@gnu.org>
869 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
870 Run hooks to update menu contents. (Bug#7586)
872 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
873 file names, for the sake of MS Windows. (Bug#7588)
875 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
877 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
878 empty lines without a leading space.
880 2010-12-13 Leo <sdl.web@gmail.com>
882 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
883 while mapping over marks (Bug#6810).
885 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
887 * image-dired.el (image-dired-db-file)
888 (image-dired-temp-image-file, image-dired-gallery-dir)
889 (image-dired-temp-rotate-image-file): Set default values relative
890 to image-dired-dir (Bug#7518).
892 2010-12-13 Lawrence Mitchell <wence@gmx.li>
894 * format.el (format-decode-run-method): Pass args FROM and TO, not
895 point-min and point-max, to shell-command-on-region (Bug#7488).
897 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
899 * frame.el (blink-cursor-mode): Make default t for ns.
901 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
903 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
905 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
907 * comint.el (comint-dynamic-list-input-ring)
908 (comint-dynamic-complete-filename)
909 (comint-replace-by-expanded-filename)
910 (comint-dynamic-simple-complete)
911 (comint-dynamic-list-filename-completions)
912 (comint-dynamic-list-completions): Doc fix (Bug#7499).
914 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
917 2010-12-13 Martin Rudalics <rudalics@gmx.at>
919 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
922 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
924 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
927 2010-12-13 Eli Zaretskii <eliz@gnu.org>
929 * files.el (file-relative-name): Handle UNC file names on
930 DOS/Windows. (Bug#4674)
932 2010-12-13 Daiki Ueno <ueno@unixuser.org>
934 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
935 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
936 (epg-context-set-passphrase-callback): Mention that the callback
937 is not called when used with GnuPG 2.x.
939 2010-12-13 Glenn Morris <rgm@gnu.org>
941 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
942 Ensure ps-footer-font-size-internal is initialized.
943 Call ps-get-page-dimensions before trying to use ps-font-for-text.
945 2010-12-13 Kenichi Handa <handa@m17n.org>
947 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
948 within condition-case.
949 (rmail-show-mime): Don't use condition-case.
950 (rmail-search-mime-message): New function.
951 (rmail-search-mime-message-function): Set to
952 rmail-search-mime-message.
954 2010-12-13 Leo <sdl.web@gmail.com>
956 * ido.el (ido-common-initialization): New function. (bug#3274)
958 (ido-completing-read): Call it.
960 2010-12-12 Karl Fogel <kfogel@red-bean.com>
962 * bookmark.el (bookmark-name-from-full-record): Rename back to
963 this original name from `bookmark-name-from-record' reverting part
964 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
965 As Drew Adams pointed out, there was no reason to cause churn for
968 2010-12-12 Alan Mackenzie <acm@muc.de>
970 * progmodes/cc-engine.el (c-forward-type): Before scanning a
971 template arglist, check that the current language supports this.
973 2010-12-11 Glenn Morris <rgm@gnu.org>
975 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
976 state of the file matches. (Bug#7544)
977 (vc-bzr-register, vc-bzr-checkin)
978 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
979 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
981 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
983 2010-12-11 Karel Klíč <kklic@redhat.com>
985 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
987 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
989 Derive from prog-mode, use derived-mode-p, and fix up various
990 minor style issues in lisp/progmodes.
992 * progmodes/vhdl-mode.el (vhdl-mode):
993 * progmodes/verilog-mode.el (verilog-mode):
994 * progmodes/vera-mode.el (vera-mode):
995 * progmodes/sql.el (sql-mode):
996 * progmodes/scheme.el (scheme-mode):
997 * progmodes/perl-mode.el (perl-mode):
998 * progmodes/octave-inf.el (inferior-octave-mode):
999 * progmodes/autoconf.el (autoconf-mode):
1000 * progmodes/m4-mode.el (m4-mode):
1001 * progmodes/inf-lisp.el (inferior-lisp-mode):
1002 * progmodes/idlwave.el (idlwave-mode):
1003 * progmodes/icon.el (icon-mode):
1004 * progmodes/idlw-help.el (idlwave-help-mode):
1005 * progmodes/dcl-mode.el (dcl-mode):
1006 * progmodes/idlw-shell.el (idlwave-shell-mode):
1007 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1008 (ebrowse-member-mode, ebrowse-electric-position-mode):
1009 Use define-derived-mode.
1011 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1012 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1013 (xscheme-debugger-mode-p, xscheme-send-string-1):
1014 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1015 (tcl-load-file, tcl-restart-with-file):
1016 * progmodes/ps-mode.el (ps-run-running):
1017 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1018 * progmodes/js.el (js--get-all-known-symbols):
1019 * progmodes/inf-lisp.el (inferior-lisp-proc):
1020 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1021 (idlwave-template, idlwave-update-buffer-routine-info)
1022 (idlwave-update-current-buffer-info)
1023 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1024 (idlwave-scan-class-info, idlwave-fix-keywords)
1025 (idlwave-list-buffer-load-path-shadows):
1026 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1027 (idlwave-toolbar-remove):
1028 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1029 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1030 (idlwave-shell-menu-def):
1031 * progmodes/idlw-complete-structtag.el
1032 (idlwave-prepare-structure-tag-completion):
1033 * progmodes/gud.el (gud-set-buffer):
1034 * progmodes/f90.el (f90-backslash-not-special):
1035 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1037 * progmodes/xscheme.el (xscheme-start)
1038 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1039 * progmodes/which-func.el (which-function):
1040 * progmodes/vhdl-mode.el (vhdl-set-style):
1041 * progmodes/verilog-mode.el (verilog-set-compile-command)
1042 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1043 (verilog-set-define, verilog-auto-reeval-locals):
1044 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1045 * progmodes/simula.el (simula-mode):
1046 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1047 * progmodes/python.el (python-check, python-mode):
1048 * progmodes/prolog.el (prolog-mode-variables):
1049 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1050 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1051 * progmodes/delphi.el (delphi-mode):
1052 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1053 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1054 (c-font-lock-init): Move make-local-variable to their setq.
1056 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1057 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1059 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1060 (sh-set-shell): Don't set require-final-newline since it's already done
1062 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1063 since we never set it.
1064 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1065 Use read-string and standard prompt.
1066 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1067 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1068 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1069 (meta-common-mode-map): Rename from meta-mode-map.
1070 Remove C-m binding, which is a user preference, not mode specific.
1071 (meta-common-mode): New major mode; replace meta-common-initialization.
1072 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1073 around with font-lock.
1074 * progmodes/etags.el (select-tags-table-mode):
1075 Derive from special-mode.
1076 * progmodes/octave-mod.el (octave-mode):
1077 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1078 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1079 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1080 Let define-derived-mode do its job.
1081 * progmodes/cpp.el (cpp-edit-mode-map):
1082 Move initialization into declaration.
1083 (cpp-edit-mode): Use define-derived-mode.
1084 (cpp-edit-load): Use derived-mode-p.
1085 * progmodes/mixal-mode.el (mixal-mode):
1086 * progmodes/f90.el (f90-mode):
1087 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1088 require-final-newline since prog-mode does it already.
1089 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1090 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1091 * progmodes/antlr-mode.el: Require cc-mode upfront.
1092 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1094 (antlr-directory-dependencies, antlr-show-makefile-rules):
1096 (antlr-language-option): Don't assume point-min==1.
1097 (antlr-mode): Use define-derived-mode.
1098 * progmodes/ada-mode.el: Use derived-mode-p.
1099 (ada-mode): Use define-derived-mode.
1100 Use hack-local-variables-hook.
1102 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1105 (texinfo-mode): Don't disable adaptive-fill-mode.
1106 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1107 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1108 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1109 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1110 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1111 (texinfo-insert-@quotation, texinfo-insert-@samp)
1112 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1113 (texinfo-insert-@uref): Use define-skeleton.
1114 (texinfo-insert-@-with-arg): Delete.
1116 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1118 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1119 nil, do quote archive member names. (Bug#6144)
1121 2010-12-10 Glenn Morris <rgm@gnu.org>
1123 * files.el (diff-no-select): Declare.
1125 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1126 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1128 * comint.el (comint-input-ring-file-name): Doc fix.
1130 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1132 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1134 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1135 Use them instead of `nil' and `>', respectively.
1136 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1138 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1139 and menu-bar-positive-p instead of `nil' and `>', respectively.
1142 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1144 * whitespace.el (whitespace-newline-mode): Code fix.
1146 2010-12-09 Glenn Morris <rgm@gnu.org>
1148 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1149 Rename functions without commas, update callers.
1151 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1153 * whitespace.el (whitespace-cleanup-region):
1154 Clean up spaces before tabs. (Bug#7582)
1156 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1158 * bookmark.el: Adjust parameter names and doc strings to resolve
1159 confusion over whether "bookmark" meant a bookmark name or a
1160 bookmark record. Along the way, shorten one function's name for
1161 similar reasons. (Issue #7548)
1162 (bookmark-name-from-record): New name for
1163 `bookmark-name-from-full-record'. All callers changed.
1164 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1165 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1166 (bookmark-get-annotation, bookmark-set-annotation)
1167 (bookmark-get-filename, bookmark-set-filename)
1168 (bookmark-get-position, bookmark-set-position)
1169 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1170 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1171 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1172 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1173 Rename `bookmark' parameter to `bookmark-name-or-record', to
1174 clearly show its role, and shorten or adjust doc strings accordingly.
1175 (bookmark-set-name): Same, and pass the parameter directly to
1176 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1177 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1178 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1179 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1180 and in some cases shorten doc string accordingly.
1181 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1182 and `new-name', and adjust an internal variable to avoid confusion.
1183 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1184 parameter in doc string.
1186 2010-12-08 Glenn Morris <rgm@gnu.org>
1188 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1189 from gdb's history file. (Bug#7575)
1191 * mail/emacsbug.el (report-emacs-bug):
1192 Try to handle some other mail clients.
1194 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1196 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1197 Use string-prefix-p.
1198 (file-name-version-regexp): New var.
1199 (file-name-sans-versions):
1200 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1201 (jka-compr-get-compression-info): Use dolist.
1202 (jka-compr-compression-info-list): Don't bother specifying
1203 version/backup regexps.
1205 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1207 * simple.el (just-one-space): Make argument n default to 1 if
1210 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1212 * electric.el (electric-indent-post-self-insert-function):
1213 Delete trailing newlines even if we don't reindent.
1215 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1217 * minibuffer.el (completion-at-point): Remove the `arg'.
1218 * bindings.el (complete-symbol): Move back from minibuffer.el.
1220 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1222 * simple.el (just-one-space): Delete newlines for negative arg.
1224 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1227 (ansi-color-filter-apply): Simplify.
1228 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1230 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1232 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1234 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1236 * dired.el (dired-use-ls-dired): Set default to a special
1237 "unspecified" value.
1238 (dired-insert-directory): When called the first time, check
1239 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1241 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1243 * replace.el: Add "collect" feature to occur.
1244 (occur-collect-regexp-history): New var.
1245 (occur-read-primary-args): Return a replace string for nlines,
1247 (occur): Extend the meaning of nlines.
1249 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1252 (which-func-update-1): Distinguish symbols from strings.
1253 (which-function): Stay within 80 columns.
1255 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1257 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1259 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1261 (comment-style): Use comment-styles's docs to describe values.
1263 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1265 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1266 and ns-show-prefs (Bug#7535).
1268 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1269 bindings (Bug#7535).
1271 2010-12-03 Glenn Morris <rgm@gnu.org>
1273 * nxml/nxml-mode.el: Require rng-nxml.
1274 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1275 Remove declarations.
1277 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1278 * nxml/rng-nxml.el, nxml/rng-valid.el:
1279 Remove leading `*' from defcustom docs.
1281 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1282 (normal-top-level-add-to-load-path, tty-handle-args):
1283 Convert comments to basic doc-strings.
1285 * net/browse-url.el (browse-url-url-at-point)
1286 (browse-url-default-browser): Remove autoload cookies.
1288 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1289 Remove more undefined cl functions.
1291 * vc/diff.el (diff-sentinel): Make new arguments optional.
1292 * ibuf-ext.el (diff-sentinel): Update declaration.
1294 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1296 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1297 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1298 (epg-context-set-passphrase-callback): Mention that the callback
1299 is not called when used with GnuPG 2.x.
1301 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1303 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1304 (tramp-file-name-port): Check also for `tramp-default-port'.
1305 (tramp-get-connection-name): New defun.
1306 (tramp-get-connection-process): Use it.
1307 (tramp-debug-message): Extend function exclude list.
1308 (tramp-drop-volume-letter): Fix doc string.
1310 * net/tramp-cmds.el: Remove solved todo item.
1314 * net/tramp-gvfs.el:
1316 * net/tramp-imap.el:
1317 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1318 and `tramp-default-user-alist', respectively.
1320 * net/tramp-gw.el (tramp-gw-open-connection):
1321 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1323 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1324 `tramp-file-name-port'.
1326 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1327 and "psftp". Exchange "%k" marker with options.
1328 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1329 Compute size of link target.
1330 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1331 `tramp-current-*' up due to gateway methods. Optimze computing of
1332 copy arguments. Use `tramp-get-connection-name' and
1333 `tramp-get-connection-buffer'. Improve debug messages.
1334 (tramp-compute-multi-hops): Remove port determination.
1335 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1337 * net/trampver.el: Update release number.
1339 2010-12-02 Glenn Morris <rgm@gnu.org>
1341 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1342 Avoid infinite loop over windows. (Bug#7492)
1344 * progmodes/flymake.el (flymake-check-file-limit):
1345 Allow nil to mean "no limit".
1346 (flymake-check-patch-master-file-buffer): Update for above change.
1347 Allow a .tex file-name extension to be optional.
1348 (flymake-master-tex-init): Also match \include statements.
1350 2010-11-30 Sam Steingold <sds@gnu.org>
1352 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1353 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1354 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1355 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1356 define-derived-mode').
1357 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1358 users who want to call `nxml-parent-document-set'.
1360 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1362 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1363 stand-alone lines, since that is handled by log-edit-match-to-eoh
1366 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1368 * dired.el (dired-get-filename): Replace backslashes with slashes
1369 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1370 * locate.el (locate-default-make-command-line): Don't consider
1371 drive letter and root directory part of
1372 `directory-listing-before-filename-regexp'. (Bug#7308)
1373 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1375 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1377 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1378 of :smie-open/close-alist.
1379 (smie-next-sexp): Make it accept a "start token" as argument.
1380 (smie-indent-keyword): Be careful not to misidentify tokens that span
1381 more than one line, as empty lines. Add argument `token'.
1383 2010-11-27 Kenichi Handa <handa@m17n.org>
1385 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1386 multipart subtypes, insert all as usual.
1388 * mail/rmail.el: Require rfc2047.
1390 2010-11-27 Kenichi Handa <handa@m17n.org>
1392 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1393 (rmail-mime-entity-disposition)
1394 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1395 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1396 (rmail-mime-save): Handle the case that the button's `data' is a
1398 (rmail-mime-insert-text): New function.
1399 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1400 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1401 (rmail-mime-insert-bulk): New function mostly copied from the old
1402 rmail-mime-bulk-handler.
1403 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1404 (rmail-mime-process-multipart): New function mostly copied from
1405 the old rmail-mime-multipart-handler.
1406 (rmail-mime-show): Just call rmail-mime-process.
1407 (rmail-mime-process): New function mostly copied from the old
1409 (rmail-mime-insert-multipart, rmail-mime-parse)
1410 (rmail-mime-insert, rmail-show-mime)
1411 (rmail-insert-mime-forwarded-message)
1412 (rmail-insert-mime-resent-message): New functions.
1413 (rmail-insert-mime-forwarded-message-function): Set to
1414 rmail-insert-mime-forwarded-message.
1415 (rmail-insert-mime-resent-message-function): Set to
1416 rmail-insert-mime-resent-message.
1418 * mail/rmailsum.el: Require rfc2047.
1419 (rmail-header-summary): Handle multiline Subject: field.
1420 (rmail-summary-line-decoder): Change the default to
1421 rfc2047-decode-string.
1423 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1424 (rmail-mime-feature): Change the default to `rmailmm'.
1425 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1426 (rmail-display-labels): Likewise.
1427 (rmail-show-message-1): Check rmail-enable-mime, and use
1428 rmail-show-mime-function for a MIME message. Decode the headers
1429 according to RFC2047.
1431 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1433 * progmodes/which-func.el (which-func-imenu-joiner-function):
1434 Return a string, as expected.
1435 (which-function-mode): Make sure we stop any previous timer before
1438 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1440 * net/tramp.el (tramp-default-method-alist)
1441 (tramp-default-user-alist, tramp-default-proxies-alist):
1442 Adapt custom options type. (Bug#7445)
1444 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1446 * progmodes/python.el: Add Ipython support (Bug#5390).
1447 (python-shell-prompt-alist)
1448 (python-shell-continuation-prompt-alist): New options.
1449 (python--set-prompt-regexp): New function.
1450 (inferior-python-mode, run-python, python-shell):
1451 Require ansi-color. Use python--set-prompt-regexp to set the comint
1452 prompt based on the Python interpreter.
1453 (python--prompt-regexp): New var.
1454 (python-check-comint-prompt)
1455 (python-comint-output-filter-function): Use it.
1456 (run-python): Use a pipe (Bug#5694).
1458 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1460 * progmodes/python.el (run-python): Doc fix.
1461 (python-keep-current-directory-in-path): New var (Bug#7454).
1463 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1465 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1466 Prompt user before actually printing.
1468 2010-11-27 Glenn Morris <rgm@gnu.org>
1470 * startup.el (package-enable-at-startup, package-initialize):
1471 Remove unnecessary declarations.
1473 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1475 * international/characters.el (glyphless-char-display-control):
1476 Exclude newline and TAB from the c0-control group.
1478 2010-11-27 Glenn Morris <rgm@gnu.org>
1480 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1481 (expand-mail-aliases): Remove unnecessary autoload.
1483 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1485 * shell.el (shell-dir-cookie-re): Move definition before use.
1487 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1488 Replace undefined CL functions.
1490 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1492 * simple.el (prog-mode): Set bidi-paragraph-direction to
1495 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1497 2010-11-26 Glenn Morris <rgm@gnu.org>
1499 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1500 diary-outlook-formats can be sensitive to calendar-date-style.
1501 (diary-outlook-formats): Simplify the default setting.
1502 (diary-from-outlook-internal): Pass subject and body as arguments.
1503 Use dolist rather than dotimes. Don't save the diary buffer.
1504 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1505 Pass subject and body as explicit arguments to the -internal function.
1507 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1509 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1510 parsing them. This makes mailto:...?subject=foo\nbar work.
1512 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1514 * vc/diff.el (diff): Fix last change.
1516 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1518 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1519 (pcase--dontcare-upats): New var.
1520 (pcase-let, pcase-let*): Generate better code.
1521 Accept the same bodies as `let'.
1522 (pcase-dolist): New macro.
1523 (pcase--trivial-upat-p): New helper function.
1524 (pcase--expand): Strip leading "(let nil" if any.
1526 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1528 * mail/mailclient.el (browse-url): Require.
1529 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1530 use the external browser function to send the mail (bug#7469).
1532 * net/browse-url.el (browse-url-browser-function): Revert the
1533 default back to the previous value, since the new value broke
1535 (browse-url-mailto-function): New variable for mailto: URLs.
1536 (browse-url): Use the new variable for mailto: URLs.
1538 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * eshell/esh-cmd.el (eshell-parse-command):
1541 * eshell/esh-arg.el (eshell-parse-arguments):
1542 * eshell/em-script.el (eshell-source-file):
1543 Use with-silent-modifications.
1545 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1547 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1548 for a merge location.
1550 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1551 (vc-bzr-merge-branch): Always prompt.
1552 (vc-bzr-async-command): Use the full branch filename.
1554 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * shell.el (shell): Use current-buffer by default if it's already
1557 a shell mode buffer and its process is dead.
1558 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1560 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1562 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1563 Mention that the keywords should be comma separated.
1565 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1567 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1568 Accept optional prefix arg meaning to prompt for a command.
1569 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1570 prefix arg meaning to prompt for a command.
1571 (vc-pull): Alias for vc-update.
1573 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1574 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1575 (vc-bzr-merge-branch): New functions, implementing merge-branch
1576 and pull operations.
1578 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1580 * Makefile.in: Fix up last merge.
1582 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1583 (diff-sentinel): Get them as arguments instead.
1584 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1585 (diff-file-local-copy, diff-better-file-name): New funs.
1586 (diff-no-select): Rename from diff-into-buffer.
1587 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1588 Prefer closures to buffer-local variables.
1589 (diff): Adjust accordingly.
1590 (diff-buffer-with-file): Move from files.el.
1591 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1592 (diff-buffer-internal): Remove.
1593 (diff-buffer-buffer): Remove.
1594 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1595 the buffer name used, and so as not to mess up windows and frames.
1597 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1599 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1600 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1601 (diff-buffer-with-file): Use it.
1602 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1605 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1607 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1608 \ref's or \pageref's value as default instead of initial input.
1610 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1612 * files.el (backup-by-copying-when-mismatch): The default value is
1615 * startup.el (normal-top-level):
1616 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1617 `backup-by-copying-when-mismatch'.
1619 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1621 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1623 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1625 * progmodes/python.el (python-font-lock-keywords):
1626 Highlight top-level augmented assignments (Bug#6445).
1628 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1630 * term/ns-win.el (ns-right-control-modifier)
1631 (ns-right-command-modifier): Defvar them.
1633 * cus-start.el (all): Add ns-right-control-modifier and
1634 ns-right-command-modifier (Bug#7458).
1636 2010-11-20 Glenn Morris <rgm@gnu.org>
1638 * emacs-lisp/authors.el (authors-ignored-files)
1639 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1641 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1643 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1644 (report-emacs-bug-parse-query-results)
1645 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1646 keywords used for querying the bug database to show them in the
1647 existing bugs buffer.
1649 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1651 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1653 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1655 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1657 * international/characters.el (glyphless-char-display-control):
1658 Make it a defcustom, with update-glyphless-char-display as its
1660 (top level): Don't call update-glyphless-char-display.
1662 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1664 Sync with Tramp 2.2.0.
1666 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1667 `file-remote-p' (due to compatibility).
1669 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1670 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1672 * net/trampver.el: Update release number.
1674 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1676 * faces.el (glyphless-char): Define value for `pc'.
1678 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1680 Implemented a bug querying mechanism.
1681 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1682 (report-emacs-bug-create-existing-bugs-buffer)
1683 (report-emacs-bug-parse-query-results)
1684 (report-emacs-bug-query-existing-bugs): New functions.
1686 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1688 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1689 a \ref{} or \pageref{} macro, then use its value as initial input.
1691 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1693 * calc/calc-units.el (math-build-units-table-buffer):
1694 calc/README: Mention that the TeX specific units won't use the
1695 `tex' prefix in TeX mode.
1696 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1697 prefix for units in TeX mode.
1699 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * simple.el (kill-new, kill-append, kill-region):
1702 * comint.el (comint-kill-region): Make the yank-handler argument
1705 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1707 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1708 that are both openers (resp. closers) and something else.
1709 (smie-grammar): Loosen definition of valid values.
1710 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1711 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1712 (smie-indent-after-keyword): Adjust users.
1713 (smie-indent-keyword): Don't indent empty lines.
1715 * vc-hg.el (vc-hg-program): New var.
1716 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1717 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1719 2010-11-18 Glenn Morris <rgm@gnu.org>
1721 * emacs-lisp/autoload.el (autoload-find-destination): The function
1722 coding-system-eol-type may return non-numeric values. (Bug#7414)
1724 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1726 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1728 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1730 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1732 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1734 * textmodes/picture.el (picture-mouse-set-point): Don't use
1735 posn-col-row; explicitly compute the motion based on the posn at
1736 the window-start (Bug#7390).
1738 2010-11-18 Glenn Morris <rgm@gnu.org>
1740 * novice.el (disabled-command-function):
1741 Fix 2009-11-15 change. (Bug#7384)
1743 2010-11-18 Glenn Morris <rgm@gnu.org>
1745 * calendar/calendar.el (diary-iso-date-forms): Make elements
1746 mutually exclusive. (Bug#7377)
1748 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1750 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1751 when filling the remaining "unconstrained" values.
1753 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1758 * files.el (safe-local-variable-p): Gracefully handle errors.
1760 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1761 Use smie-indent-virtual when indenting relative to an opener.
1762 (smie-rule-separator): Use smie-rule-parent.
1763 (smie-indent-keyword): Consult rules, even for openers at bol.
1764 (smie-indent-comment-close): Try to align closer's content.
1766 2010-11-18 Glenn Morris <rgm@gnu.org>
1768 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1770 2010-11-18 Glenn Morris <rgm@gnu.org>
1772 * printing.el (pr-menu-bind): Doc fix.
1774 * speedbar.el (speedbar-toggle-images): Doc fix.
1776 * progmodes/python.el (python-shell): Doc fix.
1778 * wid-edit.el (widget-field-use-before-change)
1779 (widget-use-overlay-change): Doc fixes.
1781 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1783 Minor cleanup to improve style.
1784 * textmodes/rst.el (rst-update-section): Use point-marker.
1785 (rst-get-decoration): Eliminate unneeded assignment.
1786 (rst-promote-region, rst-straighten-decorations)
1787 (rst-section-tree, rst-adjust): Use point-marker.
1788 (rst-toc-mode-mouse-goto): Avoid setq.
1789 (rst-shift-region-guts, rst-shift-region-left)
1790 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1791 (rst-convert-bullets-to-enumeration): Use copy-marker.
1793 * minibuffer.el (completion-fail-discreetly): New var.
1794 (completion--do-completion): Use it.
1796 * electric.el (electric-pair-pairs): New var.
1797 (electric-pair-post-self-insert-function): Use it.
1798 (electric-layout-post-self-insert-function): Don't insert a before
1799 newline unless it's actually needed.
1801 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1803 * progmodes/python.el (run-python): Explain why we remove the current
1804 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1806 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1808 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1810 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1811 (octave-mode-map): Don't bind ;, SPC, and LF.
1812 (octave-auto-indent, octave-auto-newline): Remove.
1813 (electric-layout-rules): Declare.
1814 (octave-mode): Set electric-layout-rules.
1815 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1816 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1817 (octave-electric-space): Remove.
1819 * electric.el (electric-layout-mode): New minor mode.
1820 (electric--after-char-pos): New function.
1821 (electric-indent-post-self-insert-function): Use it.
1822 (electric-layout-rules): New var.
1823 (electric-layout-post-self-insert-function): New function.
1824 (electric-indent-mode): Make them interact better.
1826 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1828 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1829 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1830 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1832 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1834 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1835 Make sure to check inside the word (Bug#6761).
1837 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1839 * startup.el (command-line): If the cursorColor resource is set,
1840 change the cursor face-spec (Bug#7392).
1842 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1844 The main features of the following allout.el changes are:
1845 - implement user customization for the allout key bindings
1846 - add a customization control by which the user can inhibit use of
1847 a trailing Ctrl-H, so by default it's reserved for use with
1848 describe-prefix-bindings
1849 - adapt to new version of called-interactively-p, while
1850 maintaining backwards compatibility with old version
1851 - fix hotspot navigation so i works properly with meta-modified keys
1853 * allout.el (allout-keybindings, allout-bind-keys)
1854 (allout-keybindings-binding, allout-prefixed-keybindings)
1855 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1856 (allout-keybindings-list, allout-mode-map-adjustments)
1857 (allout-setup-mode-map): Establish allout-mode keymaps as user
1858 customizable settings, and also establish a customizable setting which
1859 regulates whether or not a trailing control-h is reserved for use with
1860 describe-prefix-bindings - and inhibit it by default, so that control-h
1861 *is* reserved for describe-prefix-bindings unless the user changes it.
1863 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1864 and accurately between modified and unmodified events, and handle
1865 modified events more comprehensively.
1867 * allout.el (allout-substring-no-properties):
1868 Alias to use or provide version of `substring-no-properties'.
1869 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1871 * allout.el (allout-next-single-char-property-change):
1872 Alias to use or provide version of `next-single-char-property-change'.
1873 (allout-annotate-hidden, allout-hide-by-annotation):
1874 Use `allout-next-single-char-property-change'.
1876 * allout.el (allout-select-safe-coding-system):
1877 Alias to use or provide version of `select-safe-coding-system'.
1878 (allout-toggle-subtree-encryption):
1879 Use `allout-select-safe-coding-system'.
1881 * allout.el (allout-set-buffer-multibyte):
1882 Alias to use or provide version of `set-buffer-multibyte'.
1883 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1885 * allout.el (allout-called-interactively-p): Macro for using the
1886 different versions of called-interactively-p identically, depending on
1887 the subroutine's argument signature.
1888 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1889 Use `(interactive "p")' instead of `(called-interactively-p)'.
1891 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1892 (allout-previous-visible-heading, allout-forward-current-level)
1893 (allout-backward-current-level, allout-show-children):
1894 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1896 * allout.el (allout-before-change-handler):
1897 Exempt edits to the (overlaid) character after the allout outline
1898 bullet from edit confirmation prompt.
1900 * allout.el (allout-add-resumptions):
1901 Ensure that it respects correct buffer for keybindings.
1903 * allout.el (allout-beginning-of-line):
1904 Use `allout-previous-single-char-property-change' alias for the sake of
1905 diverse compatibility.
1907 * allout.el (allout-end-of-line):
1908 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1910 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1912 * frame.el (frame-notice-user-settings): Don't clobber other
1913 user-set parameters when calling face-set-after-frame-default in
1914 response to background-color parameter (Bug#7373).
1916 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1918 * international/characters.el (glyphless-char-display-control):
1919 Rename from glyphless-char-control; all users changed. Doc fix.
1920 Signal an error if display method is not one of the recognized
1923 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1925 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1926 (tramp-compat-line-end-position): Remove them.
1928 * net/tramp.el (tramp-parse-rhosts-group)
1929 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1930 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1931 (tramp-parse-netrc-group, tramp-parse-putty-group)
1932 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1933 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1934 (tramp-sh-handle-file-selinux-context)
1935 (tramp-sh-handle-file-name-all-completions)
1936 (tramp-sh-handle-insert-directory)
1937 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1938 (tramp-wait-for-output, tramp-send-command-and-read)
1939 * net/tramp-smb.el (tramp-smb-read-file-entry)
1940 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1942 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1944 (tramp-remote-coding-commands): Add an alternative using "base64
1945 -d -i". This is needed for older base64 versions from GNU
1946 coreutils. Reported by Klaus Reichl
1947 <Klaus.Reichl@thalesgroup.com>.
1949 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1951 * simple.el (count-words-region): New function.
1953 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * shell.el (shell-dir-cookie-re): New custom variable.
1956 (shell-dir-cookie-watcher): New function.
1958 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1959 and compilation-mode (bug#7350).
1961 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1962 highlight when one of them is empty.
1964 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1966 (skeleton-newline): New function.
1967 (skeleton-internal-1): Use it.
1969 * simple.el (open-line): `newline' may strip trailing space.
1971 2010-11-12 Kevin Ryde <user42@zip.com.au>
1973 * international/mule-cmds.el (princ-list): Use mapc.
1975 2010-11-12 Glenn Morris <rgm@gnu.org>
1977 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1978 Use it to replace all instances of "*Compile-Log*"
1980 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1982 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1985 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1987 * progmodes/modula2.el: Use SMIE and skeleton.
1988 (m2-mode-syntax-table): (*..*) can be nested.
1989 Add //...\n. Fix paren syntax.
1990 (m2-mode-map): Remove LF and TAB bindings.
1991 (m2-indent): Add safety property.
1992 (m2-smie-grammar): New var.
1993 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1994 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1995 (m2-mode): Use define-derived-mode.
1996 (m2-newline, m2-tab): Remove.
1997 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1998 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1999 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2000 (m2-import): Use define-skeleton.
2002 2010-11-11 Glenn Morris <rgm@gnu.org>
2004 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2006 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2007 (ls-lisp-verbosity): Add custom :set-after property.
2008 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2009 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2010 (ls-lisp-insert-directory): Update caller.
2011 (ls-lisp-set-options): New function.
2012 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2015 * play/landmark.el (lm-prompt-for-move):
2016 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2018 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2020 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2021 (idlwave-study-twins): Prefix dynamic local variable `name'.
2022 (idlwave-routine-twin-compare): Update for above change.
2024 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2025 Prefix dynamic local variables `name', `kwd', and `link'.
2026 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2027 * progmodes/idlw-complete-structtag.el
2028 (idlwave-complete-structure-tag-help):
2029 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2030 (idlwave-complete-sysvar-tag-help)
2031 (idlwave-complete-class-structure-tag-help):
2032 Update for above name changes.
2034 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2036 * net/browse-url.el (browse-url-browser-function): Change the
2037 default to use `browse-url-mail' on mailto: URLs.
2039 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2041 * emacs-lisp/package.el (package-read-all-archive-contents):
2042 Reset package-archive-contents to nil before re-reading.
2044 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2046 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2047 already found as misspellings by (flyspell-large-region), just
2048 do highlighting (bug#7322).
2050 2010-11-10 Glenn Morris <rgm@gnu.org>
2052 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2054 * emulation/edt.el (edt-with-position): New macro.
2055 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2056 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2057 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2059 * emulation/tpu-extras.el (tpu-with-position): New macro.
2060 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2062 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2064 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2065 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2066 (texinfo-master-menu, texinfo-insert-node-lines)
2067 (texinfo-multiple-files-update):
2068 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2069 Use line-beginning-position.
2071 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2072 No recent Emacs supports system-type `emx'.
2074 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2075 (ada-command-separator, ada-default-prj-properties)
2076 (ada-find-any-references): Update for above name change.
2078 * dirtrack.el (dirtrack-directory-function)
2079 (dirtrack-canonicalize-function):
2080 * filecache.el (file-cache-completion-ignore-case)
2081 (file-cache-case-fold-search, file-cache-ignore-case):
2082 * term.el (serial-port-is-file-p): Cosmetic change.
2084 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2085 Remove non-existent `windows-95' system-type.
2086 * dired.el (dired-chown-program): Remove non-existent `linux'
2089 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2090 (ping-program-options): Remove non-existent `linux' system-type.
2092 * startup.el (package-initialize): Update declaration.
2094 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2095 (ls-lisp-handle-switches): Use time-less-p.
2096 (ls-lisp-format-time): Use float-time.
2098 * textmodes/remember.el (remember-time-to-seconds): Remove.
2099 (remember-store-in-mailbox): Use float-time.
2101 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2103 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2104 never a real function.
2105 (with-no-warnings): Remove compat stub, now unused.
2106 (time-less-p): Doc fix.
2107 (time-to-number-of-days): Simplify.
2109 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2111 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2112 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2113 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2114 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2115 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2117 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2118 (eshell-shuffle-files, eshell-shorthand-tar-command)
2119 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2120 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2121 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2122 Prefix dynamic local variable `matches'.
2124 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2125 Prefix dynamic local variable `skeleton'.
2127 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2129 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2130 in mail buffer; make yank-action always a command that yanks original
2133 2010-11-09 Glenn Morris <rgm@gnu.org>
2135 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2137 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2139 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2140 completion field (bug#7211).
2142 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2143 Fix handling of backslash escapes.
2144 (python-quote-syntax): Adjust accordingly.
2146 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2148 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2149 (vc-mtn-workfile-branch): Adjust to new output format.
2151 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * international/mule-cmds.el (princ-list): Mark as obsolete.
2155 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * emacs-lisp/smie.el: New package.
2159 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2161 * files.el (backup-by-copying-when-mismatch):
2162 Set `permanent-local' property.
2164 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2165 `permanent-local' property for `backup-by-copying-when-mismatch'.
2167 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2169 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2171 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2173 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2174 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2175 AUTOINOUT for SV style multidimensional arrays, bug294.
2176 Reported by Eric Mastromarchi.
2177 (verilog-preprocess): Use with-current-buffer and
2178 font-lock-fontify-buffer to cleanup style issues.
2180 2010-11-09 Glenn Morris <rgm@gnu.org>
2182 * locate.el (locate, locate-mode): Doc fixes.
2184 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2186 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2187 user for confirmation.
2188 (server-force-stop): Use it.
2189 (server-start): Use server-force-stop for kill-emacs-hook, to
2190 avoid user interaction while killing Emacs.
2192 2010-11-09 Glenn Morris <rgm@gnu.org>
2194 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2195 (meta-indent-line): Simplify.
2197 * vc/emerge.el (emerge-line-number-in-buf):
2198 * textmodes/ispell.el (ispell-region):
2199 * textmodes/fill.el (current-fill-column):
2200 * progmodes/xscheme.el (xscheme-send-current-line):
2201 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2202 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2203 * progmodes/sh-script.el (sh-handle-prev-do):
2204 * progmodes/meta-mode.el (meta-indent-line):
2205 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2207 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2208 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2209 * progmodes/fortran.el (fortran-looking-at-if-then):
2210 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2211 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2212 (cperl-find-pods-heres):
2213 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2214 * net/quickurl.el (quickurl-list-insert):
2215 * net/ldap.el (ldap-search-internal):
2216 * net/eudc.el (eudc-expand-inline):
2217 * mail/sendmail.el (sendmail-send-it):
2218 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2219 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2220 (viper-brac-function):
2221 * calc/calc-yank.el (calc-do-grab-region):
2222 * calc/calc-keypd.el (calc-keypad-press):
2223 * term.el (term-move-columns, term-insert-spaces):
2224 * speedbar.el (speedbar-highlight-one-tag-line):
2225 * simple.el (current-word):
2226 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2227 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2229 * hippie-exp.el (he-line-beg):
2230 * epa.el (epa--marked-keys):
2231 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2232 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2233 (dired-relist-entry):
2234 * buff-menu.el (Buffer-menu-buffer):
2235 * array.el (current-line):
2236 * allout.el (allout-resolve-xref)
2237 (allout-latex-verbatim-quote-curr-line):
2238 Replace yet more uses of end-of-line etc with line-end-position, etc.
2240 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2242 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2243 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2244 (checkdoc-syntax-table): Initialize in the declaration.
2245 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2246 the mode on unconditionally.
2248 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2249 (extent-end-position, extent-start-position): Remove setf method for
2250 non-existing functions (bug#7319).
2252 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2255 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2256 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2257 (smie-prec2->grammar): Rename from smie-prec2-levels.
2258 (smie-grammar): Rename from smie-op-levels.
2259 (smie-indent--hanging-p): Rename from smie-hanging-p.
2260 (smie-rule-hanging-p): New alias.
2261 (smie-indent--bolp): Rename from smie-bolp.
2262 (smie-indent--hanging-p): New alias.
2263 (smie--token): New dynamically bound variable.
2264 (smie-indent--parent): New function.
2265 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2266 (smie-rule-next-p): Rename from smie-next-p.
2267 (smie-rule-prev-p): Rename from smie-prev-p.
2268 (smie-rule-sibling-p, smie-rule-parent)
2269 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2270 (smie-rule-separator-outdent): New var.
2271 (smie-indent--rule): Merge with smie-indent--column.
2272 (smie-indent-forward-token, smie-indent-backward-token):
2273 Also recognize close parens.
2274 (smie-indent-keyword): Don't use smie-indent--column any more.
2275 (smie-indent-after-keyword): Ignore closers by default.
2276 (smie-indent-line): Use with-demoted-errors.
2277 * progmodes/octave-mod.el (octave-smie-grammar):
2278 Rename from octave-smie-op-levels.
2279 (octave-smie-rules): Adjust to new behavior.
2280 * progmodes/prolog.el (prolog-smie-grammar):
2281 Rename from prolog-smie-op-levels.
2283 2010-11-07 Glenn Morris <rgm@gnu.org>
2285 * eshell/esh-util.el (subst-char-in-string)
2286 (directory-files-and-attributes): These compatibility definitions are
2287 not needed on any version of Emacs since at least 21.4.
2289 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2290 (verilog-get-end-of-line): Remove.
2291 (verilog-within-string, verilog-re-search-forward-substr)
2292 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2293 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2294 Use point-at-bol, point-at-eol.
2295 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2297 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2298 (electric-pascal-terminate-line, pascal-set-auto-comments)
2299 (pascal-indent-paramlist, pascal-indent-declaration)
2300 (pascal-get-lineup-indent, pascal-func-completion)
2301 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2302 Use point-at-bol, point-at-eol.
2303 * progmodes/flymake.el (flymake-line-beginning-position)
2304 (flymake-line-end-position): Remove.
2305 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2306 * eshell/esh-util.el (line-end-position, line-beginning-position):
2307 Remove compat definitions.
2309 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2311 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2312 Use line-end-position.
2314 * emacs-lisp/chart.el (chart-zap-chars):
2315 * play/decipher.el (decipher-set-map):
2316 * progmodes/ada-mode.el (ada-get-current-indent)
2317 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2318 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2319 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2320 (ada-get-all-references):
2321 * progmodes/cperl-mode.el (cperl-electric-paren)
2322 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2323 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2324 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2325 (cperl-word-at-point-hard):
2326 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2327 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2328 (idlwave-shell-display-line):
2329 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2330 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2331 * progmodes/js.el (js--re-search-forward-inner)
2332 (js--re-search-backward-inner):
2333 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2334 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2335 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2336 * textmodes/flyspell.el (flyspell-process-localwords):
2337 * textmodes/ispell.el (ispell-buffer-local-parsing)
2338 (ispell-buffer-local-dict, ispell-buffer-local-words):
2339 Use point-at-bol and point-at-eol.
2341 * speedbar.el (speedbar-generic-item-info)
2342 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2343 (speedbar-add-indicator, speedbar-check-vc-this-line)
2344 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2345 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2346 Replace more uses of end-of-line etc with line-end-position.
2348 2010-11-06 Glenn Morris <rgm@gnu.org>
2350 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2351 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2352 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2353 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2354 (texinfo-multiple-files-update):
2355 * textmodes/table.el (table--probe-cell-left-up)
2356 (table--probe-cell-right-bottom):
2357 * textmodes/picture.el (picture-tab-search):
2358 * textmodes/page-ext.el (pages-copy-header-and-position)
2359 (pages-directory-for-addresses):
2360 * progmodes/vera-mode.el (vera-get-offset):
2361 * progmodes/simula.el (simula-calculate-indent):
2362 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2363 * progmodes/prolog.el (end-of-prolog-clause):
2364 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2365 * progmodes/icon.el (indent-icon-exp):
2366 * progmodes/etags.el (tag-re-match-p):
2367 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2368 * progmodes/ebnf2ps.el (ebnf-begin-file):
2369 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2370 (dcl-save-local-variable):
2371 * play/life.el (life-setup):
2372 * play/gametree.el (gametree-looking-at-ply):
2373 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2374 * mail/sendmail.el (mail-mode-auto-fill):
2375 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2376 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2377 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2378 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2379 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2380 * type-break.el (type-break-file-keystroke-count):
2381 * term.el (term-replace-by-expanded-history-before-point)
2382 (term-skip-prompt, term-extract-string):
2383 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2384 (speedbar-contract-line, speedbar-toggle-line-expansion)
2385 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2386 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2387 * sort.el (sort-skip-fields):
2388 * skeleton.el (skeleton-internal-list):
2389 * simple.el (line-move-finish, line-move-to-column):
2390 * shell.el (shell-forward-command):
2391 * misc.el (copy-from-above-command):
2392 * makesum.el (double-column):
2393 * ebuff-menu.el (electric-buffer-update-highlight):
2394 * dired.el (dired-move-to-end-of-filename):
2395 * dframe.el (dframe-popup-kludge):
2396 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2397 * arc-mode.el (archive-get-lineno):
2398 Use line-end-position and line-beginning-position.
2400 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2401 (idlwave-study-twins): Prefix dynamic local `class'.
2402 (idlwave-routine-twin-compare): Update for above name change.
2404 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2405 Use boundp tests to silence compiler. Update for changed name of
2406 bytecomp-filename variable.
2408 * emulation/viper-cmd.el (viper-read-string-with-history):
2409 Prefix dynamic local `initial'.
2410 (viper-minibuffer-standard-hook): Update for above name change.
2412 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2413 (elint-init-form): Update for above name change.
2415 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2416 local variables `cbeg' and `cend' a prefix.
2417 (mail-extr-voodoo): Update for above name change.
2419 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2420 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2421 (reftex-toc-promote-action): Doc fix.
2423 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2424 `prompt', `data' a prefix.
2425 (reftex-select-post-command-hook, reftex-select-callback)
2426 (reftex-select-mouse-accept, reftex-select-read-cite):
2427 Update for above name changes.
2429 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2430 `refstyle' to reftex-refstyle.
2431 (reftex-offer-label-menu): Update for above name change.
2432 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2433 `refstyle' name change.
2435 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2436 with with-current-buffer.
2437 (diff, template): Give dynamic local variables a prefix.
2438 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2439 (emerge-line-number-in-buf): Update for above name change.
2440 (emerge-combine-versions-internal): Rename local `template' to
2441 emerge-combine-template.
2442 (emerge-combine-versions-edit): Update for above name change.
2444 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2446 * textmodes/reftex-cite.el
2447 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2448 entries with whitespace after \bibitem.
2449 (reftex-create-bibtex-file): Match entries containing numbers and
2450 symbol constituents. Make sure that entries with whitespace at
2451 various places are found.
2453 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2455 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2457 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2459 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2461 2010-11-05 Glenn Morris <rgm@gnu.org>
2463 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2464 (woman2-roff-buffer): Give local variable `request' a prefix.
2465 (woman0-macro): Rename argument `request' in the same way.
2466 (woman-request): New name for `request' dynamic variable.
2467 (woman-unquote, woman-forward-arg): Update for above name change.
2468 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2469 (woman1-unquote): New name for `unquote' dynamic variable.
2470 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2471 (woman-translations): Rename from `translations'. No longer global.
2472 (woman2-tr, woman-translate): Update for above name change.
2473 (woman-translate): Check for bound variable.
2474 (woman2-roff-buffer): Give local variable `translations' a prefix.
2476 * play/doctor.el: Give all local variables a prefix. Update callers.
2477 (doc$, doctor-put-meaning): Use backquote.
2479 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2480 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2482 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2483 variables bytes, ptr, op a prefix.
2484 (disassemble-offset): Update for above change.
2486 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2488 * emacs-lisp/package.el (package-unpack): Remove no-op.
2489 (package--builtins, package--dir): Doc fix.
2490 (package-activate-1, package-activate, package-install)
2491 (package-compute-transaction): Fix error message.
2492 (package-delete): Use delete-directory. Omit system packages.
2493 (package-initialize): Set package-alist to nil first.
2494 (package-menu-mark-delete, package-menu-mark-install): Don't add
2495 symbols that are inconsistent with the package state.
2496 (package-menu-execute): Perform deletions and installations as
2497 single batch operations.
2499 2010-11-03 Glenn Morris <rgm@gnu.org>
2501 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2502 (props): Remove unnecessary declaration.
2504 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2505 set-process-query-on-exit-flag.
2507 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2508 (reftex-toc-do-promote): Remove unused local `mpos'.
2509 (reftex-toc-restore-region): Make `mpos' local to this function.
2511 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2513 * play/landmark.el (lm-losing-threshold): Correct spelling.
2514 (lm-human-plays): Use new name.
2516 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2517 (gomoku-human-plays): Use new name.
2519 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2520 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2521 (gomoku-score-trans-table, gomoku-winning-threshold)
2522 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2524 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2526 * emacs-lisp/package.el: Don't put built-in packages in
2527 package-alist, to avoid loading inefficiencies.
2528 (package-built-in-p): Make VERSION optional, and treat it as a
2529 minimum acceptable version.
2530 (package-activate): Search separately for built-in packages.
2531 Emit a warning if a dependency fails.
2532 (define-package): Handle most common case, where there is no
2533 obsolete package, first.
2534 (package-compute-transaction): Print required version in error.
2535 (package--initialized): New variable.
2536 (list-packages): Use it.
2537 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2538 built-in packages in packages-alist; keep it separate.
2539 Set package--initialized.
2540 (describe-package): Avoid activating packages as a side-effect.
2541 Search separately for built-in packages.
2542 (describe-package-1): Handle the case where an elpa package is
2543 simultaneously built-in and available/installed.
2544 (package-installed-p, package--generate-package-list):
2545 Search separately for built-in packages.
2546 (package-load-descriptor): Doc fix.
2548 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2551 Handle __DATA__ and __END__.
2553 2010-11-02 Noah Friedman <friedman@splode.com>
2555 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2556 nil, do not ask to recompile files that are not already compiled,
2557 and do not recompile them.
2559 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2561 * emacs-lisp/package.el (package-initialize): Ensure that
2562 obsoleted built-in packages are not in package-activated-list
2564 (describe-package-1): Make the "installed" status override
2567 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2569 * subr.el (version-separator, version-regexp-alist): Remove '*'
2571 (version-list-<=, version<=, version=): Doc fix.
2573 2010-11-01 Kenichi Handa <handa@m17n.org>
2575 * faces.el (glyphless-char): Inherit underline for tty.
2577 2010-11-01 Kenichi Handa <handa@m17n.org>
2579 Implement various display methods for glyphless characters.
2581 * international/characters.el (char-acronym-table): New variable.
2582 (glyphless-char-control): New variable.
2583 (update-glyphless-char-display): New funciton.
2585 * faces.el (glyphless-char): New face.
2587 2010-11-01 Glenn Morris <rgm@gnu.org>
2589 * calendar/holidays.el (general-holidays, oriental-holidays)
2590 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2591 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2592 the definitions of their targets.
2594 * emacs-lisp/smie.el (smie): New custom group.
2595 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2597 * faces.el (xw-defined-colors, x-setup-function-keys):
2598 * mouse-sel.el (x-select-text):
2599 * term/w32console.el (x-setup-function-keys): Update declarations.
2601 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2603 * textmodes/ispell.el (comment-add): Declare.
2605 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2608 * info.el (finder-keywords-hash, package-alist): Declare.
2610 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2612 * finder.el (finder-compile-keywords): Don't use intern-soft,
2613 since package names may not yet exist in the obarray.
2615 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2617 * vc/vc-arch.el (vc-arch-checkin):
2618 * vc/vc-cvs.el (vc-cvs-checkin):
2619 * vc/vc-mtn.el (vc-mtn-checkin):
2620 * vc/vc-rcs.el (vc-rcs-checkin):
2621 * vc/vc-sccs.el (vc-sccs-checkin):
2622 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2623 since 2010-04-21 commit by Stefan Monnier.
2625 2010-11-01 Glenn Morris <rgm@gnu.org>
2627 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2629 * startup.el (package-enable-at-startup, package-initialize):
2632 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2635 2010-10-31 Julien Danjou <julien@danjou.info>
2637 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2638 (byte-recompile-directory):
2639 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2640 Use `byte-recompile-file'.
2642 2010-10-31 Glenn Morris <rgm@gnu.org>
2644 * cus-start.el: Handle standard values via a keyword.
2645 Only set version property if specified.
2646 (cursor-in-non-selected-windows, menu-bar-mode)
2647 (tool-bar-mode, show-trailing-whitespace):
2648 Do not specify standard values.
2649 (transient-mark-mode, temporary-file-directory): Use :standard.
2651 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2653 * term/x-win.el (x-get-selection-value): New function that gets
2654 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2656 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2658 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2659 preserve owner and group when editing files. (Bug#7289)
2661 2010-10-31 Glenn Morris <rgm@gnu.org>
2663 * speedbar.el (speedbar-mode):
2664 * play/fortune.el (fortune-in-buffer, fortune):
2665 * play/gomoku.el (gomoku-mode):
2666 * play/landmark.el (lm-mode):
2667 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2668 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2670 * select.el (x-selection): Mark it as an obsolete alias.
2672 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2674 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2675 major-mode (bug#7284).
2677 2010-10-31 Glenn Morris <rgm@gnu.org>
2679 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2680 rather than just an unused variable that inherits from the real one.
2682 2010-10-31 Alan Mackenzie <acm@muc.de>
2684 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2685 This fixes bug #7185.
2687 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2689 * startup.el (command-line): Search for package directories, and
2690 don't load package.el if none are found.
2692 * emacs-lisp/package.el (describe-package, list-packages):
2693 Call package-initialize if it has not been called yet.
2695 2010-10-30 Alan Mackenzie <acm@muc.de>
2697 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2698 which fontifies the tail of an enum.
2699 (c-basic-matchers-after): Insert a call to the above new function.
2700 This fixes bug #7264.
2702 2010-10-30 Glenn Morris <rgm@gnu.org>
2704 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2705 tool-bar-mode, transient-mark-mode. (Bug#7306)
2706 Include the :set property in the dumped Emacs.
2708 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2710 SMIE: change indent rules format, improve smie-setup.
2711 * emacs-lisp/smie.el (smie-precs-precedence-table)
2712 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2713 Mark them pure so the tables gets built at compile time.
2714 (smie-bnf-precedence-table): Store the closer-alist in the table.
2715 (smie-prec2-levels): Preserve the closer-alist.
2716 (smie-blink-matching-open): Be more forgiving in case of indentation.
2717 (smie-hanging-p): Rename from smie-indent--hanging-p.
2718 (smie-bolp): Rename from smie-indent--bolp.
2719 (smie--parent, smie--after): New dynamic vars.
2720 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2721 (smie-indent-rules): Remove.
2722 (smie-indent--offset-rule): Remove fun.
2723 (smie-rules-function): New var.
2724 (smie-indent--rule): New fun.
2725 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2726 (smie-indent-exps): Use it.
2727 (smie-setup): Setup paren blinking; add keyword args for token
2728 functions; extract closer-alist from op-levels.
2729 (smie-indent-debug-log): Remove var.
2730 (smie-indent-debug): Remove fun.
2731 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2732 (prolog-smie-rules): New fun to replace it.
2733 (prolog-mode-variables): Simplify.
2734 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2735 it's setup automatically.
2736 (octave-smie-indent-rules): Remove.
2737 (octave-smie-rules): New fun to replace it.
2738 (octave-mode): Simplify.
2740 2010-10-29 Glenn Morris <rgm@gnu.org>
2742 * files.el (temporary-file-directory): Remove (already defined in C).
2743 * cus-start.el: Add temporary-file-directory.
2745 * abbrev.el (abbrev-mode):
2746 * composite.el (auto-composition-mode):
2747 * menu-bar.el (menu-bar-mode):
2748 * simple.el (transient-mark-mode):
2749 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2750 that they do not define the associated variables twice.
2751 * simple.el (transient-mark-mode): Remove defvar.
2752 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2753 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2754 Handle multiple groups, and also custom-delayed-init-variables.
2755 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2757 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2759 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2760 (pcase-if): Add one minor optimization.
2761 (pcase-split-equal): Rename from pcase-split-eq.
2762 (pcase-split-member): Rename from pcase-split-memq.
2763 (pcase-u1): Add strings to the member optimization.
2764 Add `guard' variant of predicates.
2765 (pcase-q1): Add string patterns.
2767 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2769 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2771 2010-10-28 Glenn Morris <rgm@gnu.org>
2773 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2774 Move menu-bar related settings to ../menu-bar.el.
2775 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2776 Move ns-specific settings here from term/ns-win.el.
2778 * simple.el (x-selection-owner-p): Remove unused declaration.
2780 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2782 * minibuffer.el (completion-cycling): New var (bug#7266).
2783 (minibuffer-complete, completion--do-completion):
2784 Use completion--flush-all-sorted-completions.
2785 (minibuffer-complete): Only cycle if completion-cycling is set.
2786 (completion--flush-all-sorted-completions): Unset completion-cycling.
2787 (minibuffer-force-complete): Set completion-cycling.
2788 (completion-all-sorted-completions): Move declaration before first use.
2790 2010-10-28 Leo <sdl.web@gmail.com>
2792 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2793 which changes the order of matches seen by users (bug#7231).
2795 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2797 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2798 Don't confuse -omega as "-o mega".
2800 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2802 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2803 (log-edit-author): New dynamic var.
2804 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2805 to return the author if different from committer.
2806 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2808 * play/landmark.el: Adjust commenting convention.
2809 (lm-nil-score): Rename from nil-score.
2810 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2811 (OOOOscore): Move into a let in lm-score-trans-table.
2812 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2814 * electric.el (electric-indent-chars): Autoload.
2815 * progmodes/octave-mod.el (octave-mode):
2816 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2817 (ruby-mode-abbrev-table): Merge initialization and declaration.
2819 2010-10-27 Glenn Morris <rgm@gnu.org>
2821 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2824 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2826 * term/ns-win.el: Restore require of cl when compiling.
2827 (menu-bar-final-items): Remove non-existent `windows' menu.
2828 (ns-handle-nxopen): Optionally handle the temp-case.
2829 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2830 (ns-insert-file, ns-find-file): Use `pop'.
2832 2010-10-26 Glenn Morris <rgm@gnu.org>
2834 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2836 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2838 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2840 * term/common-win.el (x-setup-function-keys): Remove most of the
2841 keymappings. Comment on the remaining ones.
2843 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2845 * server.el (server-port): New option. (Bug#854)
2846 (server-start): Use server-port.
2848 2010-10-26 Glenn Morris <rgm@gnu.org>
2850 * term/ns-win.el (ns-version-string): Remove unused declaration.
2851 (ns-invocation-args): Change to x-invocation-args.
2852 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2853 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2854 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2855 Use x-invocation-args instead of ns-invocation-args.
2856 (ns-initialize-window-system, handle-args-function-alist):
2857 Use x-handle-args instead of ns-handle-args.
2858 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2859 * startup.el (command-line-ns-option-alist): Replace
2860 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2861 ns-handle-iconic with the x- equivalents.
2863 * term/common-win.el (x-select-enable-clipboard):
2864 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2866 * term/ns-win.el: No need to require cl when compiling.
2867 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2868 (xw-defined-colors): Use the common-win definitions.
2869 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2870 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2871 * term/common-win.el (x-select-text, x-alternatives-map)
2872 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2873 * loadup.el [ns]: Load common-win.
2875 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2877 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2878 recipients; expand mail aliases (Bug#7280).
2880 2010-10-25 Glenn Morris <rgm@gnu.org>
2882 * term/common-win.el (x-handle-switch): Simplify with pop.
2883 Optionally handle numeric switches.
2884 (x-handle-numeric-switch): Just call x-handle-switch.
2885 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2886 (x-handle-name-switch, x-handle-display, x-handle-args):
2889 * term/ns-win.el: Do not require easymenu.
2890 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2891 <spell>: Move adjustments to menu-bar.el.
2892 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2893 <separator-undo, spell>: Move ns-win's adjustments here.
2894 * loadup.el [ns]: Do not load easymenu.
2896 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2898 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2901 * startup.el (fancy-startup-tail): Instead of using inline images,
2902 refer to image files from etc/.
2904 * wid-edit.el (checkbox): Likewise.
2905 (widget-image-find): Center image specs.
2907 2010-10-24 Glenn Morris <rgm@gnu.org>
2909 * term/ns-win.el (x-select-text): Doc fix.
2910 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2911 (x-select-text): Move to term/common-win.
2912 * term/w32-win.el (xw-defined-colors): Move to common-win.
2913 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2914 (x-setup-function-keys, x-select-text): Move to common-win.
2915 * term/common-win.el (x-select-text, x-alternatives-map)
2916 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2919 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2921 * net/mairix.el (mairix-searches-mode-map):
2922 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2924 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2926 * verilog-mode.el (verilog-directive-re): Make this variable
2927 auto-built for efficiency of execution and updating.
2928 (verilog-extended-complete-re): Support 'pure' fucntion & task
2929 declarations (these have no bodies).
2930 (verilog-beg-of-statement): General cleanup to enable support of
2931 'pure' fucntion & task declarations (these have no bodies).
2932 These efforts together fix Verilog bug210 from veripool; which was also
2933 noticed by Steve Pearlmutter.
2934 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2935 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2936 Support `elsif. Reported by Shankar Giri.
2937 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2938 attribute handling for lining up declarations and assignments.
2939 (verilog-beg-of-statement-1): Fix issue where continued declaration
2940 is indented differently if it is after a begin..end clock.
2941 (verilog-in-attribute-p, verilog-skip-backward-comments)
2942 (verilog-skip-forward-comment-p): Support proper treatment of
2943 attributes by indent code. Reported by Jeff Steele.
2944 (verilog-in-directive-p): Fix comment to correctly describe function.
2945 (verilog-backward-up-list, verilog-in-struct-region-p)
2946 (verilog-backward-token, verilog-in-struct-p)
2947 (verilog-in-coverage-p, verilog-do-indent)
2948 (verilog-pretty-declarations): Use verilog-backward-up-list as
2949 wrapper around backward-up-list inorder to properly skip comments.
2950 Reported by David Rogoff.
2951 (verilog-property-re, verilog-endcomment-reason-re)
2952 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2953 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2954 of if). Reported by Max Bjurling and
2955 (verilog-calc-1): Fix for clocking block in modport
2956 declaration. Reported by Brian Hunter.
2958 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2960 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2961 (verilog-gate-keywords, verilog-read-sub-decls)
2962 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2963 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2964 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2965 (verilog-read-decls): Fix spaces in V2K module parameters causing
2966 mis-identification as interfaces, bug287.
2967 (verilog-read-decls): Fix not treating "parameter string" as a
2968 parameter in AUTOINSTPARAM.
2969 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2970 treating `elsif similar to `endif inside AUTOSENSE.
2971 (verilog-do-indent): Implement correct automatic or static task or
2972 function end comment highlight. Reported by Steve Pearlmutter.
2973 (verilog-font-lock-keywords-2): Fix highlighting of single
2974 character pins, bug264. Reported by Michael Laajanen.
2975 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2976 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2977 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2978 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2979 (verilog-pretty-expr): Fix interactive arguments, bug272.
2980 Reported by Mark Johnson.
2981 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2982 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2983 bug269. Suggested by Gary Delp.
2984 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2985 (verilog-preprocessor, verilog-set-compile-command):
2986 Create verilog-preprocess and verilog-preprocessor to show
2987 preprocessed output.
2988 (verilog-get-beg-of-line, verilog-get-end-of-line)
2989 (verilog-modi-file-or-buffer, verilog-modi-name)
2990 (verilog-modi-point, verilog-within-string): Move defmacro's
2991 before first use to avoid warning. Reported by Steve Pearlmutter.
2992 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2993 (verilog-colorize-region, verilog-highlight-buffer)
2994 (verilog-highlight-includes, verilog-highlight-modules)
2995 (verilog-highlight-region, verilog-mode): Rename colorize to
2996 highlight to match other packages. Disable module highlighting,
2997 as received speed complaints, reenable for experimentation only
2998 using new verilog-highlight-modules.
2999 (verilog-read-decls): Fix regexp stack overflow in very large
3000 AUTO_TEMPLATEs, bug250.
3001 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3002 (verilog-scan): Create verilog-save-buffer-state to standardize
3003 making insignificant changes that shouldn't call hooks.
3004 (verilog-save-no-change-functions, verilog-save-scan-cache)
3005 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3006 Create verilog-save-no-change-functions to wrap verilog-scan
3007 preservation, and fix to work with nested preserved calls.
3008 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3009 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3010 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3011 (verilog-submit-bug-report): Update variable list to be complete.
3012 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3013 breaking on-the-fly font-locking.
3014 (verilog-colorize-buffer, verilog-colorize-include-files)
3015 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3016 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3017 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3018 AUTOINST cell instance name, middle mouse button now finds-file on
3019 it. Suggested by Brad Dobbie.
3020 (verilog-alw-get-temps, verilog-auto-reset)
3021 (verilog-auto-sense-sigs, verilog-read-always-signals)
3022 (verilog-read-always-signals-recurse): Fix loop indexes being
3023 AUTORESET. AUTORESET now assumes any variables in the
3024 initialization section of a for() should be ignored.
3025 Reported by Dan Dever.
3026 (verilog-error-font-lock-keywords)
3027 (verilog-error-regexp-emacs-alist)
3028 (verilog-error-regexp-xemacs-alist): Fix error detection of
3029 Cadence HAL, reported by David Asher. Repair drift between the
3030 three similar error variables.
3031 (verilog-modi-lookup, verilog-modi-lookup-cache)
3032 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3033 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3034 Fix slow verilog-auto expansion on very large files.
3035 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3036 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3037 "{1*2{...". Broke in last revision.
3038 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3039 submodule connections with replications "{#{a},#{b}}".
3041 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3043 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3044 Fix typo in docstring.
3046 2010-10-24 Kenichi Handa <handa@m17n.org>
3048 * face-remap.el (text-scale-adjust): Call read-event with a proper
3051 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3053 * emacs-lisp/unsafep.el: Don't mark functions that display
3054 messages as safe. Suggested by Johan Bockgård.
3056 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3058 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3059 Turn comments into docstrings.
3061 * minibuffer.el (completion--replace): Move point where it belongs
3062 when there's a common suffix (bug#7215).
3064 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3066 Merge read-color and facemenu-read-color (Bug#7242).
3068 * faces.el (read-color): Use the completion code from
3069 facemenu-read-color. Require match in completion. Doc fix.
3071 * facemenu.el (facemenu-read-color): Alias for read-color.
3072 (facemenu-set-foreground, facemenu-set-background):
3075 * frame.el (set-background-color, set-foreground-color)
3076 (set-cursor-color, set-mouse-color, set-border-color):
3079 2010-10-24 Leo <sdl.web@gmail.com>
3081 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3082 argument of delete-file and delete-directory (Bug#7011).
3084 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3086 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3089 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3091 * emacs-lisp/package.el (package--generate-package-list): Make the
3092 *Packages* buffer read-only.
3094 2010-10-24 Alan Mackenzie <acm@muc.de>
3096 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3097 result of `c-beginning-of-decl-1' between invocations of a lambda
3098 function (Bug #7265).
3100 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3102 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3103 executable is not available on the system (Bug#7268).
3105 2010-10-24 Glenn Morris <rgm@gnu.org>
3107 * select.el (selection-coding-system, next-selection-coding-system):
3108 Sync doc with C versions.
3110 * w32-vars.el (x-select-enable-clipboard):
3111 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3112 * term/common-win.el (x-select-enable-clipboard): Move here.
3114 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3115 definition of C variable.
3117 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3118 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3119 Don't redefine things that are defined in C.
3120 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3121 (show-trailing-whitespace, auto-hscroll-mode)
3122 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3123 Set up the appropriate custom properties.
3125 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3128 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3129 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3130 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3131 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3133 2010-10-23 Glenn Morris <rgm@gnu.org>
3135 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3138 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3139 Sync docs with C version.
3141 * term/ns-win.el (xw-defined-colors):
3142 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3144 * term/pc-win.el (x-select-enable-clipboard):
3145 * term/x-win.el (x-select-enable-clipboard):
3146 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3148 * comint.el (comint-password-prompt-regexp): Make it less vague.
3151 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3153 * help.el (finder-by-keyword): Remove unnecessary autoload.
3155 2010-10-22 Glenn Morris <rgm@gnu.org>
3157 * loadup.el: Unconditionally load float-sup.
3158 * paren.el (show-paren-delay):
3159 * emacs-lisp/float-sup.el:
3160 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3161 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3162 (lazy-lock-stealth-verbose): Assume float support.
3163 * ps-print.el: Assume float support on Emacs.
3164 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3165 Remove non-float branch.
3167 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3168 src/Makefile no longer being pre-processed.
3170 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3172 * emacs-lisp/find-func.el (find-library): Use test-completion.
3174 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3176 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3178 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3180 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3181 space in stat format string.
3182 (tramp-send-command): Unset $PS1 when using here documents, in
3183 order not to get several prompts.
3184 (tramp-get-inline-coding): Return `nil' in case of errors.
3186 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3188 * hexl.el (hexl-mode, hexl-mode-exit):
3189 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3190 (hexl-revert-buffer-function): New function.
3191 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3193 2010-10-19 Alan Mackenzie <acm@muc.de>
3195 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3196 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3197 that these keywords aren't wrongly matched as identifiers.
3199 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3200 setting of c-new-BEG and c-new-END from c-before-change to
3201 c-after-change. (Bug#7181)
3203 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3205 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3208 * custom.el (custom-theme-set-variables): Likewise.
3209 (load-theme): Add custom-theme-set-faces and
3210 custom-theme-set-variables to safe-functions while loading.
3211 (custom-enabled-themes): Mark as risky.
3213 2010-10-18 Julien Danjou <julien@danjou.info>
3215 * bindings.el: Remove end dashes in default mode-line-format.
3217 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3219 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3220 to delete-forward-char.
3222 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3223 deletechar, and hence delete-forward-char.
3225 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * repeat.el (repeat): Use read-key (bug#6256).
3229 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3231 * emacs-lisp/unsafep.el: Don't mark functions that display
3232 messages as safe. Suggested by Johan Bockgård.
3234 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3236 * minibuffer.el (completion--replace): Move point where it belongs
3237 when there's a common suffix (bug#7215).
3239 2010-10-19 Kenichi Handa <handa@m17n.org>
3241 * international/characters.el: Add category '|' (word breakable)
3242 to fullwidth characters.
3244 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3246 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3247 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3248 order to make stat results a float. Patch by Andreas Schwab
3249 <schwab@linux-m68k.org>.
3251 2010-10-18 Julien Danjou <julien@danjou.info>
3253 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3254 hidden by `make-pointer-invisible'.
3256 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3258 * files.el (locate-file-completion-table): Strip non-matching elements
3259 before checking length of list (bug#7238).
3261 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3263 * custom.el (custom-theme-set-variables): Mark as a safe function.
3264 (load-theme): Check forms using unsafep.
3266 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3268 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3270 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3271 Fix aspell data file searching (bug#7230).
3273 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3275 * cus-theme.el (custom-theme--migrate-settings): New var.
3276 (customize-create-theme): Allow editing the `user' theme.
3277 (custom-theme-add-variable, custom-theme-add-var-1)
3278 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3279 to the front of each variable or face widget.
3280 (custom-theme-write): Save theme settings in the correct order.
3281 Optionally, remove saved settings from user customizations.
3282 (custom-theme-write-variables, custom-theme-write-faces):
3283 Save only the checked widgets.
3284 (customize-themes): Add a link for migrating custom settings.
3286 * custom.el (custom-declare-theme, provide-theme):
3287 Use custom-theme-name-valid-p.
3288 (custom-theme-name-valid-p): Remove checks that are now
3289 unnecessary since themes no longer obey load-path.
3291 * cus-edit.el (custom-variable-value-create): For the simple
3292 style, hide documentation string when hidden.
3294 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3296 * cus-edit.el (custom-variable, custom-face): Combine the
3297 :inhibit-magic and :display-style properties into a single
3298 :custom-style property.
3299 (custom-toggle-hide-variable, custom-toggle-hide-face):
3300 New functions. If hiding an edited value, save it to :shown-value.
3301 (custom-variable-value-create, custom-face-value-create): Use them.
3302 (custom-magic-reset): Allow magic property to be unset.
3304 * custom.el: Custom themes no longer use load-path.
3305 (custom-theme-load-path): New option. Change built-in theme
3307 (custom-enabled-themes): Add custom-theme-load-path dependency.
3308 (custom-theme--load-path): New function.
3309 (load-theme, custom-available-themes): Use it.
3311 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3312 (customize-themes): Link to custom-theme-load-path variable.
3313 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3314 :custom-style property.
3316 * themes/*.el: Moved to etc/.
3318 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3320 * textmodes/reftex-cite.el
3321 (reftex-extract-bib-entries-from-thebibliography): Do not move
3322 point when searching for \bibitem entries. Match entries with
3323 spaces or tabs in front of arguments.
3325 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3327 * cus-theme.el (customize-create-theme): Delete overlays after
3328 erasing. If given a THEME arg, display only the faces of that arg
3329 instead of custom-theme--listed-faces.
3330 (custom-theme-variable-menu, custom-theme-variable-action)
3331 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3332 (custom-theme-add-variable, custom-theme-add-face): Apply value
3333 from the theme settings, instead of the current value.
3334 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3335 (custom-theme-visit-theme): Allow calling outside theme buffers.
3336 (custom-theme-merge-theme): Don't enable the theme when merging.
3337 (custom-theme-write-variables, custom-theme-write-faces): Use the
3338 :shown-value properties to save buffer values, not global ones.
3339 (customize-themes): Display a warning about user customizations.
3341 * cus-edit.el (custom-variable-value-create)
3342 (custom-face-value-create): Obey new special properties
3343 :shown-value and :inhibit-magic.
3345 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3347 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3348 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3351 2010-10-14 Kenichi Handa <handa@m17n.org>
3353 * mail/rmail.el (rmail-show-message-1): Catch an error of
3354 base64-decode-region and just show an error message (bug#7165).
3356 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3357 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3358 a font-spec (bug#7197).
3360 2010-10-14 Glenn Morris <rgm@gnu.org>
3362 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3364 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3366 * international/mule.el (define-coding-system):
3367 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3368 * composite.el (compose-region): Fix typo in docstring.
3370 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3372 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3373 only after checking the theme-face property.
3375 * faces.el (face-spec-reset-face): Reset all attributes in one
3376 single call to set-face-attribute.
3377 (face-spec-match-p): Make it a defsubst.
3378 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3379 (x-create-frame-with-faces, tty-create-frame-with-faces)
3380 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3381 frame-set-background-mode, since they are recomputed immediately
3382 afterwards in face-set-after-frame-default.
3383 (face-set-after-frame-default): Minor optimization.
3384 (cursor): Provide non-trivial defface spec.
3386 * custom.el (custom-theme-recalc-face): Simplify.
3388 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3390 * calc/calc-alg.el (math-var): Rename from `var'.
3391 (math-is-polynomial, math-is-poly-rec): Replace `var'
3394 * calc/calcalg2.el (math-var): Rename from `var'.
3395 (calcFunc-table, math-scan-for-limits): Replace `var'
3398 2010-10-13 Glenn Morris <rgm@gnu.org>
3400 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3402 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3404 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3406 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3408 * net/tls.el (tls-program): Remove spurious %s from openssl.
3409 (tls-starttls-switches): Remove starttls hack.
3410 (open-tls-stream): Ditto.
3411 (tls-find-starttls-argument): Ditto.
3413 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3415 * image.el (image-library-alist): Declare as obsolete alias.
3416 (image-type-available-p): Use `dynamic-library-alist'.
3418 * term/w32-win.el (dynamic-library-alist):
3419 Use instead of `image-library-alist'.
3421 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3423 * subr.el (last): Make it faster. (Bug#7174)
3425 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3427 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3429 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3431 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3432 (describe-theme-1): Extract doc from unloaded themes.
3434 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3436 * themes/tango-theme.el:
3437 * themes/tango-dark-theme.el:
3438 * themes/wheatgrass-theme.el: New files.
3440 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3442 * cus-theme.el (describe-theme, customize-themes)
3443 (custom-theme-save): New commands.
3444 (custom-new-theme-mode-map): Bind C-x C-s.
3445 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3446 (customize-create-theme): New optional arg THEME.
3447 (custom-theme-revert): Use it.
3448 (custom-theme-visit-theme): Remove dead code.
3449 (custom-theme-merge-theme): Use custom-available-themes.
3450 (custom-theme-write): Make interactive.
3451 (custom-theme-write): Use custom-theme-name-valid-p.
3452 (describe-theme-1, custom-theme-choose-revert)
3453 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3455 (custom-theme-allow-multiple-selections): New option.
3456 (custom-theme-choose-mode): New major mode.
3458 * custom.el (custom-theme-set-variables): Remove dead code.
3459 Obey custom--inhibit-theme-enable.
3460 (custom--inhibit-theme-enable): New var.
3461 (provide-theme): Obey it.
3462 (load-theme): Replace load with manual read/eval, in order to
3463 check for correctness. Use custom-theme-name-valid-p.
3464 (custom-theme-name-valid-p): New function.
3465 (custom-available-themes): Use it.
3467 * cus-edit.el (custom--initialize-widget-variables): New function.
3468 (Custom-mode): Use it.
3470 * cus-face.el (custom-theme-set-faces): Remove dead code.
3471 Obey custom--inhibit-theme-enable.
3473 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3475 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3477 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3479 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3481 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3482 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3483 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3485 * cus-start.el (all): ns-right-alternate-modifier is new.
3487 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * emacs-lisp/lisp.el (lisp-completion-at-point):
3490 Use emacs-lisp-mode-syntax-table for the whole function.
3492 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3494 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3495 instead of font-lock-mode before adding keywords.
3496 Remove hi-lock-mode off code. Remove inhibit hack.
3497 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3498 non-nil; removed hook inhibit hack.
3500 2010-10-12 Glenn Morris <rgm@gnu.org>
3502 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3503 (load-path-shadows-find): ... to this.
3504 (list-load-path-shadows): Update for above change.
3506 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3508 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3510 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3511 Fix comment for declare-function.
3513 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3515 * custom.el (custom-fix-face-spec): New function; code moved from
3516 custom-face-edit-fix-value.
3517 (custom-push-theme): Use it when checking if a face has been
3518 changed outside customize.
3519 (custom-available-themes): New function.
3520 (load-theme): Use it.
3522 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3524 * custom.el (custom-push-theme): Cleanup (use cond).
3525 (disable-theme): Recompute the saved-face property.
3526 (custom-theme-recalc-face): Follow face alias before setting prop.
3528 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3529 New variables, containing checkbox images.
3531 * startup.el (fancy-startup-tail):
3532 * wid-edit.el (checkbox): Use them.
3534 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3536 * shell.el (shell-mode-map):
3537 * progmodes/modula2.el (m2-mode-map):
3538 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3539 * play/mpuz.el (mpuz-mode-map):
3540 * play/landmark.el (lm-mode-map):
3541 * play/decipher.el (decipher-mode-map):
3542 * play/5x5.el (5x5-mode-map):
3543 * net/telnet.el (telnet-mode-map):
3544 * net/quickurl.el (quickurl-list-mode-map):
3545 * net/mairix.el (mairix-searches-mode-map):
3546 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3547 * net/dig.el (dig-mode-map):
3548 * mail/mspools.el (mspools-mode-map):
3549 * hexl.el (hexl-mode-map):
3550 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3551 (wordstar-C-o-map, wordstar-C-q-map):
3552 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3553 * emacs-lisp/chart.el (chart-map):
3554 * edmacro.el (edmacro-mode-map):
3555 * erc/erc-list.el (erc-list-menu-mode-map):
3556 * array.el (array-mode-map): Declare and define in one step.
3558 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3560 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3562 * epa.el (epa-passphrase-callback-function): Display filename
3563 passed as the 3rd arg.
3564 * epa-file.el (epa-file-passphrase-callback-function):
3565 Pass filename to epa-passphrase-callback-function.
3567 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3569 * cus-edit.el (custom-face-widget-to-spec)
3570 (custom-face-get-current-spec, custom-face-state): New functions.
3571 (custom-face-set, custom-face-mark-to-save)
3572 (custom-face-value-create, custom-face-state-set): Use them.
3574 * cus-theme.el (custom-theme--listed-faces): New var.
3575 (customize-create-theme): Use *Custom Theme* as the buffer name.
3576 Set revert-buffer-function. Optional arg BUFFER. Insert all
3577 faces listed in custom-theme--listed-faces.
3578 (custom-theme-revert): New function.
3579 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3581 (custom-theme-write): Prompt for theme name if empty.
3582 (custom-theme-write-variables): Use dolist.
3583 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3585 2010-10-09 Alan Mackenzie <acm@muc.de>
3587 Enhance fontification of declarators to take account of the
3588 presence/absence of "typedef".
3590 * cc-engine.el (c-forward-type): New &optional param
3592 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3593 presence of either or both of a "struct"-like keyword and "typedef".
3595 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3596 fontification of declarators which follow a "}".
3597 (c-font-lock-declarations): Fontify declarators according to the
3598 presence/absence of "typedef".
3600 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3602 (c-typedef-decl-key): New lang variable built from
3603 c-typedef-decl-kwds.
3605 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3607 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3608 since that's too annoying. Move the filter groups commands to
3611 * epa.el (epa-passphrase-callback-function): Say what we're
3612 querying the password for.
3614 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3615 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3617 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3619 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3620 (custom-magic-value-create): Pad button tags with spaces.
3621 (custom-face-edit): New variable.
3622 (custom-face-value-create): Determine whether to use the usual
3623 face editor here, instead of using custom-face-selected.
3624 Pass face defaults to custom-face-edit widget.
3625 (custom-face-selected, custom-display-unselected): Delete widgets.
3626 (custom-display-unselected-match): Function removed.
3627 (custom-face-set, custom-face-mark-to-save):
3628 Accept custom-face-edit widgets as the direct widget child.
3630 * wid-edit.el (widget--completing-widget): New var.
3631 (widget-default-complete): Bind it when doing completion.
3632 (widget-string-complete, widget-file-complete): Use it.
3634 2010-10-09 Glenn Morris <rgm@gnu.org>
3636 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3637 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3638 (holiday-hebrew-misc): Small simplifications.
3640 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3642 * net/browse-url.el: Don't require thingatpt, term, dired,
3643 executable, or w3-auto when compiling.
3644 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3646 (browse-url-text-emacs): Require term.
3648 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3650 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3652 2010-10-08 Glenn Morris <rgm@gnu.org>
3654 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3656 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3657 (shadows-compare-text-p): Make it an obsolete alias for...
3658 (load-path-shadows-compare-text): ... new name.
3659 (find-emacs-lisp-shadows): Update for above name change.
3660 (load-path-shadows-same-file-or-nonexistent): New name for the old
3661 shadow-same-file-or-nonexistent.
3663 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3665 * minibuffer.el (completion--some, completion--do-completion)
3666 (minibuffer-complete-and-exit, minibuffer-completion-help)
3667 (completion-basic-try-completion)
3668 (completion-basic-all-completions)
3669 (completion-pcm--find-all-completions): Use lexical-let to
3670 avoid some false matches in variable completion (Bug#7056)
3672 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3674 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3676 2010-10-08 Leo <sdl.web@gmail.com>
3678 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3679 return non-nil if the file exists (Bug#7090).
3681 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3683 * minibuffer.el (completion--replace):
3684 Better preserve markers (bug#7138).
3686 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3688 * server.el (server-process-filter): Doc fix.
3690 2010-10-08 Drew Adams <drew.adams@oracle.com>
3692 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3694 2010-10-08 Glenn Morris <rgm@gnu.org>
3696 * vc/ediff-wind.el (ediff-setup-control-frame):
3697 * vc/ediff-ptch.el (ediff-default-backup-extension):
3698 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3699 (ediff-exec-process): Remove system-types emx, windows-95.
3701 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3703 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3705 * cus-edit.el (custom-variable, custom-face): Doc fix.
3706 (custom-face-edit): Add value-create attribute.
3707 (custom-face-edit-value-create)
3708 (custom-face-edit-value-visibility-action): New functions.
3709 Hide unused face attributes by default, and add a visibility toggle.
3710 (custom-face-edit-deactivate): Show empty values with shadow face.
3711 (custom-face-selected): Only use this for face specs with default
3713 (custom-face-value-create): Cleanup.
3715 * wid-edit.el (widget-checklist-value-create): Use dolist.
3716 (widget-checklist-match-find): Make second arg optional.
3718 2010-10-07 Glenn Morris <rgm@gnu.org>
3720 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3723 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3724 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3725 load-path-shadows-mode, update references.
3726 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3727 Rename variable and button.
3728 (list-load-path-shadows): Update button caller.
3730 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3733 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3734 (smie-merge-prec2s): Handle those new entries.
3735 (smie-prec2-levels): Only set precedence to nil for actual
3737 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3738 that is now unnecessary.
3740 2010-10-07 Miles Bader <miles@gnu.org>
3742 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3744 2010-10-07 Glenn Morris <rgm@gnu.org>
3746 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3747 (mail-position-on-field): Remove declarations.
3748 (mail-position-on-field): Autoload it.
3749 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3750 and mail-header-end. Don't require sendmail.
3752 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3753 (shadow-mode): New mode.
3754 (shadow-find-file): New button.
3755 (list-load-path-shadows): Use shadow-mode and buttons.
3757 * iimage.el (iimage-version): Remove.
3758 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3759 Turn into defcustoms.
3760 (iimage-mode-map): Give it a doc string.
3762 * calendar/appt.el (appt-activate): Give a warning rather than an error
3763 if there is no diary-file.
3765 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3767 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3768 Use `tramp-handle-find-backup-file-name'.
3770 2010-10-06 Glenn Morris <rgm@gnu.org>
3772 * font-core.el (font-lock-defaults-alist): Remove variable.
3773 (font-lock-mode): Doc fix.
3774 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3775 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3776 (font-lock-set-defaults): Doc fix.
3777 Do not consult font-lock-defaults-alist.
3779 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3781 * emacs-lisp/cl.el: No longer provide cl-19.
3783 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3785 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3786 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3787 New defuns, taken from tramp-smb.el.
3788 (tramp-coding-system-change-eol-conversion)
3789 (tramp-set-process-query-on-exit-flag): Remove.
3791 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3792 (tramp-compat-coding-system-change-eol-conversion)
3793 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3796 * net/tramp-gvfs.el:
3797 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3798 by `tramp-compat-set-process-query-on-exit-flag'.
3800 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3801 Use `tramp-handle-directory-files-and-attributes',
3802 `tramp-handle-file-exists-p' and
3803 `tramp-handle-file-newer-than-file-p'.
3804 (tramp-imap-handle-file-exists-p)
3805 (tramp-imap-handle-file-executable-p)
3806 (tramp-imap-handle-file-readable-p)
3807 (tramp-imap-handle-directory-files-and-attributes)
3808 (tramp-imap-handle-file-newer-than-file-p): Remove.
3810 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3811 by `tramp-compat-set-process-query-on-exit-flag' and
3812 `tramp-coding-system-change-eol-conversion' by
3813 `tramp-compat-coding-system-change-eol-conversion'.
3815 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3816 Use `tramp-handle-directory-files-and-attributes',
3817 `tramp-handle-file-exists-p' and
3818 `tramp-handle-file-newer-than-file-p'.
3819 (tramp-smb-handle-directory-files-and-attributes)
3820 (tramp-smb-handle-file-exists-p)
3821 (tramp-smb-handle-file-newer-than-file-p): Remove.
3822 (tramp-smb-maybe-open-connection):
3823 Replace `tramp-set-process-query-on-exit-flag' by
3824 `tramp-compat-set-process-query-on-exit-flag'.
3826 2010-10-05 Glenn Morris <rgm@gnu.org>
3828 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3830 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3832 Continue reorganization of load dependencies. (Bug#7156)
3834 * net/tramp.el (tramp-handle-file-local-copy-hook)
3835 (tramp-delete-temp-file-function): Move down.
3836 (tramp-exists-file-name-handler): Move up.
3837 (tramp-register-file-name-handlers): Simplify autoload.
3838 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3839 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3840 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3841 (tramp-handle-file-name-completion)
3842 (tramp-handle-file-name-directory)
3843 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3844 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3845 (tramp-handle-find-backup-file-name)
3846 (tramp-handle-insert-file-contents, tramp-handle-load)
3847 (tramp-handle-substitute-in-file-name)
3848 (tramp-handle-unhandled-file-name-directory)
3849 (tramp-mode-string-to-int, tramp-local-host-p)
3850 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3852 * net/tramp-gvfs.el (top):
3853 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3855 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3856 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3858 2010-10-04 Glenn Morris <rgm@gnu.org>
3860 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3861 (appt-activate): Give status messages.
3863 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3865 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3866 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3867 `gnutls-negotiate' (formerly `starttls-negotiate').
3868 Remove trivial wrapper `starttls-open-stream'.
3870 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3872 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3873 log-outgoing commands.
3874 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3875 to create a buffer local revert-buffer-function variable.
3876 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3877 revert-buffer-function lambda.
3879 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3881 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3882 `gnutls-boot'. Make TYPE the only required parameter.
3883 Allow TRUSTFILES and KEYFILES to be lists.
3884 (open-ssl-stream): Use it.
3886 2010-10-03 Glenn Morris <rgm@gnu.org>
3888 * subr.el (directory-sep-char): Remove obsolete variable.
3889 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3892 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3893 * vc/vc.el (vc-static-header-alist): Doc fix.
3894 * vc/vc-cvs.el (vc-cvs-header):
3895 * vc/vc-rcs.el (vc-rcs-header):
3896 * vc/vc-sccs.el (vc-sccs-header):
3897 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3898 * obsolete/vc-mcvs.el (vc-mcvs-header):
3899 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3902 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3904 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3905 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3907 2010-10-03 Glenn Morris <rgm@gnu.org>
3909 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3911 * textmodes/rst.el (rst-font-lock-keywords-function):
3914 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3916 * printing.el: Drop Emacs 20 code.
3918 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3919 without having used appt.el already).
3921 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3922 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3923 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3925 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3926 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3928 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3929 (charset-width, find-charset-region, chars-in-region, forward-point)
3930 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3931 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3932 Remove compatibility cruft (none of these are used by ps*.el).
3934 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3936 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3938 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3940 * server.el (server-process-filter, server-return-error):
3941 Give emacsclient time to shut down after receiving an error string.
3943 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3945 * files.el (remote-file-name-inhibit-cache): New defcustom.
3947 * time.el (display-time-file-nonempty-p):
3948 Use `remote-file-name-inhibit-cache'.
3950 * net/tramp.el (tramp-completion-reread-directory-timeout):
3953 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3954 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3955 `remote-file-name-inhibit-cache'. Check also for an integer
3956 value. Add/increase counter when `tramp-verbose' >= 10.
3957 (tramp-set-file-property): Add/increase counter when
3958 `tramp-verbose' >= 10.
3960 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3961 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3962 (tramp-bug): Set tramp-autoload cookie. Report all interned
3963 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3964 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3965 characters only in strings.
3967 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3968 to backward compatibility.
3970 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3971 (tramp-handle-file-name-all-completions)
3972 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3973 (tramp-open-connection-setup-interactive-shell):
3974 Call `tramp-cleanup-connection' directly.
3976 2010-10-02 Glenn Morris <rgm@gnu.org>
3978 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3980 * subr.el (char-bytes): Remove obsolete function.
3982 * isearch.el (isearch-return-char): Remove obsolete function.
3984 * mouse.el: No longer provide mldrag.
3985 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3986 Remove obsolete aliases.
3988 * comint.el (comint-kill-output): Remove obsolete alias.
3990 * composite.el (decompose-composite-char): Remove obsolete function.
3991 * ps-def.el (decompose-composite-char): Remove unused function.
3993 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3995 * outline.el (outline-visible): Remove obsolete function.
3997 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3998 * faces.el (internal-find-face, internal-get-face)
3999 (frame-update-faces, frame-update-face-colors)
4000 (x-frob-font-weight, x-frob-font-slant)
4001 (internal-frob-font-weight, internal-frob-font-slant)
4002 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4003 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4004 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4006 * emulation/viper-util.el (viper-get-face):
4007 * obsolete/lucid.el (find-face, get-face): Use facep.
4008 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4009 Remove unused functions.
4010 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4012 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4013 delete tempfile if interrupted during compilation.
4015 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4017 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4019 (tls-program): Add --insecure to be consistent with the defaults from
4020 openssl s_client. Now all three commands are insecure.
4022 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4024 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4025 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4026 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4028 2010-10-01 Glenn Morris <rgm@gnu.org>
4030 * obsolete/sc.el: Remove file.
4032 * files.el (temporary-file-directory): On darwin, also try
4033 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4035 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4037 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4038 Let's not break compatibility gratuitously, shall we?
4040 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4042 * net/tls.el (tls-starttls-switches): New variable.
4043 (tls-find-starttls-argument): Use it.
4044 (open-tls-stream): Ditto.
4046 * net/netrc.el (netrc-credentials): Return the value of the "default"
4048 (netrc-machine): Ditto.
4050 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4052 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4054 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4056 * server.el (server-start): Don't write pid to the authentication file.
4057 (server-create-tty-frame): Don't send pid.
4058 (server-process-filter): Send pid at the start of every connection.
4060 2010-09-30 Glenn Morris <rgm@gnu.org>
4062 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4063 (show-all-diary-entries): Remove obsolete function aliases.
4065 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4066 Remove options, obsolete since 22.1.
4067 (appt-display-format, appt-display-message):
4068 Remove backwards-compatibility code.
4069 (appt-check): No longer check appt-issue-message.
4070 (appt-make-list): No longer autoload it. Doc fix. No longer
4071 activate the package.
4073 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4075 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4076 (starttls-negotiate): Just call boot, and let the handshake be
4077 triggered from the read loop.
4079 2010-09-29 Glenn Morris <rgm@gnu.org>
4081 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4082 not displaying the diary.
4083 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4084 * calendar/appt.el (appt-check): No longer need to kill diary.
4086 * calendar/diary-lib.el (diary-list-entries): Move the
4087 "Preparing..." message entirely here.
4088 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4089 messages to diary-list-entries.
4090 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4091 diary-display-function.
4093 * calendar/diary-lib.el (diary-include-other-diary-files):
4094 Trap some recursive includes.
4096 * calendar/appt.el (appt-activate): Check diary file.
4098 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4100 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4103 * calendar/time-date.el: No need to require cl for Emacs 21.
4105 2010-09-28 Glenn Morris <rgm@gnu.org>
4107 * calendar/appt.el (appt-check): Minor simplification.
4109 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4111 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4114 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4116 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4117 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4119 2010-09-27 Kenichi Handa <handa@m17n.org>
4121 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4124 2010-09-27 Kenichi Handa <handa@m17n.org>
4126 * international/mule.el (define-coding-system): Docstring fixed.
4128 * international/mule-diag.el (describe-character-set): Use princ
4129 with proper print-length and print-level instead of insert.
4131 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4133 * window.el (walk-windows): Doc fix (bug#7105).
4135 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * emacs-lisp/float-sup.el (e): Remove.
4139 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4141 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4143 (starttls-negotiate): Use it.
4145 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4150 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4154 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4156 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4158 * net/netrc.el (netrc-store-data): New function.
4160 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4162 * net/gnutls.el: GnuTLS glue code to set up a connection.
4164 2010-09-25 Julien Danjou <julien@danjou.info>
4166 * notifications.el: Call dbus-register-signal only if it is bound.
4168 2010-09-25 Glenn Morris <rgm@gnu.org>
4170 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4171 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4172 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4173 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4174 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4175 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4176 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4177 * eshell/esh-util.el, eshell/esh-var.el:
4178 Remove leading `*' from docs of faces and defcustoms.
4180 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4182 * eshell/em-ls.el (eshell-ls-archive-regexp):
4183 * eshell/esh-util.el (eshell-tar-regexp):
4184 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4185 * info.el (Info-suffix-list):
4186 * international/mule.el (auto-coding-alist):
4187 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4188 * progmodes/etags.el (tags-compression-info-list):
4189 Support xz compression.
4191 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4193 * files.el (get-free-disk-space): Don't assume the "df" output
4194 columns line up (Bug#6995).
4196 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4198 * finder.el (finder-unknown-keywords):
4199 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4200 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4202 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4204 * server.el (server-start): Revert part of 2010-08-08 change. Using
4205 address 127.0.0.1 for local host is now done in Fmake_network_process.
4207 2010-09-24 Glenn Morris <rgm@gnu.org>
4209 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4210 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4211 * textmodes/css-mode.el, textmodes/dns-mode.el:
4212 Move autoloaded auto-mode-alist entries to files.el.
4213 * files.el (auto-mode-alist): Move entries here.
4215 2010-09-23 Glenn Morris <rgm@gnu.org>
4217 * isearch.el (isearch-lazy-highlight-cleanup)
4218 (isearch-lazy-highlight-initial-delay)
4219 (isearch-lazy-highlight-interval)
4220 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4221 * net/net-utils.el (ipconfig-program-options):
4222 Move aliases to options before the associated definitions.
4224 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4226 * newcomment.el (comment-normalize-vars): Better test validity of
4229 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4231 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4232 (float-e): New name for `e'.
4233 (degrees-to-radians, radians-to-degrees):
4234 * calendar/solar.el (solar-longitude):
4235 * calculator.el (calculator-registers, calculator-funcall):
4236 * textmodes/artist.el (artist-spray-random-points):
4237 * play/bubbles.el (bubbles--initialize-images): Use new names.
4239 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4241 Update to CEDET 1.0's version of EIEIO.
4243 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4245 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4246 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4247 (class-precedence-list): If class is nil, return nil.
4248 (eieio-generic-call): If class of first input arg is nil, don't
4249 look up static methods, and do check for primary methods.
4250 (initialize-instance): See if the default needs to be evaluated
4251 during the constructor.
4252 (eieio-perform-slot-validation-for-default): Don't do the check
4253 for values that will eventually be evaluated.
4254 (eieio-eval-default-p): New function.
4255 (eieio-default-eval-maybe): Use it.
4257 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4259 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4260 method-invocation-order.
4261 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4262 (eieio-class-precedence-dfs): Compute class precedence list using
4264 (eieio-class-precedence-bfs): Compute class precedence list using
4266 (eieio-class-precedence-c3): Compute class precedence list using
4268 (class-precedence-list): New function.
4269 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4270 (inconsistent-class-hierarchy): New error symbol.
4271 (call-next-method): Stow the replacement argument list for future
4272 call-next-method invocations.
4274 2010-09-23 Glenn Morris <rgm@gnu.org>
4276 * calendar/appt.el (appt-check): If not displaying the diary,
4277 use (diary 1) to only get the entries we need.
4278 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4279 that it is in day order. (Bug#7019)
4281 * calendar/appt.el (appt-check): Rather than showing the diary,
4282 just turn off invisible display, and only if needed.
4284 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4286 2010-09-23 Glenn Morris <rgm@gnu.org>
4288 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4289 (byte-compile-defvar, byte-compile-cl-warn):
4290 Start warnings with lower-case, like the majority.
4292 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4294 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4296 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4297 * files.el (auto-mode-alist): Move ld-script entries here, further down
4300 * vc/add-log.el: Don't require timezone when compiling.
4301 (timezone-make-date-sortable): Autoload it.
4302 (change-log-sortable-date-at): Don't require timezone.
4303 Use `ignore-errors'.
4305 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4306 Move alias before definition, so it does not need autoloading.
4308 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4309 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4310 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4311 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4312 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4313 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4314 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4315 * textmodes/tex-mode.el, textmodes/two-column.el:
4316 Remove leading `*' from docs of defcustoms etc.
4318 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4320 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4322 2010-09-22 Dan Christensen <jdc@uwo.ca>
4324 * calendar/time-date.el (date-to-time): Try using parse-time-string
4325 first before using the slower timezone-make-date-arpa-standard.
4327 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4329 * calendar/time-date.el (format-seconds): Comment fix.
4331 2010-09-22 Glenn Morris <rgm@gnu.org>
4333 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4334 is not automatically buffer-local.
4336 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4339 (smie-indent-comment): Be more careful with comment-start-skip.
4340 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4341 (smie-indent-functions): Use them.
4343 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4345 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4347 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4349 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4350 tool-bar-position. Don't modify frame parameters here.
4351 (menu-bar-options-save): Add tool-bar-position.
4353 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4355 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * textmodes/reftex-parse.el (reftex-what-macro)
4358 (reftex-context-substring): Let-bind forward-sexp-function to nil
4359 since we don't need/want to treat \begin...\end as a block (bug#7053).
4361 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4363 * simple.el (blink-matching-open): Use syntax-class.
4365 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4366 Set invisibility spec for pascal's outline mode.
4367 (pascal-outline-change): Clean up calling convention.
4368 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4370 * progmodes/prolog.el (prolog-smie-forward-token)
4371 (prolog-smie-backward-token): New functions.
4372 (prolog-mode-variables): Use them to parse "!," correctly.
4373 Set up smie-blink-matching for ".".
4375 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4377 (ispell-region, ispell-process-line): Update users.
4379 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4382 * textmodes/ispell.el: Fix commenting convention.
4383 (ispell-parse-output): Simplify, use push.
4384 (ispell-region): Use match-string-no-properties.
4385 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4386 (ispell-minor-mode): Use define-minor-mode.
4387 (ispell-message): Remove unused var `skip-regexp'.
4388 (ispell-add-per-file-word-list): Use dynamic let-binding.
4389 Try and use the proper comment marker.
4391 * mail/sendmail.el: Fix commenting convention.
4392 (sendmail-send-it): Use line-beginning-position.
4394 * help-fns.el (describe-variable): Add original value, if applicable.
4396 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4398 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4400 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4402 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4404 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4405 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4406 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4407 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4408 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4409 something like "." can also be a closer.
4410 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4411 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4412 Rename internal functions to use "--". Update callers.
4414 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4416 * fringe.el (fringe-styles): New var.
4417 (fringe-mode, fringe-query-style): Use it.
4419 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4421 * progmodes/sql.el: Version 2.8
4422 (sql-login-params): Update widget structure; changes still needed.
4423 (sql-product-alist): Add :list-all and :list-table features for
4424 SQLite, Postgres and MySQL products.
4425 (sql-redirect): Handle default value.
4426 (sql-execute, sql-execute-feature): New functions.
4427 (sql-read-table-name): New function.
4428 (sql-list-all, sql-list-table): New functions. User API.
4429 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4430 for above functions.
4431 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4432 for above functions.
4433 (sql-postgres-login-params): Add user and database defaults.
4434 (sql-buffer-live-p): Bug fix.
4435 (sql-product-history): New variable.
4436 (sql-read-product): New function. Use it.
4437 (sql-set-product, sql-product-interactive): Use it.
4438 (sql-connection-history): New variable.
4439 (sql-read-connection): New function. Use it.
4440 (sql-connect): New function.
4441 (sql-for-each-login): Redesign function interface.
4442 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4443 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4444 (sql-comint): Check for program. Existing live buffer.
4445 (sql-comint-postgres): Add port parameter.
4447 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * emacs-lisp/warnings.el: Fix commenting convention.
4450 (display-warning): Use special mode and make the buffer read-only.
4452 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4454 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4455 empty string when it follows a repeated or optional pattern.
4457 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4459 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4460 (indent-region): Use indent-according-to-mode.
4462 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4464 * fringe.el (fringe-mode): Doc fix.
4466 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4468 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4469 refreshing the preview buffer.
4471 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4473 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4474 (latex-syntax-propertize-rules): New consts; replace
4475 tex-font-lock-syntactic-keywords.
4476 (tex-env-mark, latex-env-before-change): New functions.
4477 (latex-electric-env-pair-mode): New minor mode.
4478 (tex-font-lock-verb): Change arguments; do move point.
4479 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4480 representation as a form of comment.
4481 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4482 (doctex-syntax-propertize-rules): New const; replaces
4483 doctex-font-lock-syntactic-keywords.
4484 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4486 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4487 (fortran-make-syntax-propertize-function): New function; replaces
4488 fortran-font-lock-syntactic-keywords.
4489 (fortran-mode): Use it.
4490 (fortran-line-length): Use it. Improve interactive spec.
4492 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4493 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4494 when adding surrounding \(..\).
4496 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4498 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4500 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4501 Use with-current-buffer.
4503 * isearch.el (isearch-face): Rename from `isearch'.
4504 (isearch-highlight): Use new name.
4506 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4508 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4509 5, for `half' width fringes. (Bug#6933)
4511 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4513 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4514 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4516 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4518 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4520 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4521 in calculating new frame position. Add more space between new and
4522 parent on the left (Bug#7048).
4524 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4526 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4529 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4531 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4533 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4534 obsolete alias for x-selection-value.
4536 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4538 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4540 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4543 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4545 * net/tramp-compat.el (tramp-compat-with-temp-message)
4546 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4547 (tramp-compat-process-put): New defuns.
4549 * net/tramp.el (top):
4550 * net/tramp-gvfs.el (top):
4551 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4553 * net/tramp.el (tramp-progress-reporter-update):
4554 Use `tramp-compat-funcall'.
4556 * net/tramp.el (tramp-process-actions):
4557 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4558 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4559 (tramp-get-remote-stat, tramp-get-remote-readlink):
4560 Use `tramp-compat-with-temp-message'.
4562 * net/tramp-sh.el (top): Require 'cl.
4563 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4564 (tramp-open-connection-setup-interactive-shell):
4565 Use `tramp-compat-process-put'.
4567 2010-09-15 Alan Mackenzie <acm@muc.de>
4569 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4571 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4573 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4576 `lexical' for warnings related to lexical scoping.
4577 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4578 global vars which don't have a prefix and could hence affect lexical
4579 scoping in unrelated files.
4581 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4583 * net/imap.el: Revert back to version
4584 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4587 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4589 * obsolete/old-whitespace.el (whitespace-unload-function):
4590 Explicitly pass `obarray' to `unintern' to avoid a warning.
4592 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4595 Add `when' argument. Update callers.
4597 * subr.el (unintern): Declare the obarray arg mandatory.
4599 2010-09-14 Glenn Morris <rgm@gnu.org>
4601 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4604 * calendar/diary-lib.el (diary-included-files): New variable.
4605 (diary-list-entries): Maybe initialize diary-included-files.
4606 (diary-include-other-diary-files): Append to diary-included-files.
4607 * calendar/appt.el (appt-update-list): Also check the members of
4608 diary-included-files. (Bug#6999)
4609 (appt-check): Doc fix.
4611 2010-09-14 David Reitter <david.reitter@gmail.com>
4613 * simple.el (line-move-visual): Do not truncate goal column to
4614 integer size. (Bug#7020)
4616 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * repeat.el (repeat): Allow repeating when the last event is a click.
4619 Suggested by Drew Adams (bug#6256).
4621 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4623 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4624 Replace setting HGRCPATH to "" by some less invasive --config options.
4626 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * font-lock.el (font-lock-beginning-of-syntax-function):
4631 2010-09-14 Glenn Morris <rgm@gnu.org>
4633 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4634 and tool-bar modes. (Bug#6211)
4635 (menu-bar-mode): Move setting of standard-value after the
4636 minor-mode definition, otherwise it seems to have no effect.
4638 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4640 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4641 Fix typo. (Bug#6976)
4643 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4645 * whitespace.el: Allow cleaning up blanks without blank
4646 visualization (Bug#6651). Adjust help window for
4647 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4648 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4649 (whitespace-style): Add new value 'face. Adjust docstring.
4650 (whitespace-space, whitespace-hspace, whitespace-tab):
4651 Adjust foreground property face.
4652 (whitespace-line-column): Adjust docstring and type declaration.
4653 (whitespace-style-value-list, whitespace-toggle-option-alist)
4654 (whitespace-help-text): Adjust const initialization.
4655 (whitespace-toggle-options, global-whitespace-toggle-options):
4657 (whitespace-display-window, whitespace-interactive-char)
4658 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4659 (whitespace-help-scroll): New fun.
4661 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4663 * calendar/time-date.el (format-seconds): Comment fix.
4665 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4667 * progmodes/sql.el: Version 2.7.
4668 (sql-buffer-live-p): Improve detection.
4669 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4670 (sql-set-sqli-buffer): Use it.
4671 (sql-product-interactive): Run `sql-set-sqli-hook'.
4672 (sql-rename-buffer): Code cleanup.
4673 (sql-redirect, sql-redirect-value): New functions. More to come.
4675 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4677 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.
4678 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4679 (TRAMP_SRC): New macro.
4680 ($(lisp)/net/tramp-loaddefs.el): New target.
4682 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4684 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4686 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4688 * net/tramp.el (top): Don't show loading message. Require just
4689 'tramp-compat, everything else is required there.
4690 Use `ignore-errors' where appropriate.
4691 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4692 (tramp-terminal-type, tramp-end-of-output)
4693 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4694 (tramp-completion-function-alist-ssh)
4695 (tramp-completion-function-alist-telnet)
4696 (tramp-completion-function-alist-su)
4697 (tramp-completion-function-alist-putty, tramp-remote-path)
4698 (tramp-remote-process-environment, tramp-sh-extra-args)
4699 (tramp-actions-before-shell, tramp-uudecode)
4700 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4701 (tramp-perl-file-attributes)
4702 (tramp-perl-directory-files-and-attributes)
4703 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4704 (tramp-perl-encode, tramp-perl-decode)
4705 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4706 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4707 (tramp-handle-make-symbolic-link, tramp-handle-load)
4708 (tramp-handle-file-name-as-directory)
4709 (tramp-handle-file-name-directory)
4710 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4711 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4712 (tramp-do-file-attributes-with-ls)
4713 (tramp-do-file-attributes-with-perl)
4714 (tramp-do-file-attributes-with-stat)
4715 (tramp-handle-set-visited-file-modtime)
4716 (tramp-handle-verify-visited-file-modtime)
4717 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4718 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4719 (tramp-handle-file-selinux-context)
4720 (tramp-handle-set-file-selinux-context)
4721 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4722 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4723 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4724 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4725 (tramp-handle-file-ownership-preserved-p)
4726 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4727 (tramp-handle-directory-files-and-attributes)
4728 (tramp-do-directory-files-and-attributes-with-perl)
4729 (tramp-do-directory-files-and-attributes-with-stat)
4730 (tramp-handle-file-name-all-completions)
4731 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4732 (tramp-handle-copy-file, tramp-handle-copy-directory)
4733 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4734 (tramp-do-copy-or-rename-file-via-buffer)
4735 (tramp-do-copy-or-rename-file-directly)
4736 (tramp-do-copy-or-rename-file-out-of-band)
4737 (tramp-handle-make-directory, tramp-handle-delete-directory)
4738 (tramp-handle-delete-file)
4739 (tramp-handle-dired-recursive-delete-directory)
4740 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4741 (tramp-handle-insert-directory)
4742 (tramp-handle-unhandled-file-name-directory)
4743 (tramp-handle-expand-file-name)
4744 (tramp-handle-substitute-in-file-name)
4745 (tramp-handle-executable-find, tramp-process-sentinel)
4746 (tramp-handle-start-file-process, tramp-handle-process-file)
4747 (tramp-handle-call-process-region, tramp-handle-shell-command)
4748 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4749 (tramp-handle-insert-file-contents)
4750 (tramp-handle-insert-file-contents-literally)
4751 (tramp-handle-find-backup-file-name)
4752 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4753 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4754 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4755 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4756 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4757 (tramp-find-file-exists-command, tramp-open-shell)
4758 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4759 (tramp-open-connection-setup-interactive-shell)
4760 (tramp-local-coding-commands, tramp-remote-coding-commands)
4761 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4762 (tramp-inline-compress-commands, tramp-find-inline-compress)
4763 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4764 (tramp-send-command, tramp-wait-for-output)
4765 (tramp-send-command-and-check, tramp-barf-unless-okay)
4766 (tramp-send-command-and-read, tramp-mode-string-to-int)
4767 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4768 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4769 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4770 (tramp-method-out-of-band-p, tramp-local-host-p)
4771 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4772 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4773 (tramp-get-test-command, tramp-get-test-nt-command)
4774 (tramp-get-file-exists-command, tramp-get-remote-ln)
4775 (tramp-get-remote-perl, tramp-get-remote-stat)
4776 (tramp-get-remote-readlink, tramp-get-remote-trash)
4777 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4778 (tramp-get-local-uid, tramp-get-local-gid)
4779 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4781 (tramp-methods, tramp-default-method-alist)
4782 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4783 Move initialization to tramp-sh.el.
4784 (tramp-temp-name-prefix): Make it a defconst.
4785 (tramp-dissect-file-name): Don't check anymore for multi-hop
4787 (tramp-debug-outline-regexp): Add a docstring.
4788 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4789 (tramp-get-debug-buffer): Use it.
4791 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4792 initialization forms.
4793 (tramp-set-connection-property): Don't protect `tramp-message'
4794 call, it isn't necessary any longer.
4795 (tramp-dump-connection-properties): Use `ignore-errors'.
4797 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4798 'password-cache and 'auth-source.
4800 * net/tramp-gvfs.el (top):
4801 * net/tramp-smb.el (top): Require 'tramp-sh.
4803 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4805 * net/tramp-sh.el: New file, derived from tramp.el.
4806 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4807 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4808 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4809 Use `ignore-errors' where appropriate.
4810 (tramp-sh-file-name-handler-alist): Rename from
4811 `tramp-file-name-handler-alist'.
4812 (tramp-send-command-and-check): Return t or nil. Remove all
4813 `zerop' checks, where called.
4814 (tramp-handle-set-file-modes)
4815 (tramp-do-copy-or-rename-file-directly)
4816 (tramp-handle-delete-directory, tramp-handle-delete-file)
4817 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4818 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4819 (tramp-get-remote-ln): Set tramp-autoload cookie.
4821 * net/tramp-fish.el: Remove file.
4823 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4825 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4826 buffer-file-name to avoid file-locking. (Bug#7026)
4828 2010-09-13 Julien Danjou <julien@danjou.info>
4830 * notifications.el (notifications-notify): Add support for
4831 image-path and sound-name.
4832 (notifications-specification-version): Add this variable.
4834 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4836 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4838 2010-09-12 Leo <sdl.web@gmail.com>
4840 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4841 (rcirc-completion-start): New variables.
4842 (rcirc-nick-completions): Rename to rcirc-completions.
4843 (rcirc-nick-completion-start-offset): Delete.
4844 (rcirc-completion-at-point): New function for constructing
4845 completion data for both nicks and irc commands. Add to
4846 completion-at-point-functions in rcirc mode.
4847 (rcirc-complete): Rename from rcirc-nick-complete; use
4848 rcirc-completion-at-point.
4849 (defun-rcirc-command): Update rcirc-client-commands.
4851 2010-09-11 Glenn Morris <rgm@gnu.org>
4853 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4854 atomically, to avoid parallel build errors. (Bug#4196)
4856 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4858 * progmodes/sql.el: Version 2.6
4859 (sql-dialect): Synonym for "sql-product".
4860 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4861 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4862 Set "sql-buffer" to buffer name not buffer object so multiple sql
4863 interactive buffers work properly. Reverts misguided changes in
4865 (sql-comint): Make sure different buffer name is used if "*SQL*"
4866 buffer is for a different product.
4867 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4869 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4870 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4871 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4872 Accept new buffer name or prompt for one.
4873 (sql-port): Default to zero.
4874 (sql-comint-mysql): Handle "sql-port" as a numeric.
4875 (sql-port-history): Delete unused variable.
4876 (sql-get-login): Default "sql-port" to a number.
4877 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4878 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4879 "sqlite3" executables.
4880 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4881 (sql-buffer-live-p): New function.
4882 (sql-mode-menu, sql-send-string): Use it.
4883 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4885 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4886 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4888 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4890 * net/netrc.el (netrc-credentials): New convenience function.
4892 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4894 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4895 to replace texinfo-font-lock-syntactic-keywords.
4896 (texinfo-mode): Use it.
4898 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4899 Use syntax-propertize-function.
4901 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4902 replace sgml-font-lock-syntactic-keywords.
4903 (sgml-mode): Use it.
4905 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4906 since we don't use it.
4908 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4910 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4912 (vhdl-fontify-buffer): Adjust.
4914 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4915 replace tcl-font-lock-syntactic-keywords.
4918 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4919 replace simula-font-lock-syntactic-keywords.
4920 (simula-mode): Use it.
4922 * progmodes/sh-script.el (sh-st-symbol): Remove.
4923 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4924 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4925 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4926 (sh-font-lock-paren): Set syntax-multiline.
4927 (sh-font-lock-syntactic-keywords): Remove.
4928 (sh-syntax-propertize-function): New function to replace it.
4931 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4932 Define while compiling.
4933 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4934 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4935 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4936 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4937 (ruby-here-doc-end-syntax): Only define when
4938 syntax-propertize is not available.
4939 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4941 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4942 (electric-indent-chars): Silence bytecompiler.
4943 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4944 electric-indent-chars.
4946 * progmodes/python.el (python-syntax-propertize-function): New var to
4947 replace python-font-lock-syntactic-keywords.
4948 (python-mode): Use it.
4949 (python-quote-syntax): Simplify and adjust to new use.
4951 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4952 replace perl-font-lock-syntactic-keywords.
4953 (perl-syntax-propertize-special-constructs): New fun to replace
4954 perl-font-lock-special-syntactic-constructs.
4955 (perl-font-lock-syntactic-face-function): New fun.
4956 (perl-mode): Use it.
4958 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4959 to replace octave-font-lock-close-quotes.
4960 (octave-syntax-propertize-function): New function to replace
4961 octave-font-lock-syntactic-keywords.
4962 (octave-mode): Use it.
4964 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4965 replaces mixal-font-lock-syntactic-keywords.
4966 (mixal-mode): Use it.
4968 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4969 New var; replaces makefile-font-lock-syntactic-keywords.
4970 (makefile-mode): Use it.
4971 (makefile-imake-mode): Adjust.
4973 * progmodes/js.el (js--regexp-literal): Define while compiling.
4974 (js-syntax-propertize-function): New var; replaces
4975 js-font-lock-syntactic-keywords.
4978 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4979 replaces gdb-script-font-lock-syntactic-keywords.
4980 (gdb-script-mode): Use it.
4982 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4983 (fortran--font-lock-syntactic-keywords): New var.
4984 (fortran-line-length): Update syntax-propertize-function and
4985 fortran--font-lock-syntactic-keywords.
4987 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4989 * progmodes/cfengine.el (cfengine-mode):
4990 Use syntax-propertize-function.
4991 (cfengine-font-lock-syntactic-keywords): Remove.
4993 * progmodes/autoconf.el (autoconf-mode):
4994 Use syntax-propertize-function.
4995 (autoconf-font-lock-syntactic-keywords): Remove.
4997 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4998 (ada-after-change-function, ada-initialize-syntax-table-properties)
4999 (ada-handle-syntax-table-properties): Only define when
5000 syntax-propertize is not available.
5001 (ada-mode): Use syntax-propertize-function.
5003 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5004 (font-lock-fontify-syntactic-keywords-region): Move handling of
5005 font-lock-syntactically-fontified to...
5006 (font-lock-default-fontify-region): ...here.
5007 Let syntax-propertize-function take precedence.
5008 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5010 * emacs-lisp/syntax.el (syntax-propertize-function)
5011 (syntax-propertize-chunk-size, syntax-propertize--done)
5012 (syntax-propertize-extend-region-functions): New vars.
5013 (syntax-propertize-wholelines, syntax-propertize-multiline)
5014 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5015 (syntax-propertize): New functions.
5016 (syntax-propertize-rules): New macro.
5017 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5018 (syntax-ppss): Call syntax-propertize.
5020 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5022 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5024 * textmodes/ispell.el (ispell-init-process): Improve comments.
5025 XEmacs compatibility changes regarding (add-hook) 'local option
5026 and (set-process-query-on-exit-flag).
5028 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5030 * net/tramp-cache.el (tramp-parse-connection-properties):
5031 Set tramp-autoload cookie.
5033 2010-09-09 Glenn Morris <rgm@gnu.org>
5035 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5036 (imagemagick-register-types): Doc fix.
5038 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5040 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5042 * progmodes/js.el (require): Require is already "eval-and-compile".
5043 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5044 (js--re-search-backward): Use js--re-search-forward.
5046 * progmodes/fortran.el (fortran-line-length): Don't recompute
5047 syntactic keywords redundantly a second time.
5049 * progmodes/ada-mode.el: Replace "(set '" with setq.
5050 (ada-mode): Simplify.
5051 (ada-create-case-exception, ada-adjust-case-interactive)
5052 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5053 (ada-search-ignore-string-comment, ada-move-to-start)
5054 (ada-move-to-end): Use with-syntax-table.
5056 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5057 (font-lock-unfontify-region, font-lock-default-fontify-region):
5058 Update usage correspondingly.
5059 (font-lock-fontify-syntactic-keywords-region):
5060 Set parse-sexp-lookup-properties buffer-locally here.
5061 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5063 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5065 2010-09-08 Glenn Morris <rgm@gnu.org>
5067 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5068 Error if not compiled with -DBYTE_CODE_METER.
5070 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5071 Ignore dir-locals-file.
5073 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5077 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5078 for the `gnu' messages.
5079 (compilation-set-skip-threshold): New command.
5080 (compilation-start): Use \' rather than $.
5081 (compilation-forget-errors): Use clrhash.
5083 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5085 * textmodes/ispell.el (ispell-valid-dictionary-list):
5088 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5090 Migrate to Tramp 2.2. Rearrange load dependencies.
5091 (Bug#1529, Bug#5448, Bug#5705)
5093 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5094 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5095 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5097 * net/tramp.el (top): Remove all other tramp-* loads except
5098 tramp-compat.el. Remove all changes to tramp-unload-hook for
5099 other tramp-* packages. Rearrange defun order. Change calls of
5100 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5101 `tramp-compat-octal-to-decimal' to new function names.
5102 (tramp-terminal-type, tramp-initial-end-of-output)
5103 (tramp-methods, tramp-foreign-file-name-handler-alist)
5104 (tramp-tramp-file-p, tramp-completion-mode-p)
5105 (tramp-send-command-and-check, tramp-get-remote-path)
5106 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5107 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5108 (with-file-property, with-connection-property): Move to
5110 (tramp-local-call-process, tramp-decimal-to-octal)
5111 (tramp-octal-to-decimal): Move to tramp-compat.el.
5112 (tramp-handle-shell-command): Do not require 'shell.
5113 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5115 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5117 * net/tramp-cache.el (top): Require 'tramp. Add to
5118 `tramp-unload-hook'.
5119 (tramp-cache-data, tramp-get-file-property)
5120 (tramp-set-file-property, tramp-flush-file-property)
5121 (tramp-flush-directory-property, tramp-get-connection-property)
5122 (tramp-set-connection-property, tramp-flush-connection-property)
5123 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5125 (with-file-property, with-connection-property): New defuns, moved
5127 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5130 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5131 (tramp-version): Set tramp-autoload cookie.
5133 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5134 changes to tramp-unload-hook for other tramp-* packages. Add to
5135 `tramp-unload-hook'.
5136 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5137 (tramp-compat-call-process): New defuns, moved from tramp.el.
5139 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5140 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5141 Add to `tramp-unload-hook'. Change call of
5142 `tramp-compat-decimal-to-octal' to new function name.
5143 (tramp-fish-method): Make it a defconst.
5144 (tramp-fish-file-name-p): Make it a defsubst.
5145 (tramp-fish-method, tramp-fish-file-name-handler)
5146 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5148 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5149 `tramp-foreign-file-name-handler-alist'. Add to
5150 `tramp-unload-hook'.
5151 (tramp-ftp-method): Make it a defconst.
5152 (tramp-ftp-file-name-p): Make it a defsubst.
5153 (tramp-ftp-method, tramp-ftp-file-name-handler)
5154 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5156 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5157 `tramp-foreign-file-name-handler-alist'. Add to
5158 `tramp-unload-hook'. Change checks, whether package can be
5160 (tramp-gvfs-file-name-p): Make it a defsubst.
5161 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5162 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5163 (tramp-gvfs-handle-file-directory-p): New defun.
5164 (tramp-gvfs-file-name-handler-alist): Use it.
5166 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5167 `tramp-foreign-file-name-handler-alist'. Add to
5168 `tramp-unload-hook'.
5169 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5170 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5172 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5173 (tramp-gw-open-connection): Set tramp-autoload cookie.
5175 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5176 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5177 Add to `tramp-unload-hook'. Change checks, whether package can be
5179 (tramp-imap-file-name-p): Make it a defsubst.
5180 (tramp-imap-method, tramp-imaps-method)
5181 (tramp-imap-file-name-handler)
5182 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5184 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5185 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5186 Add to `tramp-unload-hook'. Change checks, whether package can be
5187 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5189 (tramp-smb-tunnel-method): Make it a defconst.
5190 (tramp-smb-file-name-p): Make it a defsubst.
5191 (tramp-smb-method, tramp-smb-file-name-handler)
5192 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5194 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5195 (tramp-uuencode-region): Set tramp-autoload cookie.
5197 * net/trampver.el (top) Add to `tramp-unload-hook'.
5198 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5199 cookie. Update release number.
5201 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5203 * textmodes/ispell.el (ispell-start-process): Make sure original
5204 arg list is properly initialized (Bug#6993, Bug#6994).
5206 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5208 * files.el (directory-abbrev-alist): Use \` as default regexp.
5210 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5211 chars like - or ] (bug#6984).
5212 (rx-any-condense-range): Explode 2-char ranges.
5214 2010-09-06 Glenn Morris <rgm@gnu.org>
5216 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5218 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5220 * textmodes/bibtex.el:
5221 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5223 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5225 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5226 since no callers use it.
5227 (imap-message-get): Ditto.
5228 (imap-message-put): Ditto.
5229 (imap-mailbox-map): Ditto.
5230 (imap-mailbox-put): Ditto.
5231 (imap-mailbox-get): Ditto.
5232 (imap-mailbox-get): Revert last change for this function.
5234 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5236 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5237 callers to use `imap-fetch' instead. According to the comments, this
5238 should be safe, since all other IMAP clients use the 1:* syntax.
5239 (imap-enable-exchange-bug-workaround): Remove.
5240 (imap-debug): Remove -- doesn't seem very useful.
5242 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5244 * net/imap.el (imap-log): New convenience function used throughout
5245 instead of repeating the same code all over the place.
5247 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5249 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5250 when mouse-drag-copy-region is non-nil (Bug#6956).
5252 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5254 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5255 Improve regexps (Bug#6987).
5256 (dired-sort-toggle): Search more robustly for -t flag.
5258 * files.el (get-free-disk-space): Search more robustly for
5259 "available" column. Suggested by Ehud Karni
5260 <ehud@unix.mvs.co.il>.
5262 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5264 * international/uni-bidi.el:
5265 * international/uni-category.el:
5266 * international/uni-combining.el:
5267 * international/uni-decimal.el:
5268 * international/uni-mirrored.el:
5269 * international/uni-name.el: Regenerate.
5271 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5273 * electric.el (electric-indent-post-self-insert-function):
5274 Don't reindent with a sloppy indentation function.
5276 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5277 border case in change-log-mode.
5279 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5281 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5282 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5283 Recognize leading tab in gcc-include regexp. Ignore names with
5284 leading "from" or "in" in gnu regexp (Bug#6937).
5286 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5288 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5289 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5290 (ispell-start-process): Avoid setq and simplify logic.
5291 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5292 (kill-buffer-hook): Don't use it globally with code that uses
5293 expand-file-name since that may call kill-buffer via
5294 code_conversion_restore.
5296 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5298 * emacs-lisp/package.el (package-directory-list): Only call
5299 file-name-nondirectory on a string.
5301 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5303 * emacs-lisp/package.el (package--download-one-archive):
5304 Ensure that archive-contents is valid before saving it.
5305 (package-activate-1, package-mark-obsolete, define-package)
5306 (package-compute-transaction, package-list-maybe-add): Use push.
5308 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5310 Use SMIE's blink-paren for octave-mode.
5311 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5312 Backslashes do not escape single-quotes, single-quotes do.
5313 (octave-block-else-regexp, octave-block-end-regexp)
5314 (octave-block-match-alist): Remove.
5315 (octave-smie-bnf-table): New var, with old content.
5316 (octave-smie-op-levels): Use it.
5317 (octave-smie-closer-alist): New var.
5318 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5319 (octave-blink-matching-block-open): Remove.
5320 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5321 (octave-electric-space): Let self-insert-command run expand-abbrev and
5324 * electric.el (electricity): New group.
5325 (electric-indent-chars): New var.
5326 (electric-indent-post-self-insert-function): New fun.
5327 (electric-indent-mode): New minor mode.
5328 (electric-pair-skip-self): New custom.
5329 (electric-pair-post-self-insert-function): New function.
5330 (electric-pair-mode): New minor mode.
5332 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5333 calcAlg-blink-matching-open.
5334 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5335 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5336 Use the new blink-matching-check-function.
5338 Provide blink-matching support to SMIE.
5339 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5340 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5341 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5343 * simple.el (newline): Fix last change to properly remove itself from
5346 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * simple.el (newline): Eliminate optimization.
5349 Use post-self-insert-hook to set hard-newline and things before
5350 running post-self-insert-hook.
5351 (blink-matching-check-mismatch): New function.
5352 (blink-matching-check-function): New variable.
5353 (blink-matching-open): Use them.
5354 Skip back forward over prefix chars skipped by forward-sexp.
5355 Don't check if the parens are backslash escaped.
5356 (blink-paren-post-self-insert-function): Check backslash escaping here.
5358 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5360 * emacs-lisp/package.el (package-menu-mode-map):
5361 Change package-menu-revert bindings to revert-buffer.
5362 (package-menu-mode): Set revert-buffer-function.
5363 (package-menu-revert): Doc fix.
5365 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5367 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5368 `default-directory' unless using Ispell per-directory personal
5369 dictionaries and not in a mini-buffer under XEmacs.
5370 (kill-buffer-hook): Do not kill ispell process on exit when
5371 `ispell-process-directory' is "~/". (Bug#6143)
5373 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5375 * simple.el (kill-new): Call interprogram-cut-function with only
5378 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5379 Remove cut buffer from error message.
5381 * term/x-win.el (x-select-text):
5382 * term/pc-win.el (x-selection-value):
5383 * term/ns-win.el (x-selection-value):
5384 * eshell/em-term.el:
5385 * w32-fns.el (x-get-selection-value):
5386 * mouse-sel.el (mouse-sel-set-selection-function):
5387 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5389 * term/x-win.el: Update documentation for x-last-selected-text-*.
5390 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5391 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5392 (x-select-text): Remove argument PUSH, update documentation.
5393 Remove cut-buffer code.
5394 (x-selection-value-internal): Was previously x-selection-value.
5395 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5396 Update documentation, remove cut-buffer code.
5397 Call x-selection-value-internal.
5398 (x-clipboard-yank): Call x-selection-value-internal.
5399 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5401 * term/pc-win.el (x-last-selected-text):
5402 x-cut-buffer-or-selection-value renamed to x-selection-value
5403 (x-select-text): Remove argument PUSH, update documentation.
5405 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5406 x-cut-buffer-or-selection-value renamed to x-selection-value
5407 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5408 (x-select-text): Remove argument PUSH, update documentation.
5410 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5412 * w32-fns.el (x-last-selected-text):
5413 x-cut-buffer-or-selection-value renamed to x-selection-value.
5414 (x-cut-buffer-max): Remove.
5415 (x-select-text): Remove argument PUSH, update documentation.
5417 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5419 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5421 * mouse-sel.el (mouse-sel-get-selection-function):
5422 x-cut-buffer-or-selection-value renamed to x-selection-value.
5423 (x-select-text): Remove optional push.
5425 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5427 * simple.el (blink-paren-function): Move from C to here.
5428 (blink-paren-post-self-insert-function): New function.
5429 (post-self-insert-hook): Use it.
5431 * emacs-lisp/pcase.el (pcase-split-memq):
5432 Fix overenthusiastic optimisation.
5433 (pcase-u1): Handle the case of a lambda pred.
5435 2010-08-31 Kenichi Handa <handa@m17n.org>
5437 * international/mule-cmds.el (standard-display-european-internal):
5438 Setup standard-display-table for 8-bit characters by storing 8-bit
5439 characters in the element vector.
5441 * disp-table.el (standard-display-8bit):
5442 Setup standard-display-table for 8-bit characters by storing 8-bit
5443 characters in the element vector.
5444 (standard-display-european): Likewise.
5446 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5448 * textmodes/nroff-mode.el (nroff-view): New command.
5449 (nroff-mode-map): Bind it to C-c C-c.
5451 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5453 * emacs-lisp/smie.el (smie-down-list): New command.
5455 Remove old indentation and navigation code on octave-mode.
5456 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5457 smie-down-list rather than add a binding for octave-down-block.
5458 (octave-mark-block, octave-blink-matching-block-open):
5459 Rely on forward-sexp-function.
5460 (octave-fill-paragraph): Don't narrow, so you can use
5461 indent-according-to-mode.
5462 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5463 (octave-in-block-p, octave-re-search-forward-kw)
5464 (octave-re-search-backward-kw, octave-indent-calculate)
5465 (octave-end-as-array-index-p, octave-block-end-offset)
5466 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5467 (octave-down-block, octave-backward-up-block, octave-up-block)
5468 (octave-before-magic-comment-p, octave-indent-line): Remove.
5470 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5472 * emacs-lisp/package.el (package--read-archive-file): Just use
5473 `read', to avoid copying an additional string.
5474 (package-menu-mode): Set header-line-format here.
5475 (package-menu-refresh, package-menu-revert): Signal an error if
5476 not in the Package Menu.
5477 (package-menu-package-list): New var.
5478 (package--generate-package-list): Operate on the current buffer;
5479 don't assume that it is *Packages*, since the user may rename it.
5480 Allow persistent package listings and sort keys using
5481 package-menu-package-list and package-menu-package-sort-key.
5482 (package-menu--version-predicate): Fix version calculation.
5483 (package-menu-sort-by-column): Don't select the window.
5484 (package--list-packages): Create the *Packages* buffer.
5485 Set package-menu-package-list-key.
5486 (list-packages): Sorting by status is now the default.
5487 (package-buffer-info): Use match-string-no-properties.
5488 (define-package): Add a &rest argument for future proofing, but
5490 (package-install-from-buffer, package-install-buffer-internal):
5491 Merge into a single function, package-install-from-buffer.
5492 (package-install-file): Change caller.
5494 * finder.el: Load finder-inf using `require'.
5495 (finder-list-matches): Sorting by status is now the default.
5496 (finder-compile-keywords): Simpify printing.
5498 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5500 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5501 (octave-mode-map): Remove special bindings for forward/backward-block
5502 and octave-backward-up-block. Use smie-close-block.
5503 (octave-continuation-marker-regexp): New var.
5504 (octave-continuation-regexp): Use it.
5505 (octave-operator-table, octave-smie-op-levels)
5506 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5507 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5508 (octave-mode): Use SMIE.
5509 (octave-close-block): Delete.
5511 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5513 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5514 CLIPBOARD, not in PRIMARY. (Bug#6944)
5516 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5518 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5520 (smie-indent-column): Allow indirection through variables.
5522 * composite.el (save-buffer-state): Delete, unused.
5523 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5524 (font-lock-default-fontify-region): Use with-syntax-table.
5525 * jit-lock.el (with-buffer-unmodified): Remove.
5526 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5528 Use `declare' in defmacros.
5529 * window.el (save-selected-window):
5530 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5531 * progmodes/python.el (def-python-skeleton):
5532 * net/dbus.el (dbus-ignore-errors):
5533 * jka-cmpr-hook.el (with-auto-compression-mode):
5534 * international/mule.el (with-category-table):
5535 * emacs-lisp/timer.el (with-timeout):
5536 * emacs-lisp/lisp-mnt.el (lm-with-file):
5537 * emacs-lisp/eieio.el (with-slots):
5538 * emacs-lisp/easymenu.el (easy-menu-define):
5539 * emacs-lisp/debug.el (debugger-env-macro):
5540 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5541 (Multiple-value-call, Multiple-value-prog1):
5542 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5543 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5544 edebug rule to definition.
5545 * emacs-lisp/lisp-mode.el (save-selected-window)
5546 (with-current-buffer, combine-after-change-calls)
5547 (with-output-to-string, with-temp-file, with-temp-buffer)
5548 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5549 (dolist, dotimes, when, unless):
5550 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5552 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5554 * finder.el: Require `package'.
5555 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5556 (finder-package-info): Var deleted.
5557 (finder-keywords-hash, finder--builtins-alist): New vars.
5558 (finder-compile-keywords): Compute package--builtins and
5559 finder-keywords-hash instead of finder-keywords-hash, respecting
5560 the "Package" header.
5561 (finder-unknown-keywords, finder-list-matches):
5562 Use finder-keywords-hash and package--list-packages.
5563 (finder-mode): Don't set font-lock-defaults.
5564 (finder-exit): We don't use "*Finder-package*" and "*Finder
5565 Category*" buffers anymore.
5567 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5568 (package--builtins): Set default value to nil.
5569 (package-initialize): Load precomputed value of package--builtins
5571 (package-alist, package-compute-transaction)
5572 (package-download-transaction): Improve docstring.
5573 (package-read-all-archive-contents): Do not change
5574 package--builtins here.
5575 (list-packages): Make package-list-packages an alias for this.
5576 Sort by status by default.
5577 (package--list-packages): Add optional PACKAGES arg.
5578 (describe-package-1): Use font-lock-face property. For built-in
5579 packages, insert file commentary.
5580 (package--generate-package-list): Rename from
5581 package-list-packages-internal; all callers changed. Add optional
5582 PACKAGES arg. Add alphabetical sort fallbacks.
5583 (package-menu--version-predicate, package-menu--status-predicate)
5584 (package-menu--description-predicate)
5585 (package-menu--name-predicate): New functions.
5587 * info.el (Info-finder-find-node): Search package-alist instead of
5588 finder-package-info.
5590 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5592 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5594 (version-to-list): Handle versions like "10.3d".
5596 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5598 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5599 (macroexp-accumulate): Use `declare'.
5601 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5603 * whitespace.el (whitespace-style): Adjust type declaration.
5605 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5607 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5608 empty argument to gvfs-copy.
5610 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5612 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5613 handle new TRASH arg of `delete-file'.
5615 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5617 * net/tramp.el (tramp-handle-insert-directory): Don't use
5618 `forward-word', its default syntax could be changed.
5620 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5621 Michael Albinus <michael.albinus@gmx.de>
5623 Implement compression for inline methods.
5625 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5626 (tramp-copy-size-limit): Allow also nil.
5627 (tramp-inline-compress-commands): New defconst.
5628 (tramp-find-inline-compress, tramp-get-inline-compress)
5629 (tramp-get-inline-coding): New defuns.
5630 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5631 replaced by `tramp-get-inline-coding'.
5632 (tramp-handle-file-local-copy, tramp-handle-write-region)
5633 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5635 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5637 Detect ssh 'ControlMaster' argument automatically in some cases.
5639 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5640 (tramp-default-method): Use it.
5642 2010-08-26 Karel Klíč <kklic@redhat.com>
5644 * net/tramp.el (tramp-file-name-for-operation):
5645 Add file-selinux-context.
5647 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5649 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5651 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5653 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5656 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5658 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5659 (js-paren-indent-offset, js-square-indent-offset)
5660 (js-curly-indent-offset): New options.
5661 (js--proper-indentation): Use them.
5663 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5665 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5666 instead of inspecting font-lock properties (Bug#6916).
5668 2010-08-26 David Reitter <david.reitter@gmail.com>
5670 * server.el (server-visit-files): Run pre-command-hook and
5671 post-command-hook for each buffer while it is current (Bug#6910).
5672 (server-execute): Do not run hooks here.
5674 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5676 Sync with Tramp 2.1.19.
5678 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5679 (tramp-reporter-dump-variable, tramp-load-report-modules)
5680 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5681 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5683 * net/tramp-compat.el (top): Do not autoload
5684 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5685 only when `start-file-process' is not bound.
5686 (byte-compile-not-obsolete-vars): Define if not bound.
5687 (tramp-compat-funcall): New defmacro.
5688 (tramp-compat-line-beginning-position)
5689 (tramp-compat-line-end-position)
5690 (tramp-compat-temporary-file-directory)
5691 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5692 (tramp-compat-copy-file, tramp-compat-copy-directory)
5693 (tramp-compat-delete-file, tramp-compat-delete-directory)
5694 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5696 (tramp-advice-file-expand-wildcards): Do not use
5697 `tramp-handle-file-remote-p'.
5698 (tramp-compat-make-temp-file): Simplify fallback implementation.
5699 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5700 (tramp-compat-copy-tree): Remove function.
5701 (tramp-compat-delete-file): New defun.
5702 (tramp-compat-delete-directory): Provide implementation for older
5704 (tramp-compat-file-attributes): Handle only
5705 `wrong-number-of-arguments' error.
5707 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5708 Add PRESERVE_SELINUX_CONTEXT.
5709 (tramp-fish-handle-delete-file): Add TRASH arg.
5710 (tramp-fish-handle-directory-files-and-attributes):
5711 Do not use `tramp-fish-handle-file-attributes.
5712 (tramp-fish-handle-file-local-copy)
5713 (tramp-fish-handle-insert-file-contents)
5714 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5716 * net/tramp-gvfs.el (top): Require url-util.
5717 (tramp-gvfs-mount-point): Remove.
5718 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5719 and `set-file-selinux-context'.
5720 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5721 (tramp-gvfs-handle-file-selinux-context)
5722 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5723 (with-tramp-dbus-call-method): Format trace message.
5724 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5725 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5726 Implement backup call, when operation on local files fails.
5727 Use progress reporter. Flush properties of changed files.
5728 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5729 Use `tramp-compat-delete-file'.
5730 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5731 (tramp-gvfs-handle-make-directory): Make more traces.
5732 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5733 (tramp-gvfs-url-file-name): Hexify file name in url.
5734 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5735 into account for the resulting file name.
5736 (tramp-gvfs-handler-askquestion): Preserve current message, in
5737 order to let progress reporter continue afterwards. (Bug#6257)
5738 Return dummy mountpoint, when the answer is "no".
5739 See `tramp-gvfs-maybe-open-connection'.
5740 (tramp-gvfs-handler-mounted-unmounted)
5741 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5742 attribute "default_location". Set "prefix" property.
5743 Handle default-location.
5744 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5745 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5746 exists. Raise an error, if not (due to a corresponding answer
5747 "no" in interactive questions, for example).
5748 Use `tramp-compat-funcall'.
5750 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5751 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5752 (tramp-imap-do-copy-or-rename-file)
5753 (tramp-imap-handle-insert-file-contents)
5754 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5755 (tramp-imap-handle-delete-file): Add TRASH arg.
5757 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5758 Add PRESERVE-SELINUX-CONTEXT.
5759 (tramp-smb-handle-copy-file)
5760 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5761 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5762 Use `with-progress-reporter'.
5763 (tramp-smb-handle-delete-file): Add TRASH arg.
5765 * net/tramp.el (tramp-methods): Move hostname to the end in all
5766 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5768 (tramp-verbose): Describe verbose level 9.
5769 (tramp-completion-function-alist)
5770 (tramp-file-name-regexp, tramp-chunksize)
5771 (tramp-local-coding-commands, tramp-remote-coding-commands)
5772 (with-connection-property, tramp-completion-mode-p)
5773 (tramp-action-process-alive, tramp-action-out-of-band)
5774 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5775 (tramp-exists-file-name-handler): Fix docstring.
5776 (tramp-remote-process-environment): Use `format' instead of
5777 `concat'. Protect version string by apostroph.
5778 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5780 (tramp-file-name-regexp-unified)
5781 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5782 not regard the volume letter as remote filename. (Bug#5447)
5783 (tramp-perl-file-attributes)
5784 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5785 (tramp-vc-registered-read-file-names): Read input as
5786 here-document, otherwise the command could exceed maximum length
5788 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5789 `set-file-selinux-context'.
5790 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5791 backtrace functions.
5792 (tramp-error-with-buffer): Don't show the connection buffer when
5793 we are in completion mode.
5794 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5795 (tramp-handle-file-selinux-context)
5796 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5797 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5799 (with-progress-reporter): New defmacro.
5800 (tramp-debug-outline-regexp): New defconst.
5801 (top, tramp-rfn-eshadow-setup-minibuffer)
5802 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5803 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5804 (tramp-completion-mode-p, tramp-check-for-regexp)
5805 (tramp-open-connection-setup-interactive-shell)
5806 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5807 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5808 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5809 Use `tramp-compat-funcall'.
5810 (tramp-handle-make-symbolic-link): Flush file properties.
5811 (tramp-handle-load, tramp-handle-file-local-copy)
5812 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5813 (tramp-handle-vc-registered, tramp-maybe-send-script)
5814 (tramp-find-shell): Use `with-progress-reporter'.
5815 (tramp-do-file-attributes-with-stat): Add space in format string,
5816 in order to work around a bug in pdksh. Reported by Gilles Pion
5818 (tramp-handle-verify-visited-file-modtime): Do not send a command
5819 when the connection is not established.
5820 (tramp-handle-set-file-times): Simplify the check for utc.
5821 (tramp-handle-directory-files-and-attributes)
5822 (tramp-get-remote-path): Use `copy-tree'.
5823 (tramp-completion-handle-file-name-all-completions): Ensure, that
5824 non remote files are still checked. Oops.
5825 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5826 Handle PRESERVE-SELINUX-CONTEXT.
5827 (tramp-do-copy-or-rename-file): Add progress reporter.
5828 (tramp-do-copy-or-rename-file-directly): Do not use
5829 `tramp-handle-file-remote-p'.
5830 (tramp-do-copy-or-rename-file-out-of-band):
5831 Use `tramp-compat-delete-directory'.
5832 (tramp-do-copy-or-rename-file-out-of-band)
5833 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5834 Use `format-spec-make'.
5835 (tramp-handle-delete-file): Add TRASH arg.
5836 (tramp-handle-dired-uncache): Flush directory cache, not only file
5838 (tramp-handle-expand-file-name)
5839 (tramp-completion-handle-file-name-all-completions)
5840 (tramp-completion-handle-file-name-completion):
5841 Use `tramp-connectable-p'.
5842 (tramp-handle-start-file-process): Set connection property "vec".
5843 Use it, in order to invalidate file caches. Check only for
5844 `remote-tty' process property.
5845 Implement tty setting. (Bug#4604, Bug#6360)
5846 (tramp-file-name-for-operation): Add `call-process-region' and
5847 `set-file-selinux-context'.
5848 (tramp-find-foreign-file-name-handler)
5849 (tramp-advice-make-auto-save-file-name)
5850 (tramp-set-auto-save-file-modes): Remove superfluous check for
5851 `stringp'. This is done inside `tramp-tramp-file-p'.
5852 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5853 operations when we are in completion mode. This gives the user
5854 the chance to correct the file name in the minibuffer.
5855 (tramp-completion-mode-p): Use `non-essential'.
5856 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5857 compatibility: Use `completion-ignore-case' if
5858 `read-file-name-completion-ignore-case' does not exist.
5859 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5860 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5862 (tramp-action-password): Hide password prompt before next run.
5863 (tramp-process-actions): Widen connection buffer for the trace.
5864 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5865 process property. Trace stty settings if `tramp-verbose' >= 9.
5866 Apply workaround for IRIX64 bug. Move argument of last
5867 `tramp-send-command' where it belongs to.
5868 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5869 front of `login-args'.
5870 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5871 on "/dev/null" instead of "/".
5872 (tramp-get-ls-command-with-dired): Make test for "--dired"
5874 (tramp-set-auto-save-file-modes): Adapt version check.
5875 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5876 (tramp-handle-process-file): Call the program in a subshell, in
5877 order to preserve working directory.
5878 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5879 `tramp-remote-sh' from `tramp-methods'.
5880 (tramp-get-ls-command): Make test for "--color=never" stronger.
5881 (tramp-check-for-regexp): Use (forward-line 1).
5883 * net/trampver.el: Update release number.
5885 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5887 * help.el (help-map): Bind `C-h P' to describe-package.
5889 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5891 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5892 when downloading archives.
5893 (describe-package-1): Add package commentary.
5894 (package-install-button-action): New function.
5895 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5896 (package-menu-view-commentary): Function removed.
5897 (package-list-packages-internal): Hide the `package' package too.
5899 2010-08-25 Kenichi Handa <handa@m17n.org>
5901 * language/misc-lang.el ("Arabic"): New language environment.
5902 Setup composition-function-table for Arabic characters.
5904 * international/fontset.el (setup-default-fontset): Fix typo for
5905 arabic OTF spec (fini->fina).
5907 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5909 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5912 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5914 * whitespace.el: Allow cleaning up blanks without blank
5915 visualization (Bug#6651). Adjust help window for
5916 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5917 instead of whitespace-line-column (from EmacsWiki). New version
5919 (whitespace-style): Add new value 'face. Adjust docstring.
5920 (whitespace-space, whitespace-hspace, whitespace-tab):
5921 Adjust foreground property face.
5922 (whitespace-line-column): Adjust docstring and type declaration.
5923 (whitespace-style-value-list, whitespace-toggle-option-alist)
5924 (whitespace-help-text): Adjust const initialization.
5925 (whitespace-toggle-options, global-whitespace-toggle-options):
5927 (whitespace-display-window, whitespace-interactive-char)
5928 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5929 (whitespace-help-scroll): New fun.
5931 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5933 * emacs-lisp/package.el (list-packages): Alias for
5934 package-list-packages.
5936 2010-08-24 Kevin Ryde <user42@zip.com.au>
5938 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5941 * progmodes/ruby-mode.el (ruby): Add defgroup.
5943 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5945 * progmodes/python.el: Add Ipython support (Bug#5390).
5946 (python-shell-prompt-alist)
5947 (python-shell-continuation-prompt-alist): New options.
5948 (python--set-prompt-regexp): New function.
5949 (inferior-python-mode, run-python, python-shell):
5950 Require ansi-color. Use python--set-prompt-regexp to set the comint
5951 prompt based on the Python interpreter.
5952 (python--prompt-regexp): New var.
5953 (python-check-comint-prompt)
5954 (python-comint-output-filter-function): Use it.
5955 (run-python): Use a pipe (Bug#5694).
5957 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5959 * progmodes/python.el (python-send-region): Send a different
5960 Python command if Ipython is in use.
5961 (python-check-version): Use a Python command to find the version.
5963 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5965 * mouse.el (mouse-yank-primary): Avoid setting primary when
5966 deactivating the mark (Bug#6872).
5968 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5970 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5971 with "else" (Bug#3991).
5973 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5975 * net/dbus.el: Accept UNIX domain sockets as bus address.
5976 (top): Don't initialize `dbus-registered-objects-table' anymore,
5977 this is done in dbusbind,c.
5978 (dbus-check-event): Adapt test for bus.
5979 (dbus-return-values-table, dbus-unregister-service)
5980 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5983 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5985 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5987 2010-08-22 Juri Linkov <juri@jurta.org>
5989 * simple.el (read-extended-command): New function with the logic
5990 for `completing-read' moved to Elisp from `execute-extended-command'.
5991 Use `function-called-at-point' in `minibuffer-default-add-function'
5992 to get a command name for M-n (bug#5364, bug#5214).
5994 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5996 * startup.el (command-line-1): Issue warning for ignored arguments
5997 --unibyte, etc (Bug#6886).
5999 2010-08-22 Leo <sdl.web@gmail.com>
6001 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6002 (ignore, bright, dim, keyword): Split list of nicknames before
6003 passing to rcirc-add-or-remove (Bug#6894).
6005 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6007 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6009 2010-08-22 Leo <sdl.web@gmail.com>
6011 Fix buffer-list rename&refresh after killing a buffer in ido.
6012 * ido.el: Revert Óscar's.
6013 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6014 Remember the buffers at head, rather than their name.
6015 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6017 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6018 Stefan Monnier <monnier@iro.umontreal.ca>
6020 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6021 extra backslash added to each line (bug#6890).
6023 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6025 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6027 2010-08-22 Glenn Morris <rgm@gnu.org>
6029 * menu-bar.el (menu-bar-games-menu): Add landmark.
6031 2010-08-22 Glenn Morris <rgm@gnu.org>
6033 * align.el (align-regexp): Make group and spacing arguments
6034 use the interactive defaults when non-interactive. (Bug#6698)
6036 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6037 expansion, so as not to need sendmail.
6038 (mail-text-start): Remove declaration.
6039 (rmail-retry-failure): Require sendmail.
6041 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6043 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6045 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6047 * progmodes/flymake.el (flymake-start-syntax-check-process):
6048 Use `start-file-process' in order to let it run also on remote hosts.
6050 2010-08-22 Kenichi Handa <handa@m17n.org>
6052 * files.el: Add `word-wrap' as safe local variable.
6054 2010-08-22 Glenn Morris <rgm@gnu.org>
6056 * woman.el (woman-translate): Case matters. (Bug#6849)
6058 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6060 * simple.el (kill-region): Doc fix (Bug#6787).
6062 2010-08-22 Glenn Morris <rgm@gnu.org>
6064 * calendar/diary-lib.el (diary-header-line-format):
6065 Fit it to the window, not the frame.
6067 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6069 * subr.el (ignore-errors): Add debug declaration.
6071 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6073 * whitespace.el (whitespace-color-off): Remove post-command-hook
6076 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6078 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6080 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6082 * cus-edit.el (custom-group-value-create): Add extra newline
6083 before end line (Bug#6876).
6085 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6087 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6088 when extending it. Before killing on the second click, check if
6089 the buffer is the correct one. Doc fix.
6090 (mouse-secondary-save-then-kill): Allow usage without first
6091 calling mouse-start-secondary, by defaulting to point. Don't save
6092 an empty secondary selection. Doc fix.
6094 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6096 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6097 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6099 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6100 Adjust initialization.
6101 (whitespace-bob-marker, whitespace-eob-marker)
6102 (whitespace-buffer-changed): New vars.
6103 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6104 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6105 (whitespace-post-command-hook, whitespace-display-char-on):
6107 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6108 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6110 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6112 * files.el (locate-file-completion-table): Only list the .el and .elc
6113 extensions if there's no other choice (bug#5955).
6115 * facemenu.el (facemenu-self-insert-data): New var.
6116 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6118 (facemenu-add-face): Use them.
6120 * simple.el (blink-matching-open): Obey forward-sexp-function.
6122 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6124 * simple.el (prog-mode-map): New var.
6125 (prog-indent-sexp): New command.
6127 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6129 * progmodes/prolog.el (smie): Require.
6131 * emacs-lisp/smie.el (smie-default-backward-token)
6132 (smie-default-forward-token): Strip properties.
6133 (smie-next-sexp): Be more careful with associative operators.
6134 (smie-forward-sexp-command): Generalize.
6135 (smie-backward-sexp-command): Simplify.
6136 (smie-closer-alist): New var.
6137 (smie-close-block): New command.
6138 (smie-indent-debug-log): New var.
6139 (smie-indent-offset-rule): Add a few more cases.
6140 (smie-indent-column): New function.
6141 (smie-indent-after-keyword): Use it.
6142 (smie-indent-keyword): Use it.
6143 Fix up the opener code's point position.
6144 (smie-indent-comment): Only applies at BOL.
6145 (smie-indent-debug): New command.
6147 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6148 declarations that are useful before running the macro.
6150 2010-08-18 Joakim Verona <joakim@verona.se>
6152 * image.el (imagemagick-types-inhibit): New variable.
6153 (imagemagick-register-types): New function.
6154 * image-mode.el (image-transform-properties): New function.
6155 (image-transform-set-scale, image-transform-fit-to-height)
6156 (image-transform-set-rotation, image-transform-set-resize)
6157 (image-transform-fit-to-width, image-transform-fit-to-height):
6159 (image-toggle-display-image): Support image transforms.
6161 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6163 * image.el (create-animated-image): Don't add heuristic mask to image
6166 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6168 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6169 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6171 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6175 Font-lock '...' strings, plus various simplifications and fixes.
6176 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6177 (octave-font-lock-close-quotes): New function.
6178 (octave-font-lock-syntactic-keywords): New var.
6179 (octave-mode): Use it. Set beginning-of-defun-function.
6180 (octave-mode-map): Don't override the <foo>-defun commands.
6181 (octave-mode-menu): Pass it directly to easy-menu-define;
6182 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6183 (octave-block-match-alist): Fix up last change so that
6184 octave-close-block uses the more specific keyword.
6185 (info-lookup-mode): Silence byte-compiler.
6186 (octave-beginning-of-defun): Not interactive any more.
6188 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6189 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6190 (octave-completion-at-point-function): Make sure point is within
6192 (octave-reindent-then-newline-and-indent):
6193 Use reindent-then-newline-and-indent.
6194 (octave-add-octave-menu): Remove.
6196 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6198 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6199 (report-emacs-bug-can-use-xdg-email): New functions.
6200 (report-emacs-bug): Set can-xdg-email to result of
6201 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6202 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6205 * net/browse-url.el (browse-url-default-browser): Add cond
6206 for browse-url-xdg-open.
6207 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6209 2010-08-17 Glenn Morris <rgm@gnu.org>
6211 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6212 (c-fontify-recorded-types-and-refs): Define for compiler.
6213 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6216 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6219 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6221 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6223 (tramp-handle-process-file): Call the program in a subshell, in
6224 order to preserve working directory.
6225 (tramp-action-password): Hide password prompt before next run.
6226 (tramp-process-actions): Widen connection buffer for the trace.
6228 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6230 * net/rcirc.el (rcirc-log-process-buffers): New option.
6231 (rcirc-print): Use it.
6232 (rcirc-generate-log-filename): New function.
6233 (rcirc-log-filename-function): Change default to
6234 rcirc-generate-log-filename (Bug#6828).
6236 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6238 * simple.el (deactivate-mark): If select-active-regions is `only',
6239 only set selection for temporarily active regions.
6241 * cus-start.el: Change defcustom for select-active-regions.
6243 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6245 * mouse.el (mouse--drag-set-mark-and-point): New function.
6246 (mouse-drag-track): Use LOCATION arg to push-mark.
6247 Use mouse--drag-set-mark-and-point to take click-count into
6248 consideration when updating point and mark (Bug#6840).
6250 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6252 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6253 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6255 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6257 * font-lock.el (lisp-font-lock-keywords-2):
6258 Add combine-after-change-calls, condition-case-no-debug,
6259 with-demoted-errors, and with-silent-modifications (Bug#6025).
6261 2010-08-14 Kevin Ryde <user42@zip.com.au>
6263 * emacs-lisp/copyright.el (copyright-update-year)
6264 (copyright-update): Temporary switch-to-buffer to ensure the
6265 buffer change being queried is visible (Bug#5394).
6267 2010-08-14 Tom Tromey <tromey@redhat.com>
6269 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6272 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6274 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6277 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6279 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6280 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6281 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6282 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6283 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6284 Call menu-bar-set-tool-bar-position.
6286 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6288 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6289 comment style (bug#6834).
6290 * progmodes/scheme.el (scheme-mode-syntax-table):
6291 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6292 "b" flag in "' 14b" syntax.
6294 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6295 for (un)commenting the region and performing completion.
6296 (octave-mode-menu): Use standard commands for help and completion.
6297 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6298 (octave-mode): Use define-derived-mode.
6299 Set completion-at-point-functions and don't set columns.
6300 Don't disable adaptive-fill-regexp.
6301 (octave-describe-major-mode, octave-comment-region)
6302 (octave-uncomment-region, octave-comment-indent)
6303 (octave-indent-for-comment): Remove.
6304 (octave-indent-calculate): Rename from calculate-octave-indent.
6305 (octave-indent-line, octave-fill-paragraph): Update caller.
6306 (octave-initialize-completions): No need to make an alist.
6307 (octave-completion-at-point-function): New function.
6308 (octave-complete-symbol): Use it.
6309 (octave-insert-defun): Use define-skeleton.
6311 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6312 (octave-mode-map): Use comment-dwim (bug#6829).
6314 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6316 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6317 indentation of inserted comment.
6319 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6321 * faces.el (region): Add type gtk that uses gtk colors.
6323 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6324 Handle theme-name change.
6326 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6328 * progmodes/sql.el: Version 2.5
6329 (sql-product-alist): Add :prompt-cont-regexp property for several
6331 (sql-prompt-cont-regexp): New variable.
6332 (sql-output-newline-count, sql-output-by-send):
6333 New variables. Record number of newlines in input text.
6334 (sql-send-string): Handle multiple filters and count newlines.
6335 (sql-send-magic-terminator): Count terminator newline.
6336 (sql-interactive-remove-continuation-prompt): Filters output to
6337 remove continuation prompts; one for each newline.
6338 (sql-interactive-mode): Set up new variables, prompt regexp and
6340 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6341 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6343 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * emacs-lisp/pcase.el: New file.
6347 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6349 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6350 as here-document, otherwise the command could exceed maximum
6351 length of command line.
6352 (tramp-handle-vc-registered): Call script accordingly.
6353 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6355 2010-08-10 Kenichi Handa <handa@m17n.org>
6357 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6360 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6362 * emacs-lisp/package.el (package-version-split)
6363 (package--version-first-nonzero, package-version-compare):
6365 (package-directory-list, package-load-all-descriptors)
6366 (package--built-in, package-activate, define-package)
6367 (package-installed-p, package-compute-transaction)
6368 (package-read-all-archive-contents)
6369 (package--add-to-archive-contents, package-buffer-info)
6370 (package-tar-file-info, package-list-packages-internal):
6371 Use version-to-list and version-list-*.
6373 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6374 Use version-to-list.
6375 (package-upload-buffer-internal): Use version-list-<=.
6377 2010-08-09 Kenichi Handa <handa@m17n.org>
6379 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6382 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6384 * tutorial.el (tutorial--default-keys): C-d is now bound to
6385 delete-forward-char (Bug#6826).
6387 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6388 for `double' value of mouse-1-click-follows-link (Bug#6807).
6390 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6392 * replace.el (replace-highlight): Bind isearch-forward and
6393 isearch-error, ensuring that highlighting is updated if the user
6394 switches the search direction (Bug#6808).
6396 * isearch.el (isearch-lazy-highlight-forward): New var.
6397 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6398 (isearch-lazy-highlight-update): Use it.
6400 2010-08-08 Kenichi Handa <handa@m17n.org>
6402 * international/mule.el (define-charset): Store NAME as :base property.
6403 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6404 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6405 current priority. Force using the designation of the specific
6406 charset by adding `charset' text property. Improve the whole algorithm.
6408 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6410 * emulation/pc-select.el (pc-selection-mode-hook)
6411 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6412 (pc-selection-mode): Fix typos in docstrings.
6414 2010-08-08 Kenichi Handa <handa@m17n.org>
6416 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6417 ctext-non-standard-encodings-alist here.
6419 * international/mule.el (ctext-non-standard-encodings-alist):
6420 Add "koi8-r" and "microsoft-cp1251".
6421 (ctext-standard-encodings): New variable.
6422 (ctext-non-standard-encodings-table): List only elements for
6423 non-standard encodings.
6424 (ctext-pre-write-conversion): Adjust for the above change.
6425 Check ctext-standard-encodings.
6427 * international/mule-conf.el (compound-text): Doc fix.
6428 (ctext-no-compositions): Doc fix.
6429 (compound-text-with-extensions): Doc fix.
6431 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6433 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6435 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6437 * progmodes/which-func.el (which-func-format): Split help-echo text
6438 into lines, like other mode-line tooltips.
6440 * server.el (server-start): When using TCP sockets, force IPv4
6441 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6443 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6445 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6447 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6449 * term.el (term-delimiter-argument-list): Reflow docstring.
6450 (term-read-input-ring, term-write-input-ring, term-send-input)
6451 (term-bol, term-erase-in-display, serial-supported-or-barf):
6452 Fix typos in docstrings.
6454 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6458 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6460 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6462 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6464 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6465 Fix typo in docstring (bug#6747).
6467 2010-08-08 Leo <sdl.web@gmail.com>
6469 * eshell/esh-io.el (eshell-get-target): Better detection of
6470 read-only file (Bug#6762).
6472 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6474 * align.el (align-default-spacing): Doc fix.
6475 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6477 2010-08-08 Stephen Peters <speters@itasoftware.com>
6479 * calendar/icalendar.el
6480 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6481 (icalendar--get-weekday-numbers): New.
6482 (icalendar--convert-recurring-to-diary): Handle multiple byday
6483 values in weekly rules. (Bug#6766)
6485 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6487 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6488 (icalendar--create-uid, icalendar-export-region)
6489 (icalendar--parse-summary-and-rest): Code formatting.
6491 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6493 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6494 to italicize headers.
6495 (calc-highlight-selections-with-faces): New variable.
6496 (calc-selected-face, calc-nonselected-face): New faces.
6498 * calc/calccomp.el (math-comp-highlight-string): Use
6499 `calc-highlight-selections-with-faces' to determine how to highlight
6502 * calc/calc-sel.el (calc-show-selections): Change message to when
6503 using faces to highlight selections.
6505 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6507 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6508 Add SQLite 3 keywords, functions and datatypes.
6509 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6512 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6514 * simple.el (select-active-regions): Move to keyboard.c.
6515 (deactivate-mark): Used saved-region-selection.
6516 (select-active-region): Function removed.
6517 (activate-mark, set-mark, push-mark-command)
6518 (handle-shift-selection): Don't call it.
6519 (keyboard-quit): Avoid adding the region to the window selection.
6521 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6522 select-active-regions implementation.
6523 (mouse-yank-at-click): Doc fix.
6525 * cus-start.el: Add custom declaration for select-active-regions.
6527 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6529 * simple.el (delete-forward-char): Doc fix.
6531 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6532 after reading the tutorial.
6534 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6536 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6537 Fix for the case that a C style comment has its delimiters alone on
6538 their respective lines.
6540 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6542 * net/tramp.el (tramp-handle-start-file-process): Set connection
6544 (tramp-process-sentinel): Use it for flushing the cache.
6545 We cannot do it via the process buffer, the buffer could be deleted
6546 already when running the sentinel.
6548 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6550 * comint.el (comint-mode): Make directory tracking functions
6551 functional on remote files. (Bug#6764)
6553 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6555 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6557 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6559 * emacs-lisp/find-gc.el (find-gc-source-files):
6560 Rename unexec.c => unexcoff.c.
6562 * emacs-lisp/authors.el (authors-fixed-entries):
6563 Rename unexec.c => unexcoff.c.
6565 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6567 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6568 cache, not only file cache.
6569 (tramp-process-sentinel): New defun.
6570 (tramp-handle-start-file-process): Use it, in order to invalidate
6573 2010-08-03 Leo <sdl.web@gmail.com>
6575 * server.el (server-start): Simplify loop.
6577 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6579 * frame.el (screen-height, screen-width, set-screen-width)
6580 (set-screen-height): Remove ancient compatibility aliases.
6582 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6583 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6585 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6586 that change current buffer.
6588 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6590 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6591 beginning of the string. Use `string-match-p'. (Bug#6765)
6593 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6595 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6597 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6599 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6600 (package--builtins): Tweak descriptions.
6601 (package-print-package): Upcase descriptions if necessary.
6602 Show all built-in packages in font-lock-builtin-face.
6603 (package-list-packages-internal): Omit "emacs" package.
6604 Show status of built-in packages as "built-in".
6606 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6608 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6609 before killing to preserve the primary selection (Bug#6701).
6611 * term/x-win.el (x-select-text): Doc fix.
6613 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6615 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6616 (objc-font-lock-extra-types):
6617 * progmodes/cc-mode.el (c-basic-common-init):
6618 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6619 (c++-make-template-syntax-table)
6620 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6621 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6622 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6623 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6624 * progmodes/cc-fonts.el (c-make-inverse-face)
6625 (c-basic-matchers-after):
6626 * progmodes/cc-engine.el (c-forward-keyword-clause)
6627 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6628 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6629 (c-guess-continued-construct, c-guess-basic-syntax):
6630 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6631 The above functions were modified or created.
6633 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6635 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6637 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6639 * files.el (bidi-paragraph-direction): Define safe local values.
6641 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6642 language-info-alist. Remove outdated FIXME in a comment.
6644 2010-07-31 Alan Mackenzie <acm@muc.de>
6646 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6647 Auto-fill broken in C/C++ modes.
6649 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6651 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6652 (menu-bar-showhide-tool-bar-menu-customize-disable)
6653 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6654 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6655 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6656 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6657 make a menu for Options => toolbar that can move it.
6659 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6661 * emacs-lisp/package-x.el (package--make-rss-entry):
6662 (package-maint-add-news-item, package--update-news)
6663 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6665 * emacs-lisp/package.el (package-archive-url): Rename from
6667 (package-install): Doc fix.
6668 (package-download-single, package-download-tar, package-install)
6669 (package-menu-view-commentary): Callers changed.
6671 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6673 * net/tramp.el (tramp-handle-start-file-process): Check only for
6674 `remote-tty' process property.
6675 (tramp-open-shell): Don't check for tty.
6676 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6679 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6682 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6684 * emacs-lisp/package.el (package-load-list, package-archives)
6685 (package-archive-contents, package-user-dir)
6686 (package-directory-list, package--builtins, package-alist)
6687 (package-activated-list, package-obsolete-alist): Mark as risky.
6689 2010-07-28 Phil Hagelberg <phil@evri.com>
6691 Add support for non-default package repositories.
6692 * emacs-lisp/package.el (package-archive-base): Var deleted.
6693 (package-archives): New variable.
6694 (package-archive-contents): Doc fix.
6695 (package-load-descriptor): Do nothing if descriptor file is missing.
6696 (package--write-file-no-coding): New function.
6697 (package-unpack-single): Use it.
6698 (package-archive-id): New function.
6699 (package-download-single, package-download-tar)
6700 (package-menu-view-commentary): Use it.
6701 (package-installed-p): Make second argument optional.
6702 (package-read-all-archive-contents): New function.
6703 (package-initialize): Use it.
6704 (package-read-archive-contents): Add ARCHIVE argument.
6705 (package--add-to-archive-contents): New function.
6706 (package-install): Don't call package-read-archive-contents.
6707 (package--download-one-archive): Store archive file in a
6708 subdirectory of package-user-dir.
6709 (package-menu-execute): Remove spurious line movement.
6711 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6713 * cus-start.el (tool-bar-style): Add text-image-horiz.
6715 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6717 * progmodes/gud.el (gud-common-init): Check for remoteness of
6718 `file', and not of `default-directory'.
6720 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6722 * net/tramp.el (tramp-methods): Move hostname to the end in all
6723 ssh `tramp-login-args'.
6724 (tramp-verbose): Describe verbose level 9.
6725 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6726 (tramp-open-connection-setup-interactive-shell): Trace stty
6727 settings if `tramp-verbose' >= 9.
6728 (tramp-handle-start-file-process): Implement tty setting.
6729 (Bug#4604, Bug#6360)
6731 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6732 `tramp-verbose' to 9.
6734 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6736 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6737 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6738 Remove references to package `lisp-re' (bug#4369).
6740 2010-07-27 Tom Tromey <tromey@redhat.com>
6742 * progmodes/js.el (js-mode):
6743 * progmodes/make-mode.el (makefile-mode):
6744 * progmodes/simula.el (simula-mode):
6745 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6747 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6749 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6751 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6752 (display-time-world-buffer-name, display-time-world-mode-map):
6753 Fix typos in docstrings.
6755 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6757 * image-mode.el (image-display-size): New function.
6758 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6759 (image-mode-fit-frame): Use it (Bug#6639).
6761 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6763 * dired.el (dired-buffers-for-dir): Handle list values of
6764 dired-directory (Bug#6636).
6766 2010-07-26 Sam Steingold <sds@gnu.org>
6768 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6769 Do not call `x-get-selection' the second time, reuse the value.
6771 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6773 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6774 which consist of control chars only. Suggested by Richard Stallman.
6776 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6778 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6779 exists before passing an error to find-file-not-found-functions
6782 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6784 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6785 Remove leading nil element, adjust values.
6786 (tetris-shapes, tetris-shape-scores):
6787 Change representation of shapes and remove some redundancy.
6788 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6789 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6790 Adjust for working with new representation of shapes.
6791 (tetris-shape-rotations): New function.
6792 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6793 (tetris-rotate-prev, tetris-rotate-next):
6794 Adjust for working with the new version of tetris-test-shape.
6796 2010-07-23 Markus Triska <markus.triska@gmx.at>
6798 * progmodes/ps-mode.el: Use comint (bug#5954).
6799 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6800 (ps-mode-other-newline): Simplify.
6801 (ps-run-mode): Derive from comint-mode instead of
6802 fundamental-mode, yielding input history etc.
6803 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6804 (ps-run-send-string): Adapt for comint-mode.
6805 (ps-run-newline): Remove now unneeded function.
6807 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6809 * net/tramp.el (tramp-methods): Move hostname to the end in all
6810 plink `tramp-login-args'.
6812 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6814 * net/tramp.el (tramp-open-shell): New defun.
6815 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6818 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6820 * net/tramp.el (tramp-file-name-regexp-unified)
6821 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6822 not regard the volume letter as remote filename. (Bug#5447)
6824 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6826 * custom.el (custom-declare-variable): Give a clearer error message
6827 when the docstring is missing (bug#6476).
6829 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6831 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6832 (sql-login-params): New widget definition.
6833 (sql-oracle-login-params, sql-mysql-login-params)
6834 (sql-solid-login-params, sql-sybase-login-params)
6835 (sql-informix-login-params, sql-ingres-login-params)
6836 (sql-ms-login-params, sql-postgres-login-params)
6837 (sql-interbase-login-params, sql-db2-login-params)
6838 (sql-linter-login-params): Use it.
6839 (sql-sqlite-login-params): Use it; Define "database" parameter as
6841 (sql-sqlite-program): Change to "sqlite3".
6842 (sql-comint-sqlite): Make sure database name is complete.
6843 (sql-for-each-login): New function.
6844 (sql-connect, sql-save-connection): Use it.
6845 (sql-get-login-ext): New function.
6846 (sql-get-login): Use it.
6847 (sql-make-alternate-buffer-name): Handle :file parameters.
6849 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6851 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6852 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6854 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6856 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6858 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6860 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6862 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6864 * net/tramp.el (tramp-get-ls-command)
6865 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6868 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6870 * progmodes/sql.el: Version 2.3.
6871 (sql-connection-alist): Change keys from symbols to strings;
6872 enhanced the widget definition.
6873 (sql-mode-menu): Add submenu to select connections.
6874 (sql-interactive-mode-menu): Add "Save Connection" item.
6875 (sql-add-product): Fix menu item.
6876 (sql-get-product-feature): Improved error handling.
6877 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6878 (sql-make-alternate-buffer-name): Simplified.
6879 (sql-product-interactive): Handle missing product.
6880 (sql-connect): Support string keys, minor improvements.
6881 (sql-save-connection): New function.
6882 (sql-connection-menu-filter): New function.
6884 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6886 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6887 (tramp-open-connection-setup-interactive-shell):
6888 Apply workaround for IRIX64 bug. Move argument of last
6889 `tramp-send-command' where it belongs to.
6891 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6893 * net/tramp.el (tramp-perl-file-attributes)
6894 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6895 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6896 front of `login-args'.
6898 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6900 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6901 Set `show-trailing-whitespace' to nil.
6902 (display-time-world-display): Simplify.
6904 2010-07-18 Alan Mackenzie <acm@muc.de>
6906 Enhance `c-file-style' in file/directory local variables.
6907 * progmodes/cc-mode.el (c-count-cfss): New function.
6908 (c-before-hack-hook): Call `c-set-style' differently according to
6909 whether c-file-style was set in file or directory local
6912 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6914 * progmodes/sql.el: Version 2.2.
6915 (sql-product, sql-user, sql-database, sql-server, sql-port):
6916 Use defcustom :safe keyword rather than putting safe-local-variable
6918 (sql-password): Use defcustom :risky keyword rather than putting
6919 risky-local-variable property.
6920 (sql-oracle-login-params, sql-sqlite-login-params)
6921 (sql-solid-login-params, sql-sybase-login-params)
6922 (sql-informix-login-params, sql-ingres-login-params)
6923 (sql-ms-login-params, sql-postgres-login-params)
6924 (sql-interbase-login-params, sql-db2-login-params)
6925 (sql-linter-login-params): Add `port' option.
6926 (sql-get-product-feature): Add NO-INDIRECT parameter.
6927 (sql-comint-oracle, sql-comint-sybase)
6928 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6929 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6930 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6931 (sql-comint-linter): Rename sql-connect-* functions to
6933 (sql-product-alist, sql-mode-menu): Rename as above and
6934 :sqli-connect-func to :sqli-comint-func.
6935 (sql-connection): New variable.
6936 (sql-interactive-mode): Set it.
6937 (sql-connection-alist): New variable.
6938 (sql-connect): New function.
6939 (sql--alt-buffer-part, sql--alt-if-not-empty)
6940 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6942 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6944 * image-mode.el (image-bookmark-make-record): Do not set context
6945 in an image (Bug#6650).
6947 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6949 * simple.el (select-active-region): New function.
6950 (push-mark-command, set-mark, activate-mark)
6951 (handle-shift-selection): Use it.
6952 (deactivate-mark): Don't check for size of region.
6954 * mouse.el (mouse-drag-track): Use select-active-region.
6956 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6958 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6961 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6963 * term/x-win.el (x-select-enable-primary): Change default to nil.
6964 (x-select-enable-clipboard): Add :version keyword.
6966 * mouse.el (mouse-drag-copy-region):
6967 * simple.el (select-active-regions): Likewise.
6969 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6971 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6972 (vc-coding-system-for-diff): Use it to decide whether to inherit
6973 from the file the EOL format for reading the diffs of that file.
6976 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6978 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6979 unibyte, so compressed attachments are not compressed again.
6981 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6983 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6984 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6985 (tramp-find-shell): Simplify setting connection property.
6986 (tramp-get-ls-command): Make test for "--color=never" stronger.
6988 2010-07-15 Simon South <ssouth@member.fsf.org>
6990 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6991 blocks within record declarations (i.e. variant parts) correctly.
6993 2010-07-15 Simon South <ssouth@member.fsf.org>
6995 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6996 over literal tokens when parsing so newlines aren't "absorbed" by
6997 single-line comments. Corrects the indentation of case blocks
6998 that have a comment on the first line.
7000 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7002 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7003 by Drew Adams (Bug#5504).
7005 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7007 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7008 now that Unicode is used (Bug#6594).
7010 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7012 * term/x-win.el (x-select-enable-clipboard): Default to t.
7013 (x-initialize-window-system): Don't overwrite Paste menu item.
7015 * simple.el (select-active-regions): Default to t.
7016 (push-mark-command): Don't overwrite primary with empty string.
7018 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7019 (mouse-drag-copy-region): Default to nil.
7021 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7022 Cut/Copy/Paste menu bar items.
7024 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7026 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7027 Patch applied by Karl Fogel.
7029 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7030 and `bookmark-current-buffer' if they have been already set in
7031 another buffer (e.g gnus-art).
7033 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7034 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7036 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7038 * bookmark.el (bookmark-make-record-default): Allow unneeded
7039 information to be omitted from the record.
7041 Adjust declarations and calls:
7043 * info.el (bookmark-make-record-default): Adjust declaration.
7044 (Info-bookmark-make-record): Adjust call.
7046 * woman.el (bookmark-make-record-default): Adjust declaration.
7047 (woman-bookmark-make-record): Adjust call.
7049 * man.el (bookmark-make-record-default): Adjust declaration.
7050 (Man-bookmark-make-record): Adjust call.
7052 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7054 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7056 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7058 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7059 This is also from Thierry Volpiatto's patch in bug #6444. However,
7060 because it was extraneous to the functional change in that patch,
7061 and causes a re-indendation, I am committing it separately.
7063 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7065 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7066 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7067 Patch applied by Karl Fogel (Bug#6444).
7069 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7071 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7073 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7075 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7076 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7077 (ns-alternatives-map): Change S-tab binding to backtab
7080 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7083 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7085 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7088 * language/tv-util.el (tai-viet-re): Remove format.
7090 2010-07-12 Kenichi Handa <handa@m17n.org>
7092 * language/hebrew.el: Remove no-byte-compile declaration.
7093 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7094 composition-function-table for 3-character looking back.
7095 (hebrew-font-get-precomposed): New function.
7096 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7098 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7100 * mouse.el (mouse-drag-track): Handle select-active-regions
7103 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7105 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7106 empty argument to gvfs-copy.
7108 2010-07-10 Glenn Morris <rgm@gnu.org>
7110 * calendar/calendar.el (calendar-week-end-day): New function.
7111 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7112 Respect calendar-week-start-day. (Bug#6606)
7113 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7114 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7115 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7116 respect calendar-week-start-day.
7118 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7120 * simple.el (use-region-p): Doc fix (Bug#6607).
7122 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7124 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7125 Add regexps for cucumber and ruby.
7127 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7129 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7130 (epa-file-insert-file-contents): Hack to prevent
7131 find-file from opening empty buffer when decryption failed
7134 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7136 * textmodes/ispell.el (ispell-alternate-dictionary):
7137 Use file-readable-p.
7138 Return nil if no word-list is found at default locations.
7139 (ispell-complete-word-dict): Default to nil.
7140 (ispell-command-loop): Use 'word-list' when using lookup-words.
7141 (lookup-words): Use ispell-complete-word-dict or
7142 ispell-alternate-dictionary. Check for word-list availability
7143 and handle errors if needed with better messages (Bug#6539).
7144 (ispell-complete-word): Use ispell-complete-word-dict or
7145 ispell-alternate-dictionary.
7147 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7149 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7150 builtins (BufferError, BytesWarning, WindowsError; callables
7151 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7153 2010-07-07 Glenn Morris <rgm@gnu.org>
7155 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7156 (zone-shift-left): Ignore intangibility, and any errors from
7158 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7159 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7160 deleting, and copying text properties.
7161 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7162 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7163 to point-max is hard.
7164 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7165 (zone-fill-out-screen): Ignore intangibility.
7167 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7169 * menu-bar.el (menu-bar-mode):
7170 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7173 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7174 word/line selection (Bug#6565).
7176 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7178 * net/dbus.el (dbus-send-signal): Declare function.
7180 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7182 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7183 (dbus-register-property): New optional argument EMITS-SIGNAL.
7184 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7186 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7188 * mouse.el (mouse-drag-overlay): Variable deleted.
7189 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7190 (mouse--remap-link-click-p): New function.
7191 (mouse-drag-track): Handle dragging by using temporary Transient
7192 Mark mode, instead of a special overlay.
7193 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7196 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7199 2010-07-02 Juri Linkov <juri@jurta.org>
7201 * autoinsert.el (auto-insert-alist): Fix readability
7202 by using dotted pair notation for lambda.
7204 2010-07-02 Juri Linkov <juri@jurta.org>
7206 * faces.el (read-face-name): Rename arg `string-describing-default'
7207 to `default'. Doc fix. Display the default value in quotes
7208 in the prompt. With empty input, return the `default' arg,
7209 unless the default value is a string (in which case return nil).
7210 (describe-face): Replace the string `default' arg of `read-face-name'
7211 with the symbol `default'.
7213 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7215 * emulation/viper-cmd.el (viper-delete-backward-char)
7216 (viper-del-backward-char-in-insert)
7217 (viper-del-backward-char-in-replace, viper-change)
7218 (viper-backward-indent): Replace delete-backward-char with
7219 delete-char (Bug#6552).
7221 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7223 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7225 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7227 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7228 argument passed to frame-creation-function (Bug#5378).
7230 * faces.el (x-handle-named-frame-geometry)
7231 (x-handle-reverse-video, x-create-frame-with-faces)
7232 (face-set-after-frame-default, tty-create-frame-with-faces):
7233 Don't separately consult default-frame-alist. It is now passed as the
7236 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7238 * startup.el (command-line): Don't call tool-bar-setup in a
7241 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7243 * ruler-mode.el (ruler--save-header-line-format): New fun.
7244 (ruler-mode): Use it as a setter function, so as not to overwrite
7245 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7247 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7249 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7250 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7251 (vc-log-outgoing): Use it.
7252 (vc-diff-internal): Set diff-vc-backend.
7254 * vc/diff-mode.el (diff-vc-backend): New var.
7256 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7258 * dynamic-setting.el (font-setting-change-default-font):
7259 Remove call to message.
7261 2010-06-28 Kenichi Handa <handa@m17n.org>
7263 * international/quail.el (quail-insert-kbd-layout): Fix the
7264 showing of untranslated characters.
7266 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7268 * simple.el (delete-active-region): New option.
7269 (delete-backward-char): Implement in Lisp.
7270 (delete-forward-char): New command.
7272 * mouse.el (mouse-region-delete-keys): Deleted.
7273 (mouse-show-mark): Simplify.
7275 * bindings.el (global-map): Bind delete and DEL, the former to
7276 delete-forward-char.
7278 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7280 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7281 (ruby-mode): Bind indent-line-function (Bug#5119).
7283 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7285 * startup.el (command-line): Recognize "0" X resource value.
7287 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7289 * startup.el (command-line): Use X resources to set the value of
7290 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7292 * menu-bar.el (menu-bar-mode):
7293 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7294 Set init-value to t.
7296 * frame.el (frame-notice-user-settings): Don't change
7297 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7298 vice versa (Bug#2249).
7300 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7302 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7304 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7306 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7307 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7309 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7310 default directories are expanded (Bug#6143).
7312 2010-06-24 Juri Linkov <juri@jurta.org>
7314 * minibuffer.el (completions-format): Change default from nil to
7315 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7317 2010-06-24 Juri Linkov <juri@jurta.org>
7319 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7320 buffer-locally to lambda that re-runs the vc diff command.
7323 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7325 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7326 echo area is in use (Bug#3412).
7328 2010-06-22 Glenn Morris <rgm@gnu.org>
7330 * textmodes/texinfmt.el (texinfo-format-region)
7331 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7332 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7333 (texinfo-format-option, texinfo-noindent):
7334 Use line-beginning-position and line-end-position.
7336 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7337 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7338 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7341 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7343 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7344 forward-line fallout.
7346 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7348 * mouse.el (mouse-appearance-menu): Add docstring.
7350 * help.el (describe-key): Print up-event using key-description.
7352 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7354 * net/zeroconf.el (zeroconf-resolve-service)
7355 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7356 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7358 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7360 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7362 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7364 Avoid displaying files with a nil state in vc-dir.
7365 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7366 cases that cause insertion.
7367 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7370 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7372 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7374 2010-06-29 Leo <sdl.web@gmail.com>
7376 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7378 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7380 * generic-x.el (bat-generic-mode): Fix regexp for command line
7381 switches (Bug#5719).
7383 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7385 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7386 of nconc to avoid pure storage error (Bug#6239).
7388 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7390 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7391 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7392 bindings of bookmark-automatically-show-annotations (Bug#6515).
7394 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7396 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7397 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7399 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7401 * comint.el (make-comint, make-comint-in-buffer): Mention return
7402 value in the docstrings. (Bug#6498)
7404 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7406 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7407 since it is not present when using some non-default switches.
7409 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7411 * simple.el (compose-mail): Fix doc string to refer to
7412 `compose-mail-user-agent-warnings', instead of to the
7413 nonexistent `compose-mail-check-user-agent'.
7415 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7417 Fix an indentation bug:
7419 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7420 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7423 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7424 (c-clear->-pair-props-if-match-before): now return t when they've
7425 cleared properties, nil otherwise.
7426 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7427 by taking account of the existing value.
7429 * progmodes/cc-defs.el
7430 (c-clear-char-property-with-value-function): Fix this to clear the
7431 property rather than overwriting it with nil.
7433 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7435 * emacs-lisp/package.el (package-print-package): Add link to
7436 package description via describe-package.
7437 (describe-package-1): List package requirements. Add button to
7438 perform installation.
7439 (package-menu-describe-package): New command.
7441 * help-mode.el (help-package): New button type.
7443 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7445 * emacs-lisp/package.el: Move package-list-packages binding to
7447 (describe-package, describe-package-1, package--dir): New funs.
7448 (package-activate-1): Use package--dir.
7450 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7452 * help-mode.el (help-package-def): New button type.
7454 * menu-bar.el: Move package-list-packages binding here from
7457 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7459 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7461 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * emacs-lisp/edebug.el (edebug-read-list):
7464 Phase out old-style backquotes.
7466 2010-06-17 Juri Linkov <juri@jurta.org>
7468 * help-mode.el (help-mode): Set buffer-local variable
7469 revert-buffer-function to help-mode-revert-buffer.
7470 (help-mode-revert-buffer): New function.
7472 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7473 before popping to "*info*" (like in other Info functions).
7474 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7475 old-history-forward. Pop to old-buffer-name or "*info*" to
7476 recreate the killed buffer. Set Info-history-forward from
7477 old-history-forward.
7478 (Info-breadcrumbs-depth): Add :group and :version.
7480 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7482 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7484 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7486 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7487 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7489 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7491 * emacs-lisp/package.el (package-menu-mode-map):
7492 Move initialization into declaration.
7494 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7496 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7498 * emacs-lisp/package.el (package-archive-base): Point to
7500 (package-enable, package-load-list): New defcustoms.
7501 (package-user-dir, package-directory-list): Turn into defcustoms.
7502 Don't include package-user-dir in package-directory-list.
7503 (package--builtins-base): Don't include Emacs as a "package".
7504 (package-subdirectory-regexp): New var.
7505 (package-load-all-descriptors, package-compute-transaction)
7506 (package-download-transaction): Obey package-load-list.
7507 (package-activate-1): Rename from package-do-activate.
7508 (package-list-packages-internal): Check package-load-list.
7509 (package-load-descriptor, package-generate-autoloads)
7510 (package-unpack, package-unpack-single)
7511 (package--read-archive-file, package-delete):
7512 Use expand-file-name.
7514 * emacs-lisp/package-x.el: New file. Package uploading
7515 functionality split out from package.el.
7517 * startup.el (command-line): Load packages after reading init file.
7519 2010-06-17 Tom Tromey <tromey@redhat.com>
7521 * emacs-lisp/package.el: New file.
7523 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7525 Fix vc-annotate for renamed files when using Git.
7526 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7527 ls-files. Doe not pass the object as a file name to cat-file, it
7529 (vc-git-annotate-command): Pass the file name using -- to avoid
7530 ambiguity with the revision.
7531 (vc-git-previous-revision): Pass a relative file name.
7533 2010-06-22 Glenn Morris <rgm@gnu.org>
7535 * progmodes/js.el (js-mode-map): Use standard capitalization and
7536 ellipses for menu entries.
7538 * wid-edit.el (widget-complete): Doc fix.
7540 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7542 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7544 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7546 Fix annotating other revisions for renamed files in vc-annotate.
7547 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7548 VC backend. Use it when non-nil.
7549 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7552 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7553 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7554 Do not pass the file name to the 'previous-revision call when we
7555 don't want a file diff. (Bug#6489)
7557 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7559 Fix finding revisions for renamed files in vc-annotate.
7560 * vc/vc.el (vc-find-revision): Add an optional argument for
7561 the VC backend. Use it when non-nil.
7562 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7563 backend to vc-find-revision. (Bug#6487)
7565 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7567 Fix reading file names in Git annotate buffers.
7568 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7569 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7571 2010-06-20 Alan Mackenzie <acm@muc.de>
7573 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7574 in file local variables, set it first.
7576 2010-06-19 Glenn Morris <rgm@gnu.org>
7578 * descr-text.el (describe-char-unicode-data): Insert separating
7579 space when needed. (Bug#6422)
7581 * progmodes/idlwave.el (idlwave-action-and-binding):
7582 Fix typo in 2009-12-03 change. (Bug#6450)
7584 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7586 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7587 handling for `lambda' (misunderstanding).
7589 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7591 * calc/calc-poly.el (math-accum-factors): Make sure that
7592 constants aren't distributed after they are factored out.
7594 2010-06-16 Juri Linkov <juri@jurta.org>
7596 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7597 `list-colors-print'. (Bug#6332)
7599 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7601 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7603 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7604 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7606 * font-lock.el (font-lock-major-mode): Rename from
7607 font-lock-mode-major-mode to distinguish it from
7608 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7609 (font-lock-set-defaults):
7610 * font-core.el (font-lock-default-function): Adjust users.
7611 (font-lock-mode): Don't set it at all.
7613 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7615 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7617 2010-06-16 Glenn Morris <rgm@gnu.org>
7619 * calendar/appt.el (appt-time-msg-list): Doc fix.
7620 (appt-check): Let-bind appt-warn-time.
7621 (appt-add): Make the 3rd argument optional.
7622 Simplify argument names. Doc fix. Check for integer WARNTIME.
7623 Only add WARNTIME to the output list if non-nil.
7625 2010-06-16 Ivan Kanis <apple@kanis.eu>
7627 * calendar/appt.el (appt-check): Let the 3rd element of
7628 appt-time-msg-list specify the warning time.
7629 (appt-add): Add new argument with the warning time. (Bug#5176)
7631 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7633 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7634 older than version 1.6. (Bug#6361)
7636 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7638 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7639 used by cl-do-arglist. (Bug#6408)
7641 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7643 * textmodes/ispell.el (ispell-dictionary-base-alist):
7644 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7645 Suggested by Rolando Pereira (bug#6434).
7647 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7649 * facemenu.el (list-colors-sort): Doc fix.
7651 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7653 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7655 2010-06-14 Juri Linkov <juri@jurta.org>
7657 Add sort option `list-colors-sort'. (Bug#6332)
7658 * facemenu.el (color-rgb-to-hsv): New function.
7659 (list-colors-sort): New defcustom.
7660 (list-colors-sort-key): New function.
7661 (list-colors-display): Doc fix. Sort list according to the option
7663 (list-colors-print): Add HSV values to `help-echo' property of
7666 2010-06-14 Juri Linkov <juri@jurta.org>
7668 * compare-w.el: Move to the "vc" subdirectory.
7670 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * image-mode.el (image-mode-map): Remap left-char and right-char.
7674 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7676 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7678 * term/common-win.el (x-colors): Add all the color names defined
7679 in rgb.txt (Bug#6332).
7681 * facemenu.el (list-colors-print): Don't print extra names if it
7682 will overflow the window width.
7684 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7687 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7689 * files.el (make-directory): Doc fix (bug#6396).
7691 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7693 * net/tramp.el (tramp-remote-process-environment): Protect version
7694 string by apostroph.
7695 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7697 (tramp-file-name-for-operation): Add `call-process-region'.
7698 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7700 * net/tramp-compat.el (top): Do not autoload
7701 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7702 only when `start-file-process' is not bound.
7703 (tramp-advice-file-expand-wildcards): Do not use
7704 `tramp-handle-file-remote-p'.
7705 (tramp-compat-make-temp-file): Handle the case, that
7706 `make-temp-file' has no third argument EXTENSION.
7708 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7710 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7712 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7714 2010-06-11 Juri Linkov <juri@jurta.org>
7716 * finder.el (finder-known-keywords): Add keyword "vc"
7717 for version control.
7719 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7720 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7721 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7722 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7724 2010-06-11 Juri Linkov <juri@jurta.org>
7726 Move version control related files to the "vc" subdirectory.
7727 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7728 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7729 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7730 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7731 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7732 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7733 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7734 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7735 Move files to the "vc" subdirectory.
7737 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7739 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7742 2010-06-11 Stephen Eglen <stephen@gnu.org>
7744 * shell.el: Bind `shell-resync-dirs' to M-RET.
7746 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7748 * notifications.el: Move file from lisp/net, because it is
7749 supposed to talk locally to the user.
7751 2010-06-10 Julien Danjou <julien@danjou.info>
7753 * net/notifications.el (notifications-on-action-signal)
7754 (notifications-on-closed-signal): Pass notification id as first
7755 argument to the callback functions. Add docstrings.
7756 (notifications-notify): Fix docstring.
7758 2010-06-10 Glenn Morris <rgm@gnu.org>
7760 * emacs-lisp/authors.el (authors-ignored-files)
7761 (authors-valid-file-names): Add some files.
7763 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7765 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7766 merge conflict, giving preference to the emacs-23 version of the code.
7768 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7770 * emacs-lisp/advice.el (ad-compile-function):
7771 Define warning-suppress-types before we let-bind it (bug#6275).
7773 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7774 declare it, make it buffer-local and permanent-local (bug#6324).
7775 (vc-resynch-window): Adjust name.
7776 * vc-hooks.el (vc-find-file-hook): Adjust name.
7778 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7780 * net/notifications.el (notifications-notify): Fix docstring.
7782 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7784 Update to Unicode 6.0.0 beta.
7785 * international/charprop.el: Update copyright.
7786 * international/mule-cmds.el (ucs-names): Update character ranges.
7787 * international/uni-bidi.el:
7788 * international/uni-category.el:
7789 * international/uni-combining.el:
7790 * international/uni-comment.el:
7791 * international/uni-decimal.el:
7792 * international/uni-decomposition.el:
7793 * international/uni-digit.el:
7794 * international/uni-lowercase.el:
7795 * international/uni-mirrored.el:
7796 * international/uni-name.el:
7797 * international/uni-numeric.el:
7798 * international/uni-old-name.el:
7799 * international/uni-titlecase.el:
7800 * international/uni-uppercase.el: Regenerate.
7802 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7804 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7805 (smie-precs-precedence-table): Fix typo in docstring.
7807 * vc-mtn.el (log-edit-extract-headers): Declare function.
7809 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7811 * net/notifications.el (dbus-register-signal): Declare function.
7812 (notifications-notify): Fix typos and reflow docstring.
7814 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7816 Improve VC create/retrieve tag/branch.
7817 * vc.el (vc-create-tag): Do not read the directory name for VCs
7818 with repository revision granularity. Adjust the tag/branch
7819 prompt. Reset VC properties.
7820 (vc-retrieve-tag): Do not read the directory name for VCs
7821 with repository revision granularity. Reset VC properties.
7823 2010-06-09 Julien Danjou <julien@danjou.info>
7825 * net/notifications.el: New file.
7827 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7829 Add optional support for resetting VC properties.
7830 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7831 call vc-file-clearprops when true.
7832 (vc-resynch-buffer): Add new optional argument, pass it down.
7833 (vc-resynch-buffers-in-directory): Likewise.
7835 Improve support for special markup in the VC commit message.
7836 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7837 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7838 * vc-git.el (vc-git-checkin):
7839 * vc-bzr.el (vc-bzr-checkin): Likewise.
7841 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7843 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7844 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7846 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7848 * iimage.el: Remove images as soon as the underlying text is modified.
7849 (iimage-modification-hook): New function.
7850 (iimage-mode-buffer): Use it.
7852 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7854 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7855 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7856 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7857 (smie-indent-keyword): Add handling of open-paren keywords.
7858 (smie-indent-comment-continue): Don't assume comment-continue.
7860 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7862 * window.el (pop-to-buffer): Remove the conditional that
7863 compares new-window and old-window, so it will reselect
7864 the selected window unconditionally.
7865 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7867 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7869 * emacs-lisp/smie.el (smie-indent-offset-after)
7870 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7871 (smie-indent-after-keyword): Use them.
7872 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7873 (smie-indent-keyword): Tweak the black magic.
7874 (smie-indent-comment-continue): Strip comment-continue before use.
7875 (smie-indent-functions): Indent comments before keywords.
7877 2010-06-06 Juri Linkov <juri@jurta.org>
7879 * isearch.el (isearch-lazy-highlight-search): Fix looping
7880 by checking for empty match. This syncs this loop with the
7881 similar loop in `isearch-search'. (Bug#6362)
7883 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7885 * net/dbus.el (dbus-register-method): Declare function.
7886 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7887 (dbus-introspect): Doc fix.
7888 (dbus-event-bus-name, dbus-introspect-get-interface)
7889 (dbus-introspect-get-argument): Reflow docstrings.
7891 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7893 vc-log-incoming/vc-log-outgoing fixes for Git.
7894 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7895 incoming/outgoing logs.
7896 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7897 instead of vc-git-compute-remote.
7898 (vc-git-compute-remote): Remove.
7900 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7902 * term/common-win.el (x-colors): Add "dark green" and "dark
7903 turquoise" (Bug#6332).
7905 2010-06-04 Juri Linkov <juri@jurta.org>
7907 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7908 Instead of setting `replace' to t and replacing the same string
7909 with itself, don't do certain actions when
7910 kill-do-not-save-duplicates is non-nil and string is equal to car
7911 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7912 interprogram-paste strings to kill-ring, and don't push the input
7913 argument `string' to kill-ring.
7914 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7916 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7918 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7920 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7922 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7923 (tramp-gvfs-handler-mounted-unmounted)
7924 (tramp-gvfs-connection-mounted-p): Handle default-location.
7926 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7927 move files to trash.
7929 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7931 * international/mule-cmds.el (nonascii-insert-offset)
7932 (nonascii-translation-table): Add obsolescence information.
7934 * international/mule.el (make-translation-table-from-vector): Doc fix.
7936 2010-06-03 Glenn Morris <rgm@gnu.org>
7938 * desktop.el (desktop-clear-preserve-buffers):
7939 Add "*Warnings*" buffer. (Bug#6336)
7941 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7943 vc-log-incoming/vc-log-outgoing improvements for Git.
7944 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7946 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7948 Add bindings for vc-log-incoming and vc-log-outgoing.
7949 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7950 and vc-log-outgoing.
7951 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7952 and vc-log-outgoing.
7954 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7956 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7957 (rcirc-handler-366): Always sort nicknames.
7959 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7961 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7963 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7965 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7967 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7969 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7970 (rcirc-sort-nicknames-join): Avoid setq.
7972 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7974 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7975 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7976 (rcirc-handler-366): Use them.
7978 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7980 Split smie-indent-calculate into more manageable chunks.
7981 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7982 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7983 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7984 (smie-indent-exps): Extract from smie-indent-calculate.
7985 (smie-indent-functions): New var.
7986 (smie-indent-functions): Use them.
7988 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7990 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7991 (smie-indent-calculate): Simplify and cleanup.
7993 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7995 * net/tramp-gvfs.el (top): Require url-util.
7996 (tramp-gvfs-mount-point): Remove.
7997 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7999 (with-tramp-dbus-call-method): Format trace message.
8000 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8001 Implement backup call, when operation on local files fails.
8002 Use progress reporter. Flush properties of changed files.
8003 (tramp-gvfs-handle-make-directory): Make more traces.
8004 (tramp-gvfs-url-file-name): Hexify file name in url.
8005 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8006 into account for the resulting file name.
8007 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8008 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8009 (tramp-gvfs-handler-mounted-unmounted)
8010 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8011 attribute "default_location". Set "prefix" property.
8012 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8013 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8014 exists. Raise an error, if not (due to a corresponding answer
8015 "no" in interactive questions, for example).
8017 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8019 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8021 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8023 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8026 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8028 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8029 * vc-git.el (vc-git-compute-remote): New function.
8030 (vc-git-log-outgoing): Use it instead of hard coding a value.
8031 (vc-git-log-incoming): New function.
8033 Improve state updating for VC tag commands.
8034 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8035 to update the state of all buffers in the directory.
8037 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8039 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8041 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8042 `file-directory-p' to the filename part rather than to the whole text.
8044 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8046 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8048 2010-05-31 Drew Adams <drew.adams@oracle.com>
8050 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8052 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8054 * subr.el (momentary-string-display): Just use read-event to read
8055 the exit event (Bug#6238).
8057 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8059 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8061 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8063 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8064 Suggested by Eli Zaretskii <eliz@gnu.org>.
8066 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8068 * minibuffer.el (completion-file-name-table): Don't return a boundary
8069 past the end of `string' (bug#6299).
8070 (completion--file-name-table): Delegate to completion-file-name-table
8071 for the `boundaries' case.
8073 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8075 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8078 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8079 `path-separator', but maintain compatibility with Emacs 20.2.
8081 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8083 * server.el (server-process-filter): Receive parent-id argument
8085 (server-create-window-system-frame): New arg. Pass parent-id as
8088 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8090 Bidi-sensitive word movement with arrow keys.
8091 * subr.el (right-arrow-command, left-arrow-command): Move to
8094 * bindings.el (right-char, left-char): Move from subr.el and
8095 rename from right-arrow-command and left-arrow-command.
8096 (right-word, left-word): New functions.
8097 (global-map) <right>: Bind to right-char.
8098 (global-map) <left>: Bind to left-char.
8099 (global-map) <C-right>: Bind to right-word.
8100 (global-map) <C-left>: Bind to left-word.
8102 * ls-lisp.el (ls-lisp-classify-file): New function.
8103 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8104 (ls-lisp-classify): Call ls-lisp-classify-file.
8105 (insert-directory): Remove blanks from switches.
8107 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8109 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8110 (ansi-color-drop-regexp): New constant.
8111 (ansi-color-apply, ansi-color-filter-region)
8112 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8113 (ansi-color-apply): Build string list before calling concat.
8115 2010-05-28 Juri Linkov <juri@jurta.org>
8117 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8118 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8121 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8123 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8124 to ignored backtrace functions.
8125 (with-progress-reporter): Expand docstring.
8126 (tramp-handle-delete-file): Implement TRASH argument.
8127 (tramp-get-remote-trash): New defun.
8129 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8131 * net/tramp-compat.el (tramp-compat-delete-file):
8132 Use `symbol-value' for backward compatibility.
8134 * net/tramp.el (tramp-handle-make-symbolic-link)
8136 (tramp-do-copy-or-rename-file-via-buffer)
8137 (tramp-do-copy-or-rename-file-directly)
8138 (tramp-do-copy-or-rename-file-out-of-band)
8139 (tramp-handle-process-file, tramp-handle-call-process-region)
8140 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8141 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8142 (tramp-delete-temp-file-function): Use `delete-file' instead
8143 of `tramp-compat-delete-file'.
8145 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8146 (tramp-fish-handle-make-symbolic-link)
8147 (tramp-fish-handle-process-file): Use `delete-file' instead
8148 of `tramp-compat-delete-file'.
8150 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8151 Use `delete-file' instead of `tramp-compat-delete-file'.
8153 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8154 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8155 `tramp-compat-delete-file'.
8157 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8158 Use `delete-file' instead of `tramp-compat-delete-file'.
8160 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8161 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8162 (tramp-smb-handle-write-region): Use `delete-file' instead of
8163 `tramp-compat-delete-file'.
8164 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8166 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8168 * dired.el (dired-delete-file): New arg TRASH.
8169 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8170 (dired-do-flagged-delete, dired-do-delete): Use trash.
8172 * speedbar.el (speedbar-item-delete): Allow trashing.
8174 * files.el (delete-directory): New arg TRASH.
8176 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8177 (ange-ftp-rename-remote-to-remote)
8178 (ange-ftp-rename-local-to-remote)
8179 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8180 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8182 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8185 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8186 handle new TRASH arg of `delete-file'.
8188 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8189 (tramp-handle-make-symbolic-link, tramp-handle-load)
8190 (tramp-do-copy-or-rename-file-via-buffer)
8191 (tramp-do-copy-or-rename-file-directly)
8192 (tramp-do-copy-or-rename-file-out-of-band)
8193 (tramp-handle-process-file, tramp-handle-call-process-region)
8194 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8195 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8196 (tramp-delete-temp-file-function): Use null TRASH arg in
8197 tramp-compat-delete-file call.
8199 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8200 (tramp-fish-handle-delete-file)
8201 (tramp-fish-handle-make-symbolic-link)
8202 (tramp-fish-handle-process-file): Use null TRASH arg in
8203 `tramp-compat-delete-file' call.
8205 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8206 arg in `tramp-compat-delete-file' call.
8208 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8209 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8210 `tramp-compat-delete-file' call.
8212 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8213 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8214 `tramp-compat-delete-file' call.
8216 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8217 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8218 (tramp-smb-handle-write-region): Use null TRASH arg in
8219 tramp-compat-delete-file call.
8220 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8221 (tramp-smb-handle-delete-file): Rename arg.
8223 * diff.el (diff-sentinel):
8224 * epg.el (epg--make-temp-file, epg-decrypt-string)
8225 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8226 * jka-compr.el (jka-compr-partial-uncompress)
8227 (jka-compr-call-process, jka-compr-write-region):
8228 * server.el (server-sentinel): Remove optional arg from
8229 delete-file, reverting 2010-05-03 change.
8231 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8233 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8234 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8236 2010-05-27 Kenichi Handa <handa@m17n.org>
8238 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8239 element of GSTRING is nil.
8241 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8243 * emacs-lisp/smie.el (smie-forward-token-function)
8244 (smie-backward-token-function): New vars.
8245 (smie-backward-sexp, smie-forward-sexp)
8246 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8247 (smie-default-backward-token): Rename from smie-backward-token and
8249 (smie-default-forward-token): Rename from smie-forward-token and
8251 (smie-next-sexp): Handle nil results from next-token.
8252 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8254 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8256 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8257 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8259 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8261 * htmlfontify.el (hfy-face-resolve-face): New function.
8262 (hfy-face-to-style): Use it (Bug#6279).
8264 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8266 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8267 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8269 2010-05-26 Glenn Morris <rgm@gnu.org>
8271 * emulation/edt.el (edt-load-keys): Use locate-library.
8273 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8275 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8276 (log-edit-changelog-entries): Doc fix.
8277 (log-edit-changelog-insert-entries): Args changed.
8278 Rename relative filenames in ChangeLog entries. Delete tabs.
8279 (log-edit-insert-changelog-entries): Reorganize return value of
8280 `log-edit-changelog-entries' to pass filenames to
8281 log-edit-changelog-insert-entries.
8283 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8285 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8286 `image-dired-dired-insert-marked-thumbs' to
8287 `image-dired-dired-toggle-marked-thumbs'.
8289 * image-dired.el: Require cl when compiling.
8290 (image-dired-dired-toggle-marked-thumbs): Rename from
8291 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8292 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8293 to 'no-dir. Skip files whose names don't match
8294 `image-file-name-regexp'. When file has a thumbnail overlay,
8295 delete it. (Bug#5270)
8297 2010-05-25 Juri Linkov <juri@jurta.org>
8299 * image-mode.el (image-mode): Add image-after-revert-hook to
8301 (image-after-revert-hook): New function. (Bug#5669)
8303 2010-05-25 Juri Linkov <juri@jurta.org>
8305 * image.el (image-animated-p): When delay between animated images
8306 is 0, set it to 10 (0.1 sec). (Bug#6258)
8308 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8310 * net/tramp.el (tramp-handle-insert-directory): Don't use
8311 `forward-word', its default syntax could be changed.
8313 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8315 * net/tramp.el (tramp-progress-reporter-update): New defun.
8316 (with-progress-reporter): Use it.
8317 (tramp-process-actions):
8318 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8319 Preserve current message, in order to let progress reporter continue
8320 afterwards. (Bug#6257)
8322 2010-05-25 Glenn Morris <rgm@gnu.org>
8324 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8327 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8329 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8330 (rcirc-default-full-name): Change to "unknown".
8331 (rcirc-user-name-history): Add variable.
8333 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8334 Jonathan Rockway <jon@jrock.us>
8336 * net/rcirc.el (rcirc-server-alist): Add :pass.
8337 (rcirc): When prompting for connection parameters, also prompt for
8338 username and password.
8339 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8340 value to server when connecting.
8342 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8345 (smie-merge-prec2s): Pass the tables as separate args.
8346 (smie-bnf-precedence-table): Adjust call accordingly.
8347 (smie-prec2-levels): Set levels at the end.
8349 Replace Lisp calls to delete-backward-char by delete-char.
8350 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8351 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8352 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8353 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8354 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8355 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8356 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8357 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8358 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8359 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8360 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8361 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8362 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8363 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8364 delete-backward-char by calls to delete-char.
8366 2010-05-25 Kenichi Handa <handa@m17n.org>
8368 * language/hebrew.el (hebrew-shape-gstring): New function.
8369 Register it in composition-function-table for all Hebrew combining
8372 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8374 * epa.el (epa--select-keys): Don't explicitly delete the window since
8375 that can fail (e.g. sole window in frame). Use dedication instead.
8377 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8379 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8381 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8383 * image.el (image-refresh): Define as an alias for image-flush.
8385 * image-mode.el (image-toggle-display-image): Caller changed.
8387 2010-05-21 Juri Linkov <juri@jurta.org>
8389 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8390 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8391 whitespace, call wildcard-to-regexp on substrings and concat them
8392 with "\\|". (Bug#6114)
8394 2010-05-21 Alan Mackenzie <acm@muc.de>
8396 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8397 Replace parameter `here' with `here-' and `here-plus', which sandwich
8398 any pertinent CPP construct.
8399 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8400 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8401 CPP construct from taking part in the scanning.
8403 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8405 * net/tramp.el (tramp-do-copy-or-rename-file)
8406 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8407 Tune `with-progress-reporter' messages.
8408 (tramp-handle-vc-registered):
8409 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8410 (tramp-fish-handle-insert-file-contents)
8411 (tramp-fish-maybe-open-connection):
8412 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8413 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8414 (tramp-imap-handle-insert-file-contents)
8415 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8417 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8419 * add-log.el (change-log-font-lock-keywords):
8420 Highlight all authors in multi-author entries.
8422 * smerge-mode.el (smerge-refine-ignore-whitespace)
8423 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8424 Fix typos in docstrings.
8425 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8427 2010-05-21 Glenn Morris <rgm@gnu.org>
8429 * progmodes/fortran.el (fortran-mode):
8430 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8432 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8433 having a relative path in src/Makefile.in.
8435 2010-05-20 Kevin Ryde <user42@zip.com.au>
8437 * help-mode.el (help-make-xrefs): For Info node links turn
8438 newlines into spaces. Link node names with newlines are matched
8439 by help-xref-info-regexp and buttonized, this change ensures they
8440 can be followed successfully with RET. (Bug#6206)
8442 2010-05-20 Juri Linkov <juri@jurta.org>
8444 * locate.el (locate): Use pop-to-buffer instead of
8445 switch-to-buffer-other-window. (Bug#6204)
8447 2010-05-20 Juri Linkov <juri@jurta.org>
8449 * replace.el (replace-highlight): Fix lazy-highlighting
8450 for `M-s w str M-% str RET'.
8452 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8454 * isearch.el (isearch-yank-word-or-char): Pull next subword
8455 when `subword-mode' is activated. (Bug#6220)
8457 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8459 * isearch.el (isearch-update-post-hook): New hook.
8460 (isearch-update): Use the new hook. (Bug#6225)
8462 2010-05-20 Juri Linkov <juri@jurta.org>
8464 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8465 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8468 2010-05-20 Juri Linkov <juri@jurta.org>
8470 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8473 2010-05-20 Juri Linkov <juri@jurta.org>
8475 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8476 FILE-NAME to read from the minibuffer when called interactively
8477 with prefix argument instead of using buffer-file-name.
8478 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8480 * dired.el: Update autoloads.
8482 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8484 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8485 nxml-finish-element, for consistency with SGML mode.
8487 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8490 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8492 * composite.el: Require cl when compiling.
8493 (reference-point-alist, compose-gstring-for-graphic)
8494 (compose-gstring-for-terminal): Fix typos in docstrings.
8496 2010-05-19 Juri Linkov <juri@jurta.org>
8498 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8499 set-window-parameter.
8501 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8503 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8505 (tramp-maybe-open-connection): Use it.
8507 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8509 * simple.el (move-end-of-line): Make sure we are at line beginning
8510 before backing up to end of previous line.
8512 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8514 * password-cache.el (password-cache-remove): Fix docstring.
8516 * net/secrets.el: Autoload the widget functions.
8517 (secrets-search-items, secrets-create-item)
8518 (secrets-get-attributes, secrets-expand-item): Attributes will be
8519 stored on the password database without leading ":", as all other
8521 (secrets-mode): Fix docstring.
8522 (secrets-show-secrets): Provide it as autoloaded command only when
8523 D-Bus support is available. Check existence of Secret Service API.
8525 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8527 * indent.el (indent-region): Deactivate region (bug#6200).
8529 2010-05-19 Glenn Morris <rgm@gnu.org>
8531 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8533 2010-05-19 Kenichi Handa <handa@m17n.org>
8535 * composite.el: Register compose-gstring-for-graphic in
8536 composition-function-table only for combining characters (Mn, Mc, Me).
8538 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8540 * calc/calc-trail.el (calc-trail-isearch-forward)
8541 (calc-trail-isearch-backward): Ensure that the new window
8542 point is set correctly.
8544 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8546 * subr.el (read-quoted-char): Resolve modifiers after key
8547 remapping (bug#6212).
8549 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8551 Add visualization code for secrets.
8552 * net/secrets.el (secrets-mode): New major mode.
8553 (secrets-show-secrets, secrets-show-collections)
8554 (secrets-expand-collection, secrets-expand-item)
8555 (secrets-tree-widget-after-toggle-function)
8556 (secrets-tree-widget-show-password): New defuns.
8558 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8560 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8561 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8562 handled in smie-next-sexp.
8563 (smie-indent-calculate): Provide a starting indentation (so the
8564 recursion is well-founded ;-).
8566 Fix handling of non-associative equal levels.
8567 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8568 when it's not needed.
8569 (smie-op-left, smie-op-right): New functions.
8570 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8571 Better handle equal levels to distinguish the associative case from
8572 the "multi-keyword construct" case.
8573 (smie-backward-sexp, smie-forward-sexp): Use it.
8575 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8577 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8579 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8580 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8582 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8584 Provide a simple generic indentation engine and use it for Prolog.
8585 * emacs-lisp/smie.el: New file.
8586 * progmodes/prolog.el (prolog-smie-op-levels)
8587 (prolog-smie-indent-rules): New var.
8588 (prolog-mode-variables): Use them to configure SMIE.
8589 (prolog-indent-line, prolog-indent-level): Remove.
8591 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8593 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8594 order before computing the averages.
8596 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8598 * calc/calc-vec.el (calc-histogram):
8599 (calcFunc-histogram): Allow vectors as inputs.
8600 (math-vector-avg): New function.
8602 * calc/calc-ext.el (math-group-float): Have the number of digits
8603 being grouped depend on the radix (Bug#6189).
8605 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8607 * version.el (emacs-copyright, emacs-version): Don't define here,
8608 now that emacs.c defines it.
8610 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8612 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8613 "Describe Language Environment" menu item.
8615 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8617 Bidi-sensitive movement with arrow keys.
8618 * subr.el (right-arrow-command, left-arrow-command): New functions.
8620 * bindings.el (global-map): Bind them to right and left arrow keys.
8622 Don't override standard definition of convert-standard-filename.
8623 * files.el (convert-standard-filename):
8624 Call w32-convert-standard-filename and dos-convert-standard-filename on
8625 the corresponding systems.
8627 * w32-fns.el (w32-convert-standard-filename): Rename from
8628 convert-standard-filename. Doc fix.
8630 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8631 (convert-standard-filename): Don't defalias.
8632 (register-name-alist, make-register, register-value)
8633 (set-register-value, intdos): Obsolete aliases for the
8634 corresponding dos-* functions and variables.
8635 (dos-intdos): Add a doc string.
8637 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8639 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8640 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8641 (math-compose-tex-func):
8642 * calc/calccomp.el (math-compose-expr):
8643 * calc/calc-ext.el (math-format-flat-expr-fancy):
8644 * calc/calc-store.el (calc-read-var-name):
8645 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8647 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8648 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8649 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8650 (math-standard-units): Add units.
8652 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8654 * progmodes/asm-mode.el (asm-mode):
8655 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8657 * pcomplete.el (pcomplete-completions-at-point): New function,
8658 extracted from pcomplete-std-complete.
8659 (pcomplete-std-complete): Use it.
8661 2010-05-15 Glenn Morris <rgm@gnu.org>
8663 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8664 Remove references to CVS, RCS and Old directories.
8666 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8668 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8671 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8673 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8674 (sh-mode-syntax-table): Give it a default value instead.
8675 (sh-header-marker): Make buffer-local.
8676 (sh-mode): Move make-local-variable to the corresponding setq.
8677 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8678 Use complete-with-action.
8680 * simple.el (prog-mode): New (abstract) major mode.
8681 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8682 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8684 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8686 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8687 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8688 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8689 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8690 (sql-escape-newlines-filter, sql-input-sender)
8691 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8693 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8695 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8697 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8698 latex-open-block and C-c / to latex-close-block.
8700 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8701 and C-c C-e to sgml-close-tag.
8703 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8705 * net/tramp.el (with-progress-reporter): Create reporter object
8706 only when the message would be displayed. Handle nested calls.
8707 (tramp-handle-load, tramp-handle-file-local-copy)
8708 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8709 (tramp-maybe-send-script, tramp-find-shell):
8710 Use `with-progress-reporter'.
8711 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8714 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8715 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8716 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8717 Use `with-progress-reporter'.
8719 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8721 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8722 process everytime when spellchecking from the minibuffer (bug#6143).
8724 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8726 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8728 * dos-fns.el: Add "dos-" prefix for namespace control.
8729 (convert-standard-filename): Define as alias for
8730 dos-convert-standard-filename but only if applicable.
8732 2010-05-12 Alan Mackenzie <acm@muc.de>
8734 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8735 Push the mark at the start of these functions when appropriate.
8737 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8739 * minibuffer.el (completion-cycle-threshold): New custom var.
8740 (completion--do-completion): Use it.
8741 (minibuffer-complete): Use cycling if appropriate.
8743 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8745 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8746 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8748 2010-05-11 Juri Linkov <juri@jurta.org>
8750 * scroll-all.el (scroll-all-check-to-scroll):
8751 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8753 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8755 * iimage.el (iimage-mode-map): Move initialization into declaration.
8756 (iimage-mode-buffer): Use with-silent-modifications.
8757 Simplify calling convention. Adjust callers.
8758 (iimage-mode): Don't run hook redundantly.
8760 * minibuffer.el (completion-pcm--pattern->regex):
8761 Fix last change (bug#6160).
8763 2010-05-10 Juri Linkov <juri@jurta.org>
8765 Remove nodes visited during Isearch from the Info history.
8766 * info.el (Info-isearch-initial-history)
8767 (Info-isearch-initial-history-list): New variables.
8768 (Info-isearch-start): Record initial values of
8769 Info-isearch-initial-history and Info-isearch-initial-history-list.
8770 Add Info-isearch-end to isearch-mode-end-hook.
8771 (Info-isearch-end): New function.
8773 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8775 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8776 format string, in order to work around a bug in pdksh.
8777 Reported by Gilles Pion <gpion@lfdj.com>.
8778 (tramp-handle-verify-visited-file-modtime): Do not send a command
8779 when the connection is not established.
8780 (tramp-handle-set-file-times): Simplify the check for utc.
8782 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8784 Fix use of `filter-buffer-substring' (rework previous change).
8785 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8786 (cua-repeat-replace-region):
8787 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8788 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8789 (cua-cut-region-to-global-mark): Use it.
8791 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8793 * progmodes/sql.el: Version 2.1.
8794 (sql-product-alist): Redesign structure of product info.
8795 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8796 (sql-port, sql-port-history): New variables.
8797 (sql-interactive-product): New variable.
8798 (sql-send-terminator): New variable.
8799 (sql-imenu-generic-expression): Add "Types" imenu entry.
8800 (sql-oracle-login-params, sql-sqlite-login-params)
8801 (sql-mysql-login-params, sql-solid-login-params)
8802 (sql-sybase-login-params, sql-informix-login-params)
8803 (sql-ingres-login-params, sql-ms-login-params)
8804 (sql-postgres-login-params, sql-interbase-login-params)
8805 (sql-db2-login-params, sql-linter-login-params)
8806 (sql-oracle-scan-on): New variables.
8807 (sql-mode-map): Add C-c C-i to start interactive mode.
8808 (sql-mode-menu): Update existing menu entries.
8809 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8810 (sql-mode-oracle-font-lock-keywords)
8811 (sql-mode-postgres-font-lock-keywords)
8812 (sql-mode-ms-font-lock-keywords)
8813 (sql-mode-sybase-font-lock-keywords)
8814 (sql-mode-informix-font-lock-keywords)
8815 (sql-mode-interbase-font-lock-keywords)
8816 (sql-mode-ingres-font-lock-keywords)
8817 (sql-mode-solid-font-lock-keywords)
8818 (sql-mode-mysql-font-lock-keywords)
8819 (sql-mode-sqlite-font-lock-keywords)
8820 (sql-mode-db2-font-lock-keywords)
8821 (sql-mode-linter-font-lock-keywords): Update initialization to
8822 reduce run-time complexity.
8823 (sql-add-product, sql-del-product): New functions.
8824 (sql-set-product-feature, sql-get-product-feature): New functions.
8825 (sql-product-font-lock): Update product API.
8826 (sql-add-product-keywords): New function.
8827 (sql-highlight-product): Update product API.
8828 (sql-help-list-products): New function.
8829 (sql-help): Dynamically lists free and non-free products.
8830 (sql-get-login): Correct bug in handling history and added
8832 (sql-copy-column): Copy without properties.
8833 (sqli-input-sender): Apply filters to SQLi input.
8834 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8835 Implement as a filter.
8836 (sql-escape-newlines-filter): Implement as a filter.
8837 (sql-remove-tabs-filter): New function.
8838 (sql-send-magic-terminator): New function.
8839 (sql-send-string): Implement magic terminator.
8840 (sql-send-region): Use `sql-send-string'.
8841 (sql-interactive-mode): Use product API.
8842 (sql-product-interactive): Use product API.
8843 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8844 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8845 (sql-db2, sql-linter): Use `sql-product-interactive'.
8846 (sql-connect): New function.
8847 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8848 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8849 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8850 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8853 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8855 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8856 New custom variable.
8857 (completion-pcm--string->pattern): Use it.
8858 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8859 Make it handle any symbol as `any'.
8860 (completion-pcm--merge-completions): Extract common suffix for the new
8861 `prefix' symbol as well.
8862 (completion-substring--all-completions): Use the new `prefix' symbol.
8864 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8866 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8868 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8869 (tramp-compat-funcall): New defmacro.
8870 (tramp-compat-line-beginning-position)
8871 (tramp-compat-line-end-position)
8872 (tramp-compat-temporary-file-directory)
8873 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8874 (tramp-compat-copy-file, tramp-compat-copy-directory)
8875 (tramp-compat-delete-file, tramp-compat-delete-directory)
8876 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8877 * net/tramp.el (top, with-progress-reporter)
8878 (tramp-rfn-eshadow-setup-minibuffer)
8879 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8880 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8881 (tramp-completion-mode-p, tramp-check-for-regexp)
8882 (tramp-open-connection-setup-interactive-shell)
8883 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8884 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8885 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8886 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8887 (tramp-reporter-dump-variable, tramp-load-report-modules)
8888 (tramp-append-tramp-buffers)
8889 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8891 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8893 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8895 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8896 buffer-modtime. Adjust users.
8898 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8900 * international/mule.el (auto-coding-alist): Only purecopy
8901 car of each item, not the whole list (Bug#6083).
8903 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8905 * progmodes/js.el (js-mode): Make paragraph variables local before
8906 calling c-setup-paragraph-variables (Bug#6071).
8908 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8910 * composite.el (compose-region, reference-point-alist): Fix typos
8913 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8915 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8916 gnuplot's "set" command.
8918 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8920 * abbrev.el (last-abbrev-text): Doc fix.
8921 (abbrev-prefix-mark): Don't escape parenthesis.
8923 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8925 * composite.el (find-composition): Doc fix.
8927 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8929 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8930 (sql-oracle-program, sql-sqlite-options)
8931 (sql-query-placeholders-and-send): Doc fixes.
8932 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8933 (sql-imenu-generic-expression, sql-buffer)
8934 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8935 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8936 (sql-mode-sybase-font-lock-keywords)
8937 (sql-mode-informix-font-lock-keywords)
8938 (sql-mode-interbase-font-lock-keywords)
8939 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8940 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8941 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8942 (sql-product-feature, sql-highlight-product)
8943 (comint-line-beginning-position, sql-rename-buffer)
8944 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8945 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8946 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8947 Fix typos in docstrings.
8949 2010-05-08 Juri Linkov <juri@jurta.org>
8951 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8952 property instead of `invisible' and `after-string' (bug#5998).
8954 2010-05-08 Juri Linkov <juri@jurta.org>
8956 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8958 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8960 * filecache.el (file-cache-add-directory-list)
8961 (file-cache-add-directory-recursively): Fix typos in docstrings.
8963 2010-05-08 Kenichi Handa <handa@m17n.org>
8965 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8966 (gujarati-composable-pattern): Fix typo.
8968 2010-05-08 Kenichi Handa <handa@m17n.org>
8970 * language/indian.el (oriya-composable-pattern)
8971 (tamil-composable-pattern, malayalam-composable-pattern):
8972 Add two-part vowels to "v" (vowel sign).
8974 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8976 * files.el (copy-directory): Handle symlinks (Bug#5982).
8978 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8980 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8981 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8984 2010-05-08 Glenn Morris <rgm@gnu.org>
8986 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8988 * minibuffer.el (completion-at-point): Doc fix.
8990 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8992 * electric.el (Electric-command-loop): Minor tweak.
8994 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8995 better with dedicated windows.
8997 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8999 * Version 23.2 released.
9001 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9002 Stefan Monnier <monnier@iro.umontreal.ca>
9004 Highlight vendor specific properties.
9005 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9006 (css-proprietary-property): New face.
9007 (css-font-lock-keywords): Use them.
9009 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9011 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9013 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9015 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9016 * files.el (auto-mode-alist): Remove redundant entries.
9018 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9019 * simple.el (auto-save-mode): Move from files.el.
9020 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9022 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9024 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9026 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9028 * mail/binhex.el (binhex-decode-region-internal)
9029 * mail/uudecode.el (uudecode-decode-region-internal)
9030 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9031 (dns-read-type, dns-query)
9032 * pgg-parse.el (pgg-parse-armor)
9033 * pgg.el (pgg-verify-region)
9034 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9037 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9039 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9041 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9043 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9044 * emulation/cua-base.el (cua-repeat-replace-region):
9045 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9046 (cua-cut-region-to-global-mark):
9047 Remove text properties with `set-text-properties'.
9049 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9051 * net/tramp.el (top, with-progress-reporter):
9052 Use `symbol-function' inside `funcall'.
9054 * net/tramp-compat.el (tramp-compat-file-attributes)
9055 (tramp-compat-delete-file, tramp-compat-delete-directory):
9056 Handle only `wrong-number-of-arguments' error.
9058 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9059 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9062 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9064 * minibuffer.el (completion--sreverse, completion--common-suffix):
9066 (completion-pcm--merge-completions): Extract common suffix when safe.
9068 * emacs-lisp/easy-mmode.el (define-minor-mode):
9069 Make :variable more flexible.
9070 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9072 2010-05-05 Juri Linkov <juri@jurta.org>
9074 Add `slow' and `history' tags to the desktop data.
9076 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9077 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9078 (Info-finder-find-node): Require `finder.el' to be able
9079 to restore node from the desktop.
9080 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9081 data `Info-history' and `slow' tag in the assoc list.
9082 (Info-restore-desktop-buffer): Don't restore nodes with the
9083 `slow' tag. Restore `Info-history'.
9085 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9087 Add FORCE argument to `delete-file'.
9089 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9090 forcing to delete the temporary file.
9091 (ange-ftp-delete-file): Add FORCE arg.
9092 (ange-ftp-rename-remote-to-remote)
9093 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9094 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9095 Force file deletion.
9097 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9099 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9100 (tramp-handle-make-symbolic-link, tramp-handle-load)
9101 (tramp-do-copy-or-rename-file-via-buffer)
9102 (tramp-do-copy-or-rename-file-directly)
9103 (tramp-do-copy-or-rename-file-out-of-band)
9104 (tramp-handle-process-file, tramp-handle-call-process-region)
9105 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9106 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9107 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9109 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9110 (tramp-fish-handle-make-symbolic-link)
9111 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9113 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9114 Use `tramp-compat-delete-file'.
9116 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9117 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9119 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9120 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9122 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9123 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9124 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9125 Use `tramp-compat-delete-file'.
9127 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9130 * subr.el (add-minor-mode): Use push.
9131 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9132 * emulation/edt.el (edt-select-mode): Simplify.
9134 Use define-minor-mode in more cases.
9135 * term/tvi970.el (tvi970-set-keypad-mode):
9136 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9137 (normal-erase-is-backspace-mode):
9138 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9139 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9140 (get-scroll-bar-mode): New function.
9141 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9143 Use define-minor-mode for less obvious cases.
9144 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9145 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9146 * international/iso-ascii.el (iso-ascii-mode):
9147 * frame.el (auto-raise-mode, auto-lower-mode):
9148 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9150 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9152 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9153 in order to see error messages for failed logins.
9155 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9157 * diff.el (diff-sentinel):
9159 * epg.el (epg--make-temp-file, epg-decrypt-string)
9160 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9162 * jka-compr.el (jka-compr-partial-uncompress)
9163 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9165 * server.el (server-sentinel): Use delete-file's new FORCE arg
9168 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9170 Use define-minor-mode where applicable.
9171 * view.el (view-mode):
9172 * type-break.el (type-break-query-mode)
9173 (type-break-mode-line-message-mode):
9174 * textmodes/reftex.el (reftex-mode):
9175 * term/vt100.el (vt100-wide-mode):
9176 * tar-mode.el (tar-subfile-mode):
9177 * savehist.el (savehist-mode):
9178 * ibuf-ext.el (ibuffer-auto-mode):
9179 * composite.el (auto-composition-mode):
9180 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9181 Use define-minor-mode.
9182 (vhdl-mode): Use static mode-line format.
9183 (vhdl-mode-line-update): Delete.
9184 (vhdl-create-mode-menu, vhdl-activate-customizations)
9185 (vhdl-hs-minor-mode): Don't bother calling it.
9187 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * simple.el (with-wrapper-hook): Move.
9190 (buffer-substring-filters): Mark obsolete.
9191 (filter-buffer-substring-functions): New variable.
9192 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9194 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9195 Michael Albinus <michael.albinus@gmx.de>
9197 Implement compression for inline methods.
9199 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9200 (tramp-copy-size-limit): Allow also nil.
9201 (tramp-inline-compress-commands): New defconst.
9202 (tramp-find-inline-compress, tramp-get-inline-compress)
9203 (tramp-get-inline-coding): New defuns.
9204 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9205 replaced by `tramp-get-inline-coding'.
9206 (tramp-handle-file-local-copy, tramp-handle-write-region)
9207 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9209 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9211 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9212 Remove unused functions.
9214 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9215 Set find-tag-default-function as a variable rather than a property.
9217 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9218 * progmodes/etags.el (tags-completion-at-point-function):
9219 Remove left over interactive spec. Add autoloading stub.
9220 (complete-tag): Use tags-completion-at-point-function.
9222 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9224 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9226 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9228 * ido.el (ido-init-completion-maps): Remove C-v binding.
9229 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9231 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9233 * minibuffer.el (tags-completion-at-point-function): New function.
9234 (completion-at-point-functions): Use it.
9236 * progmodes/etags.el (complete-tag): Revert last change.
9238 2010-04-29 Alan Mackenzie <acm@muc.de>
9240 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9241 off-by-one error (in end of macro position).
9243 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9246 firefox is absent. Don't autoload.
9247 (browse-url-galeon-program): Don't autoload.
9249 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9251 * bindings.el (complete-symbol): Move into minibuffer.el.
9253 * minibuffer.el (complete-tag): Move from etags.el. If tags
9254 completion cannot be performed, return nil instead of signalling
9256 (completion-at-point): Make it an alias for complete-symbol.
9257 (complete-symbol): Move from bindings.el, and replace with the
9258 body of completion-at-point.
9260 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9262 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9264 * net/tramp.el (tramp-remote-selinux-p): New defun.
9265 (tramp-handle-file-selinux-context)
9266 (tramp-handle-set-file-selinux-context): Use it.
9268 2010-04-28 Sam Steingold <sds@gnu.org>
9270 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9271 `safe-local-variable' if the value is a string or a symbol with
9272 the property `bug-reference-url-format'.
9274 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9276 * progmodes/bug-reference.el (bug-reference-url-format):
9277 Revert 2010-04-27 change due to security risk.
9279 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9281 Make it possible to locally disable a globally enabled mode.
9282 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9283 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9284 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9285 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9286 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9287 that subsequent hooks get a chance to disable it.
9289 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9291 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9292 Avoid re-enabling a minor mode after the user turned the minor mode
9293 off if MODE-enable-in-buffers is run twice (typically once from
9294 fundamental-mode's after-change-major-mode-hook and a second time from
9295 run-mode-hook's own after-change-major-mode-hook).
9297 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9299 2010-04-27 Sam Steingold <sds@gnu.org>
9301 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9302 `safe-local-variable' if the value is a string or a function, as
9303 documented and implemented on 2010-04-02.
9305 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9307 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9308 when method is 'kill.
9310 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9312 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9313 condition in default directory check.
9314 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9315 Kill ispell process when killing its associated buffer.
9317 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9319 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9320 but we aren't using it.
9322 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9324 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9325 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9327 2010-04-24 Glenn Morris <rgm@gnu.org>
9329 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9330 Ignore VCS-ignore files, and deleted nextstep preferences files.
9331 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9332 (authors-ambiguous-files): New list.
9333 (authors-valid-file-names): Add some deleted files.
9334 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9335 (authors-disambiguate-file-name): New function. (Bug#5501)
9336 (authors-canonical-file-name): Doc fix.
9337 Don't warn about obsolete files.
9338 (authors-canonical-file-name, authors-scan-el):
9339 Use authors-disambiguate-file-name.
9341 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9342 Add autoload cookies.
9343 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9344 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9345 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9346 They have definitions / compiler macros in cl.el.
9347 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9348 Replace manual autoloads with generated ones.
9349 (htmlfontify-unload-rgb-file): Remove autoload.
9350 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9352 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9355 (byte-compile-setq-default): Optimize for the
9356 single-var case and don't call byte-compile-form in this case to avoid
9357 inf-loop with byte-compile-set-default.
9359 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9361 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9363 Implement SELINUX backends.
9365 * net/tramp.el (tramp-file-name-handler-alist):
9366 Add `file-selinux-context' and `set-file-selinux-context'.
9367 (tramp-handle-file-selinux-context)
9368 (tramp-handle-set-file-selinux-context): New defuns.
9369 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9370 Handle PRESERVE-SELINUX-CONTEXT.
9372 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9373 Add `file-selinux-context' and `set-file-selinux-context'.
9374 (tramp-gvfs-handle-file-selinux-context)
9375 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9376 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9378 * net/ange-ftp.el (ange-ftp-copy-file):
9379 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9380 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9381 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9382 Add PRESERVE-SELINUX-CONTEXT.
9384 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9386 Synchronize with Tramp repository.
9388 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9389 (tramp-action-process-alive, tramp-action-out-of-band)
9390 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9391 (tramp-exists-file-name-handler): Fix docstring.
9392 (with-progress-reporter): New defmacro.
9393 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9394 (tramp-maybe-open-connection): Use it.
9396 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9398 Detect ssh 'ControlMaster' argument automatically in some cases.
9400 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9401 (tramp-default-method): Use it.
9403 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9405 * net/tramp.el (tramp-handle-copy-file): Add new optional
9406 parameter `preserve-selinux-context'.
9407 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9409 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9411 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9412 Ensure, that non remote files are still checked. Oops.
9414 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9418 * icomplete.el (icomplete-completions): Use `non-essential'.
9420 * net/tramp.el (tramp-connectable-p): New defun.
9421 (tramp-handle-expand-file-name)
9422 (tramp-completion-handle-file-name-all-completions)
9423 (tramp-completion-handle-file-name-completion): Use it.
9425 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9427 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9429 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9431 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9433 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9435 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9438 * info.el (info-tool-bar-map): Add labels.
9440 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9442 * cus-edit.el (custom-commands): Add labels for tool bar.
9443 (custom-buffer-create-internal, Custom-mode): Adjust for
9444 labels in custom-commands.
9446 * dynamic-setting.el: Renamed from font-setting.el.
9448 2010-04-21 John Wiegley <jwiegley@gmail.com>
9450 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9451 toggles the use of virtual buffers.
9452 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9453 (ido-toggle-virtual-buffers): New function.
9455 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9457 Use `define-derived-mode'; fix window selection; doc fixes.
9458 * play/tetris.el (tetris, tetris-update-speed-function)
9459 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9460 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9461 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9462 (tetris-pause-game): Fix typos in docstrings.
9463 (tetris-mode-map, tetris-null-map):
9464 Move initialization into declaration.
9465 (tetris-mode): Define with `define-derived-mode';
9466 set show-trailing-whitespace to nil.
9467 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9469 2010-04-21 Karel Klíč <kklic@redhat.com>
9471 * files.el (backup-buffer): Handle SELinux context, and return it
9472 if a backup was made by renaming.
9473 (backup-buffer-copy): Set SELinux context to the target file.
9474 (basic-save-buffer): Set SELinux context of the newly written file.
9475 (basic-save-buffer-1): Now it also returns any SELinux context.
9476 (basic-save-buffer-2): Set SELinux context of the newly created file,
9478 * net/tramp.el (tramp-file-name-for-operation):
9479 Add file-selinux-context.
9481 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9483 Make the log-edit comments use RFC822 format throughout.
9485 * vc.el (vc-checkin, vc-modify-change-comment):
9486 Adjust to new vc-start/finish-logentry.
9487 (vc-find-conflicted-file): New command.
9488 (vc-transfer-file): Adjust to new vc-checkin.
9489 (vc-next-action): Improve scoping.
9491 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9492 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9494 * vc-git.el (vc-git-log-edit-mode): Remove.
9495 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9496 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9498 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9499 (vc-start-logentry): Remove argument `extra'.
9500 (vc-finish-logentry): Remove extra args.
9502 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9503 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9504 (vc-bzr-conflicted-files): New function.
9506 * log-edit.el (log-edit-extra-flags)
9507 (log-edit-before-checkin-process): Remove.
9508 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9509 (log-edit-headers-alist): New var.
9510 (log-edit-header-contents-regexp): New const.
9511 (log-edit-match-to-eoh): New function.
9512 (log-edit-font-lock-keywords): Use them.
9513 (log-edit): Insert a "Summary:" header as default.
9514 (log-edit-mode): Mark font-lock rules as case-insensitive.
9515 (log-edit-done): Cleanup headers.
9516 (log-view-process-buffer): Remove.
9517 (log-edit-extract-headers): New function to replace it.
9519 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9521 * subr.el (default-direction-reversed): Remove obsolescence info.
9523 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9525 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9528 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9529 I.e. include text after point in the completion region.
9530 Also, return nil when we're not after/in a symbol.
9532 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9533 default enable-multibyte-characters.
9535 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * international/mule.el: Help the user choose a valid coding-system.
9538 (read-buffer-file-coding-system): New function.
9539 (set-buffer-file-coding-system): Use it. Prompt the user if the
9540 coding-system cannot encode all the chars.
9542 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9543 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9544 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9545 Don't use *vc-bzr-shelve*.
9547 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9549 Fix the version number for added files.
9550 * vc-hg.el (vc-hg-working-revision): Check if the file is
9551 registered after hg parent fails (Bug#5961).
9553 2010-04-19 Glenn Morris <rgm@gnu.org>
9555 * htmlfontify.el (htmlfontify-buffer)
9556 (htmlfontify-copy-and-link-dir): Autoload entry points.
9558 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9560 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9561 name relative to the project root (Bug#5960).
9563 2010-04-19 Glenn Morris <rgm@gnu.org>
9565 * vc-git.el (vc-git-print-log): Doc fix.
9567 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9569 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9571 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9573 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9574 default settings (Bug#5928).
9576 2010-04-19 Glenn Morris <rgm@gnu.org>
9578 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9580 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9582 2010-04-19 Kenichi Handa <handa@m17n.org>
9584 * language/indian.el (malayalam-composable-pattern): Fix previous
9585 change (add U+0D4D "SIGN VIRAMA").
9586 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9587 (tamil-composable-pattern): Fix typo in the regexp.
9588 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9589 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9590 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9592 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9594 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9595 paragraph-separate (Bug#5821).
9597 2010-04-19 Juri Linkov <juri@jurta.org>
9599 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9601 * info.el (Info-find-node-2): Comment out code that skips
9603 (Info-mouse-follow-link): New command.
9604 (Info-link-keymap): New keymap.
9605 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9606 Return a string with links instead of inserting breadcrumbs
9608 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9609 Instead of putting the `invisible' text property over the Info
9610 header, make an overlay over the Info header with the `invisible'
9611 property and `after-string' set to the string returned by
9614 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9616 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9617 Reported by monkey@sandpframing.com.
9619 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9622 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9623 available in the "keyseq cache" any more.
9625 * custom.el (defcustom): Add edebug spec.
9627 2010-04-18 Juri Linkov <juri@jurta.org>
9629 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9631 * view.el (view-file, view-buffer): Move test for special mode-class
9632 from view-file to view-buffer.
9634 * tar-mode.el (tar-extract): Turn if's into one cond
9635 like in arc-mode.el.
9637 2010-04-18 Juri Linkov <juri@jurta.org>
9639 Add 7z archive format support (bug#5475).
9641 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9642 (archive-7z-extract): New defcustom.
9643 (archive-find-type): Add magic string for 7z.
9644 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9645 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9646 `buffer' arg of `call-process'.
9647 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9648 call the function `archive-7z-extract' with the variable
9649 `archive-7z-extract' let-bound to `archive-zip-extract'.
9650 (archive-7z-summarize, archive-7z-extract): New functions.
9652 * international/mule.el (auto-coding-alist):
9653 * files.el (auto-mode-alist): Add 7z file extension.
9655 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9657 * loadup.el: Setup hash-cons for pure data.
9659 Fix duplicate entries in cedet's loaddefs.el files.
9660 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9661 Should make most file-local generated-autoload-file unnecessary.
9662 (print-readably): Silence warnings.
9663 (autoload-find-destination): Take load-name as an arg to make sure
9664 it's the same as the one that will be in the file.
9665 (autoload-generate-file-autoloads): Adjust to above changes.
9666 Try to make the dataflow a bit simpler.
9668 * cvs-status.el (cvs-refontify): Remove unused.
9670 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9672 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9674 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9675 twos-complement mode.
9677 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9679 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9680 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9681 (calc-inverse): Add "Option" to message, as appropriate.
9682 (calc-hyperbolic): Add "Option" to message, as appropriate.
9683 (calc-option, calc-is-option): New functions.
9685 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9686 (calc-option-prefix-help): New function.
9688 * calc/calc-misc.el (calc-help): Add "Option" entry.
9690 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9691 (calc-option-flag): New variable.
9692 (calc-do): Set `calc-option-flag to nil.
9693 (calc-set-mode-line): Add "Opt " as appropriate.
9695 2010-04-16 Juri Linkov <juri@jurta.org>
9697 Move scrolling commands from simple.el to window.el
9698 because their primitives are implemented in window.c.
9700 * simple.el (scroll-error-top-bottom)
9701 (scroll-up-command, scroll-down-command, scroll-up-line)
9702 (scroll-down-line, scroll-other-window-down)
9703 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9704 * window.el (scroll-error-top-bottom)
9705 (scroll-up-command, scroll-down-command, scroll-up-line)
9706 (scroll-down-line, scroll-other-window-down)
9707 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9708 Move from simple.el to window.el because their primitives are
9709 implemented in window.c.
9711 2010-04-16 Juri Linkov <juri@jurta.org>
9713 * isearch.el (isearch-lookup-scroll-key): Check both
9714 `isearch-scroll' and `scroll-command' properties.
9715 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9717 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9719 * simple.el (scroll-up-command, scroll-down-command)
9720 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9722 2010-04-15 Juri Linkov <juri@jurta.org>
9724 * simple.el (scroll-up-command, scroll-down-command)
9725 (scroll-up-line, scroll-down-line): Put `scroll-command'
9726 property on the these symbols. Remove them from
9727 `scroll-preserve-screen-position-commands'.
9729 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9730 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9731 Remove it from `scroll-preserve-screen-position-commands'.
9733 * isearch.el (isearch-allow-scroll): Doc fix.
9735 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9737 * net/tramp.el (tramp-error-with-buffer): Don't show the
9738 connection buffer when we are in completion mode.
9739 (tramp-file-name-handler): Catch the error for some operations
9740 when we are in completion mode. This gives the user the chance to
9741 correct the file name in the minibuffer.
9743 2010-04-15 Glenn Morris <rgm@gnu.org>
9745 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9747 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9749 Simplify by using `define-derived-mode'.
9750 * info.el (Info-mode):
9751 * calendar/todo-mode.el (todo-mode):
9752 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9753 (gomoku-mode-map): Move initialization into declaration.
9755 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9758 * ido.el (ido-file-name-all-completions-1):
9759 * minibuffer.el (minibuffer-completion-help):
9760 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9762 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * simple.el (non-essential): New var.
9766 Add a new field `location' to bookmarks for non-file bookmarks.
9767 * bookmark.el (bookmark-location): Use the new field, if present.
9768 (bookmark-insert-location): Undo last change, not needed any more.
9769 * man.el (Man-bookmark-make-record):
9770 * woman.el (woman-bookmark-make-record): Add `location' field.
9772 2010-04-14 Juri Linkov <juri@jurta.org>
9774 * simple.el (scroll-error-top-bottom): New defcustom.
9775 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9777 * emulation/pc-select.el (pc-select-override-scroll-error):
9778 Obsolete in favor of `scroll-error-top-bottom'.
9780 2010-04-14 Juri Linkov <juri@jurta.org>
9782 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9783 `scroll-up-command' and `M-v' to `scroll-down-command'.
9785 * emulation/cua-rect.el (cua--init-rectangles):
9786 * forms.el (forms--change-commands):
9787 * image-mode.el (image-mode-map):
9788 Remap scroll-down-command and scroll-up-command
9789 in addition to scroll-down and scroll-up.
9791 2010-04-14 Juri Linkov <juri@jurta.org>
9793 * mwheel.el (scroll-preserve-screen-position-commands):
9794 Add mwheel-scroll to this list of commands.
9796 * simple.el (scroll-preserve-screen-position-commands):
9797 Add scroll-up-command, scroll-down-command, scroll-up-line,
9798 scroll-down-line to this list of commands.
9800 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9802 * obsolete/complete.el: Move from lisp/complete.el.
9804 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9806 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9807 to the minor mode function now turns the mode ON unconditionally.
9809 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * vc-dir.el (vc-dir-kill-line): New command.
9812 (vc-dir-mode-map): Bind it to C-k.
9814 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9816 * woman.el: Add bookmark declarations to silence the compiler.
9817 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9818 step to compatibility between man and woman bookmarks.
9819 Adjust for Man-default-bookmark-title renaming.
9820 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9822 * man.el: Add bookmark declarations to silence the compiler.
9823 (Man-name-local-regexp): Make it match NAME as well.
9824 (Man-getpage-in-background): Return the buffer.
9825 (Man-notify-when-ready): Use `case'.
9826 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9827 Don't hardcode "NAME". Simplify.
9828 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9829 Rename from Man-bookmark-make-record.
9830 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9831 we have the actual man-args. Use Man-getpage-in-background rather
9832 than `man' since the arg is already processed. Let bookmark.el do the
9833 window handling. Only wait for the relevant process.
9834 Don't forget to autoload.
9836 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9838 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9840 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9842 (woman-mode): Setup bookmark support.
9844 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9845 (man-bookmark-jump): New functions.
9846 (Man-mode): Setup bookmark support.
9848 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9850 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9851 recognize ssh-keygen prompt (Bug#2817).
9853 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9855 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9857 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9859 Synchronize with Tramp repository.
9861 * net/tramp.el (tramp-completion-function-alist)
9862 (tramp-file-name-regexp, tramp-chunksize)
9863 (tramp-local-coding-commands, tramp-remote-coding-commands):
9865 (tramp-remote-process-environment): Use `format' instead of `concat'.
9866 (tramp-handle-directory-files-and-attributes)
9867 (tramp-get-remote-path): Use `copy-tree'.
9868 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9869 compatibility: Use `completion-ignore-case' if
9870 `read-file-name-completion-ignore-case' does not exist.
9871 (tramp-do-copy-or-rename-file-directly): Do not use
9872 `tramp-handle-file-remote-p'.
9873 (tramp-do-copy-or-rename-file-out-of-band):
9874 Use `tramp-compat-delete-directory'.
9875 (tramp-do-copy-or-rename-file-out-of-band)
9876 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9877 Use `format-spec-make'.
9878 (tramp-find-foreign-file-name-handler)
9879 (tramp-advice-make-auto-save-file-name)
9880 (tramp-set-auto-save-file-modes): Remove superfluous check for
9881 `stringp'. This is done inside `tramp-tramp-file-p'.
9882 (tramp-debug-outline-regexp): New defconst.
9883 (tramp-get-debug-buffer): Use it.
9884 (tramp-check-for-regexp): Use (forward-line 1).
9885 (tramp-set-auto-save-file-modes): Adapt version check.
9887 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9888 Wrap call of `featurep' for 2nd argument.
9889 (tramp-compat-make-temp-file): Simplify fallback implementation.
9890 (tramp-compat-copy-tree): Remove function.
9891 (tramp-compat-delete-directory): Provide implementation for older
9894 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9895 Do not use `tramp-fish-handle-file-attributes.
9897 * net/trampver.el: Update release number.
9899 2010-04-10 Glenn Morris <rgm@gnu.org>
9901 * progmodes/compile.el (compilation-save-buffers-predicate):
9902 Add missing :version tag.
9904 2010-04-09 Sam Steingold <sds@gnu.org>
9906 * progmodes/compile.el (compilation-save-buffers-predicate):
9907 Remove the "autoload" cookie.
9909 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9910 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9911 and `bug-reference-prog-mode' can be used in hooks directly.
9913 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9915 Add --author support to git commit.
9916 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9917 (vc-git-log-edit-mode): New minor mode.
9918 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9921 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9923 * vc-hooks.el, vc-git.el: Improve documentation comments.
9925 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9927 Fix some of the problems in defsubst* (bug#5728).
9928 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9929 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9931 2010-04-07 Sam Steingold <sds@gnu.org>
9933 * progmodes/compile.el (compilation-save-buffers-predicate):
9934 New custom variable.
9935 (compile, recompile): Pass it to `save-some-buffers'.
9937 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9939 * wid-edit.el (widget-choose): Move cursor to the second line of
9940 the buffer (Bug#5695).
9942 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9944 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9945 * vc.el (vc-print-log-setup-buttons): New function split out from
9946 vc-print-log-internal.
9947 (vc-log-internal-common): New function, a parametrized version of
9948 vc-print-log-internal.
9949 (vc-print-log-internal): Just call vc-log-internal-common with the
9951 (vc-incoming-outgoing-internal):
9952 (vc-log-incoming, vc-log-outgoing): New functions.
9953 (vc-log-view-type): New permanent local variable.
9955 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9957 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9958 of the dynamic bound vc-short-log.
9959 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9961 * vc-git.el (vc-git-log-outgoing): New function.
9962 (vc-git-log-view-mode): Use vc-log-view-type instead
9963 of the dynamic bound vc-short-log.
9965 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9966 of the dynamic bound vc-short-log. Highlight the tag.
9967 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9968 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9969 (vc-hg-incoming-mode): Remove.
9970 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9972 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9974 Fix default-directory for vc-root-diff.
9975 * vc.el (vc-root-diff): Bind default-directory to the root
9976 directory for the diff command.
9978 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9980 * progmodes/verilog-mode.el (verilog-forward-sexp):
9981 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9982 word keywords, suggested by Steve Pearlmutter.
9983 (verilog-pretty-declarations): Support lineup of declarations in
9985 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9986 fix bug for /* / comments.
9987 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9988 Speed up and simplfy as this is never called with a bound.
9989 (verilog-pretty-declarations): Enhance to line up declarations
9990 inside a parameter list, suggested by Alan Morgan.
9991 (verilog-pretty-expr): Tune assignment regular expression match
9992 string for corner cases; also use markers instead of character
9993 number as indent changes the later.
9995 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9997 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9999 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10000 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10001 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10002 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10004 (verilog-keywords):
10005 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10006 1800-2009 keywords, including "global.".
10008 2010-04-06 John Wiegley <jwiegley@gmail.com>
10010 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10011 appearing in buffer list (if a live buffer name matched a recentf
10012 file basename). Should use uniquify to offer a real solution.
10014 2010-04-06 John Wiegley <jwiegley@gmail.com>
10016 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10017 comment to code, and add a :version tag.
10018 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10020 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10022 Enable recentf-mode if using virtual buffers.
10023 * ido.el (recentf-list): Declare for byte-compiler.
10024 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10025 (ido-make-buffer-list): Simplify.
10026 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10028 2010-04-05 Juri Linkov <juri@jurta.org>
10030 Scrolling commands which scroll a line instead of full screen.
10031 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10033 * simple.el (scroll-up-line, scroll-down-line): New commands.
10034 Put property isearch-scroll=t on them.
10036 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10039 2010-04-05 Juri Linkov <juri@jurta.org>
10041 Scrolling commands which do not signal errors at top/bottom.
10042 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10044 * simple.el (scroll-up-command, scroll-down-command): New commands.
10045 Put property isearch-scroll=t on them.
10047 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10048 `scroll-down-command' and [next] from `scroll-up' to
10049 `scroll-up-command'.
10051 * emulation/cua-base.el: Put property CUA=move on
10052 `scroll-up-command' and `scroll-down-command'.
10053 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10054 and `scroll-down-command' to `cua-scroll-down'.
10056 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10058 * help.el (describe-mode): Return nil.
10060 2010-04-04 John Wiegley <jwiegley@gmail.com>
10062 * ido.el (ido-use-virtual-buffers): New variable to indicate
10063 whether "virtual buffer" support is enabled for IDO.
10064 (ido-virtual): Face used to indicate virtual buffers in the list.
10065 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10066 exists, but a virtual buffer of that name does (which would be why
10067 it was in the list), recreate the buffer by reopening the file.
10068 (ido-make-buffer-list): If virtual buffers are being used, call
10069 `ido-add-virtual-buffers-to-list' before the make list hook.
10070 (ido-virtual-buffers): New variable which contains a copy of the
10071 current contents of the `recentf-list', albeit pared down for the
10072 sake of speed, and with proper faces applied.
10073 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10074 create a list of "virtual buffers" to present to the user in
10075 addition to the currently open set. Note that this logic could
10076 get rather slow if that list is too large. With the default
10077 `recentf-max-saved-items' of 200, there is little speed penalty.
10079 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10081 * font-lock.el: Require CL when compiling.
10082 (font-lock-turn-on-thing-lock): Use `case'.
10084 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10086 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10089 2010-04-02 Juri Linkov <juri@jurta.org>
10091 * ehelp.el (electric-help-orig-major-mode):
10092 New buffer-local variable.
10093 (electric-help-mode): Set it to original major-mode. Doc fix.
10094 (with-electric-help): Use `electric-help-orig-major-mode' instead
10095 of (default-value 'major-mode). Doc fix.
10096 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10098 2010-04-02 Sam Steingold <sds@gnu.org>
10100 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10101 `vc-hg-command' with a list of flags.
10103 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10104 Also accept "patch" and "RFE".
10105 (bug-reference-fontify): `bug-reference-url-format' can also be a
10106 function to be able to handle the bug kind.
10107 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10109 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10111 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10112 value to fboundp, it may not be a symbol.
10114 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10116 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10118 2010-03-31 Juri Linkov <juri@jurta.org>
10120 * simple.el (next-line, previous-line): Re-throw a signal
10121 with `signal' instead of using `ding'.
10122 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10124 2010-03-31 Juri Linkov <juri@jurta.org>
10126 * simple.el (keyboard-escape-quit): Raise deselecting the active
10127 region higher than exiting the minibuffer.
10128 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10130 2010-03-31 Juri Linkov <juri@jurta.org>
10132 * image.el (image-animated-p): Use `image-metadata' instead of
10133 `image-extension-data'. Get GIF extenstion data from metadata
10134 property `extension-data'.
10136 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10138 * simple.el (append-to-buffer): Simplify.
10140 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10142 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10143 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10145 2010-03-31 Kenichi Handa <handa@m17n.org>
10147 * language/sinhala.el (composition-function-table): Fix regexp for
10148 the new Unicode specification.
10150 * language/indian.el (devanagari-composable-pattern)
10151 (tamil-composable-pattern, kannada-composable-pattern)
10152 (malayalam-composable-pattern): Adjust for the new Unicode
10154 (bengali-composable-pattern, gurmukhi-composable-pattern)
10155 (gujarati-composable-pattern, oriya-composable-pattern)
10156 (telugu-composable-pattern): New variables to cope with the new
10157 Unicode specification. Use them in composition-function-table.
10159 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10161 Make tmm-menubar work for the Buffers menu again (bug#5726).
10162 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10163 vectors rather than cons cells, as used in menu-bar-update-buffers.
10165 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10167 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10168 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10169 electric punctuation for "{}();,:" (Bug#5586).
10171 * mail/sendmail.el (mail-default-directory): Doc fix.
10173 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10175 * mail/sendmail.el (mail-default-directory): Doc fix.
10177 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10179 * subr.el (version-regexp-alist, version-to-list)
10180 (version-list-<, version-list-=, version-list-<=)
10181 (version-list-not-zero, version<, version<=, version=): Doc fix.
10184 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10186 * vc.el (vc-root-diff): Doc fix.
10188 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10190 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10192 * simple.el (append-to-buffer): Fix last change.
10194 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10196 * simple.el (append-to-buffer): Ensure that point is preserved if
10197 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10200 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10202 * files.el (auto-mode-case-fold): Change default to t.
10204 2010-03-30 Juri Linkov <juri@jurta.org>
10206 * dired-x.el (dired-omit-mode): Doc fix.
10208 2010-03-30 Juri Linkov <juri@jurta.org>
10210 * replace.el (occur-accumulate-lines): Move occur-engine related
10211 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10212 to be located after `occur-engine'.
10214 2010-03-30 Juri Linkov <juri@jurta.org>
10216 Make occur handle multi-line matches cleanly with context.
10217 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10219 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10220 (occur-engine): Add local variables `ret', `prev-after-lines',
10221 `prev-lines'. Use more arguments for `occur-context-lines'.
10222 Set first elem of its returned list to `data', and the second elem
10223 to `prev-after-lines'. Don't print the separator line.
10224 In the end, print remaining context after-lines.
10225 (occur-context-lines): Add new arguments `begpt', `endpt',
10226 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10227 after-lines of the previous match with before-lines of the
10228 current match and not overlap them. Return a list with two
10229 values: the output line and the list of context after-lines.
10231 2010-03-30 Juri Linkov <juri@jurta.org>
10233 * replace.el (occur-accumulate-lines): Fix a bug where the first
10234 context line at the beginning of the buffer was missing.
10236 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10238 * files.el: Make bidi-display-reordering safe variable for boolean
10241 2010-03-29 Phil Hagelberg <phil@evri.com>
10242 Chong Yidong <cyd@stupidchicken.com>
10244 * subr.el: Extend progress reporters to perform "spinning".
10245 (progress-reporter-update, progress-reporter-do-update):
10246 Handle non-numeric value arguments.
10247 (progress-reporter--pulse-characters): New var.
10249 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10251 * progmodes/compile.el (compilation-start): Fix regexp detection
10252 of initial cd command (Bug#5771).
10254 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10256 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10258 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10260 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10261 * progmodes/gdb-mi.el: Restore.
10262 * progmodes/gdb-ui.el: Remove.
10263 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10265 2010-03-25 Glenn Morris <rgm@gnu.org>
10267 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10268 all dired buffers, even tramp ones. (Bug#5755)
10270 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10272 Add "union tags" in mpc.el.
10273 * mpc.el: Remove backward compatibility code.
10274 (mpc-browser-tags): Change default.
10275 (mpc--find-memoize-union-tags): New var.
10276 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10277 (mpc-cmd-find): Handle the case where the playlist does not exist.
10279 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10280 (mpc-cmd-add): Use mpc-cmd-flush.
10281 (mpc-tagbrowser-tag-name): New fun.
10282 (mpc-tagbrowser-buf): Use it.
10283 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10285 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10288 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10289 Use replace-regexp-in-string.
10290 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10291 (makefile-imake-mode-syntax-table): Move init into defvar.
10292 (makefile-mode): Use define-derived-mode.
10294 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10295 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10296 not be present any more.
10298 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10300 * faces.el (set-face-attribute): Fix typo in docstring.
10301 (face-valid-attribute-values): Reflow docstring.
10303 2010-03-24 Glenn Morris <rgm@gnu.org>
10305 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10307 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10309 * indent.el (indent-for-tab-command): Doc fix.
10311 2010-03-24 Alan Mackenzie <acm@muc.de>
10313 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10314 Fix off-by-one error. Fixes bug #5747.
10316 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10318 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10319 (image-dired-read-comment): Doc fix.
10321 * json.el (json-object-type, json-array-type, json-key-type)
10322 (json-false, json-null, json-read-number):
10323 * minibuffer.el (completion-in-region-functions):
10324 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10325 (cal-tex-cursor-week):
10326 * emacs-lisp/trace.el (trace-function):
10327 * eshell/em-basic.el (eshell/printnl):
10328 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10329 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10330 * obsolete/levents.el (allocate-event, event-key, event-object)
10331 (event-point, event-process, event-timestamp, event-to-character)
10332 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10333 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10334 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10335 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10336 (reftex-highlight-selection): Fix typos in docstrings.
10338 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10340 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10342 2010-03-24 Glenn Morris <rgm@gnu.org>
10344 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10345 2008-02-13 without comment; mark it obsolete.
10346 (rmail-highlight-headers): Use rmail-highlight-face once more.
10348 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10350 * woman.el (woman2-process-escapes): Only consume the newline if
10351 the filler character is on a line by itself (Bug#5729).
10353 2010-03-24 Kenichi Handa <handa@m17n.org>
10355 * language/indian.el (devanagari-composable-pattern): Add more
10358 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10360 * net/trampver.el: Update release number.
10362 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10364 * net/tramp.el (tramp-find-executable):
10365 Use `tramp-get-connection-buffer'. Make the regexp for checking
10366 output of "wc -l" more robust.
10367 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10368 (tramp-open-connection-setup-interactive-shell): Remove workaround
10369 for OpenSolaris bug, it is not needed anymore.
10371 2010-03-24 Glenn Morris <rgm@gnu.org>
10373 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10375 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10377 * files.el (auto-mode-alist): Accept more verilog file patterns.
10379 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10381 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10383 2010-03-24 Glenn Morris <rgm@gnu.org>
10385 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10386 log-edit-before-checkin-process.
10388 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10390 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10392 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10393 (log-view-process-buffer, log-edit-extra-flags): Declare.
10395 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10397 2010-03-23 Sam Steingold <sds@gnu.org>
10399 Fix bug#5620: recalculate all markers on compilation buffer
10400 modifications, not on file modifications.
10401 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10402 variable: the buffer modification time, for buffers not associated with
10404 (compilation-mode): Create it.
10405 (compilation-filter): Update it.
10406 (compilation-next-error-function): Use it instead of
10407 `visited-file-modtime' for timestamp.
10409 2010-03-23 Juri Linkov <juri@jurta.org>
10411 Implement Occur multi-line matches.
10412 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10414 * replace.el (occur): Doc fix.
10415 (occur-engine): Set `begpt' to the beginning of the first line.
10416 Set `endpt' to the end of the last match line. At first, count
10417 line numbers between `origpt' and `begpt'. Split out code from
10418 `out-line' variable to new let-bindings `match-prefix' and
10419 `match-str'. In `out-line' add non-numeric prefix to all
10420 non-first lines of multi-line matches. Finally, count lines
10421 between `begpt' and `endpt' and add to `lines'.
10423 2010-03-23 Juri Linkov <juri@jurta.org>
10425 * replace.el (occur-accumulate-lines, occur-engine):
10426 Use `occur-engine-line' instead of duplicate code.
10427 (occur-engine-line): New function created from duplicate code
10428 in `occur-accumulate-lines' and `occur-engine'.
10430 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10431 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10433 2010-03-23 Juri Linkov <juri@jurta.org>
10435 * finder.el: Remove TODO tasks.
10437 * info.el (Info-finder-find-node): Add node "all"
10438 with all package info. Handle a list of multiple keywords
10439 separated by comma.
10440 (info-finder): In interactive use with a prefix argument,
10441 use `completing-read-multiple' to read a list of keywords
10442 separated by comma.
10444 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10446 Add a new completion style `substring'.
10447 * minibuffer.el (completion-basic--pattern): New function.
10448 (completion-basic-try-completion, completion-basic-all-completions):
10450 (completion-substring--all-completions)
10451 (completion-substring-try-completion)
10452 (completion-substring-all-completions): New functions.
10453 (completion-styles-alist): New style `substring'.
10455 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10457 Get rid of .elc files after removal of the corresponding .el.
10458 * Makefile.in (compile-clean): New target.
10459 (compile-main): Use it.
10461 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10463 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10464 don't do make there. When compiling with separate object dir, there
10465 is no Makefile there.
10467 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10469 Get rid of the ELCFILES abomination, again.
10470 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10471 (all, compile): Don't call compile-last.
10472 (compile-main): Build the "elcfiles" list dynamically.
10473 (compile-targets): New (internal) target.
10475 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10477 * Makefile.in (top_srcdir): Define.
10478 (abs_top_builddir): Define.
10479 (srcdir): Don't append `/..'.
10480 (EMACS): Use ${abs_top_builddir}.
10481 (all, compile, compile-always, compile-last): Don't set emacswd.
10482 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10484 (lisp): Use $(srcdir) instead of @srcdir@.
10486 2010-03-21 Juri Linkov <juri@jurta.org>
10488 Fix message of multi-line occur regexps and multi-buffer header lines.
10489 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10491 * replace.el (occur-1): Don't display regexp if it is longer
10492 than window-width. Use `query-replace-descr' to display regexp.
10493 (occur-engine): Don't display regexp in the buffer header for
10494 multi-buffer occur. Display a separate header line with total
10495 match count and regexp for multi-buffer occur.
10496 Use `query-replace-descr' to display regexp.
10498 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10500 * net/secrets.el: Fix parenthesis.
10501 (secrets-enabled): Fix parenthesis.
10503 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10505 Use more relative file and directory names.
10506 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10507 (setwins, setwins_almost, setwins_for_subdirs):
10508 Don't `cd'; output relative names.
10509 (all, compile, compile-always, compile-last): Set emacswd.
10510 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10511 Just cd to the lisp source dir so we can use relative file names.
10513 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10515 2010-03-20 Glenn Morris <rgm@gnu.org>
10517 * textmodes/rst.el: Use faces for font-lock customization, and make the
10518 old -face variables obsolete.
10519 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10520 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10521 (rst-block-face, rst-external-face, rst-definition-face)
10522 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10523 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10525 (rst-font-lock-keywords-function): Update for above changes.
10527 2010-03-20 Juri Linkov <juri@jurta.org>
10530 * obsolete/s-region.el: Move to obsolete.
10532 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10534 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10536 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10538 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10540 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10542 Add special markup processing for commit logs.
10543 * log-edit.el (log-edit-extra-flags): New variable.
10544 (log-edit): Add new argument MODE. Use that mode when non-nil
10545 instead of the log-view-mode.
10546 (log-view-process-buffer): New function.
10548 * vc.el: Document that the checkin method takes optional
10549 arguments. Document new backend specific method: log-view-mode.
10550 (vc-default-log-edit-mode): New function.
10551 (vc-checkin): Use a backend specific log-view-mode.
10552 Pass extra arguments to the checkin method.
10553 (vc-modify-change-comment): Pass a dummy extra argument.
10555 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10557 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10558 (vc-finish-logentry): Process the log buffer before passing it
10559 down. Pass log-edit-extra-flags.
10561 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10563 (log-edit-extra-flags, log-edit-before-checkin-process):
10566 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10568 (log-edit-extra-flags, log-edit-before-checkin-process):
10570 (vc-hg-log-edit-mode): New derived mode.
10572 * vc-arch.el (vc-arch-checkin):
10573 * vc-cvs.el (vc-cvs-checkin):
10574 * vc-git.el (vc-git-checkin):
10575 * vc-mtn.el (vc-mtn-checkin):
10576 * vc-rcs.el (vc-rcs-checkin):
10577 * vc-sccs.el (vc-sccs-checkin):
10578 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10580 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10585 2010-03-19 Glenn Morris <rgm@gnu.org>
10587 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10589 2010-03-18 Glenn Morris <rgm@gnu.org>
10591 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10593 * replace.el (query-replace-history): Give it a doc string.
10594 (map-query-replace-regexp): Use query-replace-from-history-variable
10595 and query-replace-to-history-variable.
10597 * mail/hashcash.el (declare-function): Remove duplicate definition.
10599 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10600 Make it an obsolete alias for report-emacs-bug-address.
10601 (message-strip-special-text-properties): Declare.
10602 (report-emacs-bug): Remove test for a pretest bug address.
10603 Combine message-mode-specific code.
10605 * mail/supercite.el: Don't require sendmail.
10606 (mh-in-header-p): Declare rather than using with-no-warnings.
10607 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10608 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10610 * calendar/cal-french.el: Convert to utf-8.
10612 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10615 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10617 * net/secrets.el (secrets-enabled): New variable. Use it instead
10620 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10622 * net/secrets.el (top): Register the D-Bus signals only when the
10623 service "org.freedesktop.secrets" can be pinged.
10624 Provide subfeature `enabled'.
10626 2010-03-14 Juri Linkov <juri@jurta.org>
10628 Add finder unknown keywords.
10630 * finder.el (finder-unknown-keywords): New function.
10632 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10633 to create a Finder node with unknown keywords.
10635 2010-03-14 Juri Linkov <juri@jurta.org>
10637 * finder.el (finder-compile-keywords): Replace `princ' with
10638 `prin1' on a list of symbols interned from keyword strings.
10640 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10641 a comma, then split keywords using a comma and optional whitespace.
10642 Otherwise, split by whitespace.
10650 * progmodes/mixal-mode.el: Fix keywords.
10652 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10654 * Makefile.in (ELCFILES): Add net/secrets.elc.
10656 * net/secrets.el: New file.
10658 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10660 * facemenu.el (list-colors-display, list-colors-print): New arg
10661 callback. Use it to allow selecting colors.
10663 * wid-edit.el (widget-image-insert): Insert image prop even if the
10664 current display is non-graphic.
10665 (widget-field-value-set): New fun.
10666 (editable-field): Use it.
10667 (widget-field-value-get): Clean up unused var.
10668 (widget-color-value-create, widget-color--choose-action):
10669 New funs. Allow using list-colors-display to choose color.
10671 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10673 * cus-edit.el: Resort topmost custom groups.
10674 (custom-buffer-sort-alphabetically): Default to t.
10675 (customize-apropos): Use apropos-parse-pattern.
10676 (custom-search-field): New var.
10677 (custom-buffer-create-internal): Add custom-apropos search field.
10678 (custom-add-parent-links): Don't display parent doc.
10679 (custom-group-value-create): Don't sort top-level custom group.
10680 (custom-magic-value-create): Show visibility button before option name.
10682 (custom-variable-state): New fun, from custom-variable-state-set.
10683 (custom-variable-state-set): Use it.
10684 (custom-group-value-create): Hide options with standard values
10685 using the :hidden-states property. Use progress reporter.
10687 (custom-show): Simplify.
10688 (custom-visibility): Disable images by default.
10689 (custom-variable): New property :hidden-states.
10690 (custom-variable-value-create): Enable images for
10691 custom-visibility widgets. Use :hidden-states property to
10692 determine initial visibility.
10694 * wid-edit.el (widget-image-find): Give images center ascent.
10695 (visibility): Add :on-image and :off-image properties.
10696 (widget-visibility-value-create): Use them.
10698 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10700 * cus-edit.el (processes): Remove from development group.
10701 (oop, hypermedia): Delete group.
10702 (comm): Promote to top-level group.
10704 * net/browse-url.el (browse-url):
10705 * net/xesam.el (xesam):
10706 * net/tramp.el (tramp):
10707 * net/goto-addr.el (goto-address):
10708 * net/ange-ftp.el (ange-ftp): Put in comm group.
10710 * view.el (view): Remove from editing group.
10712 * uniquify.el (uniquify): Put in files group.
10714 * net/browse-url.el (browse-url):
10715 * ps-print.el (postscript): Put in external group.
10717 * cus-edit.el (outlines):
10718 * textmodes/text-mode.el (text-mode-hook):
10719 * textmodes/table.el (table):
10720 * textmodes/picture.el (picture):
10721 * outline.el (outlines): Put in wp group.
10723 * nxml/nxml-mode.el (nxml): Remove from wp group.
10725 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10727 * mail/metamail.el (metamail): Remove from hypermedia group.
10729 * cus-edit.el (abbrev):
10730 * whitespace.el (whitespace):
10731 * vcursor.el (vcursor):
10732 * reveal.el (reveal):
10733 * hl-line.el (hl-line): Put in convenience group.
10735 * epg-config.el (epg): Put in data group.
10737 * emulation/pc-select.el (pc-select): Put in emulations group.
10739 * calculator.el (calculator): Put in applications group.
10741 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10743 Add .dir-locals.el support for file-less buffers.
10744 * files.el (hack-local-variables): Split out code to apply local
10745 variable settings ...
10746 (hack-local-variables-apply): ... here. New function.
10747 (hack-dir-local-variables): Use the default directory for when the
10748 buffer does not have an associated file.
10749 (hack-dir-local-variables-non-file-buffer): New function.
10750 * diff-mode.el (diff-mode):
10751 * vc-annotate.el (vc-annotate-mode):
10752 * vc-dir.el (vc-dir-mode):
10753 * log-edit.el (log-edit-mode):
10754 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10756 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10758 Add support for shelving snapshots and for showing shelves.
10759 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10760 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10762 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10763 (vc-bzr-extra-menu-map): Map them.
10765 2010-03-11 Glenn Morris <rgm@gnu.org>
10767 * cus-edit.el (customize-changed-options-previous-release):
10770 * image.el (image-animate-max-time): Fix :version tag.
10772 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10776 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10778 * vc-git.el (vc-git-revision-table): Include remote branches.
10780 2010-03-10 Kim F. Storm <storm@cua.dk>
10782 Animated image API.
10783 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10785 * image.el (image-animate-max-time): New defcustom.
10786 (image-animated-types): New defconst.
10787 (create-animated-image, image-animate-timer)
10788 (image-animate-start, image-animate-stop, image-animate-timeout)
10789 (image-animated-p): New functions.
10791 * image-mode.el (image-toggle-display-image):
10792 Replace `create-image' with `create-animated-image'.
10794 2010-03-09 Miles Bader <miles@gnu.org>
10796 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10797 instead of "format:"; this ensures that the output is
10798 newline-terminated.
10800 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10802 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10803 that all errors are caught, and that the return value is always a
10806 2010-03-08 Kenichi Handa <handa@m17n.org>
10808 * language/misc-lang.el (windows-1256): New coding system.
10809 (cp1256): New alias of windows-1256 (bug#5690).
10811 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10813 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10814 call to rfc822-bad-address. (Bug#5692)
10816 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10818 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10819 Use vc-git-root as default directory for revision path (Bug#5657).
10821 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10823 * calculator.el (calculator): Don't bind split-window-keep-point
10826 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10828 * vc-git.el: Re-flow to fit into 80 columns.
10829 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10830 Remove spurious `quote' element in each case alternative.
10831 (vc-git-show-log-entry): Use prog1.
10832 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10834 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10836 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10838 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10840 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10841 definition, not the name (Bug#5481).
10843 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10845 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10846 argument with a local variable. (Bug#5670)
10848 2010-03-02 Juri Linkov <juri@jurta.org>
10850 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10852 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10854 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10855 error when FILENAME and NEWNAME are existing remote directories.
10857 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10858 parameter DIR-FLAG.
10860 2010-03-02 Glenn Morris <rgm@gnu.org>
10862 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10863 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10865 2010-03-01 Kenichi Handa <handa@m17n.org>
10867 * language/burmese.el (burmese-composable-pattern): Rename from
10868 myanmar-composable-pattern.
10870 * international/characters.el (script-list):
10871 * international/fontset.el (script-representative-chars):
10872 Change myanmar to burmese.
10873 (otf-script-alist): Likewise.
10874 (setup-default-fontset): Likewise. Re-fix :otf spec.
10876 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10878 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10880 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10882 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10884 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10886 * net/tramp.el (tramp-handle-write-region): START can be a string.
10887 Take care in the checks. Reported by Dan Davison
10888 <davison@stats.ox.ac.uk>.
10890 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10892 * net/dbus.el (dbus-introspect, dbus-get-property)
10893 (dbus-set-property, dbus-get-all-properties):
10894 Use `dbus-call-method' when noninteractive. (Bug#5645)
10896 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10898 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10899 * emacs-lisp/elint.el (elint-add-required-env):
10900 * calendar/icalendar.el (icalendar--add-diary-entry):
10901 * calc/calcalg2.el (math-tracing-integral):
10902 * files.el (recover-session-finish): Use with-current-buffer
10903 instead of save-excursion.
10905 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10907 Fix in-buffer completion when after-change-functions modify the buffer.
10908 * minibuffer.el (completion--replace): New function.
10909 (completion--do-completion): Use it and use relative movement.
10911 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10913 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10915 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10917 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10918 Allow the characters _<> in the stack entry (Bug#5653).
10920 2010-02-26 Kenichi Handa <handa@m17n.org>
10922 * language/burmese.el: Fix entries in composition-function-table.
10923 (myanmar-composable-pattern): New variable.
10925 * international/fontset.el (setup-default-fontset): Add an entry
10928 * international/characters.el (script-list): Add Myanmar
10931 2010-02-26 Glenn Morris <rgm@gnu.org>
10933 * custom.el (custom-initialize-delay): Doc fix.
10935 * mail/sendmail.el (send-mail-function): Autoload the call
10936 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10938 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10940 * files.el (hack-local-variables-filter): For eval forms, also
10941 check safe-local-variable-p (Bug#5636).
10943 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10945 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10946 setting the modes by `ignore-errors'. It might fail, for example
10947 if the file is not owned by the user but the group.
10948 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10950 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10952 * files.el (directory-listing-before-filename-regexp):
10953 Use stricter matching for iso-style dates, to avoid false matches with
10954 date-like filenames (Bug#5597).
10956 * htmlfontify.el (htmlfontify): Doc fix.
10958 * eshell/eshell.el (eshell): Doc fix.
10960 * startup.el (fancy-about-screen): In mode-line, apply
10961 mode-line-buffer-id face only to the buffer name (Bug#5613).
10963 2010-02-20 Kevin Ryde <user42@zip.com.au>
10965 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10966 In `watcom' anchor regexp to start of line, to avoid slowness
10969 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10971 * subr.el (remove-yank-excluded-properties): Explain in a comment
10972 why `category' property is removed.
10974 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10976 * isearch.el (isearch-update-post-hook, isearch-update):
10977 Revert 2010-02-17 change.
10979 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10981 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10982 (icalendar--convert-weekly-to-ical)
10983 (icalendar--convert-yearly-to-ical)
10984 (icalendar--convert-block-to-ical)
10985 (icalendar--convert-cyclic-to-ical)
10986 (icalendar--convert-anniversary-to-ical): Take care of time
10987 specifications where hour has 1-digit only (Bug#5549).
10989 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10991 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10992 of disassemble output in GDB 7.1.
10994 2010-02-19 Glenn Morris <rgm@gnu.org>
10996 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10997 property. (Bug#5593)
10999 2010-02-18 Sam Steingold <sds@gnu.org>
11001 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11003 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11005 Use abbreviated file names in bookmarks (bug#5591).
11006 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11007 calls to expand-file-name.
11008 (bookmark-relocate): Use abbreviated file names in bookmarks.
11009 (bookmark-load): Use abbreviated file names in messages.
11011 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11013 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11014 expand "." and "..". Reported by Thierry Volpiatto
11015 <thierry.volpiatto@gmail.com>.
11017 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11019 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11020 permissions of the temporary file to "0600". In case the remote
11021 file has no read permissions for the owner, there might be
11022 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11024 22010-02-18 Glenn Morris <rgm@gnu.org>
11026 * emacs-lisp/authors.el (authors-renamed-files-alist):
11027 Add entries for INSTALL.CVS.
11029 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11031 * vc-bzr.el: Fix typo in Known Bugs section.
11033 * isearch.el (isearch-update-post-hook): New hook.
11034 (isearch-update): Use the new hook.
11036 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11038 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11039 Fix errors in copying directories.
11040 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11041 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11042 (tramp-handle-delete-file)
11043 (tramp-handle-dired-recursive-delete-directory)
11044 (tramp-handle-write-region): Flush also the cache for the upper
11047 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11049 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11051 * cus-edit.el (hardware): Doc fix.
11053 * man.el (man): Add to external custom group.
11055 * delim-col.el (columns): Move to wp custom group.
11057 * doc-view.el (doc-view): Add to data custom group.
11059 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11061 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11062 by ispell-parse-output (Bug#5575).
11064 2010-02-16 Kenichi Handa <handa@m17n.org>
11066 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11067 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11068 (skkdic-convert): Use `euc-japan' coding system for writing.
11070 2010-02-16 Glenn Morris <rgm@gnu.org>
11072 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11073 tex-main-file before using it. (Bug#5562)
11075 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11077 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11078 warnings, since it is annoying for the user to see them each time he
11081 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11083 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11084 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11085 instead of PROC for caching "first-password-request". Otherwise,
11086 new processes would not profit from passwords already entered.
11088 * net/tramp-cache.el (tramp-dump-connection-properties):
11089 Don't save "first-password-request" property.
11091 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11093 * outline.el (outline-head-from-level):
11094 * simple.el (with-wrapper-hook):
11095 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11096 (elint-defun, elint-buffer-env, elint-top-form-logged)
11097 (elint-unbound-variable):
11098 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11099 Fix typos in docstrings.
11101 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11103 * files.el (insert-directory): When WILDCARD-REGEXP and
11104 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11105 whole directory. (Bug#5551)
11107 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11108 dired's alignment sanity. (Bug#5516)
11110 2010-02-14 Juri Linkov <juri@jurta.org>
11112 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11113 Remove remaining ^H with their preceding chars. (Bug#5566)
11115 2010-02-13 Glenn Morris <rgm@gnu.org>
11117 * simple.el (transpose-subr): Give it a doc-string.
11119 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11122 2010-02-12 Juri Linkov <juri@jurta.org>
11124 * arc-mode.el (archive-unique-fname): Make directories for nested
11125 archives. (Bug#5540)
11127 2010-02-12 Juri Linkov <juri@jurta.org>
11129 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11131 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11133 * subr.el (copy-overlay): Handle deleted overlays.
11135 * man.el (Man-completion-table): Don't signal an error if we can't run
11136 manual-program (bug#4056).
11138 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11140 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11142 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11144 * info.el (Info-bookmark-jump): Simplify.
11146 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11147 (bookmark-default-handler): Accept new bookmark field `buffer'.
11149 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11151 * iswitchb.el (iswitchb-completions): Revert last change.
11153 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11155 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11156 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11157 This prevents file names like "~/" being listed literally.
11159 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11161 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11162 Remove dead code. (Bug#5546)
11164 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11166 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11167 correctly (Bug#5548).
11169 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11171 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11172 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11174 2010-02-08 Kenichi Handa <handa@m17n.org>
11176 * international/mule-util.el (with-coding-priority): Add autoload
11177 cookie for putting `lisp-indent-function'.
11179 2010-02-07 Glenn Morris <rgm@gnu.org>
11181 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11182 Move F2003 named interfaces from keywords-2 to keywords-1, and
11183 use function-name-face rather than constant-face.
11184 Simplify "abstract interface" regexp.
11186 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11188 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11189 ID-FORMAT. Pass it to `file-attributes'.
11191 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11193 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11195 * faces.el (set-face-attribute): Allow calling
11196 internal-set-lisp-face-attribute with 'unspecified family and
11197 foundry argument (Bug#5536).
11199 2010-02-07 Glenn Morris <rgm@gnu.org>
11201 * progmodes/f90.el (f90-font-lock-keywords-2)
11202 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11203 Handle F2003 named interfaces.
11205 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11207 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11208 beg and end before calling c-get-state-before-change-functions.
11210 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11212 * vc-bzr.el (vc-bzr-dir-extra-headers):
11213 Disable the pending merges header.
11215 2010-02-05 Juri Linkov <juri@jurta.org>
11217 * doc-view.el (doc-view-mode):
11218 * image-mode.el (image-mode): Put property mode-class=special.
11221 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11223 * vc-svn.el (vc-svn-revision-table): New function.
11225 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11227 * net/ange-ftp.el (ange-ftp-insert-directory):
11228 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11229 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11230 Handle also directories. (Bug#5478)
11232 2010-02-05 Glenn Morris <rgm@gnu.org>
11234 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11236 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11238 * startup.el (command-line-1): Convert options beginning with a
11239 single dash as well (Bug#5519).
11241 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11243 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11244 * minibuffer.el (completion-initials-expand): Only check the presence
11245 of delims *within* the boundaries, since otherwise the / delim is
11246 always found for files.
11248 Fix up various corner case problems.
11249 * doc-view.el (doc-view-last-page-number): New function.
11250 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11251 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11252 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11253 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11254 (doc-view-convert-current-doc): Don't create the resolution.el file
11256 (doc-view-pdf/ps->png): Do it here instead.
11257 (doc-view-already-converted-p): Check that resolution.el is present.
11258 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11259 windows that are not yet showing images.
11261 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11263 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11264 `dired-uncache' for every elemnt which is an absolute file name.
11266 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11267 directory, handle its directory component.
11268 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11269 function is called permanently and creates noise, otherwise.
11271 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11272 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11273 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11275 2010-02-04 David Burger <dburger@google.com> (tiny change)
11277 * macros.el (apply-macro-to-region-lines):
11278 Minor simplification. (Bug#5485)
11280 2010-02-04 Glenn Morris <rgm@gnu.org>
11282 * mail/rmail.el (rmail-show-message-1): Handle malformed
11283 quoted-printable text. (Bug#5441)
11285 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11287 * simple.el (visual-line-mode): Capitalize lighter.
11289 2010-02-03 John Wiegley <jwiegley@gmail.com>
11291 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11292 list of files considered for "virtual buffer" completions.
11294 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11296 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11297 also in case of (and (not full) (not wildcard)). This is needed
11298 when dired is called with a list of files, which are not in
11299 `default-directory'. (Bug#5478)
11301 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11303 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11305 2010-02-02 Juri Linkov <juri@jurta.org>
11307 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11308 from unidiff to allow function-line after @@.
11310 2010-02-02 Juri Linkov <juri@jurta.org>
11312 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11313 '(RCS SCCS) with inverted condition.
11315 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11317 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11320 2010-02-01 Juri Linkov <juri@jurta.org>
11322 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11323 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11324 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11325 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11327 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11329 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11330 (doc-view-revert-buffer): New command.
11331 (doc-view-mode-map): Use it.
11333 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11335 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11336 pending merge is detected.
11338 2010-01-31 Juri Linkov <juri@jurta.org>
11340 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11341 beginning of interactive spec like all other grep commands do.
11342 Put "all" in front of "gz". (Bug#5260)
11344 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11346 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11348 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11350 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11351 regexp is incorrect (Bug#5476).
11353 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11355 * net/tramp.el (tramp-handle-insert-directory): Handle also
11356 symlinks, when FILENAME is not in `default-directory'.
11358 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11360 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11361 FILE is not in `default-directory'. (Bug#5478)
11363 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11364 of SWITCHES. Handle the case, FILENAME is not in
11365 `default-directory'. (Bug#5478)
11366 (tramp-register-file-name-handlers): Add safe-magic property.
11368 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11370 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11373 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11375 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11376 (flymake-master-make-header-init): Add other C++ filename masks.
11377 (flymake-find-possible-master-files)
11378 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11380 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11382 Fix some busybox annoyances.
11384 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11385 not responding." string.
11386 (tramp-open-connection-setup-interactive-shell): Dump stty
11387 settings. Enable "neveropen" arg for all `tramp-send-command'
11388 calls. Handle "=" in variable values properly.
11389 (tramp-find-inline-encoding): Raise an error, when no encoding is
11391 (tramp-wait-for-output): Check, whether PROC buffer is available.
11392 Remove spurious " ^H" sequences, sent by busybox.
11393 (tramp-get-ls-command): Suppress coloring, if possible.
11395 2010-01-28 Glenn Morris <rgm@gnu.org>
11397 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11399 * log-edit.el (log-edit-strip-single-file-name): Add missing
11400 :safe, :group, and :version tags.
11402 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11404 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11405 buffers. (Bug#5477)
11407 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11409 * files.el (delete-directory): Handle moving to trash without
11410 first doing recursion (Bug#5436).
11412 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11414 * vc-hooks.el (vc-path): Mark as obsolete.
11416 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11418 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11421 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11423 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11425 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11427 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11429 * vc-bzr.el (vc-bzr-revision-table): New function.
11431 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11433 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11434 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11436 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11438 Remove support for adding --signoff on commit.
11439 Future support will use an incompatible generic mechanism.
11440 * vc-git.el (vc-git-add-signoff): Remove variable.
11441 (vc-git-toggle-signoff): Remove function.
11442 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11444 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11445 Rename from xterm-set-background-mode. Return t if the background mode
11447 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11448 earlier, call it again in case the background mode has changed.
11450 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11452 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11455 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11457 * emacs-lisp/assoc.el (aelement): Doc fix.
11458 (aput, adelete, amake): Use lexical-let (Bug#5450).
11460 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11462 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11463 is the same as subprogram call, not declaration. (Bug#5435).
11465 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11467 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11468 (tramp-smb-maybe-open-connection): Use it.
11470 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11472 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11474 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11477 just because we see "encoding: 8bit".
11478 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11480 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11482 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11484 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11486 * jka-compr.el (jka-compr-load): If load-file is not in
11487 load-history, try its file-truename version. (bug#5447)
11489 2010-01-21 Alan Mackenzie <acm@muc.de>
11491 Fix a situation where deletion of a cpp construct throws an error.
11492 * progmodes/cc-engine.el (c-invalidate-state-cache):
11493 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11494 special cpp construct is still in the buffer.
11495 (c-parse-state): Record the special cpp with markers, not numbers.
11497 2010-01-21 Kenichi Handa <handa@m17n.org>
11499 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11500 process last-command-event, as it is now decoded first (Bug#5380).
11502 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11504 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11506 2010-01-20 Glenn Morris <rgm@gnu.org>
11508 * indent.el (tab-always-indent): Fix custom-type.
11510 2010-01-19 Alan Mackenzie <acm@muc.de>
11512 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11513 buffer throws "args out of range".
11514 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11515 playing the role of delimiter.
11517 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11519 * progmodes/ada-mode.el: Fix bug#5400.
11520 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11521 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11522 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11523 Improve comments in "is" portion. Handle null procedure declaration.
11524 (ada-move-to-end): Improve doc string.
11526 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11528 * ido.el (ido-cur-list): Initialize to nil.
11529 Remove obsolete information from commentary.
11530 (ido-choice-list): Initialize to nil.
11531 (ido-get-bufname): Reject minibuffers.
11532 (ido-make-buffer-list): If "default" is a nonexistent
11533 buffer, ignore it, as per the function's comment.
11534 (ido-kill-buffer-internal): New function.
11535 (ido-kill-buffer-at-head): Use it.
11536 (ido-visit-buffer): Likewise.
11538 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11540 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11542 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11544 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11545 Fix typos in chart titles.
11547 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11548 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11549 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11550 (describe-class, eieio-describe-generic, describe-generic):
11551 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11552 (eieio-speedbar-expand):
11553 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11554 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11555 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11556 (viper-del-backward-char-in-replace, viper-backward-indent)
11557 (viper-brac-function, viper-register-to-point, viper-submit-report):
11558 * net/tramp.el (tramp-remote-coding-commands):
11559 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11560 Fix typos in docstrings.
11562 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11564 * mail/sendmail.el (mail-yank-original): Set the mark if the
11565 specified function for yanking does not do it.
11567 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11569 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11571 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11572 resyncing a directory.
11574 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11576 * progmodes/ada-mode.el: Fix bug#1920.
11577 (ada-ident-re): Delete ., allow multibyte characters.
11578 (ada-goto-label-re): New; matches goto labels.
11579 (ada-block-label-re): New; matches block labels.
11580 (ada-label-re): New; matches both.
11581 (ada-named-block-re): Deleted; callers changed to use
11582 `ada-block-label-re' instead.
11583 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11584 Use `ada-block-label-re'.
11585 (ada-indent-on-previous-lines): Improve handling of goto labels.
11586 (ada-get-indent-block-start): Special-case block label.
11587 (ada-get-indent-label): Split into `ada-indent-block-label' and
11588 `ada-indent-goto-label'.
11589 (ada-goto-stmt-start, ada-goto-next-non-ws):
11590 Optionally ignore goto labels.
11591 (ada-goto-next-word): Simplify.
11592 (ada-indent-newline-indent-conditional): Insert newline before
11593 trying to fix indentation; doc fix.
11595 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11597 * calc/calc.el (calc-command-flags): Give it an initial value.
11599 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11601 * files.el (minibuffer-with-setup-hook):
11602 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11603 (artist-key-draw-continously, artist-key-do-continously-continously)
11604 (artist-key-set-point-continously, artist-mouse-draw-continously):
11605 Fix typos in docstrings.
11607 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11609 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11610 Never return t (Bug#3898).
11612 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11614 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11615 can parse the output of the external commands (Bug#5279).
11617 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11619 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11621 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11623 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11625 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11627 * startup.el (command-line): Remove unused --icon-type arg.
11628 Handle --display arg, passing it to command-line-1 (Bug#5392).
11630 2010-01-16 Mario Lang <mlang@delysid.org>
11632 * emacs-lisp/chart.el (chart-translate-namezone):
11633 * textmodes/artist.el (artist-compute-popup-menu-table):
11634 Remove duplicated words in doc-strings.
11636 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11638 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11639 to mairix-search to suppress threading (Bug#5342).
11641 2010-01-15 Kenichi Handa <handa@m17n.org>
11643 * international/mule-cmds.el (canonicalize-coding-system-name):
11644 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11646 2010-01-15 Glenn Morris <rgm@gnu.org>
11648 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11650 * wid-edit.el (widget-keymap): Doc fix.
11652 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11653 former seems to be more widely accepted by various svn versions.
11655 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11657 * find-cmd.el (find-constituents):
11658 * vc-arch.el (vc-arch-root):
11659 * window.el (window-body-height, pop-up-frames):
11660 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11661 * progmodes/ada-stmt.el (ada-if):
11662 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11663 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11664 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11665 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11667 * progmodes/flymake.el (flymake-post-syntax-check):
11668 Fix typo in error message.
11670 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11672 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11673 which is always a string. (Bug#5313)
11675 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11677 * progmodes/ada-xref.el (ada-default-prj-properties):
11678 Simplify previous change.
11680 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11682 * progmodes/ada-xref.el (ada-default-prj-properties):
11683 Default ada_project_path to $ADA_PROJECT_PATH.
11685 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11687 * progmodes/ada-mode.el (ada-create-keymap):
11688 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11690 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11692 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11693 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11694 (ada-get-current-indent, ada-imenu-generic-expression)
11695 (ada-which-function): Check for it.
11697 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11699 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11700 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11702 2010-01-14 Glenn Morris <rgm@gnu.org>
11704 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11706 2010-01-14 Kenichi Handa <handa@m17n.org>
11708 * composite.el (auto-composition-mode): Make it a buffer local
11709 variable (permanent-local).
11710 (auto-composition-function): Set the default value to
11711 auto-compose-chars.
11712 (auto-composition-mode): Make it a simple function, not a minor mode.
11713 (global-auto-composition-mode): Likewise.
11714 (turn-on-auto-composition-if-enabled): Delete it.
11716 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11718 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11720 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11722 * files.el (copy-directory): Compute target for recursive
11723 directories with identical names. (Bug#5343)
11725 2010-01-12 Glenn Morris <rgm@gnu.org>
11727 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11728 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11730 2010-01-11 Sam Steingold <sds@gnu.org>
11732 * imenu.el (imenu-default-create-index-function): Detect infinite
11733 loops caused by imenu-prev-index-position-function.
11735 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11737 * htmlfontify.el (htmlfontify-load-rgb-file)
11738 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11739 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11740 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11741 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11742 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11743 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11744 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11745 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11746 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11747 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11748 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11749 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11750 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11751 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11752 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11753 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11754 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11755 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11756 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11757 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11758 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11759 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11760 backslash-quoting from parentheses, etc.
11762 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11764 * progmodes/js.el: Autoload javascript-mode alias.
11766 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11768 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11769 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11770 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11771 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11772 Fix typos in docstrings.
11773 (ffap-url-regexp): Doc fix.
11774 (ffap-at-mouse): Fix typo in message.
11776 2010-01-11 Glenn Morris <rgm@gnu.org>
11778 * version.el (emacs-copyright): Set copyright year to 2010.
11780 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * format.el (format-annotate-function): Only set
11783 write-region-post-annotation-function after running to-fn so as not to
11784 affect nested write-region calls (bug#5273).
11786 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11788 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11791 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11793 * man.el (Man-goto-section): Signal error if the section is not
11796 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11798 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11799 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11801 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11803 * progmodes/compile.el: Don't treat compile-command as safe if
11804 compilation-read-command might be nil (Bug#4218).
11806 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11808 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11811 2010-01-08 Kenichi Handa <handa@m17n.org>
11813 * international/fontset.el (build-default-fontset-data):
11814 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11816 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11818 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11819 to `create-file-buffer' as it expects, not just a buffer name.
11820 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11821 to help uniquify. (Bug#3224)
11823 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11825 * font-setting.el (font-setting-change-default-font): Use user-spec
11828 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11830 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11832 2010-01-05 Tom Tromey <tromey@redhat.com>
11834 * progmodes/python.el (python-font-lock-keywords):
11835 Handle qualified decorators (Bug#881).
11837 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11839 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11840 in a lightweight checkout.
11842 2010-01-05 Kenichi Handa <handa@m17n.org>
11844 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11846 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11848 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11850 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11852 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11853 checkouts. (Bug#618)
11854 (vc-bzr-log-view-mode): Also highlight the author.
11855 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11856 (vc-bzr-shelve-menu-map):
11857 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11858 (vc-bzr-shelve-apply): Make prompt more explicit.
11860 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11862 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11863 They are valid characters in URL paths (rfc3986), and at least
11864 Firefox does not understand the encoded version (Bug#3166).
11866 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11868 * progmodes/octave-mod.el (octave-end-keywords)
11869 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11870 Add "end" keyword (Bug#3061).
11871 (octave-end-as-array-index-p): New function.
11872 (calculate-octave-indent): Use it.
11874 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11876 * bookmark.el: Consistently put the text property on the bookmark name.
11877 (bookmark-bmenu-marks-width): Bump back to 2, to include
11879 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11880 property on the bookmark name, instead of not putting it at all.
11881 (bookmark-bmenu-list): Fix where we put the text property.
11883 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11885 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11886 for showing buffer modified state (as added in the previous change).
11888 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11890 * bookmark.el: Show modified state of bookmark buffer more accurately.
11891 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11892 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11893 (with-buffer-modified-unmodified): New macro.
11894 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11895 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11896 Use new macro to preserve the buffer modified state.
11898 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11900 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11901 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11902 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11903 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11904 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11905 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11906 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11908 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11910 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11911 Make the lines in the generated doc string shorter. (Bug#4668)
11913 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11915 * net/rcirc.el: Add follow-link binding (Bug#4738).
11917 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11919 * Makefile.in (bzr-update): Rename from cvs-update.
11920 (cvs-update): New target for backward compatibility.
11922 * makefile.w32-in (bzr-update): Rename from cvs-update.
11923 (cvs-update): New target for backward compatibility.
11925 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11927 * bookmark.el: Remove gratuitous gratitude.
11929 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11931 * bookmark.el (bookmark-bmenu-any-marks): New function.
11932 (bookmark-bmenu-save): Clear buffer modification if no marks.
11934 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11936 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11937 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11938 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11939 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11941 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11942 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11943 To: emacs-devel {_AT_} gnu.org
11944 Subject: bookmark.el bug report
11945 Date: Mon, 28 Dec 2009 14:19:16 +0800
11946 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11948 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11950 * bookmark.el: Improvements suggested by Drew Adams:
11951 (bookmark-bmenu-ensure-position): New name for
11952 `bookmark-bmenu-check-position'. Just ensure the position,
11953 don't return any meaningful value.
11954 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11957 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11959 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11960 (bookmark-yank-point, bookmark-bmenu-check-position):
11961 Fix typos in docstrings.
11962 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11963 (bookmark-name-from-full-record, bookmark-get-position)
11964 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11965 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11966 Remove useless quoting of parenthesis, etc. in docstrings.
11968 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11969 (ediff-append-custom-diff): Fix typo in error message.
11970 (ediff-meta-mark-equal-files): Fix typos in messages.
11972 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11974 * net/imap-hash.el (imap-hash-make): Doc fix.
11975 (imap-hash-test): Fix typo in error message; reflow docstring.
11976 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11977 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11978 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11979 Fix typos in docstrings.
11980 (imap-hash-open-connection): Fix typo in error message.
11982 * play/gomoku.el (gomoku): Fix typos in docstring.
11984 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11985 (gdb-jsonify-buffer): Fix typos in docstring.
11986 (gdb-goto-breakpoint): Fix typo in error message.
11987 ("Display Other Windows"): Fix typo in help message.
11988 (gdb-speedbar-expand-node): Fix typo in question.
11990 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11991 (idlwave-html-system-help-location, idlwave-html-help-location)
11992 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11993 (idlwave-help-browser-generic-args, idlwave-help-directory)
11994 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11995 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11996 (idlwave-online-help, idlwave-help-html-link)
11997 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11998 Fix typos in docstrings.
11999 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12001 (idlwave-help-assistant-start): Fix typo in error message.
12003 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12004 (octave-electric-space): Fix typos in docstrings.
12006 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12008 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12010 2010-01-01 Juri Linkov <juri@jurta.org>
12012 * comint.el (comint-input-ring-size): Make it a defcustom and
12013 increase the default to 500 (Bug#5148).
12015 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12017 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12018 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12019 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12021 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12023 Show working revision correctly for mercurial.
12024 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12025 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12027 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12029 Declare some functions for the byte-compiler.
12030 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12031 (speedbar-timer-fn, speedbar-change-expand-button-char)
12032 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12034 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12036 This changeset reverts GDB Graphical Interface to use annotations.
12037 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12039 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12041 Make vc-dir work on subdirectories of the bzr root.
12042 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12043 Return file names relative to it.
12044 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12045 relative directory to vc-bzr-after-dir-status.
12047 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12049 * font-lock.el (font-lock-refresh-defaults): New function, which
12050 can be used to let font-lock react to external changes in
12051 variables like font-lock-defaults and keywords.
12052 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12054 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12056 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12058 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12060 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12062 Supersede color.diff settings in git log (bug#5211).
12064 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12065 escape chars in its output when the user has color.diff set to `always'.
12066 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12068 2009-12-26 Kevin Ryde <user42@zip.com.au>
12070 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12071 node. Keep previous "Index" name to work with past coreutils too.
12073 * man.el (man): Revise docstring a bit to show -a and -l as
12074 examples. Add -k description since support for it has otherwise
12075 been a secret. (Further to bug#3717.)
12076 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12077 "no matches" rather than "Can't find manpage", as the latter reads
12078 like -k was interpreted as a page name, which is not so. (Bug#5431)
12080 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12082 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12083 switches. Check also for //SUBDIRED// line.
12085 2009-12-25 Kenichi Handa <handa@m17n.org>
12087 * language/indian.el (devanagari-composable-pattern): Fix to
12088 handle ZWNJ and ZWJ. Use it in composition-function-table for
12090 (malayalam-composable-pattern): Fix previous change.
12092 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12094 * ps-print.el (ps-face-attributes): It was not returning the
12095 attribute face for faces specified as string. Reported by harven
12096 <harven@free.fr>. (Bug#5254)
12097 (ps-print-version): New version 7.3.5.
12099 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12101 * calendar/icalendar.el (icalendar--convert-tz-offset):
12102 Fix timezone names.
12103 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12104 (icalendar--add-diary-entry): Remove the trailing blank that
12105 diary-make-entry inserts.
12107 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12109 Make `file-expand-wildcards' work for remote files.
12111 * files.el (file-expand-wildcards): In case of remote files, check
12112 only local file name part for wildcards. Provide feature 'files
12113 and subfeature 'remote-wildcards. (Bug#5198)
12115 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12116 if there is already an established connection.
12117 (tramp-advice-file-expand-wildcards): Remove it.
12119 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12120 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12121 Activate advice for older GNU Emacs versions. (Bug#5237)
12123 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12125 Some doc fixes (more needed).
12127 * find-cmd.el (find-constituents): Reflow docstring.
12128 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12129 (find-generic): Doc fix.
12131 2009-12-17 Juri Linkov <juri@jurta.org>
12133 Fix regression from 23.1 to allow multiple modes in Local Variables.
12135 * files.el (hack-local-variables-filter): While ignoring duplicates,
12136 don't take `mode' into account.
12137 (hack-local-variables-filter, hack-dir-local-variables):
12138 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12140 2009-12-17 Juri Linkov <juri@jurta.org>
12142 Make `dired-diff' safer. (Bug#5225)
12144 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12145 `current' or when `file' is a directory of the `current' file.
12147 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12149 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12150 unconditionally preloaded files.
12152 2009-12-16 Juri Linkov <juri@jurta.org>
12154 Revert to old 23.1 logic of using the file at the mark as default.
12155 * dired-aux.el (dired-diff): Use the file at the mark as default
12156 if it's not the same as the current file, and the target dir is
12157 the current dir or the mark is active. Add the current file
12158 as the arg of `dired-dwim-target-defaults'. Use the default file
12159 in the prompt. (Bug#5225)
12161 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12163 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12164 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12165 (tramp-check-for-regexp): Check also, when an echoing shell stops
12166 to echo sent commands.
12168 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12170 * Makefile.in: Revert last change (Bug#5191).
12172 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12174 * vc-hg.el (vc-hg-print-log): Fix argument order.
12175 (vc-hg-working-revision): Make sure the command is executed in a
12176 known environment so that we can parse the output. (Bug#4417)
12178 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12180 * progmodes/python.el (python-symbol-completions): Remove text
12181 properties from symbol string before calling python-send-receive.
12183 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12185 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12186 when there are values for both file and line. (Bug#5060)
12188 2009-12-14 Juri Linkov <juri@jurta.org>
12190 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12191 whitespace after the file name of the first line of unified format,
12192 because git-diff doesn't output whitespace and file modification time
12193 after the file name.
12195 2009-12-14 David Kastrup <dak@gnu.org>
12197 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12198 check if it already has the `display' property added by
12199 `Info-display-images-node', and not put the `invisible' property
12202 2009-12-13 Glenn Morris <rgm@gnu.org>
12204 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12205 (report-emacs-bug): In message-mode, sort manually before storing
12206 original report text. (Bug#5178)
12207 Remove superfluous save-excursion.
12209 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12211 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12212 when responding to "GetAll" properties.
12214 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12216 * simple.el (compose-mail): Remove mail-setup-with-from from
12217 customization checks.
12219 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12221 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12222 RAR archives created on Unix systems.
12224 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12226 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12227 the varalias that was accidentally removed by the 2009-11-19 change
12230 2009-12-12 Kenichi Handa <handa@m17n.org>
12232 * language/indian.el (indian-compose-regexp): New function.
12233 (malayalam-composable-pattern): Fix the pattern.
12234 (composition-function-table): Set malayalam-composable-pattern for
12235 Malayalam characters.
12237 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12239 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12240 rather than down-mouse-1, based on follow-link conventions.
12242 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12245 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12247 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12248 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12249 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12250 (verilog-leap-to-head, verilog-backward-token):
12251 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12253 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12255 * progmodes/verilog-mode.el (verilog-auto-lineup)
12256 (verilog-nameable-item-re): Cleanup user-visible spelling and
12257 documentation errors. One reported by Gary Delp.
12258 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12259 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12260 package, bug195. Reported by Pierre-David Pfister.
12262 2009-12-11 Glenn Morris <rgm@gnu.org>
12264 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12266 * mail/emacsbug.el: No longer require sendmail.
12267 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12268 (report-emacs-bug-orig-text): Doc fix.
12269 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12270 New local variables, to adapt to different mail-user-agents.
12271 (report-emacs-bug): Fix test for a gnu.org address.
12272 Use overlays for emphasis, since font-lock defeats 'face property.
12273 Pretest bugs also end up at the newsgroup these days.
12274 Stop message-mode stripping text properties.
12275 Set and use the new buffer-local variables.
12276 (report-emacs-bug-hook): Add doc-string.
12277 Remove some unnecessary save-excursions and simplify.
12278 Use the appropriate hook and send-command.
12280 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12281 capitalization of some menu entries.
12283 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12285 * whitespace.el (whitespace-display-char-on):
12286 Ensure `buffer-display-table' is unique when two or more windows are
12287 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12290 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12292 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12293 characters in the Attribute field.
12295 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12297 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12299 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12301 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12302 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12303 Disregard autoload-excludes.
12304 (update-directory-autoloads): Obey autoload-excludes here instead.
12305 But don't store its contents in no-autoloads and remove entries that
12306 refer to excludes files.
12308 2009-12-10 Glenn Morris <rgm@gnu.org>
12310 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12311 (expand-mail-aliases): Define for compiler.
12313 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12314 Define for compiler.
12316 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12317 appropriate for the mail-user-agent in use.
12319 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12321 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12323 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12325 Fix short log parsing and fontification.
12326 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12327 Fix fontification for the [merge] label.
12329 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12331 Drop some properties to avoid surprises (bug#5002).
12332 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12333 (hfy-fontify-buffer): Use it.
12335 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12338 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12339 Adjust all callers.
12340 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12341 args compulsory. Adjust callers.
12342 (ffap-gopher-at-point): Remove unused var `name'.
12344 Get rid of the ELCFILES abomination.
12345 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12346 (compile-elcfiles): New phony target.
12347 (compile-main): Compute ELCFILES dynamically.
12348 (compile-clean): New target to remove left-over elc files.
12349 (compile, all): Use it.
12351 2009-12-09 Kenichi Handa <handa@etlken>
12353 * international/mule-diag.el: Require help-mode instead of help-fns.
12355 2009-12-09 Kenichi Handa <handa@m17n.org>
12357 * international/mule-cmds.el (ucs-names): Supply sufficiently
12358 fine ranges instead of pre-calculating accurate ranges.
12359 Iterate with bigger gc-cons-threshold.
12361 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12363 Add support for stashing a snapshot of the current tree.
12364 * vc-git.el (vc-git-stash-snapshot): New function.
12365 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12367 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12369 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12370 instead of `(beginning|end)-of-line'.
12372 2009-12-08 Glenn Morris <rgm@gnu.org>
12374 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12376 * Makefile.in (ELCFILES): Regenerate.
12378 2009-12-07 Juri Linkov <juri@jurta.org>
12380 Don't lazy-highlight the comint output in history Isearch mode.
12382 * comint.el (comint-history-isearch-search): Instead of
12383 `comint-line-beginning-position', use `comint-after-pmark-p'
12384 to check if point if before the process mark, and go to
12385 `process-mark' in this case.
12387 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12389 * textmodes/tex-mode.el (latex-complete)
12390 (latex-indent-or-complete): Remove.
12391 (latex-mode): Set completion-at-point-functions instead.
12393 Provide a standard completion command and hook it into TAB.
12394 * minibuffer.el (completion-at-point-functions): New var.
12395 (completion-at-point): New command.
12396 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12397 * progmodes/python.el (python-mode-map): Use completion-at-point.
12398 (python-completion-at-point): Rename from python-partial-symbol and
12399 adjust for use in completion-at-point-functions.
12400 (python-mode): Setup completion-at-point for Python completion.
12401 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12402 extracted from lisp-complete-symbol.
12403 (lisp-complete-symbol): Use it.
12404 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12405 setup completion-at-point for Elisp completion.
12406 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12407 Use completion-at-point.
12408 * ielm.el (ielm-map): Use completion-at-point.
12409 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12410 * progmodes/sym-comp.el: Move to...
12411 * obsolete/sym-comp.el: Move from progmodes.
12413 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12415 Prevent save-buffer in Rmail buffers from using the coding-system
12416 of the current message, and from clobbering the encoding mnemonics
12417 in the mode line (Bug#4623).
12419 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12421 (rmail-message-encoding): New variable.
12422 (rmail-write-region-annotate): Record the encoding of the current
12423 message in rmail-message-encoding.
12424 (rmail-after-save-hook): New function, restores the encoding of
12425 the current message after the message collection is saved.
12427 2009-12-07 Juri Linkov <juri@jurta.org>
12429 * progmodes/grep.el (grep-read-files): Use `completing-read'
12430 instead of `read-string'. Set its `collection' arg to
12431 `read-file-name-internal'. (Bug#4301)
12433 2009-12-07 Juri Linkov <juri@jurta.org>
12435 Correctly restore original Isearch point. (Bug#4994)
12437 * isearch.el (isearch-mode): Move `isearch-push-state' after
12438 `(run-hooks 'isearch-mode-hook)'.
12439 (isearch-cancel): When `isearch-push-state-function' is defined,
12440 let-bind `isearch-cmds' to the first state (the last element of
12441 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12442 function and restores the original point). Otherwise, move point
12443 to `isearch-opoint'.
12445 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12447 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12448 chars that don't have names, so the table can be built much faster at
12451 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12453 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12454 change. Suggested by David Kastrup.
12456 * simple.el (compose-mail): Check for incompatibilities and warn.
12457 (compose-mail-user-agent-warnings): New option.
12459 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12461 Support showing a single log entry from vc-annotate.
12462 * vc.el (print-log): Add a new argument: START-REVISION.
12463 (vc-print-log-internal): Add a new optional argument and
12464 pass it to the backend.
12465 (vc-print-log, vc-print-root-log): Adjust callers.
12466 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12467 buffer already displays the requested log entry, use it.
12468 Otherwise display only the log entry in question.
12469 * vc-svn.el (vc-svn-print-log):
12470 * vc-mtn.el (vc-mtn-print-log):
12471 * vc-hg.el (vc-hg-state):
12472 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12473 (vc-git-show-log-entry): Return t on success.
12474 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12475 (vc-bzr-show-log-entry): Return t on success.
12476 * vc-rcs.el (vc-rcs-print-log):
12477 * vc-sccs.el (vc-sccs-print-log):
12478 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12480 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12482 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12483 Add menus to the meta mode. (Bug#5043)
12485 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12487 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12490 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12492 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12494 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12495 Berbain <raphael.berbain@gmail.com>.
12497 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12499 (tramp-initial-end-of-output): New defconst.
12500 (tramp-methods, tramp-find-shell)
12501 (tramp-open-connection-setup-interactive-shell)
12502 (tramp-maybe-open-connection): Use it.
12503 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12504 Handle existence of `#' and `$'.
12506 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12507 Use `tramp-initial-end-of-output'.
12509 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12511 Get the background mode from the terminal for xterm, and set
12513 * term/xterm.el (xterm-set-background-mode): New function.
12514 (terminal-init-xterm): Use it in case xterm supports background
12515 color queries. Recompute faces after getting the background
12518 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12520 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12521 number comment back on its own line, for easier parsing.
12523 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12525 Make it work for non-file buffers (bug#5102).
12526 * doc-view.el (doc-view-current-cache-dir):
12527 Use doc-view-buffer-file-name rather than buffer-file-name.
12528 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12530 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12532 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12533 author field is too short.
12535 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12537 * vc-git.el (vc-git-print-log): Handle a limit argument.
12538 Display the short log in graph form and with labels.
12539 (vc-git-log-view-mode): Handle labels.
12541 Make vc-revert change VC state from 'added to 'unregistered.
12542 * vc-git.el (vc-git-revert): Call git reset first.
12544 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12546 * net/newst-backend.el, net/newst-plainview.el:
12547 * net/newst-reader.el, net/newst-ticker.el:
12548 * net/newst-treeview.el, net/newsticker.el:
12549 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12551 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12553 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12555 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12556 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12557 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12558 Update annotation regexp.
12560 * simple.el (beginning-of-visual-line): Constrain to field
12561 boundaries (Bug#5106).
12563 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12565 * xml.el (xml-substitute-numeric-entities):
12566 Move newsticker--decode-numeric-entities in newst-backend.el to
12567 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12568 * net/newst-backend.el (newsticker--parse-generic-feed)
12569 (newsticker--parse-generic-items)
12570 (newsticker--decode-numeric-entities):
12571 Move newsticker--decode-numeric-entities in newst-backend.el to
12572 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12574 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12576 * progmodes/js.el (js--js-not): Add null to the list of values.
12578 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12580 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12582 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12584 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12585 delimiter if it is at the end of the current line.
12586 (bibtex-generate-url-list): Fix docstring.
12588 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12590 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12591 minibuffer's content with itself.
12592 Fold the confirm-after-completion case into the `confirm' case.
12593 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12595 2009-12-06 Kevin Ryde <user42@zip.com.au>
12597 * ffap.el (ffap-rfc-path): Make this a defcustom since
12598 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12600 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12601 manuals, similar to existing setup for help-mode. (Bug#3913.)
12603 2009-12-05 Juri Linkov <juri@jurta.org>
12605 Save and restore dired buffer's point positions too. (Bug#4880)
12607 * dired.el (dired-save-positions): Return in the first element
12608 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12610 (dired-restore-positions): First restore buffer's position.
12611 While restoring window's positions, check if window still displays
12612 the original buffer.
12614 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12616 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12619 * shell.el (shell): Require ansi-color (Bug#5113).
12621 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12623 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12625 2009-12-05 Alan Mackenzie <acm@muc.de>
12627 * progmodes/cc-mode.el (c-before-hack-hook)
12628 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12629 `c-file-style' to work again. This reversion restores the current
12630 software to its state in Emacs 23.1. (Bug#4146)
12632 2009-12-05 Kevin Ryde <user42@zip.com.au>
12634 * textmodes/sgml-mode.el (sgml-lexical-context):
12635 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12637 2009-12-05 Juri Linkov <juri@jurta.org>
12639 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12640 for virtual nodes. (Bug#4147)
12641 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12642 when moving from a virtual node.
12643 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12644 (Info-mode): Add `Info-virtual-index' to the docstring.
12646 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12648 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12649 track of the buffer position of the end of a BibTeX entry as this
12650 position may change during reformatting.
12651 (bibtex-format-entry): Remove whitespace before processing
12652 numerical fields so that we recognize the latter properly.
12653 (bibtex-reformat): Do not use push which changes the global value
12654 of bibtex-entry-format.
12655 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12656 (bibtex-field-re-init): Replace only space characters by regexp
12658 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12659 (bibtex-initialize): Also update bibtex-strings.
12660 (bibtex-kill-field): Preserve white space at end of entry.
12661 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12662 Update bibtex-reference-keys.
12664 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12666 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12667 point after a star, if that's the only place where modifications can
12670 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12672 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12675 2009-12-04 Juri Linkov <juri@jurta.org>
12677 * proced.el (proced): Call `(proced-update t)' to update process
12678 information instead of only running proced-post-display-hook.
12679 (proced-send-signal): Add a leading space to the buffer name
12680 " *Marked Processes*" to make this buffer ephemeral.
12682 2009-12-04 Juri Linkov <juri@jurta.org>
12684 * dired.el (dired-auto-revert-buffer): New defcustom.
12685 (dired-internal-noselect): Use it.
12687 2009-12-04 Juri Linkov <juri@jurta.org>
12689 Change roles of modes and functions in image-mode.el (Bug#5062).
12691 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12692 in `auto-mode-alist'.
12693 (image-mode-previous-major-mode): New variable.
12694 (image-minor-mode-map): Rename from `image-mode-text-map'.
12695 (image-mode): Move graceful error-handling code from
12696 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12697 (image-minor-mode): Remove all image-handling code.
12698 Replace `image-mode-text-map' with `image-minor-mode-map'.
12699 Check for `image-type' in mode-line format string.
12700 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12701 (image-mode-as-text): New function with most code from
12702 `image-mode-maybe'.
12703 (image-toggle-display-text): Move code that removes image
12704 properties from `image-toggle-display' to here.
12705 (image-toggle-display-image): New function with code that adds
12706 image properties copied from `image-toggle-display'.
12707 (image-toggle-display): Remove most code with leaving only code
12708 that toggles between `image-mode-as-text' and `image-mode'.
12710 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12712 * net/newst-treeview.el
12713 (newsticker--treeview-list-highlight-start): Restored call to
12714 save-excursion: Selected item was stuck.
12715 (newsticker--treeview-list-select): New.
12716 (newsticker--treeview-item-show-text)
12717 (newsticker--treeview-item-show)
12718 (newsticker--treeview-item-update): Use new
12719 newsticker-treeview-item-mode.
12720 (newsticker-treeview-update): Keep current item.
12721 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12722 (newsticker--treeview-first-feed): Doc change.
12723 (newsticker-treeview-list-menu)
12724 (newsticker-treeview-item-menu): Add menu entries.
12725 (newsticker-treeview-item-mode): New.
12727 * net/newst-backend.el (newsticker-customize): Delete other
12730 2009-12-04 Sam Steingold <sds@gnu.org>
12732 * log-view.el (log-view-mode-map): "q" calls quit-window,
12733 like in all the other non-self-insert buffers.
12735 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12738 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12739 key decoding rather than do it manually via last-input-event +
12741 (term-exec): Use delete-and-extract-region.
12742 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12743 (term-process-pager): Remove unused var `i'.
12744 (term-dynamic-simple-complete): Make obsolete.
12745 (serial-update-config-menu): Remove unused vars `y' and `str'.
12746 (term-update-mode-line): Remove unused var `temp'.
12748 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12750 Limit the number of log entries displayed by default.
12751 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12752 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12753 using a prefix argument.
12755 2009-12-03 Glenn Morris <rgm@gnu.org>
12757 * progmodes/idlwave.el (class): Restore still useful declaration.
12759 2009-12-03 Alan Mackenzie <acm@muc.de>
12761 Enhance `c-parse-state' to run efficiently in "brace deserts".
12763 * progmodes/cc-mode.el (c-basic-common-init):
12764 Call c-state-cache-init.
12765 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12766 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12767 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12769 * progmodes/cc-langs.el (c-before-font-lock-function):
12770 c-extend-and-neutralize-syntax-in-CPP has been renamed
12771 c-neutralize-syntax-in-and-mark-CPP.
12773 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12774 with `category' properties now, not `syntax-table' ones.
12776 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12777 enhanced (but slower) version of c-end-of-macro that won't land
12778 inside a literal or on another awkward character.
12779 (c-state-cache-too-far, c-state-cache-start)
12780 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12781 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12782 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12783 (c-state-min-scan-pos, c-state-brace-pair-desert)
12784 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12785 buffer local variables.
12786 (c-state-literal-at, c-state-lit-beg)
12787 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12788 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12789 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12790 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12791 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12792 (c-renarrow-state-cache)
12793 (c-append-lower-brace-pair-to-state-cache)
12794 (c-state-push-any-brace-pair, c-append-to-state-cache)
12795 (c-remove-stale-state-cache)
12796 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12797 (c-invalidate-state-cache-1, c-parse-state-1)
12798 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12799 (c-parse-state): Enhance and refactor.
12800 (c-debug-parse-state): Amend to deal with all the new variables.
12802 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12803 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12804 modify to use category text properties rather than syntax-table ones.
12805 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12806 to switch off/on the syntactic paren property of C++ template
12807 delimiters using the category property.
12808 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12809 template delims suppressed.
12810 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12811 New constant/macros which apply category properties to the start
12812 and end of preprocessor constructs.
12813 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12814 "comment out" the syntactic value of characters in preprocessor
12816 (c-with-cpps-commented-out)
12817 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12818 with characters in all or all but one preprocessor constructs
12821 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12823 * proced.el (proced-filter-alist): Use regexp-quote.
12825 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12828 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12829 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12830 arguments. Expand `default-directory'.
12832 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12833 the benefit of returning an expanded localname.
12834 (tramp-tramp-file-p): Handle the case NAME is not a string.
12836 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12838 Add support for bzr shelve/unshelve.
12839 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12840 (vc-bzr-extra-menu-map): New variables.
12841 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12842 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12843 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12844 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12845 (vc-bzr-dir-extra-headers): Display shelves.
12847 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12849 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12851 * textmodes/bibtex.el (bibtex-complete-internal):
12852 Use completion-in-region.
12853 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12855 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12857 Support applying stashes. Improve UI.
12858 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12859 (vc-git-stash-apply, vc-git-stash-pop)
12860 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12861 (vc-git-stash-menu): New functions.
12862 (vc-git-stash-menu-map): New variable.
12863 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12865 2009-12-03 Glenn Morris <rgm@gnu.org>
12867 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12868 (vc-print-log-internal): Fix previous change.
12869 (vc-revert): Correct pluralization.
12871 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12873 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12874 it to be an alist any more.
12875 (makefile-complete): Use completion-in-region.
12877 * progmodes/octave-mod.el (octave-complete-symbol):
12878 Use completion-in-region.
12881 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12882 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12883 (idlwave-complete-class): Don't quote lambda.
12884 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12885 (idlwave-mode-map): Move initialization into declaration.
12886 (idlwave-action-and-binding): Use backquotes.
12887 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12889 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12890 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12891 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12892 `parts', and `all-parts'.
12893 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12894 (idlwave-convert-xml-system-routine-info): Remove unused string
12896 (idlwave-display-user-catalog-widget): Use dolist.
12897 (idlwave-scanning-lib): Declare dynamically-scoped var.
12898 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12899 (completion-highlight-first-word-only): Declare to silence bytecomp.
12900 (idlwave-popup-select): Tighten scope of `resp'.
12901 (idlwave-find-struct-tag): Remove unused var `beg'.
12902 (idlwave-after-load-rinfo-hook): Declare.
12903 (idlwave-sintern-class-info): Remove unused var `taglist'.
12904 (idlwave-find-class-definition): Remove unused var `list'.
12905 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12906 (idlwave-what-module-find-class): Remove unused var `classes'.
12908 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12910 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12912 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12914 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12915 buffers visited. Remove redundant current-buffer-saving.
12917 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12919 Use completion-in-buffer and remove uses of dynamic scoping.
12920 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12921 (pascal-buffer-to-use, pascal-flag): Don't declare.
12922 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12923 (pascal-get-completion-decl, pascal-keyword-completion):
12924 Add `pascal-str' argument, save-excursion,
12925 return the found completions, and don't filter with pascal-pred.
12926 (pascal-completion-cache): New var.
12927 (pascal-completion): Don't switch buffer any more (it was never
12928 necessary). Don't save-excursion any more (it's done by the called
12929 subroutines). Use a cache to avoid redundant computations.
12930 Use complete-with-action rather than pascal-completion-response and
12931 let it apply the predicate as well.
12932 (pascal-complete-word): Use completion-in-buffer when
12933 pascal-toggle-completions is nil.
12934 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12936 (pascal-comp-defun): Don't change buffer any more.
12937 Use complete-with-action rather than pascal-completion-response and
12938 let it apply the predicate as well.
12939 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12942 2009-12-02 Kenichi Handa <handa@m17n.org>
12944 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12945 shape for all Indic scripts.
12947 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12949 Use completion-in-buffer.
12950 * wid-edit.el (widget-field-text-end): New function.
12951 (widget-field-value-get): Use it.
12952 (widget-string-complete, widget-file-complete)
12953 (widget-color-complete): Use it and completion-in-region.
12954 (widget-complete): Don't narrow the buffer.
12956 2009-12-02 Glenn Morris <rgm@gnu.org>
12958 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12959 (rmail-select-summary): Use rmail-pop-to-buffer.
12960 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12961 rmail-pop-to-buffer, to prevent horizontal splits.
12963 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12964 save-excursion with save-current-buffer.
12965 Widen before searching. (Bug#5093)
12966 (diary-list-sexp-entries): Remove superfluous save-excursion.
12968 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12970 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12973 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12975 * ido.el (ido-file-internal): Handle filenames at point that do
12976 not have a directory part. (Bug#5049)
12978 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12980 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12981 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12983 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12985 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12986 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12989 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12991 * comint.el (comint-insert-input): Ignore clicks to the right of
12992 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12994 * vc.el (vc-print-log-internal): Don't wait for the process to
12995 terminate before setting up the major mode.
12997 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13000 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13003 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13005 2009-12-01 Glenn Morris <rgm@gnu.org>
13007 * window.el (window--display-buffer-2): Fix previous changes.
13009 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13011 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13013 2009-12-01 Glenn Morris <rgm@gnu.org>
13015 * Makefile.in (ELCFILES): Add mpc.elc.
13017 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13019 * mpc.el: New file.
13021 2009-12-01 Glenn Morris <rgm@gnu.org>
13023 * window.el (window-to-use): Define for compiler.
13025 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13026 consistent with others (no final period).
13028 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13029 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13031 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13033 Make vc-print-log buttons work.
13034 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13036 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13038 * savehist.el (savehist-autosave-interval): Allow setting to nil
13039 through customize. (Bug#5056)
13041 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13043 Fix references to jit-lock properties.
13044 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13045 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13046 (perl-font-lock-special-syntactic-constructs):
13047 Quote jit-lock-defer-multiline property.
13049 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13051 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13053 2009-11-30 Juri Linkov <juri@jurta.org>
13055 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13056 value `buffer' of `multi-isearch-next-buffer-current-function'.
13057 Use `(current-buffer)' when `buffer' is nil.
13058 (multi-isearch-next-buffer-from-list): Don't fallback to
13059 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13061 2009-11-30 Juri Linkov <juri@jurta.org>
13063 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13064 of buffers with `get-buffer' to `multi-isearch-buffers'.
13065 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13066 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13067 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13068 FILES with `expand-file-name' converting relative file names
13069 to absolute. Doc fix. (Bug#4727)
13071 2009-11-30 Juri Linkov <juri@jurta.org>
13073 * misearch.el (multi-isearch-read-buffers)
13074 (multi-isearch-read-matching-buffers): New functions.
13075 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13076 Use them in the `interactive' spec. Doc fix.
13077 (multi-isearch-read-files, multi-isearch-read-matching-files):
13079 (multi-isearch-files, multi-isearch-files-regexp):
13080 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13082 2009-11-30 Juri Linkov <juri@jurta.org>
13084 * doc-view.el (doc-view-continuous):
13085 Rename from `doc-view-continuous-mode'.
13086 (doc-view-menu): Move "Toggle display" to the top.
13087 Add submenu "Continuous" with radio buttons "Off"/"On"
13088 and "Save as Default".
13089 (doc-view-scroll-up-or-next-page)
13090 (doc-view-scroll-down-or-previous-page)
13091 (doc-view-next-line-or-next-page)
13092 (doc-view-previous-line-or-previous-page):
13093 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13095 2009-11-30 Juri Linkov <juri@jurta.org>
13097 * comint.el (comint-mode-map): Rebind `M-r' from
13098 `comint-previous-matching-input' to
13099 `comint-history-isearch-backward-regexp'.
13100 Unbind `M-s' to allow global key binding `M-s'.
13101 Add menu items for `comint-history-isearch-backward' and
13102 `comint-history-isearch-backward-regexp'. (Bug#3746)
13104 2009-11-30 Juri Linkov <juri@jurta.org>
13106 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13107 For def=recenter, replace `recenter' with `recenter-top-bottom'
13108 that is called with `this-command' and `last-command' let-bound
13109 to `recenter-top-bottom'. When the last `def' was not `recenter',
13110 set `recenter-last-op' to nil. (Bug#4981)
13112 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13114 Minor cleanup and simplification.
13115 * filecache.el (file-cache-add-directory)
13116 (file-cache-add-directory-recursively)
13117 (file-cache-add-from-file-cache-buffer)
13118 (file-cache-delete-file-regexp, file-cache-delete-directory)
13119 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13120 (file-cache-temp-minibuffer-message): Delete function.
13121 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13123 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13124 Don't signal an error when bumping into EOB in tr, s, or y.
13126 2009-11-29 Juri Linkov <juri@jurta.org>
13128 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13131 * descr-text.el (describe-char-unidata-list): Use lowercase name
13132 for "Unicode name" like in other tags.
13134 2009-11-29 Juri Linkov <juri@jurta.org>
13136 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13137 New compatibility macro.
13138 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13140 2009-11-29 Juri Linkov <juri@jurta.org>
13142 Add defcustom to define the cycling order of `recenter-top-bottom'.
13145 * window.el (recenter-last-op): Doc fix.
13146 (recenter-positions): New defcustom.
13147 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13148 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13150 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13152 Improve integration of Tramp and ange-ftp in eshell.
13154 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13155 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13156 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13158 * eshell/esh-util.el (top): Require also Tramp when compiling.
13159 (eshell-directory-files-and-attributes): Check for FTP remote
13161 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13162 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13163 (eshell-file-attributes): Handle ".". Return `entry'.
13165 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13166 (ange-ftp-directory-files-and-attributes)
13167 (ange-ftp-real-directory-files-and-attributes): New defuns.
13169 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13170 shell with "exec" when possible. This prevents trailing prompts
13171 in `start-file-process'.
13173 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13175 Try and remove assumptions about point-min==1.
13176 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13177 (rng-compute-mode-line-string): Show the validation percentage in
13178 terms of the narrowed text, not the widened text.
13179 (rng-do-some-validation): Don't catch internal errors when debugging.
13180 (rng-first-error): Simplify.
13181 (rng-after-change-function): Remove work around. AFAIK the bug has
13182 been fixed a while ago.
13184 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13185 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13187 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13189 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13190 `cd' doesn't always do it for us (bug#5067).
13192 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13193 on 2009-10-25 as part of some other change (bug#5067).
13195 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13197 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13199 (byte-compile-warnings): Use byte-compile-warning-types.
13200 (byte-compile-save-excursion): Warn about use of set-buffer right
13201 after save-excursion.
13203 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13204 the excursion as well.
13206 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13208 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13209 providing a Tramp related implementation of "su" and "sudo".
13210 (eshell-unix-initialize): Add "su" and "sudo".
13212 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13214 * net/socks.el (socks-send-command): Convert binary request to
13215 unibyte before sending. This fixes mishandling of some port
13216 numbers such as 129.
13218 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13220 * help.el (describe-bindings-internal): Remove `interactive'.
13222 * man.el (Man-completion-table): Trim a terminating "(".
13223 Remove the space between name page a section.
13224 Add the command's description on the `help-echo' property.
13225 Remove `process-connection-type' binding since it's unused by
13227 Provide completion for the "<section> <name>" format as well.
13228 (Man-default-man-entry): Remove spurious var shadowing the argument.
13230 2009-11-26 Kevin Ryde <user42@zip.com.au>
13232 * log-view.el: Add "Keywords: tools", since its other keywords
13233 aren't in finder-known-keywords, and following vc.el.
13235 * sha1.el (sha1-string-external): default-directory "/" in case
13236 otherwise non-existent. process-connection-type pipe for touch of
13237 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13239 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13241 Misc coding convention cleanups.
13242 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13243 hfy-init-kludge-hooks.
13244 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13245 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13246 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13248 (hfy-slant, hfy-weight): Use tables rather than code.
13249 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13250 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13251 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13252 (hfy-face-to-css): Remove `nconc' with single arg.
13253 (hfy-p-to-face-lennart): Use `or'.
13254 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13255 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13256 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13257 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13258 (hfy-force-fontification): Use run-hooks.
13260 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13262 Various minor fixes.
13263 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13264 Javascript belongs in the header, not the body.
13265 (hfy-javascript): Remove.
13266 (hfy-fontify-buffer): Don't insert it any more.
13267 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13268 Fix bug in invis handling when there were no invis props in a chunk.
13270 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13272 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13274 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13276 * finder.el (finder-mode-map): Add a menu.
13278 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13280 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13281 "unsigned" structs.
13283 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13284 fork" statement better.
13286 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13288 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13289 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13290 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13291 Reported by Clay Douglass.
13293 (verilog-auto-inst, verilog-auto-star-safe)
13294 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13295 Fix removing "// Interfaces" when saving .* expansions.
13296 Reported by Pierre-David Pfister.
13298 2009-11-26 Glenn Morris <rgm@gnu.org>
13300 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13303 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13305 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13306 Really use previous revision.
13308 2009-11-25 Kevin Ryde <user42@zip.com.au>
13310 * man.el (Man-completion-table): default-directory "/" in case
13311 doesn't otherwise exist. process-environment COLUMNS=999 so as
13312 not to truncate long names. process-connection-type pipe to avoid
13313 any chance of hitting the pseudo-tty TIOCGWINSZ.
13314 (man): completion-ignore-case t for friendliness and since man
13315 itself is case-insensitive on the command line.
13316 Further to Bug#3717.
13318 * arc-mode.el: Add "Keywords: files", so the details in its
13319 commentary can be reached from finder-by-keyword.
13320 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13321 editing mode, but it's comms related and sgml-mode.el has "comm"
13323 * textmodes/bibtex-style.el: Add "Keywords: tex".
13324 * international/isearch-x.el, international/ja-dic-cnv.el:
13325 * international/ja-dic-utl.el, international/kkc.el:
13326 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13328 2009-11-25 Juri Linkov <juri@jurta.org>
13330 * man.el (Man-completion-table): Modify regexp to include
13331 section names to completion strings. (Bug#3717)
13333 2009-11-25 Juri Linkov <juri@jurta.org>
13335 Search recursively in gzipped files. (Bug#4982)
13337 * progmodes/grep.el (grep-highlight-matches): Add new options
13338 `always' and `auto'. Doc fix.
13339 (grep-process-setup): Check `grep-highlight-matches' for
13340 `auto-detect' to determine the need to compute grep defaults.
13341 Move Windows/DOS specific --colors settings handling
13342 to `grep-compute-defaults'. Check `grep-highlight-matches'
13343 to get the value of "--color=".
13344 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13345 has the value `auto-detect'. Move Windows/DOS specific settings
13346 from `grep-process-setup'.
13347 (zrgrep): New command with alias `rzgrep'.
13349 2009-11-25 Juri Linkov <juri@jurta.org>
13351 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13352 to nil instead of switching off view-mode. (Bug#4896)
13354 2009-11-25 Juri Linkov <juri@jurta.org>
13356 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13358 * mwheel.el (mwheel-scroll-up-function)
13359 (mwheel-scroll-down-function): New defvars.
13360 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13361 `scroll-up', and `mwheel-scroll-down-function' instead of
13364 * doc-view.el (doc-view-scroll-up-or-next-page)
13365 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13366 Use this ARG in the call to image-scroll-up/image-scroll-down.
13367 Change `interactive' spec to "P". Goto next/previous page only
13368 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13369 SPC/DEL case). Doc fix.
13370 (doc-view-next-line-or-next-page)
13371 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13373 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13374 `doc-view-scroll-up-or-next-page', and buffer-local
13375 `mwheel-scroll-down-function' to
13376 `doc-view-scroll-down-or-previous-page'.
13378 2009-11-25 Juri Linkov <juri@jurta.org>
13380 Provide additional default values (directories at other Dired
13381 windows) via M-n in the minibuffer of some Dired commands.
13383 * dired-aux.el (dired-diff, dired-compare-directories)
13384 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13385 `minibuffer-default' in `minibuffer-with-setup-hook'.
13386 (dired-dwim-target-directory): Find a window that displays Dired
13387 buffer instead of failing when the next window is not Dired.
13388 Use `get-window-with-predicate' to find for the next Dired window.
13389 (dired-dwim-target-defaults): New function.
13391 * ediff-util.el (ediff-read-file-name):
13392 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13393 in `minibuffer-with-setup-hook'.
13395 2009-11-25 Juri Linkov <juri@jurta.org>
13397 Provide additional default values (file name at point or at the
13398 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13400 * minibuffer.el (read-file-name-defaults): New function.
13401 (read-file-name): Reset `minibuffer-default' to nil when
13402 it duplicates initial input `insdef'.
13403 Bind `minibuffer-default-add-function' to lambda that
13404 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13405 (minibuffer-insert-file-name-at-point): New command.
13407 * files.el (file-name-at-point-functions): New defcustom.
13408 (find-file-default): Remove defvar.
13409 (find-file-read-args): Don't use `find-file-default'.
13410 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13411 to `read-file-name'.
13412 (find-file-literally): Use `read-file-name' with
13413 `confirm-nonexistent-file-or-buffer'.
13415 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13417 * dired.el (dired-read-dir-and-switches):
13418 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13419 to `read-file-name'.
13420 (dired-file-name-at-point): New function.
13421 (dired-mode): Add hook `dired-file-name-at-point' to
13422 `file-name-at-point-functions'.
13424 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13426 Really make the *Completions* window soft-dedicated (bug#5030).
13427 * window.el (window--display-buffer-2): Add `dedicated' argument.
13428 (display-buffer): Pass it when needed so the dedicated flag is set
13429 after calling set-window-buffer, which would otherwise reset it.
13431 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13433 * progmodes/meta-mode.el (meta-complete-symbol):
13434 * progmodes/etags.el (complete-tag):
13435 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13436 Use completion-in-region.
13438 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13439 (dabbrev-completion): Use completion-in-region.
13440 (dabbrev--abbrev-at-point): Simplify regexp.
13442 * abbrev.el (abbrev--before-point): Use word-motion functions
13443 if :regexp is not specified (bug#5031).
13445 * subr.el (string-prefix-p): New function.
13447 * man.el (Man-completion-cache): New var.
13448 (Man-completion-table): Use it.
13450 * vc.el (vc-print-log-internal): Make `limit' optional for better
13451 compatibility (e.g. with vc-annotate.el).
13453 2009-11-24 Kevin Ryde <user42@zip.com.au>
13455 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13456 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13458 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13459 when .el source file not found or other error.
13461 2009-11-24 Markus Triska <markus.triska@gmx.at>
13463 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13465 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13467 Handle the [back] button properly (bug#4979).
13468 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13469 Use help-setup-xref, help-buffer, and with-help-window.
13470 (describe-char): Add `buffer' argument.
13471 Pass proper command to help-setup-xref. Don't meddle with
13472 help-xref-stack-item directly.
13473 (describe-text-category): Use with-help-window and help-buffer.
13475 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13476 for the displayed buffer (bug#4887).
13478 * man.el (Man-completion-table): New function.
13481 2009-11-24 David Reitter <david.reitter@gmail.com>
13483 * vc-git.el (vc-git-registered): Use checkout directory (where
13484 .git is) rather than the file's directory and a relative path spec
13485 to work around a bug in git.
13487 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13489 Improve handling of processes on remote hosts.
13491 * eshell/esh-util.el (eshell-path-env): New defvar.
13492 (eshell-parse-colon-path): New defun.
13493 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13495 * eshell/esh-ext.el (eshell-search-path):
13496 Use `eshell-parse-colon-path'.
13497 (eshell-remote-command): Remove argument HANDLER.
13498 (eshell-external-command): Check for FTP remote connection.
13500 * eshell/esh-proc.el (eshell-gather-process-output):
13501 Use `file-truename', in order to start also symlinked files.
13502 Apply `start-file-process' instead of `start-process'.
13503 Shorten `command' to the local file name part.
13505 * eshell/em-cmpl.el (eshell-complete-commands-list):
13506 Use `eshell-parse-colon-path'.
13508 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13510 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13511 to `eshell-directory-change-hook'.
13513 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13515 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13516 because it could be enabled automatically if view-read-only is non-nil.
13518 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13520 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13521 made on 2009-11-22.
13523 2009-11-24 Glenn Morris <rgm@gnu.org>
13525 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13526 deleted variable bookmark-bmenu-bookmark-column.
13528 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13530 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13532 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13534 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13535 two slashes to the "file:" prefix.
13536 (browse-url-file-url): De-munge Cygwin filenames before passing
13537 them to Windows browser.
13538 (browse-url-default-windows-browser): Use call-process.
13540 2009-11-23 Juri Linkov <juri@jurta.org>
13542 Implement DocView Continuous mode. (Bug#4896)
13543 * doc-view.el (doc-view-continuous-mode): New defcustom.
13544 (doc-view-mode-map): Bind C-n/<down> to
13545 `doc-view-next-line-or-next-page', C-p/<up> to
13546 `doc-view-previous-line-or-previous-page'.
13547 (doc-view-next-line-or-next-page)
13548 (doc-view-previous-line-or-previous-page): New commands.
13550 2009-11-23 Juri Linkov <juri@jurta.org>
13552 Implement Isearch in comint input history. (Bug#3746)
13553 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13554 `isearch-mode-hook'.
13555 (comint-history-isearch): New defcustom.
13556 (comint-history-isearch-backward)
13557 (comint-history-isearch-backward-regexp): New commands.
13558 (comint-history-isearch-message-overlay): New buffer-local variable.
13559 (comint-history-isearch-setup, comint-history-isearch-end)
13560 (comint-goto-input, comint-history-isearch-search)
13561 (comint-history-isearch-message, comint-history-isearch-wrap)
13562 (comint-history-isearch-push-state)
13563 (comint-history-isearch-pop-state): New functions.
13565 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13567 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13569 (tramp-handle-make-symbolic-link)
13570 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13572 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13573 (tramp-handle-process-file): Use it.
13575 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13577 * window.el (move-to-window-line-last-op): Remove.
13578 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13580 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13582 Make M-r mirror the new cycling behavior of C-l.
13583 * window.el (move-to-window-line-last-op): New var.
13584 (move-to-window-line-top-bottom): New command.
13585 (global-map): Bind M-r move-to-window-line-top-bottom.
13587 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13589 * dired-x.el (dired-guess-shell-alist-default):
13590 Support xz format. (Bug#4953)
13592 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13594 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13595 last-command-char/last-command-event.
13596 (viper-prefix-arg-value): Do correct conversion of event-char for
13599 * emulation/viper-util.el, emulation/viper.el:
13600 Use viper-last-command-char instead of
13601 last-command-char/last-command-event.
13603 * ediff-init.el, ediff-mult.el, ediff-util.el:
13604 Replace last-command-char and last-command-event
13605 with (ediff-last-command-char) everywhere.
13607 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13608 created in fundamental mode.
13610 * ediff.el (ediff-version): Revert the change of interactive-p to
13611 called-interactively-p.
13613 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13615 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13616 generation from word-movement command names.
13618 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13620 * cus-start.el (all): Add native condition for font-use-system-font.
13622 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13624 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13625 Correct the patch from 2009-11-18. (Bug#3910)
13627 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13629 * progmodes/subword.el: Rename from lisp/subword.el.
13631 * subword.el: Rename to progmodes/subword.el.
13633 * Makefile.in (ELCFILES): Adapt to subword.el move.
13635 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13636 Stefan Monnier <monnier@iro.umontreal.ca>
13638 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13639 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13640 (bookmark-bmenu-show-filenames): Use push.
13641 (bookmark-bmenu-hide-filenames): Use local var instead of
13642 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13643 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13644 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13645 filenames now that the bookmark names are always available.
13647 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13649 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13650 (bookmark-search-pattern): Move and leave unbound.
13651 (bookmark-bmenu-mode-map): Change binding.
13652 (bookmark-read-search-input): Simplify.
13653 Don't use text-char-description. Don't error on non-char events.
13654 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13655 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13656 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13657 Use a local var for the timer.
13658 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13659 (i.e. bookmark-bmenu-search).
13661 2009-11-21 Glenn Morris <rgm@gnu.org>
13663 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13665 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13667 * net/browse-url.el (browse-url-default-windows-browser):
13668 Use cygstart for cygwin.
13670 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13672 * bookmark.el: Formatting and doc fixes only:
13673 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13674 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13675 Minor grammar and punctuation fixes in doc string.
13676 (bookmark-read-search-input): Adjust to fit within 80 columns.
13678 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13680 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13681 (c-backward-into-nomenclature): Adapt to subword renaming.
13683 * subword.el (subword-forward, subword-backward, subword-mark)
13684 (subword-kill, subword-backward-kill, subword-transpose)
13685 (subword-downcase, subword-upcase, subword-capitalize)
13686 (subword-forward-internal, subword-backward-internal):
13687 Rename from forward-subword, backward-subword, mark-subword,
13688 kill-subword, backward-kill-subword, transpose-subwords,
13689 downcase-subword, upcase-subword, capitalize-subword,
13690 forward-subword-internal, backward-subword-internal.
13692 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13694 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13696 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13698 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13699 (bookmark-bmenu-filter-alist-by-regexp)
13700 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13701 (bookmark-bmenu-search): New command.
13702 (bookmark-bmenu-mode-map): Bind it.
13704 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13706 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13707 backward-subword to quit the byte-compiler.
13709 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13711 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13713 * progmodes/cc-cmds.el (c-update-modeline)
13714 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13715 Refer to subword.el functions instead of cc-subword.el.
13717 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13718 subword.el functions instead of cc-subword.el.
13720 * progmodes/cc-subword.el: Rename to subword.el.
13721 * subword.el: Rename from progmodes/cc-subword.el.
13722 (subword-mode-map): Rename from c-subword-mode-map.
13723 (subword-mode): Rename from c-subword-mode.
13724 (global-subword-mode): New global minor mode.
13725 (forward-subword): Rename from c-forward-subword.
13726 (backward-subword): Rename from c-backward-subword.
13727 (mark-subword): Rename from c-mark-subword.
13728 (kill-subword): Rename from c-kill-subword.
13729 (backward-kill-subword): Rename from c-backward-kill-subword.
13730 (transpose-subwords): Rename from c-tranpose-subword.
13731 (downcase-subword): Rename from c-downcase-subword.
13732 (capitalize-subword): Rename from c-capitalize-subword.
13733 (forward-subword-internal): Rename from c-forward-subword-internal.
13734 (backward-subword-internal): Rename from c-backward-subword-internal.
13736 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13738 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13739 from a dired buffer.
13740 (vc-dired-deduce-fileset): New function.
13741 (vc-root-diff, vc-print-root-log): Use it.
13743 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13744 nil LIMIT argument to vc-print-log-internal.
13746 2009-11-20 Glenn Morris <rgm@gnu.org>
13748 * Makefile.in (ELCFILES): Regenerate.
13750 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13752 * calc/calc.el (calc-set-mode-line):
13753 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13754 (math-format-number): Rename `math-format-complement-signed' to
13755 `math-format-twos-complement'.
13757 * calc/calc-bin.el (math-format-twos-complement): Rename from
13758 math-format-complement-signed.
13759 (calc-radix): Rename `calc-complement-signed-mode' to
13760 `calc-twos-complement-mode'.
13761 (calc-octal-radix, calc-hex-radix): Add an argument for
13764 * calc/calc-embed.el (calc-embedded-mode-vars):
13765 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13767 * calc/calc-ext.el (calc-init-extensions):
13768 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13769 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13771 * calc/calc-units.el (math-build-units-table-buffer):
13772 Let `calc-twos-complement-mode' be nil.
13774 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13777 * calc/calc-vec.el (calcFunc-vunpack):
13778 * calc/calc-aent.el (calc-do-calc-eval):
13779 * calc/calc-forms.el (math-format-date):
13780 * calc/calc-graph.el (calc-graph-plot):
13781 * calc/calc-math.el (math-use-emacs-fn):
13782 * calc/calccomp.el (math-compose-expr):
13783 Let `calc-twos-complement-mode' be nil.
13785 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13787 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13788 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13789 * minibuffer.el (completion-in-region-functions): New hook.
13790 (completion-in-region): New function.
13791 * emacs-lisp/lisp.el (lisp-complete-symbol):
13792 * pcomplete.el (pcomplete-std-complete): Use it.
13794 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13796 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13797 (latex-complete-alist): New vars.
13798 (latex-string-prefix-p, latex-complete-bibtex-keys)
13799 (latex-complete-envnames, latex-complete-refkeys)
13800 (latex-complete-data): New functions.
13801 (latex-complete, latex-indent-or-complete): New commands.
13803 * window.el (display-buffer-mark-dedicated): New var.
13804 (display-buffer): Obey it.
13805 * minibuffer.el (minibuffer-completion-help): Use it.
13807 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13809 * filecache.el (file-cache-add-file): Use push and cons.
13810 (file-cache-delete-file-regexp): Use push.
13811 (file-cache-complete): Use completion-in-region.
13813 * simple.el (with-wrapper-hook): Fix thinko.
13815 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13816 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13817 Use with-current-buffer and string-to-number.
13818 (hfy-fallback-colour-values): Use assoc-string.
13819 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13820 (hfy-face-at): Remove unused var `found-face'.
13821 (hfy-compile-stylesheet): Remove unused var `css'.
13822 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13824 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13825 Use with-current-buffer.
13826 (hfy-text-p): Use expand-file-name and fewer setq.
13828 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13830 * htmlfontify.el, hfy-cmap.el: New files.
13832 2009-11-19 Juri Linkov <juri@jurta.org>
13834 * minibuffer.el (completions-format): New defcustom.
13835 (completion--insert-strings): Implement vertical format.
13837 * simple.el (switch-to-completions): Move point to the first
13838 completion when point was at the beginning of the buffer.
13840 2009-11-19 Juri Linkov <juri@jurta.org>
13842 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13844 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13846 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13848 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13849 (mail-signature): Change default to t.
13850 (mail-from-style): Deprecate `system-default' value.
13851 (mail-insert-from-field): For default value of mail-from-style,
13852 default to `angles' unless `angles' needs quoting and `parens'
13854 (mail-citation-prefix-regexp): Use citation regexp from
13857 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13859 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13860 Set variables for computing the prompt for reading password.
13862 2009-11-19 Glenn Morris <rgm@gnu.org>
13864 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13866 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13868 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13869 (newsticker-treeview-listwindow-height): Fix custom type.
13871 2009-11-19 Kenichi Handa <handa@m17n.org>
13873 * descr-text.el (describe-char-padded-string): Compose with TAB
13874 only if there's a font for CH.
13875 (describe-char): Fix the condition for detecting a trivial composition.
13877 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13879 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13880 more accurate version of the regexp. (Bug#3910)
13882 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13884 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13886 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13888 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13889 (font-setting-change-default-font): Fix typo in docstring.
13891 2009-11-18 Alan Mackenzie <acm@muc.de>
13893 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13895 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13897 * font-setting.el (font-use-system-font): Move ...
13899 * cus-start.el (all): ... to here.
13901 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13903 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13904 Don't set `ad-return-value' if `ad-do-it' doesn't.
13906 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13909 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13911 * menu-bar.el: Put "Use system font" in Option-menu.
13912 (menu-bar-options-save): Add font-use-system-font.
13914 * loadup.el: If feature system-font-setting or font-render-setting is
13915 there, load font-setting.
13917 * Makefile.in (ELCFILES): Add font-settings.el.
13918 * font-setting.el: New file.
13920 2009-11-17 Glenn Morris <rgm@gnu.org>
13922 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13924 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13925 Preserve point in the list buffer. (Bug#4939)
13927 (newsticker--treeview-list-update-highlight)
13928 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13930 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13932 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13935 * calc/calc-ext.el (calc-init-extensions): Remove references to
13938 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13940 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13941 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13944 2009-11-16 Kevin Ryde <user42@zip.com.au>
13946 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13947 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13949 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13950 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13951 Ignore trailing spaces by omit-nulls to split-string (fixing
13952 regression from Emacs 21 due to the incompatible split-string
13953 change). (Bug #4928.)
13955 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13957 * vc.el (vc-log-show-limit): Default to 2000.
13958 (vc-print-log-internal): Insert buttons to request more entries
13959 when limiting the output.
13961 * vc-sccs.el (vc-sccs-print-log):
13962 * vc-rcs.el (vc-rcs-print-log):
13963 * vc-cvs.el (vc-cvs-print-log):
13964 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13967 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13969 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13970 error when `tramp-gvfs-dbus-event-vector' is set.
13971 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13973 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13975 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13977 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13979 * net/dbus.el (dbus-unregister-service): New defun.
13980 (dbus-register-property): Register the handlers of
13981 "org.freedesktop.DBus.Properties" for SERVICE.
13982 (dbus-property-handler): Fix docstring.
13984 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13986 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13987 Quote doc string reference in defvaralias as it is not in special form.
13988 (byte-compile-output-docform): Doc fix.
13990 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13992 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13993 (calc-complement-signed-mode): New variables.
13994 (calc-set-mode-line): Add indicator for twos-complements.
13995 (math-format-number): Format twos-complement notation.
13997 * calc/calc-bin.el (calc-word-size): Reset the variables
13998 `math-2-word-size' and `math-half-2-word-size'.
13999 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14000 (calc-symclip): New functions.
14002 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14004 * calc/calc-embed.el (calc-embedded-mode-vars):
14005 Add `calc-complement-signed-mode' to the list of modes.
14007 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14008 (calc-b-oper-keys): Add `calc-symclip' to list.
14010 * calc/calc-ext.el (math-read-number-fancy): Read complement
14012 (calc-init-extensions): Add binding for `calc-symclip'.
14013 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14015 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14017 (calc-modes-menu): Add item for twos complement mode.
14019 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14021 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14023 * register.el (jump-to-register, insert-register): Handle Semantic
14024 tags. From commented-out advice in semantic/senator.el.
14026 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14028 * vc.el (vc-log-show-limit): New variable.
14029 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14030 when using a prefix argument.
14031 (vc-print-log-internal): Add new argument LIMIT.
14033 * vc-svn.el (vc-svn-print-log):
14034 * vc-mtn.el (vc-mtn-print-log):
14035 * vc-hg.el (vc-hg-print-log):
14036 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14037 pass it to the log command when set. Make the BUFFER argument
14040 * vc-sccs.el (vc-sccs-print-log):
14041 * vc-rcs.el (vc-rcs-print-log):
14042 * vc-git.el (vc-git-print-log):
14043 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14044 ignore it. Make the BUFFER argument non-optional
14046 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14048 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14050 * dired.el (dired-mode-map): Move encryption items to "Operate"
14053 * strokes.el (strokes-update-window-configuration): Make strokes
14054 buffer current before erasing (Bug#4906).
14056 2009-11-15 Juri Linkov <juri@jurta.org>
14058 * simple.el (set-mark-default-inactive): Add :type, :group
14059 and :version. (Bug#4876)
14061 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14063 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14064 (archive-unique-fname): ... here. (Bug#4929)
14066 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14068 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14071 * novice.el (disabled-command-function): Add useful args.
14072 Setup the help buffer so that [back] works.
14073 Remove redundant call to help-mode.
14074 (disabled-command-function): Use `case'.
14075 (en/disable-command): New function extracted from enable-command.
14076 (enable-command, disable-command): Use it.
14078 2009-11-14 Glenn Morris <rgm@gnu.org>
14080 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14081 constants. (Bug#4913)
14083 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14085 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14087 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14088 defined in C that have no doc-strings. (Bug#1063)
14090 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14092 * cus-edit.el (data, files):
14093 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14095 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14097 * simple.el (shell-command): Doc fix (Bug#4891).
14099 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14101 2009-11-14 Glenn Morris <rgm@gnu.org>
14103 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14104 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14105 If they are already loaded, eval-after-load will do the right thing.
14107 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14110 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14112 * simple.el (x-selection-owner-p): Declare.
14113 (read-mail-command): Use custom radio type rather than choice.
14114 (completion-no-auto-exit): Doc fix.
14116 * custom.el (defgroup):
14117 * epg-config.el (epg): Doc fixes.
14119 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14121 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14122 * international/ccl.el (define-ccl-program): Do not purecopy the
14123 docstring, defconst does it anyway.
14125 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14127 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14130 * x-dnd.el (x-dnd-maybe-call-test-function):
14131 * window.el (split-window-vertically):
14132 * whitespace.el (whitespace-help-on):
14133 * vc-rcs.el (vc-rcs-consult-headers):
14134 * userlock.el (ask-user-about-lock-help)
14135 (ask-user-about-supersession-help):
14136 * type-break.el (type-break-force-mode-line-update):
14137 * time-stamp.el (time-stamp-conv-warn):
14138 * terminal.el (te-set-output-log, te-more-break, te-filter)
14139 (te-sentinel, terminal-emulator):
14140 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14141 (term-write-input-ring, term-check-source, term-start-output-log):
14142 (term-display-buffer-line, term-dynamic-list-completions):
14143 (term-ansi-make-term, serial-term):
14144 * subr.el (selective-display):
14145 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14146 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14147 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14148 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14149 (speedbar-remove-localized-speedbar-support)
14150 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14151 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14152 (speedbar-buffers-line-directory):
14153 * simple.el (shell-command-on-region, append-to-buffer)
14154 (prepend-to-buffer):
14155 * shadowfile.el (shadow-save-todo-file):
14156 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14157 (scroll-bar-maybe-set-window-start):
14158 * sb-image.el (speedbar-image-dump):
14159 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14160 (load-save-place-alist-from-file):
14161 * ps-samp.el (ps-print-message-from-summary):
14162 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14163 (ps-background-image, ps-begin-job, ps-do-despool):
14164 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14165 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14166 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14167 (pr-call-process, pr-file-list, pr-interface-save):
14168 * novice.el (disabled-command-function)
14169 (enable-command, disable-command):
14170 * mouse.el (mouse-buffer-menu-alist):
14171 * mouse-copy.el (mouse-kill-preserving-secondary):
14172 * macros.el (kbd-macro-query):
14173 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14174 * informat.el (batch-info-validate):
14175 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14176 * hippie-exp.el (try-expand-dabbrev-visible):
14177 * help-mode.el (help-make-xrefs):
14178 * help-fns.el (describe-variable):
14179 * generic-x.el (bat-generic-mode-run-as-comint):
14180 * finder.el (finder-mouse-select):
14181 * find-dired.el (find-dired-sentinel):
14182 * filesets.el (filesets-file-close):
14183 * files.el (list-directory):
14184 * faces.el (list-faces-display, describe-face):
14185 * facemenu.el (list-colors-display):
14186 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14187 * epg.el (epg--process-filter, epg-cancel):
14188 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14189 (epa--read-signature-type):
14190 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14191 (emerge-file-names):
14192 * ehelp.el (electric-helpify):
14193 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14194 * ediff-vers.el (rcs-ediff-view-revision):
14195 * ediff-util.el (ediff-setup):
14196 * ediff-mult.el (ediff-append-custom-diff):
14197 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14199 * echistory.el (Electric-command-history-redo-expression):
14200 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14201 * disp-table.el (describe-display-table):
14202 * dired.el (dired-find-buffer-nocreate):
14203 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14204 * dabbrev.el (dabbrev--same-major-mode-p):
14205 * chistory.el (list-command-history):
14206 * apropos.el (apropos-documentation):
14207 * allout.el (allout-obtain-passphrase):
14208 (allout-copy-exposed-to-buffer):
14209 (allout-verify-passphrase): Use with-current-buffer.
14211 2009-11-13 Glenn Morris <rgm@gnu.org>
14213 * Makefile.in (ELCFILES): Regenerate.
14215 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14217 * net/dbus.el (dbus-registered-objects-table): Rename from
14218 `dbus-registered-functions-table', because it contains also properties.
14219 (dbus-unregister-object): Unregister also properties.
14220 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14221 Use a timeout of 500 msec, in order to not block.
14222 (dbus-register-property, dbus-property-handler): New defuns.
14224 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14226 * simple.el (minibuffer-default-add-completions): Drop deprecated
14229 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14231 * textmodes/artist.el (artist-mouse-choose-operation):
14232 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14233 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14234 (artist-compute-up-event-key): New function.
14235 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14237 2009-11-13 Kenichi Handa <handa@m17n.org>
14239 * language/japan-util.el: Make sure that the value of jisx0208
14240 property is jisx0208 character.
14242 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14244 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14245 car or each item, not the whole list.
14247 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14249 * minibuffer.el (minibuffer-completion-help):
14250 Use minibuffer-hide-completions.
14252 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14254 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14255 (dired-revert): Use them (bug#4880).
14257 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14259 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14261 2009-11-12 Juri Linkov <juri@jurta.org>
14263 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14265 (find-file-literally-at-point): Alias of `ffap-literally'.
14267 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14269 * textmodes/ispell.el (ispell-skip-region-alist):
14270 * textmodes/css-mode.el (auto-mode-alist):
14271 * progmodes/compile.el (auto-mode-alist):
14272 * international/mule.el (ctext-non-standard-encodings-alist)
14273 (ctext-non-standard-encodings-regexp):
14274 * simple.el (shell-command-switch, text-read-only):
14275 * replace.el (occur-mode-map):
14276 * paths.el (rmail-file-name):
14277 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14278 * find-file.el (ff-special-constructs):
14279 * files.el (file-name-handler-alist):
14280 * composite.el: Purecopy strings.
14282 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14284 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14286 * widget.el (define-widget): Purecopy the docstring.
14287 * international/mule-cmds.el (charset): Do not purecopy the
14288 docstring here, define-widget does it.
14290 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14291 * textmodes/bibtex-style.el (auto-mode-alist):
14292 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14293 * progmodes/compile.el (compile-command):
14294 * language/korea-util.el (default-korean-keyboard):
14295 * international/mule-conf.el (file-coding-system-alist):
14296 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14297 * tooltip.el (tooltip-frame-parameters):
14298 * newcomment.el (comment-end, comment-padding):
14299 * dired.el (dired-trivial-filenames):
14300 * comint.el (comint-file-name-prefix): Purecopy initial values.
14302 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14304 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14305 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14307 (tramp-advice-make-auto-save-file-name)
14308 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14309 after removing the advice.
14311 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14313 * progmodes/grep.el (grep-regexp-alist):
14314 * international/mule-cmds.el (iso-2022-control-alist):
14315 * emacs-lisp/timer.el (timer-duration-words):
14316 * subr.el (version-separator, version-regexp-alist):
14317 * minibuffer.el (completion-styles-alist):
14318 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14319 Change defvars to defconsts.
14321 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14322 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14323 * international/mule-conf.el: Allow to be byte compiled.
14325 * international/mule.el (define-charset): Purecopy props.
14326 (load-with-code-conversion): Purecopy doc string and file name.
14327 (put-charset-property): Purecopy strings.
14328 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14330 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14331 (define-char-code-property): Correctly purecopy the table.
14333 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14335 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14337 * subr.el (add-hook): Purecopy strings.
14338 (eval-after-load): Purecopy load-history-regexp and the form.
14340 * custom.el (custom-declare-group): Purecopy load-file-name.
14342 * subr.el (menu-bar-separator): New defconst.
14343 * net/eudc.el (eudc-tools-menu):
14344 * international/mule-cmds.el (set-coding-system-map)
14345 (mule-menu-keymap):
14346 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14347 * vc-hooks.el (vc-menu-map):
14348 * replace.el (occur-mode-map):
14349 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14350 (menu-bar-edit-menu, menu-bar-goto-menu)
14351 (menu-bar-custom-menu, menu-bar-showhide-menu)
14352 (menu-bar-options-menu, menu-bar-tools-menu)
14353 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14354 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14355 (menu-bar-help-menu):
14356 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14357 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14359 * term/x-win.el (x-gtk-stock-map):
14360 * progmodes/vera-mode.el (auto-mode-alist):
14361 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14362 (inferior-lisp-program, inferior-lisp-load-command):
14363 * progmodes/hideshow.el (hs-special-modes-alist):
14364 * progmodes/gud.el (same-window-regexps):
14365 * progmodes/grep.el (grep-program, find-program, xargs-program):
14366 * net/telnet.el (same-window-regexps):
14367 * net/rlogin.el (same-window-regexps):
14368 * language/ethiopic.el (font-ccl-encoder-alist):
14369 * vc-sccs.el (vc-sccs-master-templates):
14370 * vc-rcs.el (vc-rcs-master-templates):
14371 * subr.el (cl-assertion-failed):
14372 * simple.el (next-error-overlay-arrow-position):
14373 * lpr.el (lpr-command):
14374 * locate.el (locate-ls-subdir-switches):
14375 * info.el (same-window-regexps, info)
14376 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14377 * image-mode.el (image-mode, auto-mode-alist):
14378 * hippie-exp.el (hippie-expand-ignore-buffers):
14379 * format.el (format-alist):
14380 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14382 * facemenu.el (facemenu-keybindings):
14383 * dired.el (dired-listing-switches, dired-chown-program):
14384 * diff.el (diff-switches, diff-command):
14385 * cus-edit.el (same-window-regexps):
14386 * bindings.el (mode-line-mule-info)
14387 (mode-line-buffer-identification): Purecopy strings.
14389 2009-11-11 Juri Linkov <juri@jurta.org>
14391 * simple.el (dired-get-filename) <declare-function>:
14392 Tell the byte-compiler about dired-get-filename.
14393 (shell-command): In Dired mode, get filename from the current line
14394 as the default value.
14396 2009-11-10 Glenn Morris <rgm@gnu.org>
14398 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14399 * calendar/holidays.el, progmodes/cperl-mode.el:
14400 Update x-popup-menu declarations.
14402 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14403 (list-load-path-shadows): Use dolist.
14404 (list-load-path-shadows): Use with-current-buffer.
14406 2009-11-10 Juri Linkov <juri@jurta.org>
14408 * minibuffer.el (read-file-name): Support a list of default values
14409 in `default-filename'. Use the first file name where only one
14410 element is required. Doc fix.
14412 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14414 * net/dbus.el (dbus-unregister-object): Release service, if no
14415 other method is registered for it.
14417 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14419 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14420 bookmark-sort-flag is non-nil (Bug#4653).
14422 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14424 * emulation/cua-base.el: Add CUA property to some CC mode commands
14427 2009-11-08 Kevin Ryde <user42@zip.com.au>
14429 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14430 at end of sentence (Bug#4818).
14432 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14434 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14435 Handle "see declaration of" MSFT statements (Bug#4100).
14437 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14439 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14440 (tramp-advice-file-expand-wildcards): Unload via
14441 `ad-remove-advice'.
14443 * net/trampver.el: Update release number.
14445 2009-11-08 Kevin Ryde <user42@zip.com.au>
14447 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14450 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14452 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14453 in order to keep context in SELinux.
14455 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14457 * dired-aux.el (dired-query): Place cursor in echo area and allow
14460 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14461 menu item if not on a directory (Bug#4701).
14463 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14465 Sync with Tramp 2.1.17.
14467 * net/tramp.el (tramp-handle-copy-directory): Don't use
14468 `file-remote-p' (due to compatibility).
14470 * net/tramp-compat.el (tramp-compat-copy-directory)
14471 (tramp-compat-delete-directory): New defuns.
14473 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14474 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14475 Use `tramp-compat-delete-directory'.
14477 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14478 (tramp-smb-handle-delete-directory):
14479 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14481 * net/trampver.el: Update release number.
14483 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14485 * tar-mode.el (tar-copy): Call write-region on the right buffer
14488 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14489 by hand, if necessary (Bug#4878).
14491 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14493 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14494 align size column (Bug#4839).
14496 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14499 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14501 * progmodes/ld-script.el (auto-mode-alist):
14502 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14504 * cus-face.el (custom-declare-face): Purecopy face spec.
14506 2009-11-06 Kenichi Handa <handa@m17n.org>
14508 * international/uni-bidi.el: Re-generated.
14509 * international/uni-category.el: Re-generated.
14510 * international/uni-combining.el: Re-generated.
14511 * international/uni-mirrored.el: Re-generated.
14513 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14515 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14516 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14517 (tex-start-options, slitex-run-command, latex-run-command)
14518 (tex-run-command, tex-directory):
14519 * textmodes/ispell.el (ispell-html-skip-alists)
14520 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14521 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14522 (adaptive-fill-regexp):
14523 * textmodes/dns-mode.el (auto-mode-alist):
14524 * progmodes/python.el (interpreter-mode-alist):
14525 * progmodes/etags.el (tags-compression-info-list):
14526 * progmodes/etags.el (tags-file-name):
14527 * net/browse-url.el (browse-url-galeon-program)
14528 (browse-url-firefox-program):
14529 * mail/sendmail.el (mail-signature-file)
14530 (mail-citation-prefix-regexp):
14531 * international/mule-conf.el (eight-bit):
14532 * international/latexenc.el (latex-inputenc-coding-alist):
14533 * international/fontset.el (x-pixel-size-width-font-regexp):
14534 * emacs-lisp/warnings.el (warning-type-format):
14535 * emacs-lisp/trace.el (trace-buffer):
14536 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14537 (emacs-lisp-mode-map):
14538 * calendar/holidays.el (holiday-solar-holidays)
14539 (holiday-bahai-holidays, holiday-islamic-holidays)
14540 (holiday-christian-holidays, holiday-hebrew-holidays)
14541 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14542 (hebrew-holidays-1, holiday-oriental-holidays)
14543 (holiday-general-holidays):
14544 * x-dnd.el (x-dnd-known-types):
14545 * tool-bar.el (tool-bar):
14546 * startup.el (site-run-file):
14547 * shell.el (shell-dumb-shell-regexp):
14548 * rfn-eshadow.el (file-name-shadow-tty-properties)
14549 (file-name-shadow-properties):
14550 * paths.el (remote-shell-program, news-directory):
14551 * mouse.el ([C-down-mouse-3]):
14552 * menu-bar.el (menu-bar-tools-menu):
14553 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14554 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14555 (jka-compr-compression-info-list):
14556 * isearch.el (search-whitespace-regexp):
14557 * image-file.el (image-file-name-extensions):
14558 * find-dired.el (find-ls-option):
14559 * files.el (directory-listing-before-filename-regexp)
14560 (directory-free-space-args, insert-directory-program)
14561 (list-directory-brief-switches, magic-fallback-mode-alist)
14562 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14563 (automount-dir-prefix):
14564 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14565 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14566 (face-font-registry-alternatives, face-font-registry-alternatives)
14567 (face-font-family-alternatives):
14568 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14569 (facemenu-foreground-menu, facemenu-face-menu):
14570 * epa-hook.el (epa-file-name-regexp):
14571 * dnd.el (dnd-protocol-alist):
14572 * textmodes/rst.el (auto-mode-alist):
14573 * button.el (default-button): Purecopy strings.
14575 2009-11-06 Glenn Morris <rgm@gnu.org>
14577 * Makefile.in (ELCFILES): Update.
14579 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14581 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14582 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14584 * nxml/xsd-regexp.el (xsdre-gen-categories):
14585 * nxml/xmltok.el (xmltok-parse-entity):
14586 * nxml/rng-parse.el (rng-parse-validate-file):
14587 * nxml/rng-maint.el (rng-format-manual)
14588 (rng-manual-output-force-new-line):
14589 * nxml/rng-loc.el (rng-save-schema-location-1):
14590 * nxml/rng-cmpct.el (rng-c-parse-file):
14591 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14592 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14594 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14596 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14597 Remove extra save-excursions and make-variable-buffer-local's.
14598 Suggested by Stefan Monnier.
14600 (verilog-getopt-file, verilog-module-inside-filename-p)
14601 (verilog-set-define): Merge GNU 1.35 and repair changes from
14602 switching to using with-current-buffer.
14604 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14605 being treated as a number and confusing AUTORESET.
14606 Reported by Dan Dever.
14608 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14609 Add verilog-auto-ignore-concat to fix backward compatibility with
14610 older verilog-modes. Reported by Dan Katz.
14612 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14613 containing closing anchors "...$".
14615 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14616 Reported by Wade Smith.
14618 (verilog-batch-execute-func): Comment on function usage.
14620 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14622 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14625 (verilog-label-re, verilog-calc-1): Support proper indent of named
14628 (verilog-backward-token, verilog-basic-complete-re)
14629 (verilog-beg-of-statement, verilog-indent-re): Support proper
14630 indent of the assert statement at the beginning of a block of text.
14632 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14633 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14636 2009-11-05 Glenn Morris <rgm@gnu.org>
14638 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14639 Emacs 19. (Bug#1531)
14640 (byte-compile-fix-header): Update for the above change.
14641 Drop test for epoch::version.
14643 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14644 * cus-dep.el (custom-make-dependencies):
14645 * finder.el (finder-compile-keywords):
14646 Use autoload-rubric's feature argument.
14648 * calendar/diary-lib.el (top-level): Make load behave more like require.
14650 * vc-git.el (vc-git-stash-map): Move definition before use.
14652 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14654 * custom.el (custom-declare-group): Purecopy standard-value.
14655 (custom-declare-group): Purecopy custom-prefix.
14657 * international/mule.el (load-with-code-conversion):
14658 Call do-after-load-evaluation unconditionally.
14660 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14662 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14664 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14666 2009-11-04 Glenn Morris <rgm@gnu.org>
14668 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14669 (byte-compile-compatibility): Remove option.
14670 (byte-compile-close-variables, byte-compile-fix-header)
14671 (byte-compile-insert-header, byte-compile-output-docform)
14672 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14673 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14674 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14675 (byte-compile-insert, byte-compile-defun):
14676 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14677 (byte-defop-compiler19): Remove.
14678 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14679 used by anything. Replace all calls with byte-defop-compiler.
14681 2009-11-04 Juri Linkov <juri@jurta.org>
14683 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14684 (menu-bar-options-menu): Don't quote the `prop' arg of
14685 `menu-bar-make-mm-toggle'.
14687 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14689 * calendar/calendar.el (cal-loaddefs):
14690 * calendar/diary-lib.el (diary-loaddefs):
14691 * calendar/holidays.el (hol-loaddefs):
14692 * eshell/esh-module.el (esh-groups): Load rather than require.
14694 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14696 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14698 (todo-top-priorities): Only display-buffer when called interactively.
14699 (todo-item-start): Don't save excursion point.
14700 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14701 (todo-insert-item-here, todo-file-item, todo-remove-item):
14702 Adjust uses of todo-item-start and todo-item-end.
14704 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14705 (autoload-rubric): Don't use any more.
14707 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14708 and only put a prop if it is non-nil.
14710 2009-11-03 Juri Linkov <juri@jurta.org>
14712 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14713 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14715 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14716 and "Menu" to make top-level menu item visually one unit (like
14717 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14718 multi-word menu items). Fix :help string for quit-window.
14720 2009-11-03 Glenn Morris <rgm@gnu.org>
14722 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14723 (byte-compile-file-form-define-abbrev-table)
14724 (byte-compile-file-form-custom-declare-variable)
14725 (byte-compile-variable-ref, byte-compile-defvar):
14726 Whether or not a warning is enabled should only affect whether we issue
14727 the warning, not whether or not we collect the relevant data.
14728 Eg warnings can be turned on and off throughout the course of a file.
14730 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14731 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14733 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14735 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14736 * play/mpuz.el (mpuz-create-buffer):
14737 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14738 (lm-print-y,s,noise, lm-print-w0, lm-init):
14739 * play/gomoku.el (gomoku-prompt-for-move):
14740 * play/fortune.el (fortune-in-buffer):
14741 * play/dissociate.el (dissociated-press):
14742 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14743 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14744 * mail/supercite.el (sc-eref-show):
14745 * mail/smtpmail.el (smtpmail-send-it):
14746 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14747 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14748 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14749 (rmail-summary-goto-msg, rmail-summary-expunge)
14750 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14751 (rmail-summary-add-label, rmail-summary-output-menu)
14752 (rmail-summary-output-body):
14753 * mail/rfc822.el (rfc822-addresses):
14754 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14755 * mail/mailpost.el (post-mail-send-it):
14756 * mail/hashcash.el (hashcash-generate-payment):
14757 * mail/feedmail.el (feedmail-run-the-queue)
14758 (feedmail-queue-send-edit-prompt-help-first)
14759 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14760 (feedmail-deduce-address-list):
14761 * eshell/esh-ext.el (eshell-remote-command):
14762 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14763 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14764 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14765 (viper-save-string-in-file, viper-valid-marker):
14766 * emulation/viper-keym.el (viper-toggle-key):
14767 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14768 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14769 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14770 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14771 (viper-exec-form-in-emacs, viper-brac-function):
14772 * emulation/viper.el (viper-delocalize-var):
14773 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14774 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14775 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14776 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14777 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14778 * emulation/edt.el (edt-electric-helpify):
14779 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14780 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14781 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14782 (cua-indent-to-global-mark-column):
14783 * calendar/diary-lib.el (calendar-mark-1):
14784 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14785 Use with-current-buffer.
14786 * emulation/viper.el (viper-delocalize-var): Use dolist.
14788 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14790 * comint.el (comint-replace-by-expanded-history-before-point):
14791 Replace !! with the previous input string literally (Bug#1795).
14793 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14795 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14796 to be made up of whitespace.
14798 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14800 * minibuffer.el (read-file-name): Don't use file dialogs for
14801 remote directories (Bug#99).
14803 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14805 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14807 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14809 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14810 instead of deleting the window or frame.
14812 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14814 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14815 Support face colors.
14817 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14818 New function. Support face colors (Bug#1168).
14819 (tex-common-initialization): Use it.
14821 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14822 mode allows it (Bug#1168).
14824 2009-10-31 Juri Linkov <juri@jurta.org>
14826 * facemenu.el (list-colors-display): Don't mark buffer as
14827 modified (Bug#3948).
14829 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14831 * international/mule-diag.el (list-character-sets-1):
14832 Minor message fix (Bug#3526).
14834 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14835 Fix face property (Bug#4834).
14836 (etags-list-tags, etags-tags-apropos-additional)
14837 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14840 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14843 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14845 * textmodes/two-column.el (2C-split):
14846 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14847 * textmodes/tex-mode.el (tex-set-buffer-directory):
14848 * textmodes/spell.el (spell-region, spell-string):
14849 * textmodes/reftex.el (reftex-erase-buffer):
14850 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14851 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14852 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14853 (reftex-select-item):
14854 * textmodes/reftex-ref.el (reftex-label-info-update)
14855 (reftex-offer-label-menu):
14856 * textmodes/reftex-index.el (reftex-index-change-entry)
14857 (reftex-index-phrases-info):
14858 * textmodes/reftex-global.el (reftex-create-tags-file)
14859 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14860 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14861 (reftex-view-crossref-from-bibtex):
14862 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14863 (reftex-extract-bib-entries-from-thebibliography)
14864 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14865 * textmodes/refbib.el (r2b-capitalize-title):
14866 (r2b-convert-buffer, r2b-help):
14867 * textmodes/page-ext.el (pages-directory)
14868 (pages-directory-goto-with-mouse):
14869 * textmodes/bibtex.el (bibtex-validate-globally):
14870 * textmodes/bib-mode.el (bib-capitalize-title):
14871 * textmodes/artist.el (artist-clear-buffer, artist-system):
14872 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14873 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14874 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14875 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14876 (xscheme-send-control-g-interrupt, xscheme-start-process)
14877 (xscheme-process-sentinel, xscheme-cd):
14878 * progmodes/verilog-mode.el (verilog-read-always-signals)
14879 (verilog-set-define, verilog-getopt-file)
14880 (verilog-module-inside-filename-p):
14881 * progmodes/sh-script.el:
14882 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14883 (python-pdbtrack-grub-for-buffer, python-execute-file):
14884 * progmodes/octave-inf.el (inferior-octave):
14885 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14886 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14887 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14888 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14889 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14890 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14891 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14892 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14893 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14894 (idlwave-shell-examine-display, idlwave-shell-run-region)
14895 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14896 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14897 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14898 (idlwave-help-get-help-buffer):
14899 * progmodes/gud.el (gud-basic-call, gud-find-class)
14900 (gud-tooltip-activate-mouse-motions-if-enabled):
14901 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14902 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14903 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14904 (ebrowse-tags-next-file):
14905 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14906 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14907 (ebnf-eps-finish-and-write):
14908 * progmodes/cpp.el (cpp-edit-save):
14909 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14910 * progmodes/cc-defs.el (c-emacs-features):
14911 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14912 (antlr-directory-dependencies):
14913 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14914 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14915 (ada-find-any-references, ada-make-filename-from-adaname)
14916 (ada-make-body-gnatstub):
14917 * obsolete/rnews.el (news-list-news-groups):
14918 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14919 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14920 * net/rcirc.el (rcirc-debug):
14921 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14922 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14923 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14924 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14925 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14926 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14927 (newsticker--treeview-list-clear-highlight)
14928 (newsticker--treeview-list-update-highlight)
14929 (newsticker--treeview-list-highlight-start)
14930 (newsticker--treeview-tree-update-highlight)
14931 (newsticker--treeview-get-selected-item)
14932 (newsticker-treeview-mark-list-items-old)
14933 (newsticker--treeview-set-current-node):
14934 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14935 * net/newst-backend.el (newsticker--get-news-by-funcall)
14936 (newsticker--get-news-by-wget, newsticker--image-get)
14937 (newsticker--image-sentinel):
14938 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14939 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14940 (eudc-ph-close-session):
14941 * net/eudc.el (eudc-save-options):
14942 * language/thai-word.el (thai-update-word-table):
14943 * language/japan-util.el (japanese-string-conversion):
14944 * international/titdic-cnv.el (tsang-quick-converter)
14945 (ziranma-converter, ctlau-converter):
14946 * international/mule-cmds.el (describe-language-environment):
14947 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14948 (skkdic-convert-postfix, skkdic-convert-prefix):
14949 (skkdic-convert-okuri-nasi, skkdic-convert):
14950 * emacs-lisp/re-builder.el (reb-update-overlays):
14951 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14952 * emacs-lisp/gulp.el (gulp-send-requests):
14953 * emacs-lisp/find-gc.el (trace-call-tree):
14954 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14955 (eieio-describe-generic):
14956 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14957 * emacs-lisp/edebug.el (edebug-outside-excursion):
14958 * emacs-lisp/debug.el (debugger-make-xrefs):
14959 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14960 * emacs-lisp/chart.el (chart-new-buffer):
14961 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14962 Use with-current-buffer.
14963 * textmodes/artist.el (artist-system): Don't call
14964 copy-sequence on a fresh string.
14965 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14967 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14969 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14970 is no item to edit. (Bug#4820)
14971 (todo-top-priorities): Restore point and restore narrowing in Todo
14974 2009-10-31 Glenn Morris <rgm@gnu.org>
14976 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14977 (comint-last-output-start, comint-last-input-start)
14978 (comint-last-input-end): Don't defvar when compiling.
14979 (ange-ftp-process-file): Use bound-and-true-p.
14981 * pcmpl-rpm.el (top-level): Move provide statement to end.
14982 (pcmpl-rpm): Remove unused custom group.
14984 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14986 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14988 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14989 (byte-compile-warnings): Add `constants' as an option.
14990 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14991 (display-call-tree): Update for byte-compile-fdefinition possibly
14992 returning `(macro lambda ...)'. (Bug#4778)
14993 (byte-compile-variable-ref, byte-compile-setq-default):
14994 Respect `constants' member of byte-compile-warnings.
14996 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14998 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14999 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15002 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15004 * textmodes/ispell.el (ispell-skip-region-alist):
15005 * international/mule-conf.el (eight-bit):
15006 * international/fontset.el (font-encoding-alist):
15007 * startup.el (pure-space-overflow-message):
15008 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15009 * paths.el (gnus-nntp-service, rmail-spool-directory)
15010 (term-file-prefix):
15011 * files.el (save-some-buffers-action-alist):
15012 * cmuscheme.el (same-window-buffer-names):
15013 * ielm.el (same-window-buffer-names):
15014 * shell.el (same-window-buffer-names):
15015 * mail/sendmail.el (same-window-buffer-names):
15016 * progmodes/inf-lisp.el (same-window-buffer-names):
15017 * bindings.el (mode-line-client)
15018 (mode-line-column-line-number-mode-map):
15019 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15020 (tibetan-precomposed-regexp): Purecopy string arguments.
15022 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15024 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15025 (calcDigit-nondigit):
15026 * calc/calc-yank.el (calc-copy-to-buffer):
15027 * calc/calc-units.el (calc-invalidate-units-table):
15028 * calc/calc-trail.el (calc-trail-yank):
15029 * calc/calc-store.el (calc-insert-variables):
15030 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15031 * calc/calc-prog.el (calc-read-parse-table):
15032 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15033 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15034 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15035 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15036 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15037 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15038 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15039 * calc/calc-ext.el (calc-realign):
15040 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15041 (calc-embedded-finish-edit, calc-embedded-make-info)
15042 (calc-embedded-finish-command, calc-embedded-stack-change):
15043 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15045 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15046 shell-dynamic-complete-filename in preference to
15047 comint-dynamic-complete-filename.
15049 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15050 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15051 Don't consider whether the display supports colors.
15052 (bookmark-import-new-list): Use dolist.
15053 (bookmark-bmenu-mode-map): Move initialization into declaration.
15054 (bookmark-bmenu-list): Use dolist, simplify.
15055 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15056 (menu-bar-final-items): Use push.
15058 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15060 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15061 it works on remote files.
15062 (vc-hg-diff): Don't pass any `--cwd' argument.
15064 2009-10-27 Kevin Ryde <user42@zip.com.au>
15066 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15067 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15068 (Further to Bug#3921).
15070 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15072 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15073 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15074 calling `tramp-imap-put-file'. Add file size to the call.
15075 (tramp-imap-get-file-entries): Compute also user name, file size,
15077 (tramp-imap-handle-insert-directory): Insert uid and gid.
15078 (tramp-imap-handle-file-attributes): Transform uid and gid
15079 according to `id-format'.
15080 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15081 size in header X-Size.
15083 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15085 * simple.el (transpose-subr): Give clearer error when the mark
15086 is not set. (Bug#4807)
15088 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15090 * net/tramp.el (tramp-perl-file-truename): New defconst.
15091 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15092 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15093 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15094 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15096 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15097 Ignore `dired-call-process'.
15098 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15100 2009-10-26 Julian Scheid <julians37@gmail.com>
15102 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15103 (tramp-get-remote-readlink): New defun.
15104 (tramp-handle-file-truename): Use it.
15105 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15106 file exists if cache value present.
15107 (tramp-check-cached-permissions): New defun.
15108 (tramp-handle-file-readable-p): Use it.
15109 (tramp-handle-file-writable-p): Likewise.
15110 (tramp-handle-file-executable-p): Likewise.
15111 (tramp-handle-file-name-all-completions): Try using Perl to get
15112 partial completions. When perl not available, combine `cd' and
15113 `ls' into single remote operation and use shell expansion to get
15114 partial remote directory contents. Set `file-exists-p' cache for
15115 directory and any files returned by ls. Change cache handling to
15116 support partial directory contents. Use error message emitted by
15117 remote `cd' or Perl code for local tramp-error.
15118 (tramp-do-copy-or-rename-file-directly): Avoid separate
15119 tramp-send-command-and-check call.
15120 (tramp-handle-process-file): Merge three remote ops into one.
15121 Do not flush all caches when `process-file-side-effects' is set.
15122 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15123 file-attributes shows uid/gid to be set already.
15125 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15127 * textmodes/tex-mode.el (tex-dvi-view-command)
15128 (tex-show-queue-command, tex-open-quote):
15129 * progmodes/ruby-mode.el (auto-mode-alist)
15130 (interpreter-mode-alist): Purecopy strings.
15132 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15134 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15135 string for the hook, keymap and abbrev table.
15137 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15139 * x-dnd.el (x-dnd-xdnd-to-action):
15140 * startup.el (fancy-startup-text, fancy-about-text): Change to
15141 defconst from defvar.
15143 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15145 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15146 Purecopy initialization strings.
15148 * mail/sendmail.el (mail-header-separator)
15149 (mail-personal-alias-file):
15150 * mail/rmail.el (rmail-default-dont-reply-to-names)
15151 (rmail-ignored-headers, rmail-retry-ignored-headers)
15152 (rmail-highlighted-headers, rmail-secondary-file-directory)
15153 (rmail-secondary-file-regexp):
15154 * files.el (null-device, file-name-invalid-regexp)
15155 (locate-dominating-stop-dir-regexp)
15156 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15157 (interpreter-mode-alist): Use mapcar instead of mapc.
15159 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15161 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15162 (completion-ignored-extensions):
15163 (debug-ignored-errors): Purecopy strings.
15165 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15167 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15168 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15169 (pcomplete--here): Use push.
15171 * subr.el (all-completions): Declare the 4th arg obsolete.
15173 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15175 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15176 (pcomplete-unquote-argument): New function.
15177 (pcomplete--common-suffix): Always pay attention to case.
15178 (pcomplete--table-subvert): Quote and unquote the text.
15179 (pcomplete--common-quoted-suffix): New function.
15180 (pcomplete-std-complete): Use it and pcomplete-begin.
15182 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15183 we're inside a dedicated or minibuffer window.
15185 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15187 * bookmark.el: Update documentation, especially documentation
15188 of `bookmark-alist' and of the bookmark file format.
15189 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15191 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15193 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15194 keybindings apply to the mail buffer (Bug#4003). Shrink help
15197 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15198 (global-whitespace-mode, global-whitespace-newline-mode)
15199 (whitespace-toggle-options, global-whitespace-toggle-options):
15200 Doc fix (Bug#3660).
15202 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15203 of xmltok-start before the end tag was inserted (Bug#2840).
15205 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15206 patterns that are preceded by an open-paren (Bug#1320).
15208 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15210 * files.el (delete-directory): Delete symlinks to directories with
15211 delete-file (Bug#4739).
15213 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15215 * vc.el (vc-backend-for-registration): Rename from
15216 vc-get-backend-for-registration. Update callers.
15218 * international/mule-cmds.el (set-language-info-alist):
15220 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15221 (charset): Purecopy the name.
15222 (define-char-code-property): Purecopy string arguments.
15224 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15225 Purecopy string arguments.
15227 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15228 * ediff-hook.el (menu-bar-ediff-menu):
15229 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15230 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15232 2009-10-24 Glenn Morris <rgm@gnu.org>
15234 * comint.el (comint-dynamic-list-completions):
15235 * term.el (term-dynamic-list-completions): Use choose-completion rather
15236 than obsolete alias mouse-choose-completion.
15238 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15239 file-cache-choose-completion.
15240 (file-cache-choose-completion): Handle an optional event argument.
15241 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15243 * progmodes/octave-mod.el (octave-complete-symbol):
15244 Use choose-completion if mouse-choose-completion is ever removed.
15246 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15249 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15252 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15254 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15256 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15257 Ignore `pred' now that we receive one.
15258 Handle test-completion specially.
15260 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15262 * vc.el (vc-responsible-backend): Throw an error if not backend is
15263 found. Remove the REGISTER argument. Move the code dealing with
15265 (vc-get-backend-for-registration): ... here. New function.
15266 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15267 of vc-responsible-backend, pass the file name instead of the
15270 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15272 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15274 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15275 (pcomplete-comint-setup): Don't modify a global var via
15276 accidental side-effects.
15277 (pcomplete-shell-setup): Adjust call accordingly.
15278 (pcomplete-parse-comint-arguments): Use push.
15280 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15282 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15283 Allow uncapitalized info node names (Bug#3921).
15285 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15286 to the DEBUG file (Bug#3781).
15288 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15290 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15291 dictionary entry (Bug#4579).
15293 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15295 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15296 from `rfn-eshadow-update-overlay-hook' when unloading.
15297 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15298 "rsyncc". Adjust doc string.
15299 (tramp-temp-buffer-file-name): New buffer-local defvar.
15300 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15301 Keep temporary file when indicated by method ("rsync" and
15303 (tramp-handle-write-region): Handle APPEND.
15304 (tramp-delete-temp-file-function): New defun. Added to
15305 `kill-buffer-hook'.
15307 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15309 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15311 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15313 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15314 (color-name-rgb-alist, tty-standard-colors)
15315 (tty-color-mode-alist): Change to defconst.
15317 * simple.el (mark-inactive): Purecopy message.
15319 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15320 (global-map, yank-menu):
15321 * textmodes/ispell.el (ispell-menu-map):
15322 * net/eudc.el (eudc-tools-menu):
15323 * international/mule-cmds.el (describe-language-environment-map)
15324 (setup-language-environment-map, set-coding-system-map)
15325 (mule-menu-keymap):
15326 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15327 * replace.el (occur-mode-map):
15328 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15330 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15332 * calc/calc.el (math-read-number, math-read-number-simple):
15333 Use `save-match-data'.
15335 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15337 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15338 rather than fiddling with global-map bindings, since it should only
15339 affect per-terminal settings.
15340 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15342 * minibuffer.el (completion-table-with-terminator): Allow to specify
15343 the terminator-regexp.
15345 * simple.el (switch-to-completions): Look for *Completions* in other
15348 * pcomplete.el: Allow the use of completion-tables.
15349 (pcomplete-std-complete): New command.
15350 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15351 (pcomplete--here): Use a function for `form' rather than an expression,
15352 so it can be byte-compiled.
15353 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15354 Add edebug declaration.
15355 (pcomplete-show-completions): Remove unused var `curbuf'.
15356 (pcomplete-do-complete, pcomplete-stub):
15357 Don't assume `completions' is a list of strings any more.
15359 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15361 * find-dired.el (find-name-arg): Fix typo in docstring.
15363 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15365 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15366 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15368 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15371 * comint.el (comint-read-input-ring, comint-write-input-ring)
15372 (comint-substitute-in-file-name)
15373 (comint-dynamic-complete-as-filename)
15374 (comint-dynamic-simple-complete)
15375 (comint-dynamic-list-filename-completions)
15376 (comint-dynamic-list-completions)
15377 (comint-redirect-results-list-from-process): Minor simplifications.
15379 2009-10-21 Kevin Ryde <user42@zip.com.au>
15381 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15382 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15383 the first form. And insert a blank line after ";;; Code" since
15384 that's usual style. (Bug#4612)
15386 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15388 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15390 * minibuffer.el (completion-table-with-terminator): Properly implement
15391 boundaries, in case `terminator' appears in the suffix.
15392 (completion--embedded-envvar-table): Don't return boundaries if
15393 there's no valid completion. Simplify.
15394 (completion-file-name-table): New completion table extracted from
15395 completion--file-name-table.
15396 (completion--file-name-table): Use it.
15397 (read-file-name-predicate): Declare obsolete.
15398 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15399 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15400 completion-file-name-table, and use the `pred' argument.
15401 * files.el (locate-file-completion-table): Use the `pred' arg rather
15402 than read-file-name-predicate.
15403 (abbreviate-file-name): Use \` rather than ^ for BOS.
15405 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15407 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15408 vc-responsible-backend to register, it causes problems.
15410 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15412 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15414 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15416 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15417 (tramp-smb-handle-file-attributes): Use it.
15418 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15419 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15420 `mapcar'. Use `tramp-smb-get-stat-capability'.
15421 Add `dired-filename' text properties.
15422 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15423 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15426 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15428 * subr.el (read-key-delay): Reduce to 0.01.
15429 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15432 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15434 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15436 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15437 (Info-menu): Remove unused vars `last' and `completions'.
15438 (Info-index-nodes): Remove unused var `node'.
15440 * info.el (Info-complete-menu-item): Use complete-with-action.
15442 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15444 Make vc-annotate work through copies and renames.
15445 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15446 Return the file name too.
15447 (vc-annotate-revision-at-line)
15448 (vc-annotate-find-revision-at-line)
15449 (vc-annotate-revision-previous-to-line)
15450 (vc-annotate-show-log-revision-at-line): Update to get the file
15451 name from vc-annotate-extract-revision-at-line.
15452 (vc-annotate-show-diff-revision-at-line-internal): Change the
15453 argument to mean whether to show a file diff or not. Get the file
15454 name from vc-annotate-extract-revision-at-line.
15455 (vc-annotate-show-diff-revision-at-line):
15456 Update vc-annotate-show-diff-revision-at-line call.
15457 (vc-annotate-warp-revision): Add an optional file argument.
15459 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15460 (vc-git-annotate-extract-revision-at-line): Also return the file
15463 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15464 command. Remove unused code.
15465 (vc-hg-annotate-re): Update to match --follow output.
15466 (vc-hg-annotate-extract-revision-at-line): Also return the file
15469 * vc.el: Update annotate-extract-revision-at-line documentation.
15471 2009-10-18 Kevin Ryde <user42@zip.com.au>
15473 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15474 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15476 * net/browse-url.el (browse-url): Identify alist with "consp and
15477 not functionp" and let all other things go down the `apply' leg,
15478 as suggested by Stefan. (Further to bug#4531.)
15480 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15482 * minibuffer.el (read-file-name): Check for repeat before putting
15483 a default argument in file-name-history (Bug#4657).
15485 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15486 read syntax (Bug#4737).
15488 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15490 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15492 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15493 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15494 entries and make note of obsolete tags.
15496 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15498 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15500 2009-10-18 Glenn Morris <rgm@gnu.org>
15502 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15503 grep, so that binary files (eg international/uni-bidi.el) can match.
15504 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15505 now, and in any case the file header format has changed.
15507 2009-10-17 Glenn Morris <rgm@gnu.org>
15509 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15510 (flyspell-get-word, flyspell-large-region)
15511 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15513 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15515 * Makefile.in (ELCFILES): Add ede/shell.
15517 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15519 * term/common-win.el (x-colors): Purecopy it.
15521 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15523 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15524 permissive for when the buffer is empty.
15525 (tar-header-block-tokenize): Decode the username and groupname.
15526 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15528 2009-10-17 Eric Ludlam <zappo@gnu.org>
15530 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15531 contains multibyte characters, choose first applicable coding
15532 system automatically.
15534 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15536 * international/mule-cmds.el (select-safe-coding-system): If the file
15537 has a coding cookie, use it regardless of any other setting (bug#4712).
15539 2009-10-17 Glenn Morris <rgm@gnu.org>
15541 * foldout.el (foldout-mouse-swallow-events):
15542 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15544 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15545 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15546 (dired-keep-marker-symlink, dired-dwim-target)
15547 (dired-copy-preserve-time): Do not autoload these defcustoms.
15549 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15550 messages from messing up the file coding. (Bug#4623)
15552 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15554 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15555 if no match is found for the current dictionary. (Bug#4578)
15557 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15558 optional, since that is how it is documented, and this is often called
15559 with a nil argument. (Bug#4577)
15560 (flyspell-external-point-words, flyspell-auto-correct-word)
15561 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15562 (flyspell-word-search-backward): Remove nil argument in calls to
15563 flyspell-get-word, since it is not needed now.
15565 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15567 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15569 2009-10-16 Glenn Morris <rgm@gnu.org>
15571 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15573 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15575 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15576 (ange-ftp-file-size): New function.
15577 (ange-ftp-file-attributes): Use it.
15579 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15581 * net/tramp-smb.el (tramp-smb-version): New defvar.
15582 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15585 2009-10-16 Glenn Morris <rgm@gnu.org>
15587 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15588 Maybe copy some custom properties from old to new name. (Bug#4706)
15590 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15592 * subr.el (error, sit-for, start-process-shell-command)
15593 (start-file-process-shell-command): Set the calling convention
15594 after the function definition.
15596 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15598 * subr.el (error, sit-for, start-process-shell-command)
15599 (start-file-process-shell-command): Use the new
15600 set-advertised-calling-convention feature.
15602 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15604 * international/ucs-normalize.el (ucs-normalize-version):
15606 (check-range): Adjust for Unicode 5.2.
15608 2009-10-15 Juri Linkov <juri@jurta.org>
15610 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15611 to the `menu-item' format.
15613 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15615 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15616 if the environment variable does not exist.
15618 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15619 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15621 (tramp-smb-handle-add-name-to-file)
15622 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15623 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15624 (tramp-smb-handle-file-attributes)
15625 (tramp-smb-do-file-attributes-with-stat)
15626 (tramp-smb-handle-file-local-copy)
15627 (tramp-smb-handle-insert-directory)
15628 (tramp-smb-handle-make-directory)
15629 (tramp-smb-handle-make-directory-internal)
15630 (tramp-smb-handle-make-symbolic-link)
15631 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15632 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15633 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15634 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15635 Handle long file names.
15636 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15637 process is running.
15638 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15639 Read share names with "-g" option.
15641 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15643 * net/rcirc.el (rcirc-view-log-file): New command.
15644 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15645 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15648 2009-10-15 Glenn Morris <rgm@gnu.org>
15650 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15651 from the second command-line argument.
15652 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15653 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15654 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15655 w32-batch-update-autoloads.
15656 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15657 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15659 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15660 the headers cannot be located. Simplify, subtracting superflous
15663 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15665 Replace completion-base-size by completion-base-position to fix bugs
15666 such as (bug#4699).
15667 * simple.el (completion-base-position): New var.
15668 (completion-base-size): Mark as obsolete.
15669 (choose-completion): Make it work for mouse events as well.
15670 Pass the new base-position to choose-completion-string.
15671 (choose-completion-guess-base-position): New function, extracted from
15672 choose-completion-delete-max-match.
15673 (choose-completion-delete-max-match): Use it. Make obsolete.
15674 (choose-completion-string): Use the new base-position info.
15675 (completion-root-regexp): Delete.
15676 (completion-setup-function): Preserve completion-base-position.
15677 Eliminate obsolete base-size manipulation.
15678 * minibuffer.el (display-completion-list): Don't mess with base-size.
15679 (minibuffer-completion-help): Set completion-base-position instead.
15680 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15682 * textmodes/bibtex.el (bibtex-complete):
15683 * emacs-lisp/crm.el (crm--choose-completion-string):
15684 Adjust to new calling convention.
15685 * complete.el (partial-completion-mode): Use minibufferp to avoid
15686 bumping into incompatible change to choose-completion-string-functions.
15687 * ido.el (ido-choose-completion-string): Make its calling convention
15689 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15690 base-size manipulation.
15691 (comint-dynamic-list-input-ring): Use dotimes and push.
15692 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15693 fundamental-mode. Use `or'.
15695 2009-10-14 Juri Linkov <juri@jurta.org>
15697 * misearch.el (multi-isearch-next-buffer-from-list)
15698 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15700 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15702 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15705 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15706 string we return is all made up of text from the completions rather
15707 than part from the completions and part from the input (bug#4219).
15709 * ido.el (ido-everywhere): Use define-minor-mode.
15711 * buff-menu.el (list-buffers, ctl-x-map):
15712 Mark the entry points with ;;;###autoload cookies.
15714 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15716 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15717 correctly in the detached head case.
15718 (vc-git-print-log): Remove unused binding.
15720 * vc.el (vc-responsible-backend): When a directory is passed for
15721 for registration create a VC repository if no backend is
15722 responsible for the directory argument.
15723 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15725 * vc.el: Move comments about RCS and SCCS ...
15727 * vc-sccs.el: ... here, respectively.
15729 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15731 * minibuffer.el (completion--file-name-table): Return nil if there's
15732 no file completion, even if substitute-in-file-name changed
15733 the string (bug#4708).
15735 2009-10-13 Juri Linkov <juri@jurta.org>
15737 * files-x.el (read-file-local-variable-value): Don't filter out
15738 minor modes from mode name completion (bug#4664).
15740 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15742 * international/mule-cmds.el (ucs-names): Remove exclusion of
15743 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15745 2009-10-13 Kenichi Handa <handa@m17n.org>
15747 * international/uni-name.el: Regenerated.
15749 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15751 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15752 should be automatically buffer-local, but isn't.)
15754 2009-10-12 Sam Steingold <sds@gnu.org>
15756 * progmodes/compile.el (compilation-next-error-function): Fix the
15757 timestamps if the buffer has been visited before.
15758 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15759 non-anchored patterns, like the perl one (bug#3928).
15761 2009-10-12 Glenn Morris <rgm@gnu.org>
15763 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15766 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15768 * proced.el (proced-unload-function): New function.
15770 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15771 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15774 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15776 2009-10-11 Juri Linkov <juri@jurta.org>
15778 * files-x.el (read-file-local-variable-value):
15779 Provide default value only for bound variables (bug#4664).
15781 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15783 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15784 connection methods like smb.
15786 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15789 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15790 (tramp-smb-file-name-handler-alist): Add handlers for
15791 `add-name-to-file', `make-symbolic-link'.
15792 (tramp-smb-handle-add-name-to-file)
15793 (tramp-smb-do-file-attributes-with-stat)
15794 (tramp-smb-handle-make-symbolic-link)
15795 (tramp-smb-get-cifs-capabilities): New defuns.
15796 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15797 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15798 (tramp-smb-handle-file-local-copy)
15799 (tramp-smb-handle-make-directory-internal)
15800 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15801 The file name syntax depends on cifs capabilities.
15802 (tramp-smb-handle-file-attributes):
15803 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15804 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15805 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15807 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15809 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15810 (eieio-defclass): Apply deftype handler and setf-method properties
15812 (eieio-add-new-slot): Avoid union function from cl library.
15813 (eieio--typep): New function.
15814 (eieio-perform-slot-validation): Use it.
15816 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15818 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15819 Update documentation to refer to the variables documented in r1.135.
15822 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15824 * bookmark.el (Info-suffix-list): Remove this unused variable.
15825 (bookmark-current-point): Remove this obsolete variable.
15826 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15827 Adjust for removal of bookmark-current-point.
15829 (bookmarks-already-loaded, bookmark-current-buffer)
15830 (bookmark-yank-point): Document. (Bug#4188)
15832 2009-10-10 Glenn Morris <rgm@gnu.org>
15834 * frame.el (frame-height): Doc fix.
15836 * calendar/calendar.el (calendar-split-width-threshold): New option.
15837 (calendar-basic-setup): Use calendar-split-width-threshold.
15839 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15841 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15842 Ideographic Supplement" range (U+1F200..U+1F2FF).
15844 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15846 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15847 since the list will have been rebuilt anyway. (Bug#4349)
15849 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15851 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15852 (bookmark-bmenu-execute-deletions): Don't save here, as
15853 bookmark-delete will now do so if necessary.
15854 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15857 2009-10-09 Glenn Morris <rgm@gnu.org>
15859 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15861 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15863 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15864 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15865 argument now, so the two function's behaviors will match. (Bug#3645)
15867 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15869 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15870 (tramp-file-name-real-host, tramp-file-name-port):
15871 Apply `save-match-data'.
15873 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15874 case both directories are remote.
15875 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15876 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15878 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15880 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15882 2009-10-07 Glenn Morris <rgm@gnu.org>
15884 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15887 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15889 * files-x.el (read-file-local-variable): Include some
15890 non-user-variables in the completion table (bug#4664).
15892 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15894 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15897 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15898 (tramp-smb-file-name-handler-alist): Add handler for
15899 `copy-directory', `expand-file-name', `set-file-modes'.
15900 (tramp-smb-handle-copy-directory)
15901 (tramp-smb-handle-expand-file-name)
15902 (tramp-smb-handle-set-file-modes): New defuns.
15903 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15904 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15906 (tramp-smb-handle-insert-directory): Don't flush the cache.
15907 (tramp-smb-maybe-open-connection): Check for samba client and
15910 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15912 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15913 to not error out of search for "^lisp=" fails.
15915 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15917 * makefile.w32-in (WINS_UPDATES): New macro.
15918 (custom-deps, finder-data, autoloads): Use it.
15920 2009-10-07 Glenn Morris <rgm@gnu.org>
15922 * Makefile.in (autoloads): Revert previous change.
15923 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15924 the list of preloaded files passed on the command-line, get
15925 it from src/Makefile.
15927 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15928 show the original buffer rather than a random one.
15930 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15932 * help.el (describe-no-warranty): Place point in a slightly better
15933 position in the GPLv3 text.
15935 2009-10-06 Sam Steingold <sds@gnu.org>
15937 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15938 the comm attribute is present before calling regexp-quote.
15940 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15942 * play/animate.el (animate-string): For good effect, make sure
15943 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15945 * play/animate.el (animate-sequence, animate-birthday-present):
15946 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15948 2009-10-06 Glenn Morris <rgm@gnu.org>
15950 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15952 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15953 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15954 (batch-update-autoloads): Process a string value of autoload-excludes,
15955 set during the build process.
15956 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15958 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15959 inside with-parsed... macro so that `v' is defined.
15961 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15962 * progmodes/fortran.el (fortran-end-of-block)
15963 (fortran-beginning-of-block):
15964 Also push mark in the macro case.
15966 * emerge.el (emerge-show-file-name):
15967 * calc/calc.el (calc-quit):
15968 * calc/calc-misc.el (calc-big-or-small):
15969 * calc/calc-graph.el (calc-graph-view):
15970 * calc/calc-ext.el (calc-reset):
15971 * calendar/calendar.el (calendar-basic-setup):
15972 Use window-full-height-p.
15974 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15975 header we don't understand, don't insert another. (Bug#4624)
15976 If changing mime charset, insert the new one in the right place.
15978 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15980 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15981 (cal-tex-cursor-month): Correctly increment the end date for diary and
15982 holiday listing. (Bug#4626)
15984 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15986 * help-fns.el (describe-function-1): Don't burp if the function is not
15989 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15991 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15992 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15993 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15994 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15996 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15997 (eieio-default-superclass): Reflow docstrings.
15998 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15999 (eieio-unbind-method-implementations, defmethod)
16000 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16001 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16002 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16003 (eieio-slot-originating-class-p, eieio-slot-name-index)
16004 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16005 (constructor, initialize-instance, no-next-method, object-print)
16006 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16007 Fix typos in docstrings.
16008 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16009 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16010 (next-method-p): Doc fixes.
16011 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16012 Fix typos in error messages.
16013 (eieio-defmethod): Fix typo in description of generic method.
16015 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16016 (eieio-persistent-save-interactive, slot-missing):
16017 Fix typos in docstrings.
16018 (eieio-instance-inheritor-slot-boundp): Doc fix.
16020 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16021 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16023 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16024 (eieio-custom-object-apply-reset):
16025 Fix typos in docstrings and error messages.
16027 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16028 Fix typo in docstring.
16030 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16031 (eieio-browse-tree): Doc fix.
16032 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16033 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16034 Fix typos in docstrings.
16036 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16037 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16038 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16039 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16042 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16044 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16045 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16046 Set log-view-vc-backend so that diff can work.
16048 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16050 (vc-diff-internal): Autoload this instead of vc-version-diff.
16052 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16054 * simple.el (eval-expression): Doc fix.
16056 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16058 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16060 * files.el (directory-files-no-dot-files-regexp): New defconst.
16061 (delete-directory): Use it.
16062 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16064 * net/tramp.el (tramp-verbose): Fix docstring.
16065 (tramp-methods): Add recursive option to `tramp-copy-args'.
16066 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16067 "scp1_old", "scp2_old", "rsync", "rsyncc".
16068 (tramp-default-method): Check also for `auth-source-user-or-password'.
16069 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16070 Add handler for `copy-directory'.
16071 (tramp-handle-copy-directory): New defun.
16072 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16073 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16074 Optimize sent command.
16076 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16079 window if necessary.
16081 * calendar/calendar.el (calendar-basic-setup): Don't call
16082 switch-to-buffer in a dedicated window.
16084 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16086 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16087 don't do anything related to relocating, just return nil.
16088 (bookmark-error-no-filename): New error.
16089 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16090 bookmark has no file. Don't even attempt to handle things that
16091 are not files; the whole point of custom handlers is to keep that
16092 knowledge elsewhere anyway. Tighten some comments.
16093 (bookmark-file-or-variation-thereof): Remove now-unused function.
16094 (bookmark-location): Doc string fix.
16097 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16099 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16100 don't use a file dialog, because they usually don't know how to read
16101 a directory target from the user. (Bug#4230)
16102 Also, make sure the prompt can display directories as well as files.
16104 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16106 * bookmark.el (bookmark-set, bookmark-buffer-name):
16107 Improve doc strings. (Bug#1193)
16109 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16111 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16112 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16113 (bookmark-get-annotation, bookmark-set-annotation)
16114 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16115 (bookmark-set-position, bookmark-get-front-context-string)
16116 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16117 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16118 (bookmark-jump-other-window, bookmark-handle-bookmark)
16119 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16120 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16121 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16122 Improve doc strings to say whether bookmark can be a string or
16123 a record or both, and make other consistency and clarity fixes.
16124 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16125 (bookmark-default-annotation-text, bookmark-yank-word)
16126 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16127 (bookmark-import-new-list, bookmark-maybe-rename)
16128 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16129 (bookmark-bmenu-bookmark): Give these doc strings.
16130 (bookmark-bmenu-check-position): Give this a doc string, but also
16131 add a FIXME comment about how the function may be pointless.
16132 (bookmark-default-handler): Rework doc string and change a
16133 parameter name, to clarify that this takes a bookmark record
16134 not a bookmark name.
16135 (bookmark-set): Change a parameter name to indicate its meaning,
16136 and improve the doc string a bit.
16139 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16141 * bookmark.el (bookmark-alist): Document the new `handler' element
16142 in the param alist.
16143 (bookmark-make-record-function): Adjust documentation for above.
16146 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16148 * info.el (Info-bookmark-make-record): Document this function.
16149 (Info-bookmark-jump): Document with a doc string, not just a comment.
16152 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16154 * files.el (copy-directory): New defun.
16156 * dired-aux.el (dired-copy-file-recursive): Use it.
16158 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16160 * files-x.el (modify-dir-local-variable)
16161 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16164 * recentf.el (recentf-unload-function): New function.
16166 2009-10-04 Glenn Morris <rgm@gnu.org>
16168 * window.el (window-full-height-p): Add doc string.
16170 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16172 * window.el (window-full-height-p): New function. (Bug#4543)
16174 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16176 * vc.el: Remove commented out code.
16177 (vc-derived-from-dir-mode): Remove, unused.
16178 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16180 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16182 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16183 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16184 there could be recursive loading when `default-directory' is a
16185 remote file name. (Bug#4614)
16187 2009-10-03 Glenn Morris <rgm@gnu.org>
16189 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16191 (calendar-generate-window): Test for shrinkability rather than width.
16193 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16194 reusing existing buffers, in case we happen to visit two files with the
16195 same basename. (Bug#4593)
16197 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16199 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16200 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16201 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16202 subdirs of cedet as well.
16203 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16205 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16207 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16208 Obey advertised-signature-table.
16210 * help-fns.el (help-function-arglist): Don't check
16211 advertised-signature-table.
16212 (describe-function-1): Do it here instead so it also applies to subrs.
16214 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16216 * simple.el (start-file-process): Say in the doc-string, that file
16217 handlers might not support pty association, if PROGRAM is nil.
16219 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16220 HOST and USER are strings. They are nil, when there are
16221 incomplete entries in ~/.netrc, for example.
16222 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16223 root directory ("device busy" error otherwise).
16225 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16226 Flush file properties of created directory.
16228 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16230 * makefile.w32-in (WINS_BASIC): Remove cedet.
16231 (WINS_CEDET): Add cedet.
16232 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16234 2009-10-02 Kevin Ryde <user42@zip.com.au>
16236 * net/browse-url.el (browse-url): Pass any symbol in
16237 browse-url-browser-function to `apply', since if you've mistakenly put
16238 an unbound symbol then the error is clearer. (Bug#4531)
16240 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16242 * allout.el (allout-init, allout-back-to-current-heading)
16243 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16244 (allout-ascend, allout-up-current-level, allout-end-of-level)
16245 (allout-previous-visible-heading, allout-forward-current-level)
16246 (allout-backward-current-level, allout-show-children):
16247 * apropos.el (apropos-describe-plist):
16248 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16249 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16250 * completion.el (add-completion, add-permanent-completion):
16251 * descr-text.el (describe-text-category, describe-char):
16252 * desktop.el (desktop-lazy-abort):
16253 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16254 * dired.el (dired-build-subdir-alist):
16255 * ediff.el (ediff-version):
16256 * elide-head.el (elide-head, elide-head-show):
16257 * emerge.el (emerge-version):
16259 * face-remap.el (variable-pitch-mode):
16260 * faces.el (describe-face):
16261 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16263 * files.el (find-file-existing, auto-save-mode):
16264 * font-lock.el (font-lock-fontify-buffer):
16265 * help-fns.el (describe-function, describe-variable)
16266 (describe-syntax, describe-categories):
16267 * help.el (view-lossage, describe-bindings, describe-key)
16269 * hexl.el (hexl-current-address):
16270 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16271 * info.el (Info-goto-emacs-key-command-node):
16272 * log-edit.el (log-edit-insert-cvs-template)
16273 (log-edit-insert-cvs-rcstemplate):
16274 * menu-bar.el (menu-bar-mode):
16275 * mouse.el (mouse-appearance-menu):
16276 * newcomment.el (comment-indent-new-line):
16277 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16278 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16279 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16280 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16281 * recentf.el (recentf-mode):
16282 * savehist.el (savehist-mode, savehist-save):
16283 * shadowfile.el (shadow-copy-files):
16284 * simple.el (kill-ring-save, next-line, previous-line)
16285 (normal-erase-is-backspace-mode):
16286 * strokes.el (strokes-update-window-configuration)
16287 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16288 (strokes-xpm-for-stroke):
16289 * time.el (emacs-uptime, emacs-init-time):
16290 * tutorial.el (tutorial--describe-nonstandard-key)
16291 (tutorial--detailed-help):
16292 * type-break.el (type-break-mode)
16293 (type-break-mode-line-message-mode, type-break-query-mode)
16294 (type-break-guesstimate-keystroke-threshold):
16295 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16296 * version.el (emacs-version):
16297 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16298 * winner.el (winner-mode):
16299 * calendar/timeclock.el (timeclock-in, timeclock-out)
16300 (timeclock-status-string, timeclock-change)
16301 (timeclock-workday-remaining-string)
16302 (timeclock-workday-elapsed-string)
16303 (timeclock-when-to-leave-string):
16304 * calendar/todo-mode.el (todo-add-category):
16305 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16306 * emacs-lisp/autoload.el (update-file-autoloads):
16307 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16308 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16309 (checkdoc-message-text, checkdoc-defun):
16310 * emacs-lisp/debug.el (debugger-list-functions):
16311 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16312 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16313 (eieio-describe-generic):
16314 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16315 * emacs-lisp/shadow.el (list-load-path-shadows):
16316 * emulation/cua-base.el (cua-mode):
16317 * emulation/edt.el (edt-set-scroll-margins):
16318 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16319 (tpu-toggle-regexp, tpu-toggle-search-direction)
16320 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16321 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16322 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16323 (viper-set-parsing-style-toggling-macro)
16324 (viper-set-emacs-state-searchstyle-macros):
16325 * emulation/viper.el (viper-set-hooks):
16326 * eshell/esh-mode.el (eshell-truncate-buffer):
16327 * international/mule-cmds.el (prefer-coding-system)
16328 (describe-input-method, describe-language-environment):
16329 * international/mule-diag.el (list-character-sets)
16330 (describe-character-set, describe-coding-system)
16331 (describe-fontset, list-fontsets, list-input-methods):
16332 * mail/sendmail.el (mail-signature):
16333 * net/ange-ftp.el (ange-ftp-copy-file):
16334 * net/browse-url.el (browse-url):
16335 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16336 * net/quickurl.el (quickurl-add-url):
16337 * net/rcirc.el (names, topic):
16338 * net/xesam.el (xesam-mode):
16339 * play/5x5.el (5x5-new-game):
16340 * play/yow.el (apropos-zippy):
16341 * progmodes/ada-mode.el (ada-mode-version):
16342 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16344 (f90-beginning-of-block):
16345 * progmodes/fortran.el (fortran-end-of-block)
16346 (fortran-beginning-of-block):
16347 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16348 * progmodes/python.el (python-describe-symbol, python-shell):
16349 * term/ns-win.el (ns-print-buffer):
16350 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16351 * textmodes/flyspell.el (flyspell-mode-on):
16352 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16353 (pages-directory-for-addresses):
16354 * textmodes/table.el (table-recognize-cell)
16355 (table-query-dimension, table-generate-source)
16356 (table-insert-sequence, table--warn-incompatibility):
16357 * textmodes/tex-mode.el (tex-validate-buffer):
16358 * textmodes/texinfmt.el (texinfmt-version)
16359 (texinfo-format-buffer):
16360 Use `called-interactively-p' instead of `interactive-p'.
16362 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16364 * image-mode.el (image-toggle-display):
16365 * emacs-lisp/elp.el (elp-instrument-function):
16366 * emacs-lisp/advice.el (ad-make-advised-definition):
16367 * emacs-lisp/easy-mmode.el (define-minor-mode):
16368 * net/browse-url.el (browse-url-maybe-new-window):
16369 * progmodes/sh-script.el (sh-learn-buffer-indent):
16370 Pass new argument 'any to `called-interactively-p'.
16372 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16374 * international/uni-bidi.el:
16375 * international/uni-category.el:
16376 * international/uni-combining.el:
16377 * international/uni-comment.el:
16378 * international/uni-decimal.el:
16379 * international/uni-decomposition.el:
16380 * international/uni-digit.el:
16381 * international/uni-lowercase.el:
16382 * international/uni-mirrored.el:
16383 * international/uni-name.el:
16384 * international/uni-numeric.el:
16385 * international/uni-old-name.el:
16386 * international/uni-titlecase.el:
16387 * international/uni-uppercase.el:
16388 Regenerate from Unicode 5.2.0 data.
16390 2009-10-01 Glenn Morris <rgm@gnu.org>
16392 * Makefile.in (ELCFILES): Regenerate.
16394 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16396 * subr.el (interactive-p): Mark obsolete.
16397 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16398 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16399 advertised-signature-table for subroutines as well.
16401 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16402 (set-advertised-calling-convention): New function.
16403 (make-obsolete, define-obsolete-function-alias)
16404 (make-obsolete-variable, define-obsolete-variable-alias):
16405 Make the optional-ness of `when' obsolete.
16406 (define-obsolete-face-alias): Make `when' non-optional.
16407 * help-fns.el (help-function-arglist):
16408 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16409 Use advertised-signature-table.
16411 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16413 * files.el (delete-directory): New defun. The original function
16414 in fileio.c has been renamed to `delete-directory-internal'.
16416 * dired.el (dired-delete-file): Call `delete-directory' with
16417 RECURSIVE parameter.
16419 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16420 parameter RECURSIVE. Implementation is missing.
16422 * net/tramp.el (tramp-handle-make-directory): Flush upper
16423 directory's file properties.
16424 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16425 (tramp-handle-dired-recursive-delete-directory): Flush directory
16426 properties after the remove command only.
16428 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16429 Handle optional parameter RECURSIVE.
16431 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16432 Handle optional parameter RECURSIVE.
16434 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16435 connection timeout.
16436 (tramp-smb-handle-delete-directory): Handle optional parameter
16439 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16441 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16442 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16443 (byte-compile-defmacro): Use backquotes.
16445 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16447 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16448 has no associated file.
16449 (vc-resynch-buffer): Use vc-dir-buffers.
16451 2009-10-01 Glenn Morris <rgm@gnu.org>
16453 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16454 (chart-file-count):
16455 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16456 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16457 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16458 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16459 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16460 (eieio-copy-parents-into-subclass, make-instance, class-children)
16461 (eieio-generic-form):
16463 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16464 match-data. (Bug#4555).
16466 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16467 rather than parsing it as a regexp. This relaxes the layout
16468 requirements and makes errors easier to detect.
16469 (check-declare-verify): Check file is regular.
16470 (check-declare-directory): Doc fix.
16471 * subr.el (declare-function): Doc fix.
16473 * ibuffer.el (ibuffer-format-qualifier):
16474 * isearch.el (hi-lock-regexp-okay):
16475 * calc/calc.el (math-zerop):
16476 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16477 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16478 Remove unused declarations.
16480 2009-09-30 Eric Ludlam <zappo@gnu.org>
16482 * emacs-lisp/eieio.el (boolean-p): Delete.
16484 2009-09-30 Glenn Morris <rgm@gnu.org>
16486 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16488 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16489 filename is not a string.
16491 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16493 * files.el (safe-local-eval-forms): Fix typo.
16495 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16497 * vc-hooks.el (vc-dir-buffers): New var.
16498 (vc-state-refresh): New function.
16499 (vc-state): Use it.
16500 (vc-after-save): Always ask the backend to recompute the new state.
16501 Always call vc-dir if necessary, using vc-dir-buffers.
16502 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16503 Use vc-dir-buffers.
16504 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16505 (vc-dir-prepare-status-buffer, vc-dir-update)
16506 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16507 Don't call expand-file-name on default-directory.
16509 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16511 * speedbar.el (speedbar-item-delete):
16512 * calc/calc-prog.el (calc-kbd-if):
16513 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16515 * epa.el (epa-key-list-mode-map):
16516 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16518 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16519 (hs-show-hook): Fix typo in docstring.
16521 2009-09-29 Glenn Morris <rgm@gnu.org>
16523 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16524 file-name-nondirectory call preventing location of cedet files.
16525 (check-declare-verify): Use literal search rather than re-search.
16526 Add basic defmethod and defclass, and define-overloadable-function.
16528 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16529 Use tramp-compat-file-attributes rather than nonexistent
16530 tramp-compat-handle-file-attributes.
16532 * Makefile.in (lisptagsfiles4): New.
16533 (AUTOGENEL): Add cedet loaddefs files.
16534 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16535 (update-elclist, compile-always, backup-compiled-files)
16536 (bootstrap-clean): Add yet another directory level.
16537 (update-elclist): Use LC_COLLATE rather than COLLATE.
16538 (ELCFILES): Update, via `make update-elclist'.
16540 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16542 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16543 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16544 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16546 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16548 * Makefile.in (lisptagsfiles3): Define.
16549 (TAGS, TAGS-LISP): Use it.
16550 (update-elclist): Add third directory level to look for elc files.
16551 (compile-always): Likewise.
16552 (backup-compiled-files): Likewise.
16553 (bootstrap-clean): Likewise.
16554 (ELCFILES): Update.
16556 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16558 * Makefile.in (ELCFILES): Add CEDET files.
16560 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16562 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16564 * net/tramp.el (top): Require tramp-imap.
16566 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16567 Use `tramp-compat-handle-file-attributes'.
16569 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16571 * net/tramp-imap.el: New package.
16573 2009-09-28 Eric Ludlam <zappo@gnu.org>
16575 * emacs-lisp/chart.el:
16576 * emacs-lisp/eieio-base.el:
16577 * emacs-lisp/eieio-comp.el:
16578 * emacs-lisp/eieio-custom.el:
16579 * emacs-lisp/eieio-datadebug.el:
16580 * emacs-lisp/eieio-opt.el:
16581 * emacs-lisp/eieio-speedbar.el:
16582 * emacs-lisp/eieio.el: New files.
16584 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16586 * whitespace.el (whitespace-trailing-regexp)
16587 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16590 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16592 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16595 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16596 menu-bar-ediff-menu.
16598 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16599 define-overloadable-function.
16601 * progmodes/autoconf.el: Provide autoconf as well, so that this
16602 file can be `require'd.
16604 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16606 * emacs-lisp/autoload.el (generated-autoload-feature)
16607 (generated-autoload-load-name): New vars.
16608 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16609 (make-autoload): Recognize define-overloadable-function and
16610 defclass forms (for EIEIO).
16612 * Makefile.in (update-subdirs): Exclude cedet directory.
16614 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16616 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16618 * faces.el: Default light-background background for region face to
16619 ns_selection_color under NS.
16621 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16623 * net/imap-hash.el: New library, see NEWS.
16625 * Makefile.in (ELCFILES): Add imap-hash.el.
16627 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16629 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16630 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16631 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16632 definition where the docstring could be taken for the return value.
16634 2009-09-26 Glenn Morris <rgm@gnu.org>
16636 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16637 Add option to only show images below a certain size.
16638 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16639 save-excursion calls.
16641 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16643 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16644 subdirectories) and eieio.
16646 2009-09-26 Alan Mackenzie <acm@muc.de>
16648 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16649 Correct buggy bracketing. (Bug#4289)
16651 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16652 character constants (as case labels). (Bug#4289)
16654 2009-09-25 Juri Linkov <juri@jurta.org>
16656 * files.el (safe-local-eval-forms): Allow time-stamp in
16657 before-save-hook (Bug#4554).
16659 2009-09-25 Drew Adams <drew.adams@oracle.com>
16661 * menu-bar.el (list-buffers-directory): Doc fix.
16663 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16665 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16666 Try and avoid copying twice the same paragraph.
16667 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16668 Remove save-excursion.
16669 (log-edit-changelog-entry): Do it here instead.
16671 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16673 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16674 when available, instead of hardcoding mode names. Doc fix.
16676 * menu-bar.el (list-buffers-directory): Add docstring.
16677 Make automatically buffer-local.
16679 * dired.el (dired-mode):
16680 * files.el (cd-absolute):
16681 * pcvs.el (cvs-temp-buffer):
16682 * pcvs-util.el (cvs-get-buffer-create):
16683 * shell.el (shell-mode):
16684 * vc-dir.el (vc-dir-mode):
16685 Don't make `list-buffers-directory' buffer local.
16687 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16689 * comint.el (comint-exec, comint-run, make-comint):
16690 Doc fixes (Bug#4542).
16692 2009-09-25 Glenn Morris <rgm@gnu.org>
16694 * mail/rmailmm.el (rmail-mime): New custom group.
16695 Move all defcustoms in this file into this group.
16696 (rmail-mime-media-type-handlers-alist): Revert previous change.
16697 (rmail-mime-show-images): New option.
16698 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16699 references to it, since it wasn't actually used for anything.
16700 (rmail-mime-insert-image): New function.
16701 (rmail-mime-image): Use rmail-mime-insert-image.
16702 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16703 obey the value of `rmail-mime-show-images' option. Print the size of
16706 2009-09-25 David Engster <deng@randomsample.de>
16708 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16710 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16712 * whitespace.el: Does not highlight trailing spaces While point is
16713 at end of line. Does not highligt spaces at beginning of buffer
16714 while point is at beginning of buffer. Does not highlight spaces
16715 at end of buffer while point is at end of buffer. (Bug#4177)
16717 (whitespace-display-mappings): Adjust initialization.
16718 (whitespace-point, whitespace-font-lock-refontify): New vars.
16719 (whitespace-color-on, whitespace-color-off): Adjust code.
16720 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16721 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16722 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16724 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16726 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16728 * textmodes/sgml-mode.el: Remove xml-mode alias.
16730 * files.el (auto-mode-alist, conf-mode-maybe)
16731 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16733 2009-09-24 Alan Mackenzie <acm@muc.de>
16735 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16736 c-forward-conditionals, but it doesn't move point and doesn't set
16738 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16739 (c-down-conditional-with-else, c-backward-conditional)
16740 (c-forward-conditional): Refactor to use c-scan-conditionals.
16742 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16744 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16745 (help-default-arg-highlight): Remove.
16746 (help-highlight-arg): New function.
16747 (help-do-arg-highlight): Use it.
16748 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16750 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16752 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16753 Undo last change, which didn't fix the problem and introduced others.
16755 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16757 * progmodes/gdb-mi.el: Don't require speedbar.
16758 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16760 2009-09-24 Glenn Morris <rgm@gnu.org>
16762 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16764 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16766 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16767 there is no newline after the final mime boundary. (Bug#4539)
16768 Move markers on insertion so that any buttons inserted don't end up in
16769 the next part of a multipart message.
16770 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16771 (rmail-mime-bulk-handler): Optionally handle images.
16772 (rmail-mime-image): New button action.
16773 (rmail-mime-image-handler): New function.
16774 (rmail-mime-mode): New mode.
16775 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16777 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16779 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16780 than just dropping elements from it (bug#4504).
16782 * term.el (term-set-scroll-region): Don't move cursor any more.
16783 (term-handle-ansi-escape): Call term-goto here instead.
16784 Suggested by Ivan Kanis <apple@kanis.eu>.
16786 * term.el: Require CL.
16787 (term-ansi-reset): New function.
16788 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16789 (term-handle-colors-array): Simplify.
16791 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16793 * allout.el (allout-overlay-interior-modification-handler)
16794 (allout-obtain-passphrase):
16795 * epa-file.el (epa-file-write-region):
16796 * ps-print.el (ps-begin-job):
16797 * vc-hooks.el (vc-toggle-read-only):
16798 * vc-rcs.el (vc-rcs-rollback):
16799 * vc-sccs.el (vc-sccs-rollback):
16800 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16801 (vc-version-diff, vc-revert, vc-rollback):
16802 * wdired.el (wdired-check-kill-buffer):
16803 * emacs-lisp/authors.el (authors):
16804 * net/socks.el (socks-open-connection):
16805 * net/zeroconf.el (zeroconf-service-add-hook):
16806 * obsolete/vc-mcvs.el (vc-mcvs-register):
16807 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16808 (gdb-select-frame):
16809 * progmodes/grep.el (lgrep, rgrep):
16810 * progmodes/idlw-help.el (idlwave-help-check-locations)
16811 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16812 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16813 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16814 (reftex-toc-rename-label): Fix typos in error messages.
16816 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16817 (dired-copy-how-to-fn): Doc fix.
16818 (dired-files-attributes, dired-read-shell-command):
16819 Fix typos in docstrings.
16821 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16822 (dired-x-find-file-other-window): Reflow docstrings.
16823 (dired-omit-marker-char, dired-read-shell-command)
16824 (dired-x-submit-report): Fix typos in docstrings.
16826 * shell.el (shell-mode-hook):
16827 * view.el (View-scroll-line-forward):
16828 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16829 Fix typos in docstrings.
16831 * net/dig.el (dig-invoke): Fix typo in docstring.
16832 (query-dig): Reflow docstring.
16834 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16835 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16836 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16837 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16838 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16839 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16840 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16841 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16842 (idlwave-completion-map, idlwave-current-indent)
16843 (idlwave-custom-ampersand-surround, idlwave-customize)
16844 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16845 (idlwave-define-abbrev, idlwave-determine-class-special)
16846 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16847 (idlwave-end-block-reg, idlwave-end-of-statement)
16848 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16849 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16850 (idlwave-explicit-class-listed, idlwave-file-header)
16851 (idlwave-fill-paragraph, idlwave-find-class-definition)
16852 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16853 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16854 (idlwave-in-quote, idlwave-indent-action-table)
16855 (idlwave-indent-expand-table, idlwave-indent-line)
16856 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16857 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16858 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16859 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16860 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16861 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16862 (idlwave-outlawed-buffers, idlwave-popup-select)
16863 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16864 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16865 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16866 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16867 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16868 (idlwave-statement-type, idlwave-struct-skip)
16869 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16870 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16871 (idlwave-what-module-find-class): Fix typos in docstrings.
16872 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16873 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16874 (idlwave-find-module, idlwave-find-structure-definition)
16875 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16876 (idlwave-list-load-path-shadows, idlwave-next-statement)
16877 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16878 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16879 (idlwave-template): Reflow docstrings.
16881 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16882 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16883 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16884 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16885 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16886 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16887 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16888 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16889 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16890 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16891 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16892 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16893 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16894 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16895 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16896 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16897 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16898 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16899 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16900 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16901 Fix typos in docstrings.
16902 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16903 (idlwave-shell-hide-output, idlwave-shell-mode)
16904 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16907 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16909 2009-09-24 Ivan Kanis <apple@kanis.eu>
16911 * term.el (term-bold-attribute): New var.
16912 (term-handle-colors-array): Use it.
16914 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16916 * progmodes/gdb-mi.el (gdb-version): New variable.
16917 (gdb-non-stop-handler): Set gdb-version.
16918 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16919 Condition "--thread" option on gdb-version.
16920 (gdb-invalidate-threads): Remove unused argument.
16922 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16924 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16925 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16927 2009-09-23 Glenn Morris <rgm@gnu.org>
16929 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16930 replying to mail without References or Message-Id. (Bug#4525)
16932 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16934 * term/ns-win.el (ns-reg-to-script): New variable.
16936 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16938 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16940 2009-09-22 Sam Steingold <sds@gnu.org>
16942 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16943 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16944 to 1 because hg returns status 1 when nothing is found.
16945 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16947 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16949 * textmodes/fill.el: Convert to utf-8 encoding.
16950 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16953 * add-log.el (change-log-fill-forward-paragraph): New function.
16954 (change-log-mode): Use it so fill-region DTRT.
16955 Set fill-indent-according-to-mode here rather than in
16956 change-log-fill-paragraph.
16957 (change-log-fill-paragraph): Remove.
16959 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16961 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16962 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16964 2009-09-22 Glenn Morris <rgm@gnu.org>
16966 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16967 the scroll-bar scroll the calendar window rather than the buffer.
16969 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16970 commands that move point (as opposed to scrolling).
16972 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16974 * emacs-lisp/elint.el (elint): New custom group.
16975 (elint-log-buffer): Make it a defcustom.
16976 (elint-scan-preloaded, elint-ignored-warnings)
16977 (elint-directory-skip-re): New options.
16978 (elint-builtin-variables): Doc fix.
16979 (elint-preloaded-env): New variable.
16980 (elint-unknown-builtin-args): Add an entry for encode-time.
16981 (elint-extra-errors): Make it a variable rather than a constant.
16982 (elint-preloaded-skip-re): New constant.
16983 (elint-directory): Skip files matching elint-directory-skip-re.
16984 (elint-features): New variable, local to linted buffers.
16985 (elint-update-env): Initialize elint-features. Possibly add
16986 elint-preloaded-env to the buffer's environment.
16987 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16989 (elint-init-form): New function, extracted from elint-init-env.
16990 Make non-list forms a warning rather than an error.
16991 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16992 easy-menu-define, put that adds an error-condition, and provide.
16993 When requiring cl, also require cl-macs. Really require cl, to handle
16994 some cl macros. Store required libraries in the list elint-features,
16995 so as not to re-load them. Treat cc-require like require.
16996 (elint-init-env): Call elint-init-form to do the work.
16997 Handle eval-and-compile and such like.
16998 (elint-add-required-env): Do not clear messages.
16999 (elint-special-forms): Add handlers for function, defalias, if, when,
17001 (elint-form): Add optional argument to ignore elint-special-forms,
17002 useful to prevent recursive calls from handlers. Doc fix.
17003 Respect elint-ignored-warnings.
17004 (elint-form): Respect elint-ignored-warnings.
17005 (elint-bound-variable, elint-bound-function): New variables.
17006 (elint-unbound-variable): Respect elint-bound-variable.
17007 (elint-get-args): Respect elint-bound-function.
17008 (elint-check-cond-form): Add some simple handling for (f)boundp and
17010 (elint-check-defalias-form): New handler.
17011 (elint-check-let-form): Make an empty let a warning rather than an
17013 (elint-check-setq-form): Make an empty setq a warning rather than an
17014 error. Respect elint-ignored-warnings.
17015 (elint-check-defvar-form): Accept null doc-strings.
17016 (elint-check-conditional-form): New handler. Does some simple-minded
17017 checking of featurep and (f)boundp tests.
17018 (elint-put-function-args): New function.
17019 (elint-initialize): Use elint-scan-doc-file rather than
17020 elint-find-builtin-variables. Use elint-put-function-args.
17021 Possibly scan preloaded-file-list.
17022 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17023 extend to handle functions as well.
17025 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17027 * linum.el (linum-delete-overlays, linum-update-window):
17028 Do not modify the right margin. (Bug#3971)
17030 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17032 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17033 Use nxml-mode instead of xml-mode.
17035 2009-09-21 Kevin Ryde <user42@zip.com.au>
17037 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17039 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17041 * net/dig.el (dig-mode): Use define-derived-mode.
17043 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17045 * vc-dispatcher.el (vc-do-command): Return the process object in
17046 the asynchronous case. Use when instead of if. Do not run
17047 vc-exec-after to display a message if not enabled. (Bug#4463)
17049 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17050 properties to the stash strings.
17051 (vc-git-stash-list): Return a list of strings.
17052 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17053 (vc-git-stash-show-at-point): New functions.
17054 (vc-git-stash-map): New keymap.
17056 * register.el (ctl-x-r-map): Define the keys here instead of
17059 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17061 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17062 list, to workaround performance problem (bug#4485).
17064 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17066 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17068 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17070 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17071 Document that this option is not recommended to use.
17073 2009-09-19 Glenn Morris <rgm@gnu.org>
17075 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17078 * calc/calc-alg.el (var):
17079 * calc/calcalg2.el (var): Define for compiler.
17081 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17083 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17084 Doc fix (Bug#3932).
17086 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17088 * time-stamp.el (time-stamp-month-dd-yyyy)
17089 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17090 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17091 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17092 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17093 Remove functions that have been obsolete since 1995 (Bug#4436).
17095 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17096 indent buffer only if called interactively (Bug#4452).
17098 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17099 Eli Zaretskii <eliz@gnu.org>
17101 This fixes bug#4197 (merged to bug#865, though not identical).
17102 * server.el (server-auth-dir): Add docstring note about FAT32.
17103 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17104 but warn against using them.
17106 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17108 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17109 older GDB where there is no has_more field.
17111 2009-09-19 Glenn Morris <rgm@gnu.org>
17113 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17115 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17117 * files.el (auto-mode-alist): Change default for XML files to nXML
17120 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17122 * server.el (server-ensure-safe-dir): Pass 'integer
17123 to `file-attributes', as suggested.
17125 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17127 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17128 (dired-query): Use read-key.
17130 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17132 * cus-start.el (ns-use-qd-smoothing): Remove.
17134 2009-09-18 Glenn Morris <rgm@gnu.org>
17136 * allout.el (top-level): Remove unnecessary progn.
17138 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17140 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17141 definition of abbrev table.
17143 * speedbar.el (speedbar-track-mouse):
17144 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17145 * net/eudc.el (eudc-expand-inline):
17146 * net/newst-backend.el (newsticker--cache-read-feed):
17147 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17148 condition-case handlers.
17150 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17152 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17153 (gdb-var-list): Add an element for has_more field.
17154 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17155 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17156 (gdb-var-update-handler-1): Parse output of dynamic variable
17157 objects (STL containers).
17158 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17159 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17161 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17163 (gud-speedbar-buttons): Make node expandable if expression "has more"
17166 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17168 * startup.el (emacs-quick-startup): Remove variable and all uses.
17169 (command-line): Set `inhibit-x-resources' instead.
17170 (command-line-1): Use `inhibit-x-resources' instead.
17172 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17174 * subr.el: Fix last change to avoid using the `unless' macro,
17175 which breaks bootstrapping.
17177 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17179 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17180 extended definitions, in case we reload subr.el after having
17182 (eval-next-after-load): Mark as obsolete.
17184 2009-09-17 Juri Linkov <juri@jurta.org>
17186 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17187 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17188 (menu-bar-showhide-menu, menu-bar-tools-menu)
17189 (menu-bar-describe-menu, menu-bar-help-menu)
17190 (minibuffer-local-completion-map, minibuffer-local-map):
17193 2009-09-17 Glenn Morris <rgm@gnu.org>
17195 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17196 arguments, whether or not it has a handler.
17198 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17200 * simple.el (hard-newline): Give it a doc-string.
17202 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17203 (lisp-mode-syntax-table): Give them doc-strings.
17205 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17207 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17208 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17209 (menu-bar-options-menu, menu-bar-showhide-menu)
17210 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17211 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17212 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17213 (menu-bar-options-menu, menu-bar-tools-menu)
17214 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17215 (menu-bar-help-menu):
17216 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17219 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17220 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17221 calls for the menu names and :help.
17223 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17225 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17226 to :minor-mode-function (bug#4455).
17228 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17230 * startup.el (command-line): Initialize the window-system after
17231 processing the command-line.
17233 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17234 page-delimiter matches the empty string.
17236 2009-09-16 Glenn Morris <rgm@gnu.org>
17238 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17239 byte-compile-not-obsolete-var. It's a list now.
17240 (byte-compile-not-obsolete-funcs): New variable.
17241 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17242 byte-compile-not-obsolete-funcs.
17243 (byte-compile-variable-ref, byte-compile-defvar): Update for
17244 byte-compile-not-obsolete-vars name-change and list nature.
17245 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17246 and variables behind (f)boundp tests.
17247 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17249 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17251 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17253 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17255 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17256 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17259 2009-09-15 Stephen Eglen <stephen@gnu.org>
17261 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17262 the virtual-buffers, use the name of the buffer specified by
17263 find-file-noselect, as the match may be a symlink. (This was a
17264 problem if the target and the symlink had different names.)
17266 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17268 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17270 * desktop.el (desktop-path): Check user-emacs-directory.
17272 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17274 * loadup.el: Use after-load-functions to GC after loading each file.
17275 Remove the explicit GC calls that used to be sprinkled around.
17277 * subr.el (after-load-functions): New hook.
17278 (do-after-load-evaluation): Run it. Use string-match-p to detect
17279 `obsolete' packages, rather than painfully extracting the relevant
17282 2009-09-15 Glenn Morris <rgm@gnu.org>
17284 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17285 free variable `doc'.
17287 * dired.el (dired-mode-map): Add menu entry for async shell command.
17289 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17290 variables, also consider the .elc files, since the .el files are
17291 normally gzipped (subsequent code locates the .el.gz from the .elc).
17293 * calc/calc-prog.el (arglist): Define for compiler.
17295 * calendar/diary-lib.el (diary-display-function): Change the default to
17297 (body): Define for compiler.
17299 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17300 (byte-compile-file-form, byte-compile-lambda)
17301 (byte-compile-top-level-body, byte-compile-form)
17302 (byte-compile-variable-ref, byte-compile-setq)
17303 (byte-compile-setq-default, byte-compile-body)
17304 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17305 (batch-byte-compile): Give some more local variables with common names
17306 a "bytecomp-" prefix to avoid masking warnings about free variables.
17308 * startup.el (command-line-1): Give local variables with common names a
17309 distinguishing prefix, so as not to hide free variable warnings during
17312 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17313 clever and add a suffix to make a unique name, just let the user decide
17314 whether or not to overwrite it. If the input is a directory, write the
17315 default filename to that directory. (Bug#4388)
17316 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17317 is a filename-as-a-directory.
17319 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17321 * textmodes/page.el (what-page): Don't move to beginning of line.
17322 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17324 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17326 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17328 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17330 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17331 * help.el (help-for-help-internal): Add purecopy calls for text.
17333 * vc.el (top): print-log method now takes an optional SHORTLOG
17334 argument. Add a new method: root.
17335 (vc-root-diff, vc-print-root-log): New functions.
17336 (vc-log-short-style): New variable.
17337 (vc-print-log-internal): Add support for showing short logs.
17339 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17340 vc-print-root-log and vc-print-root-diff.
17342 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17343 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17344 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17347 * vc-cvs.el (vc-cvs-print-log):
17348 * vc-mtn.el (vc-mtn-print-log):
17349 * vc-rcs.el (vc-rcs-print-log):
17350 * vc-sccs.el (vc-sccs-print-log):
17351 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17352 that is ignored for now.
17354 * vc-mtn.el (vc-mtn-annotate-command):
17355 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17357 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17359 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17360 to function-key-map, and give them ascii-character property.
17361 * term/x-win.el (x-alternatives-map):
17362 * term/ns-win.el (ns-alternatives-map):
17363 * term/internal.el (msdos-key-remapping-map):
17364 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17366 2009-09-14 Glenn Morris <rgm@gnu.org>
17368 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17369 temp-buffers (2009-09-12).
17371 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17373 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17374 the new read-key function.
17376 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17378 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17379 is defined (Bug#4405).
17381 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17383 * recentf.el (recentf-cleanup): Use a hash table to find
17384 duplicates (Bug#4407).
17386 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17388 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17389 kp-0 to ascii equivalents (Bug#4325).
17391 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17393 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17395 * eshell/em-hist.el:
17396 * eshell/em-dirs.el (eshell-complete-user-reference):
17397 Declare pcomplete functions and variables to avoid compiler warnings.
17399 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17401 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17402 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17403 * eshell/em-alias.el (eshell-aliases-file):
17404 * eshell/em-hist.el (eshell-history-file-name):
17405 Use expand-file-name instead of concat to make file names (Bug#4308).
17407 2009-09-13 Glenn Morris <rgm@gnu.org>
17409 * ediff-merg.el (ediff-do-merge):
17410 * filesets.el (filesets-run-cmd):
17411 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17412 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17413 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17414 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17415 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17416 Replace empty `let's with `progn'.
17418 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17420 * mail/sendmail.el (send-mail-function):
17421 * tooltip.el (tooltip-mode):
17422 * simple.el (transient-mark-mode):
17423 * rfn-eshadow.el (file-name-shadow-mode):
17424 * frame.el (blink-cursor-mode):
17425 * font-core.el (global-font-lock-mode):
17426 * files.el (temporary-file-directory)
17427 (small-temporary-file-directory, auto-save-file-name-transforms):
17428 * epa-hook.el (auto-encryption-mode):
17429 * composite.el (global-auto-composition-mode):
17430 Use custom-initialize-delay.
17431 * startup.el (command-line): Don't explicitly call
17432 custom-reevaluate-setting for all the above vars.
17433 * custom.el (custom-initialize-safe-set)
17434 (custom-initialize-safe-default): Delete.
17436 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17438 * term/x-win.el (x-initialize-window-system):
17439 * term/w32-win.el (w32-initialize-window-system):
17440 * term/ns-win.el (ns-initialize-window-system): Don't call
17441 mouse-wheel-mode since it's enabled globally by default already.
17443 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17444 actually define the variable, but only silences the byte-compiler.
17445 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17446 before looking it up.
17447 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17450 2009-09-12 Glenn Morris <rgm@gnu.org>
17452 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17454 (elint-add-required-env): Don't beep on error.
17455 (elint-forms): In case of error, return ENV unchanged.
17456 (elint-init-env): Skip non-list forms.
17457 (elint-log): Handle unknown file positions.
17459 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17461 * epg.el (epg-make-context): Add autoload cookie.
17462 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17463 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17464 (epg-verify-string, epg-start-sign, epg-sign-file)
17465 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17466 (epg-encrypt-string, epg-start-export-keys)
17467 (epg-export-keys-to-file, epg-export-keys-to-string)
17468 (epg-start-import-keys, epg-import-keys-from-file)
17469 (epg-import-keys-from-string, epg-start-receive-keys)
17470 (epg-receive-keys, epg-import-keys-from-server)
17471 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17472 (epg-sign-keys, epg-start-generate-key)
17473 (epg-generate-key-from-file, epg-generate-key-from-string):
17474 Remove autoload cookie.
17476 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17478 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17479 reevaluation of trash-directory.
17481 * mwheel.el: Fix last change.
17482 (mouse-wheel-mode): New defvar.
17483 (mouse-wheel-mode): Remove autoload cookie.
17485 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17487 * mwheel.el (mwheel-installed-bindings): New var.
17488 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17489 the bindings we set last time. Use custom-initialize-delay.
17490 * loadup.el: Load mwheel after term/*-win.el.
17491 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17492 and mouse-wheel-up-event now that their first evaluation is done
17493 sufficiently late to be correct.
17495 * startup.el (tutorial-directory): Make it a defcustom.
17496 Use custom-initialize-delay rather than eval-at-startup to set it.
17497 * image.el (image-load-path): Make it a defcustom.
17498 Use custom-initialize-delay rather than eval-at-startup to set it.
17499 * subr.el (eval-at-startup): Remove.
17500 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17502 * subr.el (do-after-load-evaluation): Warn the user after loading an
17505 2009-09-12 Glenn Morris <rgm@gnu.org>
17507 * proced.el (proced-mark-alt): Remove alias.
17508 (proced-mode-map): Remove proced-mark-alt.
17510 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17511 Elint file and directory. Remove initialization entry.
17513 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17515 (elint-current-buffer): Set mode-line-process.
17516 (elint-init-env): Handle define-derived-mode.
17517 Fix declare-function with unspecified arglist. Guard against odd
17518 defalias statements (eg iso-insert's 8859-1-map).
17519 (elint-add-required-env): Use a temp buffer.
17520 (elint-form): Just print the function/macro name, not the whole form.
17521 Return env unchanged if we fail to parse a macro.
17522 (elint-forms): Guard against parse errors.
17523 (elint-output): New function, to handle batch mode.
17524 (elint-log-message): Add optional argument. Use elint-output.
17525 (elint-set-mode-line): New function.
17527 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17529 * emacs-lisp/elp.el (elp-not-profilable): Add more
17530 functions (Bug#4233).
17532 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17534 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17535 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17537 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17539 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17540 (gdb-var-list-children): Use json parsing.
17542 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17544 * progmodes/js.el (js--proper-indentation): Handle the case where
17545 char-before is null. Reported by Deniz Dogan.
17547 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17549 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17551 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17553 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17554 (epg-digest-algorithm-alist): Add SHA224.
17555 (epg-context-set-passphrase-callback)
17556 (epg-context-set-progress-callback): Add description about
17559 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17561 * custom.el (custom-delayed-init-variables): New var.
17562 (custom-initialize-delay): New function.
17563 * startup.el (command-line): "Re"evaluate all vars in
17564 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17565 explicitly any more.
17566 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17567 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17569 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17571 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17573 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17574 (gdb-var-update-handler): Use json parsing.
17576 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17578 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17579 decode annotated text, regardless of language environment. (Bug#2741)
17581 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17583 * Makefile.in (autoloads): Make rmail.el writable as well.
17585 2009-09-11 Glenn Morris <rgm@gnu.org>
17587 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17589 * dired.el: Regenerate with extracted autoloads.
17590 * Makefile.in (autoloads): Make dired.el writable.
17592 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17593 * ibuffer.el: Regenerate with extracted autoloads.
17594 * Makefile.in (autoloads): Make ibuffer.el writable.
17596 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17597 * version.el (emacs-copyright, emacs-major-version)
17598 (emacs-minor-version): Reformat doc-strings for make-docfile.
17600 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17601 functions and variables, since they must be stuff specific to some other
17603 (apropos-print): Make mouse-click message less specific about button.
17605 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17606 that records where a macro was defined.
17607 * help-fns.el (describe-function-1): Mention if a function has a
17609 * help-mode.el (help-function-cmacro): New button.
17611 * locate.el (top-level): Always require dired.
17612 (locate-mode-map): Initialize inside the defvar.
17614 * net/ange-ftp.el (dired-compress-file): Declare.
17615 (ange-ftp-dired-compress-file): Add doc string.
17617 * term/ns-win.el (x-display-name, x-setup-function-keys):
17618 Unify doc-strings with X versions.
17620 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17622 * emulation/crisp.el (crisp-mode-map): Move initialization
17624 (crisp-mode): Use define-minor-mode.
17626 * progmodes/xscheme.el (xscheme-evaluation-commands):
17627 Put a :advertised-binding property rather than using
17628 advertised-xscheme-send-previous-expression.
17629 (advertised-xscheme-send-previous-expression): Declare obsolete.
17630 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17632 (crisp-mode): Add corresponding bindings to
17633 undo's :advertised-binding instead.
17634 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17635 than using dired-advertised-find-file.
17636 (dired-advertised-find-file):
17637 * simple.el (advertised-undo):
17638 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17639 (widget-keymap): Put a :advertised-binding property rather
17640 than using advertised-widget-backward.
17641 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17642 than using advertised-undo.
17643 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17645 2009-09-10 Simon South <ssouth@slowcomputing.org>
17647 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17648 Mark mode is enabled and region is active; otherwise indent or
17649 insert TAB as usual.
17650 (delphi-mode): Update description of TAB-key binding.
17652 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17654 * subr.el (define-key-rebound-commands): Mark obsolete.
17655 * startup.el (precompute-menubar-bindings): Remove.
17656 (normal-top-level): Remove obsolete code that tried to precompute
17658 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17659 define-key-rebound-commands and precompute-menubar-bindings.
17661 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17663 * net/imap.el (imap-interactive-login): Better messages.
17664 (imap-open): Fix bug with renamed buffer on reconnect.
17665 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17666 for easier debugging and cleaner code. On successful (guessed based on
17667 server capabilities) secondary authentication, set imap-state
17669 (imap-last-authenticator): Define imap-last-authenticator as a variable
17672 2009-09-10 Glenn Morris <rgm@gnu.org>
17674 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17676 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17677 (byte-compile-file-form-autoload): Don't warn about unknown functions
17678 where the autoload statement comes after the use.
17679 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17680 that any handlers inside the body (eg require) are in turn respected.
17682 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17685 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17686 and syntax and abbrev tables basic docs, if they don't have any.
17688 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17690 * international/mule-cmds.el (top-level): Require cl when compiling.
17691 (view-hello-file): Use default-value rather than
17692 default-enable-multibyte-characters.
17694 * progmodes/fortran.el: Move all safe and risky properties into the
17697 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17698 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17699 * mail/undigest.el:
17700 Put autoloads in rmail.el rather than loaddefs.el.
17701 * mail/rmail.el: Regenerate with extracted autoloads.
17703 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17704 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17706 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17708 Reported in thread for Bug#4375.
17709 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17710 "-data-evaluate-expression" instead of print.
17711 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17712 (gdb-tooltip-print): Parse output from above MI command.
17713 (gdb): Revert 2009-08-11 change. User should detach inferior
17716 Remove the word "separate" from IO functions as inferior
17717 output is now never displayed in the GUD buffer.
17719 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17721 * startup.el (command-line-normalize-file-name): On Windows and
17722 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17724 2009-09-10 Juri Linkov <juri@jurta.org>
17726 * isearch.el (isearch-text-char-description): Propertize escape
17727 character sequences with the `escape-glyph' face. (Bug#4344)
17729 * simple.el (shell-command): Set asynchronous process filter to
17730 `comint-output-filter'. (Bug#4343)
17732 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17733 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17734 the list. Move "asm" to the bottom.
17735 (grep-find-ignored-directories): Add `choice' with nil value
17736 to empty the list easily.
17737 (grep-find-ignored-files): New option.
17738 (grep-files-history): Set to nil by default instead of '("ch" "el").
17739 (grep-compute-defaults): Add "<X>" to `grep-template'.
17740 (grep-read-files): Bind new local variables `default-alias' and
17741 `default-extension'. Use a list of default values for the file prompt.
17742 (lgrep): Add `--exclude=' command line options composed from
17743 `grep-find-ignored-files'.
17744 (rgrep): Add `-name' command line options composed from
17745 `grep-find-ignored-files'. (Bug#4301)
17747 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17749 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17752 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17754 * calendar/time-date.el (autoload):
17755 Expand define-obsolete-function-alias into defalias and make-obsolete
17756 for old Emacsen that Gnus supports.
17757 (with-no-warnings): Define it for old Emacsen.
17758 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17760 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17761 float-time is available; suppress compile warning for time-to-seconds.
17763 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17765 * net/imap.el (imap-message-map): Docstring fix.
17767 2009-09-09 Glenn Morris <rgm@gnu.org>
17769 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17770 line numbers too. (Bug#4374)
17772 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17774 * smerge-mode.el (smerge-remove-props, smerge-refine):
17775 Use with-silent-modifications (bug#4342).
17777 * subr.el (with-silent-modifications): New macro.
17779 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17781 * files.el (top-level): Require `cl' when compiling.
17783 2009-09-07 Glenn Morris <rgm@gnu.org>
17785 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17787 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17788 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17790 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17792 * vc-git.el (vc-git-annotate-command): Use separator to parse
17793 arguments correctly.
17795 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17797 * proced.el (proced-mode): Doc fix.
17799 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17801 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17803 (tramp-do-file-attributes-with-ls): Check for file existence at
17805 (tramp-do-file-attributes-with-stat): Likewise.
17806 (tramp-convert-file-attributes): Return nil when attr is nil.
17808 2009-09-05 Glenn Morris <rgm@gnu.org>
17810 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17811 properties to this button.
17812 (diary-fancy-display): Don't extend the button to the final newline.
17813 (diary-fancy-display-mode): Continue to define "q" as a local key.
17815 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17818 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17820 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17821 (byte-compile-dest-file-function): New option.
17822 (byte-compile-dest-file): Doc fix.
17823 Obey byte-compile-dest-file-function.
17824 (byte-compile-cl-file-p): New function.
17825 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17826 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17827 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17828 than for file being previously loaded.
17829 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17830 (byte-compile-file-form-require): Handle the case where requiring a file
17831 indirectly causes CL to be loaded.
17833 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17835 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17836 before killing the old buffer, since by the time `kill-buffer' is
17837 run so many buffer variables have been set to nil that it may not
17838 behave as expected. (Bug#4061)
17840 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17842 * files.el (find-alternate-file): If the old buffer is modified
17843 and visiting a file, behave similarly to `kill-buffer' when
17844 killing it, thus reverting to the pre-1.878 behavior; see
17845 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17846 for discussion. Also, consult `buffer-file-name' as a variable
17847 not as a function, for consistency with the rest of the code.
17849 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17851 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17852 also when adding a new directory.
17854 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17857 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17859 * files.el (locate-file-completion-table): Make it provide boundary
17860 information, so partial-completion works better.
17862 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17864 * mail/footnote.el (Footnote-text-under-cursor):
17865 Check footnote-text-marker-alist before using it (bug#4324).
17867 2009-09-04 Glenn Morris <rgm@gnu.org>
17869 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17870 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17871 * play/solitaire.el, play/tetris.el:
17872 Remove leading * from defcustom and defface docs.
17874 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17876 (diary-fancy-overriding-map): New variable.
17877 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17880 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17883 2009-09-03 Glenn Morris <rgm@gnu.org>
17885 * arc-mode.el (archive-mode):
17886 * dos-fns.el (set-default-process-coding-system):
17887 * man.el (Man-getpage-in-background):
17888 * menu-bar.el (menu-bar-describe-menu):
17889 * server.el (server-process-filter):
17890 * startup.el (command-line):
17891 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17892 * w32-fns.el (set-default-process-coding-system):
17893 * x-dnd.el (x-dnd-handle-file-name):
17894 * international/mule-cmds.el (mule-menu-keymap)
17895 (set-default-coding-systems, language-info-alist, set-language-info)
17896 (set-language-environment, standard-display-european-internal)
17897 (set-locale-environment):
17898 * international/mule-diag.el (mule-diag):
17899 * mail/emacsbug.el (report-emacs-bug):
17900 * mail/rmail.el (rmail-mode):
17901 * mail/sendmail.el (mail-setup):
17902 Use default-value rather than default-enable-multibyte-characters.
17904 * progmodes/f90.el: Move all safe properties into the defcustoms.
17905 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17907 * calendar/appt.el (appt-check):
17908 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17909 (diary-check-diary-file, diary-list-entries)
17910 (diary-include-other-diary-files, diary-simple-display)
17911 (diary-fancy-display, diary-print-entries)
17912 (diary-mark-included-diary-files, diary-make-entry):
17913 Don't call substitute-in-file-name on diary-file.
17915 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17916 Stefan Monnier <monnier@iro.umontreal.ca>
17918 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17919 (footnote-mode-map): Move initialization into the declaration.
17920 (footnote-minor-mode-map): Define it rather than changing global-map.
17921 (footnote-mode): Use define-minor-mode.
17923 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17925 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17926 (tramp-do-file-attributes-with-perl)
17927 (tramp-do-file-attributes-with-stat): Rename from
17928 `tramp-handle-file-attributes-with-*'.
17929 (tramp-handle-file-attributes): Use them.
17930 (tramp-do-directory-files-and-attributes-with-perl)
17931 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17932 `tramp-handle-directory-files-and-attributes-with-*'.
17933 (tramp-handle-directory-files-and-attributes): Use them.
17934 (tramp-method-out-of-band-p): Additional parameter SIZE.
17935 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17936 (tramp-handle-write-region): Use it.
17937 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17938 (tramp-handle-vc-registered): Check, whether the first run did
17939 return files to be tested.
17940 (tramp-advice-make-auto-save-file-name): Do not call directly
17941 `tramp-handle-make-auto-save-file-name', because this would bypass
17942 the locking mechanism.
17944 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17945 (file-remote-p, process-file, start-file-process, set-file-times)
17946 (tramp-compat-file-attributes): Compatibility functions shall not
17947 call directly `tramp-handle-*', because this would bypass the
17949 (tramp-compat-number-sequence): New defun.
17951 2009-09-02 Glenn Morris <rgm@gnu.org>
17953 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17954 alias for float-time.
17955 (time-to-number-of-days): In Emacs, use float-time.
17956 * net/newst-backend.el (time-add): Suppress warnings from compat
17958 * time.el (emacs-uptime, emacs-init-time):
17959 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17960 Use float-time rather than time-to-seconds.
17962 * minibuffer.el (completion-initials-expand): Fix typo.
17964 * faces.el (modeline, modeline-inactive, modeline-highlight)
17965 (modeline-buffer-id):
17966 * info.el (info-menu-5): Mark these face aliases as obsolete.
17968 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17970 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17972 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17973 no "--thread" option.
17974 (gdb-stopped): Don't print "Switched to thread" message when it is
17977 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17979 * minibuffer.el (completion-try-completion)
17980 (completion-all-completions): Remove ill-defined (and
17981 mistakenly installed and luckily never used nor documented)
17982 `completion-styles' property.
17983 (completion-initials-expand, completion-initials-all-completions)
17984 (completion-initials-try-completion): New functions.
17985 (completion-styles-alist): Add doc to each entry.
17986 Add new `initials' entry.
17988 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17990 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17991 MI command -var-evaluate-expression.
17992 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17993 and tweak for case of string child.
17994 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17996 2009-09-01 Glenn Morris <rgm@gnu.org>
17998 * add-log.el (change-log-date-face, change-log-name-face)
17999 (change-log-email-face, change-log-file-face, change-log-list-face)
18000 (change-log-conditionals-face, change-log-function-face)
18001 (change-log-acknowledgement-face):
18002 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18003 (custom-modified-face, custom-set-face, custom-changed-face)
18004 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18005 (custom-documentation-face, custom-state-face, custom-comment-face)
18006 (custom-comment-tag-face, custom-variable-tag-face)
18007 (custom-variable-button-face, custom-face-tag-face)
18008 (custom-group-tag-face-1, custom-group-tag-face):
18009 * diff-mode.el (diff-header-face, diff-file-header-face)
18010 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18011 (diff-added-face, diff-changed-face, diff-function-face)
18012 (diff-context-face, diff-nonexistent-face):
18013 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18014 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18015 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18016 (Info-title-4-face):
18017 * isearch.el (isearch-lazy-highlight-face):
18018 * log-view.el (log-view-file-face, log-view-message-face):
18019 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18020 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18021 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18023 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18024 (smerge-base-face, smerge-markers-face):
18025 * wid-edit.el (widget-documentation-face, widget-button-face)
18026 (widget-field-face, widget-single-line-field-face)
18027 (widget-inactive-face, widget-button-pressed-face):
18028 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18029 (woman-addition-face):
18030 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18031 (eshell-ls-executable-face, eshell-ls-readonly-face)
18032 (eshell-ls-unreadable-face, eshell-ls-special-face)
18033 (eshell-ls-missing-face, eshell-ls-archive-face)
18034 (eshell-ls-backup-face, eshell-ls-product-face)
18035 (eshell-ls-clutter-face):
18036 * eshell/em-prompt.el (eshell-prompt-face):
18037 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18038 * obsolete/old-whitespace.el (whitespace-highlight-face):
18039 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18040 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18041 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18042 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18043 (antlr-font-lock-literal-face):
18044 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18045 (ebrowse-root-class-face, ebrowse-file-name-face)
18046 (ebrowse-default-face, ebrowse-member-attribute-face)
18047 (ebrowse-member-class-face, ebrowse-progress-face):
18048 * progmodes/make-mode.el (makefile-space-face):
18049 * progmodes/sh-script.el (sh-heredoc-face):
18050 * textmodes/flyspell.el (flyspell-incorrect-face)
18051 (flyspell-duplicate-face):
18052 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18053 * textmodes/texinfo.el (texinfo-heading-face):
18054 Mark face aliases with "-face" suffix as obsolete.
18056 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18059 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18060 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18061 easy-menu-define wants to modify these.
18063 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18065 * net/browse-url.el (browse-url-file-url):
18066 * term/internal.el (dos-codepage-setup):
18067 Use default-value rather than default-enable-multibyte-characters.
18069 * progmodes/etags.el (etags-goto-tag-location):
18070 * progmodes/flymake.el (flymake-highlight-line)
18071 (flymake-goto-file-and-line, flymake-goto-line):
18072 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18073 (gdb-goto-breakpoint):
18074 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18075 * progmodes/python.el (python-find-function)
18076 (python-pdbtrack-track-stack-file):
18077 * progmodes/verilog-mode.el (verilog-surelint-off):
18078 * term/ns-win.el (ns-open-file-select-line):
18079 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18080 Use forward-line rather than goto-line.
18082 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18083 * textmodes/reftex-index.el (reftex-display-index):
18084 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18085 * textmodes/reftex-toc.el (reftex-toc):
18086 Remove unnecessary bindings of default-major-mode (all are followed by
18087 major-mode check and possible mode switch).
18089 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18091 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18092 Handle watchpoints (bug#4282).
18093 (def-gdb-thread-buffer-command): Enable thread to be selected by
18094 clicking without selecting threads buffer first.
18095 (gdb-current-context-command): Use selected frame so that "up",
18096 "down" etc work in the GUD buffer.
18097 (gdb-update): Find selected frame before rendering stack buffer.
18098 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18100 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18102 * progmodes/sym-comp.el (displayed-completions): Remove.
18103 (symbol-complete): Use minibuffer-complete.
18105 2009-08-31 Glenn Morris <rgm@gnu.org>
18107 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18109 * apropos.el (apropos-symbols-internal):
18110 Handle (obsolete) face aliases.
18112 * faces.el (describe-face): Adjust the output format to be more like
18113 describe-variable, and to mention (obsolete) face aliases.
18114 Adjust the whitespace so that help-setup-xref works.
18116 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18117 * calendar/diary-lib.el (diary-button-face):
18118 Mark these face aliases as obsolete.
18120 * calendar/calendar.el (calendar-today): Doc fix.
18122 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18124 * progmodes/gdb-mi.el (gdb-control-all-threads)
18125 (gdb-control-current-thread): Force tool bar update.
18126 (gdb-non-stop-handler): New function.
18127 (gdb-init-1): Use it to test if non-stop mode is supported.
18128 Remove unused gdbmi buffer type.
18130 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18132 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18133 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18135 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18137 * comint.el (comint-exec-1): Check command is non-null first.
18138 Part of gdb-mi.el change (2009-08-28).
18140 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18142 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18144 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18146 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18147 instead of `dolist' to avoid a recursive require when bootstrapping.
18149 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18151 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18153 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18155 * net/imap.el (imap-send-command): Simplify.
18156 (imap-wait-for-tag): point-max -> buffer-size.
18158 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18160 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18161 with constant argument.
18163 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18165 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18167 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18168 Change default, since most of our files don't have a history.
18169 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18172 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18175 * calc/calc.el: Improve commenting convention.
18176 (calc-digit-map, toplevel): Simplify.
18178 * comint.el (comint-insert-input): Be careful to only set point if we
18179 don't delegate to some other command.
18181 * proced.el (proced-signal-list): Make it an alist.
18182 (proced-grammar-alist): Capitalize names.
18183 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18184 Disable undo manually and make it read-only.
18185 Use completion-annotate-function.
18187 * minibuffer.el (minibuffer-message): If the current buffer is not
18188 a minibuffer, insert the message in the echo area rather than at the
18190 (completion-annotate-function): New variable.
18191 (minibuffer-completion-help): Use it.
18192 (completion--embedded-envvar-table): Environment vars are
18193 always case-sensitive.
18195 2009-08-30 Glenn Morris <rgm@gnu.org>
18197 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18198 from fortran-current-defun.
18199 (fortran-beginning-of-subprogram): Be more precise about finding the
18200 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18201 (fortran-end-of-subprogram): Simplify.
18202 (fortran-current-defun): Use fortran-start-prog-re.
18204 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18206 * subr.el (do-after-load-evaluation): Simplify.
18208 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18210 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18212 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18213 (vc-rcs-print-log): Use it.
18215 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18217 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18219 * paths.el (abbrev-file-name): Move to abbrev.el.
18220 * abbrev.el (abbrev-file-name): Move from paths.el.
18221 Obey user-emacs-directory.
18222 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18223 user-emacs-directory.
18224 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18225 abbrev-file-name and calc-settings-file any more.
18226 * startup.el (command-line): Recompute abbrev-file-name and
18227 abbreviated-home-dir.
18228 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18229 of the special code for when C-h bindings haven't been changed.
18230 (display-startup-echo-area-message): Use with-current-buffer.
18231 (command-line-1): Use a list of strings, rather than a list of lists
18232 of strings for longopts.
18234 * files.el (get-free-disk-space): Use / for default-directory.
18236 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18237 Use with-current-buffer.
18239 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18240 Recognize immutable variables like most-positive-fixnum.
18241 (byte-compile-setq-default): Check and warn if trying to assign
18242 to an immutable variable, or a non-variable.
18244 * progmodes/cc-vars.el (c-comment-continuation-stars):
18245 * progmodes/cc-engine.el (c-looking-at-bos):
18246 * progmodes/cc-cmds.el (c-toggle-auto-state)
18247 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18248 (c-comment-line-break-function): Add version of obsolescence.
18250 2009-08-28 Juri Linkov <juri@jurta.org>
18252 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18253 associated with `archive-mode'.
18255 * image.el (image-type-header-regexps): Use only JPEG magic number
18256 to determine JPEG images, and don't use `image-jpeg-p' because
18257 Emacs can display non-JFIF non-Exif JPEG images.
18259 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18261 * arc-mode.el (archive-mode):
18262 * emacs-lisp/re-builder.el (re-builder-unload-function):
18263 Protect against the default value of `major-mode' being nil.
18265 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18267 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18268 Fix typos in docstrings.
18270 * progmodes/js.el (js--macro-decl-re): Doc fix.
18271 (js--plain-method-re, js--split-name): Refloc docstring.
18272 (js--class-styles, js--make-merged-item, js--splice-into-items):
18273 Fix typos in docstrings; reflow docstrings.
18274 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18275 (js--variable-decl-matcher, js--inside-pitem-p)
18276 (js--parse-state-at-point, js--get-all-known-symbols)
18277 (js--symbol-history, js-find-symbol, js--js-references)
18278 (js--moz-interactor, js--js-encode-value, js--read-tab):
18279 Fix typos in docstrings.
18281 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18283 * textmodes/reftex.el (reftex-get-file-buffer-force):
18284 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18285 * emulation/viper.el (viper-go-away, viper-set-hooks):
18286 * emacs-lisp/re-builder.el (re-builder-unload-function):
18287 * emacs-lisp/bytecomp.el (byte-compile-file):
18288 * ses.el (ses-unload-function):
18289 * hexl.el (hexl-find-file):
18290 * files.el (normal-mode):
18291 * ehelp.el (with-electric-help):
18292 * autoinsert.el (auto-insert-alist):
18293 * arc-mode.el (archive-mode):
18294 Use (default-value 'major-mode) instead of default-major-mode.
18296 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18297 * international/mule.el (load-with-code-conversion):
18298 * emacs-lisp/debug.el (debug):
18299 * ediff-vers.el (ediff-rcs-get-output-buffer):
18300 * dired.el (dired-internal-noselect): Don't let-bind
18301 default-major-mode around code that doesn't use it.
18302 E.g. buffer creation via get-buffer-create doesn't use it.
18304 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18306 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18307 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18308 when writing the temp file. Otherwise, epa-file gets confused.
18309 (tramp-register-file-name-handlers): Make it a defun. Move also
18310 `epa-file-handler' to the front of `file-name-handler-alist'.
18312 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18314 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18315 start right after a ^M.
18316 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18317 (tramp-completion-file-name-regexp-separate)
18318 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18319 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18320 Don't modify last-coding-system-used by accident.
18321 (tramp-completion-file-name-handler): Apply the checks here,
18322 instead during registration.
18323 (tramp-register-file-name-handlers): Rename from
18324 `tramp-register-file-name-handler'. Register both
18325 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18326 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18328 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18330 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18331 Remove variable ...
18332 (gdb-init-1, gdb-display-separate-io-buffer)
18333 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18335 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18336 (gdb-inferior-filter): Use comint-output-filter to stop
18337 echoing and remove ^M characters.
18339 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18341 * emulation/viper-init.el (viper-restore-cursor-type):
18342 * emulation/cua-base.el (cua--update-indications):
18343 Replace default-cursor-type with (default-value 'cursor-type).
18345 * mail/sendmail.el (mail-recover-1):
18346 * international/mule-diag.el (describe-current-coding-system-briefly)
18347 (describe-current-coding-system):
18348 * international/mule-cmds.el (select-safe-coding-system)
18349 (select-message-coding-system)
18350 (set-language-environment-coding-systems, set-locale-environment):
18351 * hexl.el (hexl-insert-multibyte-char):
18352 * dos-w32.el (find-buffer-file-type-coding-system):
18353 * simple.el (what-cursor-position):
18354 Replace uses of default-buffer-file-coding-system
18355 with (default-value 'buffer-file-coding-system).
18357 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18358 Replace uses of default-cursor-in-non-selected-windows
18359 with (default-value 'cursor-in-non-selected-windows).
18360 Use with-current-buffer.
18362 * mail/feedmail.el: Use CL macros.
18363 (feedmail-run-the-queue, feedmail-send-it-immediately):
18364 * dos-w32.el (find-buffer-file-type): Replace uses of
18365 default-buffer-file-type with (default-value 'buffer-file-type).
18367 2009-08-28 Glenn Morris <rgm@gnu.org>
18369 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18370 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18371 Use default-value of major-mode rather than default-major-mode.
18373 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18375 * Makefile.in (update-elcfiles): Report left over elc files.
18377 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18378 expand-file-name and with-current-buffer.
18379 (mail-get-names, mail-directory): Use with-current-buffer.
18381 * vc.el (vc-read-revision): New function.
18382 (vc-version-diff, vc-merge): Use it.
18384 2009-08-27 Sam Steingold <sds@gnu.org>
18386 * simple.el (kill-do-not-save-duplicates): New user option.
18387 (kill-new): When it is non-nil, and the new string is the same as
18388 the latest kill, set replace to t to avoid duplicates in kill-ring.
18390 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18392 * net/tramp.el (tramp-handle-process-file): Do not flush all
18393 caches when `process-file-side-effects' is set.
18394 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18395 instead of `tramp-find-file-exists-command'.
18396 Unset `process-file-side-effects'.
18398 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18400 * net/tramp.el (tramp-methods): New method "rsyncc".
18401 (top): Add completion function for "rsyncc".
18402 (tramp-message-show-message): New defvar.
18403 (tramp-message, tramp-error): Use it.
18404 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18406 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18407 `tramp-methods' entry `copy-env' of "rsyncc".
18408 (tramp-vc-registered-read-file-names): New defconst.
18409 (tramp-vc-registered-file-names): New defvar.
18410 (tramp-handle-vc-registered): Implement optimization strategy.
18411 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18412 (tramp-vc-file-name-handler): New defun.
18413 (tramp-get-ls-command, tramp-get-test-command)
18414 (tramp-get-file-exists-command, tramp-get-remote-ln)
18415 (tramp-get-remote-perl, tramp-get-remote-stat)
18416 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18418 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18419 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18421 (tramp-get-file-property): Check for timestamps in
18422 `tramp-cache-inhibit-cache'.
18423 (tramp-set-file-property): Write timestamp.
18425 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18427 * language/japan-util.el (japanese-symbol-table): Add entries for
18430 * international/characters.el: Add category `j' to cp932-2-byte.
18432 2009-08-27 Kenichi Handa <handa@m17n.org>
18434 * international/fontset.el (build-default-fontset-data): New macro.
18435 (setup-default-fontset): Use build-default-fontset-data for CJK,
18436 tibetan, ethiopic, and ipa.
18438 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18440 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18441 (enable-multibyte-characters): Not customizable any more.
18443 * subr.el (default-mode-line-format, default-header-line-format)
18444 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18445 (default-direction-reversed, default-truncate-lines)
18446 (default-left-margin, default-tab-width, default-case-fold-search)
18447 (default-left-margin-width, default-right-margin-width)
18448 (default-left-fringe-width, default-right-fringe-width)
18449 (default-fringes-outside-margins, default-scroll-bar-width)
18450 (default-vertical-scroll-bar, default-indicate-empty-lines)
18451 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18452 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18453 (default-scroll-down-aggressively, default-fill-column)
18454 (default-cursor-type, default-buffer-file-type)
18455 (default-cursor-in-non-selected-windows)
18456 (default-buffer-file-coding-system, default-major-mode)
18457 (default-enable-multibyte-characters): Mark as obsolete.
18459 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18461 * vc-dir.el (vc-dir-update): Remove debug helper.
18463 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18465 2009-08-26 Sam Steingold <sds@gnu.org>
18467 * simple.el (save-interprogram-paste-before-kill): New user option.
18468 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18469 save the interprogram-paste into kill-ring before overriding it
18470 with the Emacs kill.
18472 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18474 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18475 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18476 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18477 and move to vc-rcs.el.
18478 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18480 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18481 (vc-rcs-update-changelog): Remove.
18482 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18483 and move to vc-rcs.el.
18485 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18486 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18488 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18489 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18490 vc.el, renamed to be RCS specific.
18492 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18494 (vc-cvs-update-changelog): Move here from vc.el.
18496 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18499 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18501 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18503 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18505 * vc-git.el (vc-git-register): Use "git add" for directories.
18506 (vc-git-stash, vc-git-stash-show): New functions.
18507 (vc-git-extra-menu-map): Bind them.
18509 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18510 directory correctly in case the item is a directory itself.
18512 * vc.el: Document the desired behavior for reverted files in the
18514 (vc-default-prettify-state-info): Remove function, unused.
18516 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18518 2009-08-26 Glenn Morris <rgm@gnu.org>
18520 * bindings.el (standard-mode-line-format): Reposition dashes in
18521 which-func entry. (Bug#4217)
18523 * files.el (enable-local-variables, enable-local-eval)
18524 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18526 (auto-mode-alist, ignored-local-variables)
18527 (save-some-buffers-action-alist): Move risky declarations to the
18529 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18530 (font-lock-defaults, format-alist, imenu--index-alist)
18531 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18532 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18533 (mode-line-modified, mode-line-mule-info, mode-line-position)
18534 (mode-line-process, mode-line-remote, outline-level)
18535 (parse-time-rules, rmail-output-file-alist)
18536 (special-display-buffer-names, vc-mode):
18537 Move risky declarations to the relevant files.
18538 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18539 (mode-line-modified, mode-line-process, mode-line-position)
18540 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18541 * font-core.el (font-lock-defaults):
18542 * format.el (format-alist):
18543 * vc-hooks.el (vc-mode):
18544 * window.el (special-display-buffer-names):
18545 * international/mule-cmds.el (input-method-alist):
18546 Define riskiness here (dumped file) rather than in files.el.
18547 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18548 * imenu.el (imenu-generic-expression, imenu--index-alist):
18549 * outline.el (outline-level):
18550 * time.el (display-time-string):
18551 * calendar/parse-time.el (parse-time-rules):
18552 * mail/rmailout.el (rmail-output-file-alist):
18553 Autoload riskiness here, rather than placing in files.el.
18555 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18557 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18559 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18561 * simple.el (process-file-side-effects): New defvar.
18563 * dired-aux.el (dired-show-file-type):
18564 * vc.el (vc-diff-internal):
18565 * vc-arch.el (vc-arch-diff):
18566 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18567 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18568 * vc-git.el (vc-git-registered, vc-git-working-revision)
18569 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18570 (vc-git--empty-db-p):
18571 * vc-hooks.el (vc-user-login-name):
18572 * vc-svn.el (vc-svn-registered, vc-svn-state)
18573 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18574 * progmodes/grep.el (grep-probe): Let-bind
18575 `process-file-side-effects' with nil.
18577 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18579 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18580 daemon. Replace ping by checking for running service for bluez
18581 and zeroconf. (Bug#4239)
18583 2009-08-25 Kevin Ryde <user42@zip.com.au>
18585 * net/dig.el (dig): Add autoload cookie.
18587 2009-08-25 Glenn Morris <rgm@gnu.org>
18589 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18590 load-history for absolute file-names.
18591 (byte-compile-file-form-require): Warn about use of the cl package.
18593 * format.el (format-alist): Doc fix.
18595 * play/bubbles.el (top-level): Don't require cl at run-time.
18597 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18600 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18602 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18604 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18606 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18608 * calc/calc-alg.el (math-trig-rewrite)
18609 (math-hyperbolic-trig-rewrite): New functions.
18610 (calc-simplify): Simplify trig functions when asked.
18612 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18614 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18616 2009-08-24 Kenichi Handa <handa@m17n.org>
18618 * language/ind-util.el (mapthread): Delete it.
18619 (combinatorial): New function.
18620 (indian--puthash-cv): Use combinatorial instead of mapthread.
18622 2009-08-22 Kevin Ryde <user42@zip.com.au>
18624 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18625 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18626 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18627 Clarify docstring that the value is strings not symbols.
18628 (checkdoc-list-of-strings-p): New function.
18630 2009-08-22 Glenn Morris <rgm@gnu.org>
18632 * files.el (auto-mode-alist):
18633 * hippie-exp.el (he-concat-directory-file-name):
18634 * lpr.el (lpr-windows-system, printer-name):
18635 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18636 * ps-print.el (ps-windows-system):
18637 * startup.el (command-line):
18638 * emulation/viper-ex.el (viper-glob-function):
18639 * international/mule-cmds.el (set-language-environment-coding-systems):
18640 * net/ange-ftp.el (ange-ftp-write-region):
18641 * obsolete/fast-lock.el (fast-lock-cache-name):
18642 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18643 unisoft-unix, vax-vms, win32, w32.
18645 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18646 given name if the pattern is not more specific.
18648 * calendar/lunar.el (lunar-phase-names): New option.
18649 (lunar-phase): Doc fix.
18650 (lunar-cycles-per-year): New constant.
18651 (lunar-index): New function.
18652 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18653 (lunar-phase-name): Use lunar-phase-names.
18654 (calendar-lunar-phases): Use format.
18655 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18657 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18658 Copy imenu-example--name-and-position function here for own use.
18659 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18661 * bs.el (bs--redisplay):
18662 * cus-edit.el (custom-redraw):
18663 * ibuffer.el (ibuffer-bury-buffer):
18664 * server.el (server-goto-line-column):
18665 * startup.el (command-line-1):
18666 * strokes.el (strokes-xpm-for-stroke):
18667 * term.el (term-display-buffer-line):
18668 * view.el (View-goto-line):
18669 * calc/calc.el (calc-do, calc-trail-buffer):
18670 * play/gamegrid.el (gamegrid-add-score-insecure):
18671 * progmodes/ada-mode.el (ada-compile-goto-error):
18672 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18673 (ebrowse-select-1st-to-9nth):
18674 * progmodes/cperl-mode.el (cperl-time-fontification):
18675 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18676 * progmodes/gud.el (gud-display-line):
18677 (idlwave-shell-display-line):
18678 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18679 * progmodes/make-mode.el (makefile-browser-toggle):
18680 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18681 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18682 * textmodes/picture.el (picture-draw-rectangle):
18683 * textmodes/reftex-index.el (reftex-index-goto-letter):
18684 (reftex-select-jump-to-previous):
18685 * textmodes/reftex-sel.el (reftex-find-start-point)
18686 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18687 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18688 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18689 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18690 * textmodes/two-column.el (2C-associated-buffer):
18691 Use forward-line rather than goto-line.
18693 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18696 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18697 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18698 (quick-check-list-to-regexp): Declare.
18700 * progmodes/make-mode.el (makefile-browser-insert-selection):
18701 Use goto-char rather than goto-line.
18703 * progmodes/prolog.el (compilation-error-regexp-alist)
18704 (compilation-forget-errors): Declare.
18706 2009-08-22 Juri Linkov <juri@jurta.org>
18708 * progmodes/grep.el (lgrep, rgrep): At the beginning
18709 set `dir' to `default-directory' unless `dir' is a non-nil
18710 readable directory. (Bug#4052)
18711 (lgrep, rgrep): Change a weird way to report an error
18712 from using `read-string' to using `error'.
18713 Instead of using interactive arguments in the function body,
18714 add new argument `confirm'.
18716 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18718 * textmodes/remember.el (remember-buffer):
18719 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18720 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18721 (icalendar-extract-ical-from-buffer):
18722 * net/newst-treeview.el (newsticker-groups-filename):
18723 * net/newst-backend.el (newsticker-cache-filename):
18724 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18725 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18726 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18727 (speedbar-buffers-line-path, speedbar-path-line)
18728 (speedbar-buffers-line-path):
18729 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18731 * epa.el (epa-display-verify-result):
18732 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18734 2009-08-21 Glenn Morris <rgm@gnu.org>
18736 * progmodes/js.el (inferior-moz-process): Fix declaration.
18738 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18740 * obsolete/rnewspost.el (news-mail-reply):
18741 Use goto-char rather than goto-line.
18743 * term/ns-win.el (ns-open-file-select-line):
18744 Use line-beginning-position rather than goto-line.
18746 * apropos.el (apropos-command):
18747 * ehelp.el (electric-helpify):
18748 * printing.el (pr-show-setup):
18749 * strokes.el (strokes-help):
18750 * tutorial.el (tutorial--describe-nonstandard-key)
18751 (tutorial--detailed-help):
18752 * woman.el (woman-mini-help, woman-display-extended-fonts):
18753 * calc/calc-help.el (calc-describe-key):
18754 * emulation/edt.el (edt-electric-helpify):
18755 * international/mule-diag.el (mule-diag):
18756 * play/yow.el (apropos-zippy):
18757 * progmodes/python.el (python-describe-symbol):
18758 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18759 * textmodes/table.el (*table--cell-describe-mode)
18760 (*table--cell-describe-bindings):
18761 Use help-print-return-message rather than the now obsolete alias.
18763 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18764 (calendar-cursor-to-visible-date):
18765 * play/5x5.el (5x5-position-cursor):
18766 * play/decipher.el (decipher):
18767 * play/gomoku.el (gomoku-goto-xy):
18768 * play/landmark.el (lm-goto-xy):
18769 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18770 (mpuz-paint-digit):
18771 Use forward-line, not goto-line.
18773 * mail/rmail.el (rmail-obsolete): Delete custom group.
18774 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18775 (rmail-remote-password, rmail-remote-password-required):
18776 Remove unneeded :set-after and :set properties.
18778 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18780 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18782 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18784 * loadup.el: Remove leftover macos code.
18786 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18787 Explicitly pass the date format to git blame so that user local
18788 so that the output format can be parsed.
18790 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18792 * net/dbus.el (top): Don't check for (getenv
18793 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18795 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18797 * log-edit.el (log-edit-strip-single-file-name): New var.
18798 (log-edit-insert-changelog): Use it. Bug#3571
18800 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18802 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18805 * help.el (help-print-return-message): Rename from
18806 print-help-return-message.
18808 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18809 cvs-mode-map parent hack.
18810 (log-view-mode): Derive from special-mode.
18812 * linum.el (linum-mode): window-size-change-functions is redundant.
18813 Adapt to new window-configuration-change-hook behavior.
18814 (linum-after-size, linum-after-config): Remove.
18816 * imenu.el (imenu-example--name-and-position)
18817 (imenu-example--lisp-extract-index-name)
18818 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18821 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18822 (inferior-prolog-mode): Use it.
18823 (inferior-prolog-load-file): Reset list of errors.
18825 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18827 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18829 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18831 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18833 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18834 is running already.
18836 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18838 * subr.el (listify-key-sequence-1): Use normal syntax since those
18839 integers are nowadays always represented by the same (positive) number
18841 (read-key-empty-map): New const.
18842 (read-key-delay): New var.
18843 (read-key): New function.
18844 (force-mode-line-update): Use with-current-buffer.
18845 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18846 (start-process-shell-command, start-file-process-shell-command):
18847 Discourage the use of command-args.
18849 2009-08-19 Glenn Morris <rgm@gnu.org>
18851 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18853 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18855 * simple.el (choose-completion-string): Don't rely on
18856 minibuffer-completing-file-name and ad-hoc checks to decide whether
18857 to continue completion or not.
18859 * minibuffer.el (minibuffer-hide-completions): New function.
18860 (completion--do-completion): Use it.
18861 (completions-annotations): New face.
18862 (completion--insert-strings): Use it.
18863 (completion-pcm--delim-wild-regex): Add docstring.
18864 (completion-pcm--string->pattern): Add support for 0-width delimiters
18865 in completion-pcm--delim-wild-regex.
18867 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18869 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18870 Remove unused var `buffer-modified-p'.
18872 * minibuffer.el (completion--do-completion): Move point for the #b001
18873 case as well (bug#4176).
18874 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18876 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18878 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18879 and :session buses.
18881 2009-08-18 Kenichi Handa <handa@m17n.org>
18883 * international/ucs-normalize.el (ucs-normalize-version):
18885 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18886 (utf-8-hfs): Make it perform normalization on encoding too.
18888 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18889 (sentence-end-without-space): Delete duplicated chars.
18890 (sentence-end-base): Likewise.
18892 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18893 (html-mode): Delete duplicated chars from sentence-end-base.
18895 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18896 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18898 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18900 * files.el (hack-one-local-variable): If the mode function is for
18901 a minor mode, pass it an argument (Bug#4148).
18903 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18905 * net/tramp.el (tramp-register-completion-file-name-handler):
18906 Check also for (member 'partial-completion completion-styles).
18908 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18910 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18913 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18915 * progmodes/cperl-mode.el: Merge upstream 6.2.
18916 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18917 (cperl-forward-re): Check cperl-brace-recursing.
18918 (cperl-highlight-charclass): New function.
18919 (cperl-find-pods-heres): Use it.
18920 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18921 (cperl-beautify-regexp-piece): Fix column calculation.
18922 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18923 (cperl-beautify-level): Don't process entire regexp.
18924 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18926 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18927 (cperl-init-faces): Build a list in the normal way.
18929 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18931 * calendar/parse-time.el (parse-time-string-chars): Save match
18934 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18936 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18937 (sql-product): Use it.
18938 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18939 (sql-set-product): Add completion.
18940 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18941 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18942 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18943 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18944 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18945 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18946 (sql-highlight-db2-keywords): Remove.
18947 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18948 (sql-highlight-product): Use derived-mode-p.
18949 (sql-set-sqli-buffer): Use with-current-buffer.
18950 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18953 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18955 * term.el: Fix commenting convention, turn comments into docstrings.
18957 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18959 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18961 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18963 * calendar/parse-time.el (parse-time-string-chars): Compute using
18964 character classes, to handle non-ascii characters (Bug#3190).
18966 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18968 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18969 another heredoc if the user adds another < (Bug#3226).
18971 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18972 Don't initialize based on window-system (Bug#4124).
18974 * facemenu.el (facemenu-read-color): Use a completion function
18975 that accepts any defined color, such as RGB triplets (Bug#3677).
18977 * files.el (get-free-disk-space): Change fallback default
18978 directory to /. Expand DIR argument before switching to fallback.
18979 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18981 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18983 * files.el (load-library): Doc fix.
18985 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18987 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18988 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18989 incremental search string.
18991 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18994 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18995 (ediff-merge-region-is-non-clash)
18996 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18997 Also check if the job is really a merge job.
18999 * ediff.el (ediff-current-file): New function.
19001 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19003 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19005 (js-insert-and-indent): Delete function.
19006 (js-mode-map): Don't bind keys to js-insert-and-indent.
19007 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19008 (js-end-of-defun): Rename from js--end-of-defun.
19009 (js-auto-indent-flag): Delete variable.
19011 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19013 * progmodes/js.el: Remove proclaim statement.
19014 Defvar which-func-imenu-joiner-function to silence compiler.
19016 * files.el (auto-mode-alist): Use js-mode for .js files.
19018 * progmodes/js2-mode.el: Remove file.
19020 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19022 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19024 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19026 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19027 Karl Landstrom <karl.landstrom@brgeight.se>
19029 * progmodes/js.el: New file.
19031 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19033 * timezone.el (timezone-parse-date): Add ability to understand ISO
19034 basic format (minimal separators) dates in addition to the
19035 already-supported extended format dates.
19037 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19039 * international/ucs-normalize.el: Add a `coding' file variable.
19041 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19043 2009-08-14 Sam Steingold <sds@gnu.org>
19045 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19047 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19049 * faces.el (help-argument-name): Define it here instead of
19050 help-fns.el, because in daemon mode help-fns.el may be loaded when
19051 faces are still uninitialized (Bug#1078).
19053 * help-fns.el (help-argument-name): Move defface to faces.el.
19055 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19057 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19058 create buffer with a pty but no process so that GDB can make the
19059 inferior the controlling process.
19061 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19063 * international/ucs-normalize.el: New file.
19065 2009-08-13 Richard Stallman <rms@gnu.org>
19067 * mail/rmail.el (rmail-get-attr-names):
19068 Accept an attribute header that is too short.
19070 * mail/rmail.el (rmail-forget-messages):
19071 Ignore nil elt in rmail-message-vector. Use dotimes.
19073 * progmodes/compile.el (compilation-goto-locus):
19074 Use next-error-move-function.
19076 * simple.el (next-error-move-function): New variable.
19078 2009-08-12 Juri Linkov <juri@jurta.org>
19080 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19081 always non-nil. (Bug#4052)
19083 * replace.el (read-regexp): Return empty string when
19084 `default-value' is nil.
19085 (keep-lines-read-args): Don't use empty string as the
19086 default value for `read-regexp'. (Bug#2495)
19088 2009-08-12 Juri Linkov <juri@jurta.org>
19090 * international/mule-cmds.el (ucs-insert): Change arguments
19091 from `arg' to `character', `count', `inherit' to be the same
19092 as in `insert-char'. Doc fix. (Bug#4039)
19094 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19096 2009-08-12 Juri Linkov <juri@jurta.org>
19098 * files-x.el: New file.
19100 * files.el: Move code that deals with adding/deleting
19101 file/directory-local variables to files-x.el.
19103 * Makefile.in (ELCFILES): Add files-x.elc.
19105 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19107 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19108 to use `goto-line'.
19109 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19111 (gdb-invalidate-disassembly): Do not refresh upon receiving
19112 'update signal. Instead, update all disassembly buffers only after
19114 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19115 (gdb-starting): Move -data-list-register-names...
19116 (gdb-stopped): ...here so it's sent when first thread stops.
19117 (gdb-registers-handler-custom): Do nothing if register names are
19120 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19121 from `gdb-mi.el' to avoid extra tangling.
19123 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19124 change which breaks `gud-def' definitions used in `gdb'.
19125 (gdb-update-gud-running): No extra fuss for updating frame number.
19127 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19129 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19130 (describe-language-environment-map, setup-language-environment-map)
19131 (set-coding-system-map): Move initialization into declaration.
19132 (set-language-info-alist): Last arg to define-key-after can be skipped.
19134 * international/quail.el (quail-completion-1): Simplify.
19135 (quail-define-rules): Use slightly more compact code.
19136 (quail-insert-decode-map): Propertize keys, compact columns.
19138 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19141 2009-08-10 Miles Bader <miles@gnu.org>
19143 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19144 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19145 (js2-instance-member, js2-private-member, js2-private-function-call)
19146 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19147 (js2-magic-paren, js2-external-variable):
19148 Remove "-face" suffix from face names.
19149 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19150 (js2-highlight-undeclared-vars, js2-peek-token)
19151 (js2-parse-function-params, js2-mode-show-errors)
19152 (js2-mode-show-warnings, js2-make-magic-delimiter)
19153 (js2-mode-highlight-magic-parens): Update to use new face names.
19155 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19157 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19158 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19160 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19162 * subr.el: Provide hashtable-print-readable.
19164 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19165 hs-c-like-adjust-block-beginning.
19166 (hs-hide-block-at-point): Stop hiding at the beginning of
19167 hs-block-end-regexp (Bug#700).
19169 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19171 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19173 (gdb-registers-handler-custom): Do not fail when register names
19176 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19178 * progmodes/gdb-mi.el (gdb-control-all-threads)
19179 (gdb-control-current-thread): Interactive setters for
19180 `gdb-gud-control-all-threads' to use in menu.
19181 (gdb-show-run-p): Show «Go» when process is not active.
19182 (gud-tool-bar-map): Add non-stop/A,T indicator.
19183 Uses gud/thread.xpm and gud/all.xpm.
19185 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19187 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19188 (nslookup-font-lock-keywords): Make it a variable.
19189 (net-utils-mode): New mode for viewing diagnostic network output.
19190 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19191 (net-utils-run-simple): New function.
19192 (ifconfig, iwconfig, netstat, arp, route): Use it.
19194 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19196 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19197 (gdb-memory-set-address, def-gdb-set-positive-number)
19198 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19199 after changing settings.
19200 (gdb-invalidate-disassembly): Update when first shown.
19201 (gdb-edit-locals-value): Fixed.
19202 (gdb-registers-handler-custom): Print registers in right order and
19203 allow changing register values (only for current thread yet).
19204 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19205 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19206 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19207 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19208 Thread info in mode name.
19209 (gdb-registers-mode-map): TAB to switch to locals.
19211 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19213 * mail/rmail.el (rmail-add-mbox-headers)
19214 (rmail-set-message-counters-counter): Search for
19215 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19217 2009-08-08 Glenn Morris <rgm@gnu.org>
19219 * Makefile.in (ELCFILES): Update.
19221 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19223 * mail/sendmail.el (mail-yank-original):
19224 Set buffer-file-coding-system from the one used by the message whose
19227 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19228 to "windows" when "pgnuplot" is used.
19229 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19230 Don't call accept-process-output if "pgnuplot" is used.
19231 (calc-graph-init): Don't send -display and -geometry to
19232 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19233 running "pgnuplot -V" with shell-command-to-string.
19235 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19238 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19240 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19243 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19245 * vc-dispatcher.el (vc-resynch-window): Update comment.
19247 * term.el (term-handle-ansi-escape): Add comments with the
19248 terminfo capabilities implemented.
19250 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19252 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19253 (gdb-var-create-handler): Rewritten using JSON parser.
19254 (gdb-propertize-header): Move earlier.
19255 (gdb-set-header): Remove to avoid duplication.
19256 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19257 Refresh disassembly buffers only after threads list have been
19259 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19262 2009-08-04 Juri Linkov <juri@jurta.org>
19264 * files.el: Commands to add/delete file/directory-local variables.
19265 (read-file-local-variable, read-file-local-variable-value)
19266 (read-file-local-variable-mode, modify-file-local-variable)
19267 (modify-file-local-variable-prop-line)
19268 (modify-dir-local-variable): New functions.
19269 (add-file-local-variable, delete-file-local-variable)
19270 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19271 (add-dir-local-variable, delete-dir-local-variable)
19272 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19273 (copy-dir-locals-to-file-locals-prop-line): New commands.
19275 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19277 * abbrev.el (insert-abbrev-table-description): Prettify output.
19278 Suggested by Karl Chen.
19280 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19282 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19283 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19284 (gdb-overlay-arrow-position, gdb-thread-position)
19285 (gdb-disassembly-position): Declare variables.
19286 (gdb-wait-for-pending): Function now.
19287 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19288 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19289 compilation goes smoothly.
19290 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19291 (gdb-non-stop-setting): New customization setting which replaces
19292 `gdb-non-stop' so changing it doesn't break active GDB session.
19293 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19294 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19295 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19296 (gdb-show-threads-by-default): New customization options.
19297 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19299 (gdb-get-buffer-create): Send buffers update signal when they are
19301 (gdb-invalidate-locals, gdb-invalidate-registers)
19302 (gdb-invalidate-breakpoints)
19303 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19304 (gdb-invalidate-memory): Accept update signal.
19305 (gdb-current-context-command): Use --frame option.
19306 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19307 Implement `gdb-frame-number' selection logic.
19308 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19309 whether to show GUD toolbar buttons.
19310 (gdb-thread-exited): Unselect current thread when it exits.
19311 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19312 (gdb-mark-line): Routine which sets overlay arrow or inverses
19313 video on fringeless displays.
19314 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19315 to build aligned columns of data in GDB buffers and set text
19316 properties line-by-line.
19317 (gdb-invalidate-breakpoints)
19318 (gdb-breakpoints-list-handler-custom)
19319 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19320 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19321 (gdb-registers-handler-custom): Align data columns.
19322 (gdb-locals-handler-custom): Now prints data like in variable
19324 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19325 Remove confusing buttons.
19326 (gdb-invalidate-threads): Append --frame.
19327 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19328 between breakpoints/threads buffers.
19329 (gdb-set-window-buffer): Now can ignore dedicated windows.
19330 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19331 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19332 (def-gdb-thread-buffer-gud-command): Replaces
19333 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19334 for fine thread control.
19335 (gdb-preempt-existing-or-display-buffer): New function used to
19336 display bound buffers without breaking window layout.
19337 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19338 (gdb-select-frame): New version of `gdb-frames-select' which now
19339 sets `gdb-frame-number' so commands may use --frame option instead
19340 of inner debugger state.
19341 (gdb-frame-handler): Do not set `gdb-frame-number'.
19342 (gdb-threads-mode-map): Select threads with mouse.
19344 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19345 avoid compilation warning.
19346 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19349 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19350 Argument `key' renamed to `buffer-type'.
19351 (gdb-current-context-buffer-name): Do not add thread info to
19352 buffer name when no thread is selected.
19353 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19354 command (bug 3794).
19355 (gdb-thread-selected): Handle `=thread-selected' notification.
19356 (gdb-wait-for-pending): New macro to deal with congestion problems.
19357 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19359 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19360 This fixes problem similar to one described in bug 3947.
19361 (gud-menu-map): More menu items.
19362 (gdb-init-1): Reset `gdb-thread-number' to nil.
19364 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19367 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19368 (gdb-current-context-command): Do not append --thread if
19369 `gdb-thread-number' is nil.
19370 (gdb-running-threads-count, gdb-stopped-threads-count):
19372 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19373 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19374 New customization options.
19375 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19377 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19378 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19379 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19380 set `gdb-thread-number' and update `gud-running' properly.
19381 (gdb-running): Update threads list when new threads appear.
19382 (gdb-stopped): Support non-stop operation and new thread switching
19384 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19385 (gdb-json-partial-output): New set of JSON routines.
19386 (def-gdb-auto-update-trigger): New `signal-list' optional
19388 (gdb-thread-list-handler-custom): Update `gud-running',
19389 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19390 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19391 (gdb-continue-thread, gdb-step-thread): New commands for fine
19392 thread execution control.
19393 (gud-menu-map): New menu items to switch non-stop options.
19394 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19395 (gdb-send): Mimic RET properly (bug 3794).
19397 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19398 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19400 (def-gdb-auto-update-handler): New nopreserve optional argument.
19401 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19403 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19404 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19405 (gdb-parent-mode): New mode to derive other GDB modes from.
19406 (gdb-display-disassembly-for-thread)
19407 (gdb-frame-disassembly-for-thread): New commands for threads
19410 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19411 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19412 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19413 (gdb-update): We now store all GDB buffers in a list so that they
19414 can be updated by traversing a list instead of calling invalidate
19415 triggers explicitly.
19416 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19417 pair for GDB buffer.
19418 (gdb-stack-buffer-name): Add thread information.
19419 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19420 handle pending triggers.
19421 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19422 (def-gdb-thread-buffer-simple-command)
19423 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19424 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19425 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19426 New commands which show buffers bound to thread.
19427 (gdb-stack-list-locals-regexp): Remove unused regexp.
19429 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19430 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19431 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19432 to (gud-comint-buffer) in *-buffer-name functions
19433 because (gdb-get-target-string) already does that.
19434 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19435 (gdb-changed-registers-handler): Rewritten without regexps.
19437 * progmodes/gdb-mi.el: Basic thread selection support.
19438 (gdb-thread-number): New variable.
19439 (gdb-current-context-command): New macro which adds --thread
19441 (gdb-threads-mode-map): Select thread with SPC.
19442 (gdb-thread-list-handler-custom): Mark current thread with overlay
19443 arrow. Synchronize GDB thread and Emacs thread.
19444 (gdb-select-thread): New command which selects current thread.
19445 (gdb-invalidate-frames, gdb-invalidate-locals)
19446 (gdb-invalidate-registers): Use --thread option.
19448 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19450 * net/tramp.el (top): Make check for tramp-gvfs loading more
19452 (tramp-handle-insert-file-contents): `unwind-protect' must be
19453 inside `with-parsed-tramp-file-name'.
19455 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19458 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19460 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19461 directory if CLASSPATH is not set.
19463 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19465 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19467 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19469 2009-08-02 Kevin Ryde <user42@zip.com.au>
19471 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19472 Update freshmeat link. Delete newsforge.com as it seems gone.
19474 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19476 * select.el (x-set-selection): Doc fix (Bug#4021).
19478 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19480 * help-fns.el (describe-variable): Treat list return values from
19481 dir-locals-find-file properly (Bug#4005).
19483 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19485 * net/tramp.el (tramp-debug-message): Print also microseconds.
19487 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19489 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19491 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19492 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19495 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19496 (tramp-get-file-property): Use it.
19498 * autorevert.el (auto-revert-handler):
19499 Allow `auto-revert-tail-mode' for remote files.
19501 2009-08-02 Jason Rumney <jasonr@gnu.org>
19503 * minibuffer.el (read-file-name): Treat confirm options to
19504 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19506 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19508 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19509 (font-lock-variable-name-face, font-lock-constant-face):
19510 Darken the colors for light backgrounds.
19512 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19514 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19515 month names. (Bug#3987)
19517 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19519 * simple.el (line-move-finish): Pass whole number to
19520 line-move-to-column.
19521 (line-move-visual): Perform hscroll to the recorded position.
19523 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19525 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19527 2009-07-29 Alan Mackenzie <acm@muc.de>
19529 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19531 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19533 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19534 (gdb-place-breakpoints): Use full path when setting breakpoints.
19536 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19538 * calc/calc.el (calc-mode-map): Add keybinding for
19539 `calc-transpose-lines'.
19541 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19543 * calc/calc-misc.el (calc-transpose-lines): New function.
19545 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19547 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19548 Simplify check for out-of-band methods.
19549 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19550 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19552 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19554 * vc-git.el (vc-git-checkin): Fix typo.
19556 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19558 * progmodes/js2-mode.el: New file.
19560 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19562 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19563 (gud-menu-map): Adjust tooltip accordingly.
19565 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19567 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19568 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19570 * add-log.el (change-log-mode-map): Add a menu.
19572 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19574 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19575 function returns nil.
19576 (dbus-handle-event): Handle special return value :ignore.
19577 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19579 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19581 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19584 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19588 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19590 * term/pc-win.el (x-display-name, x-colors)
19591 (x-select-enable-clipboard, x-select-text): Doc fix.
19593 * term/common-win.el (x-display-name, x-colors): Doc fix.
19595 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19596 (xw-defined-colors): Doc fix.
19598 * w32-fns.el (x-select-text, x-setup-function-keys)
19599 (x-get-selection, x-set-selection): Doc fix.
19601 * term/x-win.el (x-select-text, x-setup-function-keys)
19602 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19604 * select.el (x-set-selection): Doc fix.
19606 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19608 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19609 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19610 "IsNSSSupportAvailable" method is not available.
19611 Reported by Steve Youngs <steve@sxemacs.org>.
19613 2009-07-24 Kenichi Handa <handa@m17n.org>
19615 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19616 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19617 (build-unicode-category-table): Fix range checks.
19619 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19621 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19622 the buffer we try to sync is current when calling
19625 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19626 not show up to date files.
19628 2009-07-24 Glenn Morris <rgm@gnu.org>
19630 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19631 Add autoload cookies. If necessary, initialize.
19632 (elint-log): Handle non-file buffers.
19633 (elint-initialize): Add optional argument to reinitialize.
19634 (elint-find-builtin-variables): Save excursion.
19636 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19638 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19641 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19643 * vc.el (vc-print-log-internal): New function, split out from ...
19644 (vc-print-log): ... here.
19645 (vc-dir-move-to-goal-column): Declare.
19647 * vc-git.el (vc-git-add-signoff): New variable.
19648 (vc-git-checkin): Use it.
19649 (vc-git-toggle-signoff): New function.
19650 (vc-git-extra-menu-map): Bind it to menu.
19651 (vc-git--run-command-string): Accept a nil FILE argument.
19652 (vc-git-stash-list): New function.
19653 (vc-git-dir-extra-headers): Use it.
19655 2009-07-23 Glenn Morris <rgm@gnu.org>
19657 * help-fns.el (describe-variable): Describe ignored and risky local
19658 variables in a similar way to that in which we describe safe ones.
19660 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19661 (byte-compile-output-file-form, byte-compile-output-docform)
19662 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19663 Give some more local variables with common names a "bytecomp-" prefix,
19664 so as not to shadow things during compilation.
19665 * emacs-lisp/cl-macs.el (load-time-value)
19666 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19667 `outbuffer' to `bytecomp-outbuffer'.
19669 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19670 since the next two variables cover them automatically now.
19671 (elint-builtin-variables, elint-autoloaded-variables): New.
19672 (elint-unknown-builtin-args): Remove all members, since they can be
19673 parsed automatically now.
19674 (elint-extra-errors): New.
19675 (elint-env-add-env, elint-env-add-macro): Use cadr.
19676 (elint-current-buffer): Use or. Change final message.
19677 (elint-get-top-forms): Use line-end-position.
19678 (elint-init-env): Use cadr. Handle autoload, declare-function,
19680 (elint-add-required-env): Doc fix. Use or. Standardize error.
19681 (regexp-assoc): Remove unused function.
19682 (elint-top-form): Set elint-current-pos, to record the start of the
19683 top-level form, for compilation-mode.
19684 (elint-form): Trap errors in macro expansion. Use dolist.
19685 (elint-unbound-variable): Use elint-builtin-variables and
19686 elint-autoloaded-variables.
19687 (elint-get-args): Use cadr, or.
19688 (elint-check-cond-form): Use dolist, cadr.
19689 (elint-check-condition-case-form): Doc fix. Use cadr.
19690 Use elint-extra-errors.
19691 (elint-log): New function.
19692 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19693 Distinguish errors and warnings.
19694 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19695 Use a bytecomp-style format.
19696 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19697 (elint-get-log-buffer): Use compilation mode. Disable undo.
19698 Don't truncate lines.
19699 (elint-initialize): Set builtin and autoloaded variable lists.
19700 Only process elint-unknown-builtin-args if non-nil.
19701 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19703 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19705 2009-07-22 Kevin Ryde <user42@zip.com.au>
19707 * net/newst-backend.el (newsticker--parse-atom-1.0)
19708 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19709 (newsticker--parse-rss-1.0):
19710 * progmodes/idlwave.el (idlwave-mode):
19711 * progmodes/idlw-shell.el (idlwave-shell-mode):
19712 * progmodes/vera-mode.el (vera-mode):
19713 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19714 * progmodes/vhdl-mode.el (vhdl-mode):
19715 * textmodes/table.el (table-generate-source)
19716 (table--warn-incompatibility):
19717 Hyperlink urls in docstrings with URL `...'.
19719 2009-07-22 Glenn Morris <rgm@gnu.org>
19721 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19722 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19723 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19724 Remove leading * from defcustom docs.
19726 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19728 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19730 (list-load-path-shadows): Optionally, just return shadows as a string.
19732 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19734 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19736 * mail/rmailedit.el (rmail-edit-mode):
19737 Use auto-save-include-big-deletions.
19739 * mail/rmail.el (rmail-variables):
19740 Use auto-save-include-big-deletions.
19742 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19745 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19747 * calc/calc.el (calc-undo-length): New variable.
19748 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19750 2009-07-21 Richard Stallman <rms@gnu.org>
19752 * files.el (auto-save-mode): Handle buffer-save-size = -2
19755 2009-07-21 Glenn Morris <rgm@gnu.org>
19757 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19759 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19761 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19762 silence compiler. Instead...
19763 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19764 (ps-print-ensure-fontified): Update for above function name changes.
19766 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19767 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19768 silence compiler. Instead...
19769 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19770 (mh-show-buffer): Only define for compiler.
19771 (pr-mh-current-message): Update for above function name changes.
19773 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19775 (find-file-noselect, insert-file-1): Update for above change.
19777 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19779 * mail/mailclient.el (mailclient-send-it): Fix message.
19781 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19782 (edebug-eval): Check cl-debug-env is bound.
19783 (print-level, print-circle): Don't redefine built-in variables.
19785 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19786 (custom-print-vectors): Remove old comments from doc.
19788 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19789 (emerge-version): Make the variable an obsolete alias for the
19790 emacs-version variable. Make the function obsolete.
19791 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19792 Emerge options, rather than merging in into the main Options menu.
19793 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19794 and auto advance modes. Disable edit/fast items when not relevant.
19796 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19798 * term/vt420.el (terminal-init-vt420): Fix typo.
19800 2009-07-20 Sam Steingold <sds@gnu.org>
19802 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19803 variable (removed from compile.el on 2004-03-11).
19805 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19807 * files.el (hack-local-variables-filter): Fix last change.
19809 2009-07-19 Juri Linkov <juri@jurta.org>
19811 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19812 (dir-local-variables-alist): New buffer-local variable.
19813 (hack-local-variables-filter): If variable is not dir-local,
19814 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19815 because file-local overrides dir-local.
19816 (c-postprocess-file-styles) <declare-function>:
19817 Remove obsolete declaration.
19818 (hack-dir-local-variables): Add dir-local variable/value pair to
19819 `dir-local-variables-alist' and remove duplicates. Doc fix.
19821 * help-fns.el (describe-variable): Add information about
19822 file-local and dir-local variables.
19824 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19826 * files.el (hack-local-variables-filter): Rewrite.
19828 2009-07-19 Glenn Morris <rgm@gnu.org>
19830 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19831 Silence compiler by only defining on XEmacs.
19833 * international/mule.el (auto-coding-regexp-alist): Only match
19834 BABYL... at the start of buffer, not of lines. (Bug#3790)
19836 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19837 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19838 (cal-menu-context-mouse-menu): Doc fix.
19840 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19842 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19844 2009-07-18 Juri Linkov <juri@jurta.org>
19846 * info.el: Virtual Info keyword finder.
19847 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19848 (Info-finder-file): New variable.
19849 (Info-finder-find-file): New function.
19850 (finder-known-keywords, finder-package-info)
19851 (find-library-name, lm-commentary): Use defvar and
19852 declare-function to silence compiler warnings.
19853 (Info-finder-find-node): New function.
19854 (info-finder): New command.
19856 * subr.el (process-kill-buffer-query-function): New function.
19857 (add-hook)<kill-buffer-query-functions>: Add hook
19858 `process-kill-buffer-query-function'.
19860 2009-07-18 Alan Mackenzie <acm@muc.de>
19862 * progmodes/cc-mode.el (c-before-hack-hook)
19863 (c-postprocess-file-styles): Give invocation of `c-set-style'
19864 DONT-OVERRIDE parameter of t. Already set style variables will
19865 thus not be overridden by style settings given by `c-file-syle'.
19867 * files.el (hack-local-variables-filter): Remove entries with
19868 duplicate keys from `file-local-variables-alist'.
19870 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19872 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19873 x-set-selection if display-selections-p returns nil for the
19876 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19878 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19880 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19882 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19883 Accept nil in addition to a regexp.
19884 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19885 Accept nil in addition to a regexp.
19886 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19887 buffers that have an associated file. Handle nil values of
19888 desktop-buffers-not-to-save and desktop-files-not-to-save.
19891 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19892 (x-disown-selection-internal): New functions.
19894 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19896 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19898 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19899 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19901 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19903 * simple.el (set-mark): Revert last change.
19905 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19907 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19908 rendering of pngs is not possible instead of messaging a long
19911 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19913 * w32-fns.el (x-selection-owner-p): New function.
19915 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19916 (mouse-yank-at-click, mouse-yank-primary):
19917 If select-active-regions is non-nil, deactivate the mark before
19920 * simple.el (deactivate-mark, set-mark): Only save selection if we
19923 2009-07-17 Kenichi Handa <handa@m17n.org>
19925 * case-table.el (describe-buffer-case-table): Fix for the case
19926 that KEY is a cons.
19928 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19930 * vc-rcs.el (vc-rcs-find-file-hook):
19931 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19933 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19935 * net/tramp.el (tramp-wait-for-output): Handle the case when
19936 commands do not return a newline but a null byte before the shell
19939 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19941 * term/ns-win.el (ns-set-alpha): Don't declare.
19942 (ns-set-background-alpha): Remove function.
19944 2009-07-16 Kevin Ryde <user42@zip.com.au>
19946 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19947 y-or-n-p, for safety.
19949 2009-07-16 Richard Stallman <rms@gnu.org>
19951 * files.el (auto-save-mode): If buffer-saved-size is -2,
19954 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19955 (rmail-retry-ignored-headers): Add more uninteresting fields.
19957 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19959 * net/rcirc.el (rcirc): Use history variables.
19960 (rcirc-server-name-history, rcirc-nick-name-history)
19961 (rcirc-server-port-history): New variables.
19963 2009-07-15 Kenichi Handa <handa@m17n.org>
19965 * international/mule-cmds.el (set-language-environment-charset):
19966 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19969 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19970 Delete unibyte-display.
19972 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19974 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19976 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19978 * simple.el (deactivate-mark): Optional argument FORCE.
19979 (set-mark): Use deactivate-mark.
19981 * info.el (Info-search): No need to check transient-mark-mode
19982 before calling deactivate-mark.
19984 * select.el (x-set-selection): Doc fix.
19985 (x-valid-simple-selection-p): Allow buffer values.
19986 (xselect--selection-bounds): Handle buffer values.
19987 Suggested by David De La Harpe Golden.
19989 * mouse.el (mouse-set-region, mouse-drag-track):
19990 Call copy-region-as-kill before setting the mark, to let
19991 select-active-regions work.
19993 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19995 * simple.el (deactivate-mark): If select-active-regions is
19996 non-nil, copy the selection data into a string.
19997 (activate-mark): If select-active-regions is non-nil, set the
19998 selection to the current buffer.
19999 (set-mark): Update selection if select-active-regions is non-nil.
20001 * select.el (x-valid-simple-selection-p): Allow buffer values.
20003 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20005 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20006 and more featureful message-mode.
20008 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20010 * select.el (x-set-selection): Doc fix.
20011 (x-valid-simple-selection-p): Disallow selection data consisting
20012 of a list or cons of integers, since that is not used.
20013 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20014 (xselect-convert-to-string, xselect-convert-to-length)
20015 (xselect-convert-to-filename, xselect-convert-to-charpos)
20016 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20018 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20020 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20021 output in -break-info command (Emacs bug #3794).
20023 2009-07-14 Glenn Morris <rgm@gnu.org>
20025 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20026 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20027 (edebug-print-length, edebug-print-level, edebug-print-circle)
20028 (edebug-sit-for-seconds, edebug-view-outside)
20029 (edebug-bounce-point, edebug-set-global-break-condition)
20030 (edebug-Go-nonstop-mode, edebug-trace-mode)
20031 (edebug-Trace-fast-mode, edebug-continue-mode)
20032 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20033 (edebug-visit-eval-list): Doc fixes.
20035 * subr.el (def-edebug-spec): Doc fix.
20037 2009-07-14 Kenichi Handa <handa@m17n.org>
20039 * international/characters.el: Fix setting of category ?C.
20041 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20043 * term/ns-win.el (x-select-font): defalias x-select-font to
20044 ns-popup-font-panel instead of generate-fontset-menu.
20046 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20048 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20050 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20052 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20053 the PK\003\004 header (Bug#3770).
20055 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20057 * pcomplete.el (pcomplete-comint-setup): Check for
20058 shell-dynamic-complete-filename too.
20060 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20062 * simple.el (temporary-goal-column): Change the value for
20063 line-move-visual to a cons cell.
20064 (line-move-visual): Record or set the window hscroll, if
20065 necessary (Bug#3494).
20066 (line-move-1): Handle cons value of temporary-goal-column.
20068 2009-07-11 Kenichi Handa <handa@m17n.org>
20070 * international/mule-diag.el (describe-character-set): Don't show
20073 2009-07-10 Sam Steingold <sds@gnu.org>
20075 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20076 Omake sometimes indents the errors it prints, so allow all
20077 regexps to start with spaces.
20079 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20081 * cus-edit.el (customize-changed-options-previous-release):
20082 Bump value to 22.1. (Bug#3804)
20084 2009-07-08 Sam Steingold <sds@gnu.org>
20086 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20087 to be a cons cell (test . ignored-directory) to selectively ignore
20088 some directories depending on the location of the search.
20090 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20092 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20093 remote user is root, on the local host.
20094 (tramp-local-host-p): Either the local user or the remote user
20095 must be root. (Bug#3771)
20097 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20099 * progmodes/gdb-mi.el (gdb): Remove description of
20100 gdb-use-separate-io-buffer.
20101 (menu): Don't allow toggling of or enable
20102 gdb-use-separate-io-buffer from menubar.
20104 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20106 * mail/unrmail.el (unrmail): Make sure the message ends with two
20107 newlines (Bug#3769).
20109 2009-07-08 Glenn Morris <rgm@gnu.org>
20111 * calendar/calendar.el (calendar-current-date): Rework previous change.
20113 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20115 * calendar/calendar.el (calendar-current-date):
20116 Add an optional argument giving an offset from today.
20118 2009-07-08 Glenn Morris <rgm@gnu.org>
20120 * tutorial.el (tutorial--describe-nonstandard-key):
20121 Adjust the message for when a key has been unbound.
20122 (help-with-tutorial): Hide the arch-tag.
20124 2009-07-08 Kenichi Handa <handa@m17n.org>
20126 * international/fontset.el (setup-default-fontset): For each
20127 script, append (not set) font-specs.
20129 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20132 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20134 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20135 -data-list-register-names to ...
20136 (gdb-starting): ... here because GDB 7.0 requires execution to
20137 have started when using this MI command.
20138 (gdb-set-header): New function to distinguish select and
20139 unselected tabs in gdb buffers.
20140 (gdb-propertize-header): New macro that uses gdb-set-header.
20141 (gdb-breakpoints-header, gdb-locals-header): Use it.
20142 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20144 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20146 * Makefile.in (ELCFILES): Remove fadr.elc.
20148 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20150 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20151 may contain frame information, so `string-match' should be used.
20152 (gdb-update): Disassembly is invalidated through
20153 `gdb-get-selected-frame'.
20154 (gdb-pad-string): New function to pad string with spaces.
20155 (gdb-invalidate-disassembly): Invalidate only if the buffer
20157 (gdb-disassembly-handler-custom): Column alignment.
20158 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20160 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20162 (gdb-frame-handler): Match convention to for disassembly buffer
20164 (gdb-stack-list-frames-handler): Rewritten without regexps.
20165 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20166 not highlight breakpoints without line information.
20167 (gdb-input): Add trailing newline to command.
20169 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20171 (gdb-breakpoints-list-handler-custom): Replacement for
20172 `gdb-break-list-handler'. Using real parser instead of regexps
20174 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20175 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20176 to place breakpoints.
20177 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20179 (gdb-disassembly-handler-custom): Show overlay arrow.
20180 (gdb-disassembly-place-breakpoints): Show breakpoints in
20181 disassembly buffer.
20182 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20183 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20184 instead of parsing breakpoints buffer. Fixed old menu references
20189 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20190 (gdb-memory-address): New variable which holds top address of
20191 memory page shown in memory buffer.
20192 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20193 New customization variables.
20195 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20196 display the memory buffer.
20197 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20198 buffer display parameters.
20199 (def-gdb-memory-format, gdb-memory-format-binary)
20200 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20201 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20202 Functions for setting memory buffer format.
20203 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20204 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20205 unit size used in memory buffer.
20206 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20207 Switch to next/previous page of memory buffer.
20208 Now using (bindat-get-field) instead of fadr functions.
20210 2009-07-07 Sam Steingold <sds@gnu.org>
20212 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20213 non-top-level files.
20215 2009-07-07 Kenichi Handa <handa@m17n.org>
20217 * international/mule-cmds.el (reset-language-environment):
20218 Put the highset priority to the charset iso-8859-1.
20220 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20222 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20223 to the end of the line when locating the block (Bug#700).
20225 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20227 * net/tramp.el (tramp-handle-write-region): Flush file properties
20228 in case of short track.
20230 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20232 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20233 Coded custom representation of verilog error regular expressions
20234 to work with Emacs-22's new format.
20235 (verilog-error-regexp-xemacs-alist): Coded custom representation
20236 of verilog error regular expressions to work with XEmacs format.
20237 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20238 error recognition into XEmacs.
20239 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20240 error recognition into Emacs-22.
20242 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20244 * woman.el: Remove stand-alone closing parentheses.
20245 (woman-file-name, woman2-format-paragraphs)
20246 (woman-leave-blank-lines): Code cleanup.
20247 (woman-use-own-frame): Change default to nil.
20248 (woman-italic, woman-bold, woman-unknown, woman-addition):
20249 Change defaults to inherit from default faces.
20250 (woman2-process-escapes): Consume the newline after a stand-alone
20251 filler character (Bug#3651).
20253 2009-07-06 Glenn Morris <rgm@gnu.org>
20255 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20256 (top-level): Move provide to the end.
20257 (ffap): Remove defunct URL from custom group.
20259 * subr.el (eval-after-load): Doc fix.
20261 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20263 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20264 `calc-embedded-word' is called twice.
20266 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20268 * files.el (find-alternate-file-other-window, find-alternate-file):
20269 Obey confirm-nonexistent-file-or-buffer.
20271 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20273 * dired-aux.el (dired-show-file-type): Handle remote files.
20275 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20277 * desktop.el (desktop-globals-to-save):
20278 Add file-name-history (Bug#2750).
20280 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20282 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20284 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20286 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20287 property on entire argument since this is what eshell-lisp-command
20290 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20292 * net/tramp-gvfs.el (tramp-gvfs-methods)
20293 (tramp-gvfs-zeroconf-domain)
20294 (tramp-bluez-discover-devices-timeout): Add version flag.
20295 (tramp-gvfs-handler-mounted-unmounted)
20296 (tramp-gvfs-connection-mounted-p): Polish handling of
20297 incompatibilities between GVFS 0.2 and 1.0.
20299 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20301 * cus-start.el (all): Add make-pointer-invisible.
20303 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20305 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20306 formatted correctly.
20308 2009-07-02 Juri Linkov <juri@jurta.org>
20310 * info.el: Virtual Info files and nodes.
20311 (Info-virtual-files, Info-virtual-nodes): New variables.
20312 (Info-current-node-virtual): New variable.
20313 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20315 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20316 to check for a virtual file instead of checking a fixed list
20318 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20319 instead of ad-hoc processing of "dir" and (apropos history toc).
20320 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20321 instead of ad-hoc processing of "dir" and (apropos history toc).
20322 Reread a file when moving from a virtual node.
20323 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20324 (Info-directory-toc-nodes, Info-directory-find-file)
20325 (Info-directory-find-node): New functions.
20326 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20327 (Info-history): Move part of code to
20328 `Info-history-find-node'.
20329 (Info-history-toc-nodes, Info-history-find-file)
20330 (Info-history-find-node): New functions.
20331 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20332 (Info-toc): Move part of code to `Info-toc-find-node'.
20333 (Info-toc-find-node): New function.
20334 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20335 the current Info file name to references because now the node
20336 "*TOC*" belongs to the same Info manual.
20337 (Info-toc-build): Rename from `Info-build-toc'.
20338 (Info-toc-nodes): Rename input argument `file' to `filename'.
20339 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20340 instead of ad-hoc processing of ("dir" apropos history toc).
20341 (Info-index-nodes): Use Info-virtual-file-p
20342 to check for a virtual file instead of checking a fixed list
20344 (Info-index-node): Add check for `Info-current-node-virtual'.
20345 Raise `save-match-data' higher up the tree to contain
20346 `search-forward' too (bug fix).
20347 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20348 (Info-virtual-index-nodes): New variable.
20349 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20350 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20351 (Info-apropos-file, Info-apropos-nodes): New variables.
20352 (Info-apropos-toc-nodes, Info-apropos-find-file)
20353 (Info-apropos-find-node, Info-apropos-matches): New functions.
20354 (info-apropos): Move part of code to `Info-apropos-find-node' and
20355 `Info-apropos-matches'.
20356 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20357 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20358 for a virtual file instead of checking a fixed list of node names.
20360 * simple.el (async-shell-command): New command.
20362 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20364 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20365 instead of `mount-info'.
20367 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20369 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20370 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20372 2009-07-02 Kenichi Handa <handa@m17n.org>
20374 * international/mule.el (set-keyboard-coding-system): Force *-unix
20375 coding-system to avoid eol conversion.
20377 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20379 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20380 Add handler for `process-file', `shell-command' and
20381 `start-file-process'.
20382 (tramp-gvfs-handle-shell-command)
20383 (tramp-gvfs-handle-start-file-process)
20384 (tramp-gvfs-handle-process-file): New defuns.
20385 (tramp-synce-list-devices): Simplify check for existence of property.
20387 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20389 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20391 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20393 * language/korean.el (set-language-info-alist): Add korean-cp949,
20396 2009-07-01 Kenichi Handa <handa@m17n.org>
20398 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20400 * international/encoded-kb.el: Deleted.
20402 * international/mule.el (set-keyboard-coding-system): Perform the
20403 necessary setup here instead of calling encoded-kbd-setup-display.
20405 2009-07-01 Glenn Morris <rgm@gnu.org>
20407 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20409 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20411 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20413 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20415 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20416 Handle also the 'rename case, when setting file modes. (Bug#3712)
20417 (tramp-default-file-modes): Remove execute permissions.
20419 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20420 (top): Add a default for "synce" in `tramp-default-user-alist'.
20421 Add completion function for "synce" method.
20422 (tramp-hal-service, tramp-hal-path-manager)
20423 (tramp-hal-interface-manager, tramp-hal-interface-device):
20425 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20426 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20429 * net/trampver.el: Update release number.
20431 2009-06-30 Kenichi Handa <handa@m17n.org>
20433 * international/fontset.el (setup-default-fontset): Add CJK fonts
20434 for symbols and the other miscellaneous characters.
20436 * language/korea-util.el (setup-korean-environment-internal):
20437 Make char-width-table suitable for Korean environments.
20438 (exit-korean-environment): Cancel above.
20440 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20441 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20442 setup-function to make char-width-table suitable for respective
20443 environments, and an exit-function to cancel that.
20445 * language/japan-util.el (setup-japanese-environment-internal):
20446 Call use-cjk-char-width-table with arg `ja_JP'.
20448 * international/characters.el (cjk-char-width-table): Delete it.
20449 (cjk-char-width-table-list): New variable.
20450 (use-cjk-char-width-table): New arg local-name.
20451 (use-default-char-width-table): Fix for the case that Emacs is
20452 already using the default char-width-table.
20454 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20456 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20457 modes mandatory. (Bug#3712)
20459 2009-06-29 Alan Mackenzie <acm@muc.de>
20461 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20462 correction between the visible width of TABs and their number of bytes.
20464 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20466 * server.el (server-buffer-done): Prevent kill-buffer from
20467 prompting by clearing the buffer modification flag (Bug#3696).
20469 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20471 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20472 (verilog-endcomment-reason-re): Support unique case and priority case.
20473 (verilog-basic-complete-re): Support localparam lineup.
20474 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20475 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20477 (verilog-leap-to-case-head): Now support *nested* unique &
20478 priority case statements.
20479 (verilog-auto-lineup): Make just declarations the default (as it
20481 (verilog-leap-to-case-head): Support priority/unique case statements.
20482 (verilog-auto-lineup): Rework to give users radio buttons to
20483 select the various styles of automatic lineup.
20484 (verilog-error-regexp-alist): Rework to support the XEmacs style
20485 of error regular expressions from compilers, lint tools &
20486 simulators. Note that GNU Emacs has made it impossible for a mode
20487 to load such things.
20488 (electric-verilog-terminate-line, verilog-indent-declaration)
20489 (verilog-auto-wiure): Rework for radio button selection of
20490 auto-lineup selection of specification of auto lineup.
20491 (verilog-beg-of-statement-1): Redesign to support proper operation
20492 in additional code, based on testing with auto-lineup.
20493 (verilog-calculate-indent, assignments & declarations)
20494 (verilog-backward-token): Enhance to support auto-lineup of
20495 assignments & declarations.
20496 (verilog-in-directive-p, verilog-at-struct-p): New function for
20497 easy test of whether we are.
20498 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20499 to support safe execution at almost anyline.
20500 (verilog-calc-1): Properly support indenting deep inside generate
20502 (verilog-init-font): Remove definition & use of verilog-init-font,
20503 as it is redundant with font-lock-defaults.
20504 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20505 to avoid circular calls if syntax-ppss is a function (as is the
20506 case now in 22.x GNU Emacs) as that function would sometimes call
20507 itself, leading to (nearly) infinite recursion.
20508 (verilog-ovm-begin-re, verilog-ovm-end-re)
20509 (verilog-ovm-statement-re, verilog-leap-to-head)
20510 (verilog-backward-token): Add support for OVM macros. Some are
20511 complete statements, and others open and close scopes like begin
20513 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20514 (verilog-defun-level-generate-only-re): Really fix the defun-list
20516 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20517 coverpoint, constraint and cross statements.
20518 (verilog-defun-level-list, verilog-generate-defun-level-list)
20519 (verilog-all-defun-level-list): Redo these specifications - it is
20520 too hard to support eval-when compile aggregation of lists also
20521 built at when-compile time.
20522 (verilog-defun-level-list): Place defconsts of variables used in
20523 building regular expressions which are built in eval-when-compile
20524 bodies in the same eval-when-compile body to facilitate compile
20526 (verilog-beg-block-re-ordered): Support indenting
20527 virtual/protected tasks and functions.
20528 (verilog-defun-level-list, verilog-in-generate-region-p)
20529 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20530 indentation of some module items (generate items).
20531 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20532 across virtual/protected tasks and functions.
20534 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20536 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20537 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20538 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20539 in concatenations. Reported by Yishay Belkind.
20540 (verilog-auto-ascii-enum): Support one-hot state machines in
20541 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20542 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20543 modport in AUTOINST and add vl-modport for users.
20544 Reported by David Rogoff.
20545 (verilog-auto-inout-module, verilog-auto-inst)
20546 (verilog-decls-get-interfaces, verilog-insert-definition)
20547 (verilog-insert-one-definition, verilog-read-decls)
20548 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20549 (verilog-sig-modport, verilog-signals-combine-bus)
20550 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20551 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20552 Suggested by David Rogoff.
20553 (verilog-repair-open-comma): Fix non-insertion of comma when
20554 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20555 (verilog-make-width-expression): Simplify [A-1:0] expression
20556 widths to just {A{1'b0}}.
20557 (verilog-mode): Cleanup checkdoc warnings.
20558 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20559 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20560 inputs/outputs or data type. Suggested by Vasu Kandadi.
20561 (next-error-last-buffer): Fix byte-compiler warning.
20562 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20563 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20564 or shell command text during AUTO expansion. Suggested by Tad Truex.
20565 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20566 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20567 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20568 in AUTOINOUT. Reported by Matthew Lovell.
20569 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20570 causing use of <= assignments. Reported by Alex Reed.
20571 (verilog-read-decls): Fix triand, trior, wand, wor to be
20572 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20573 (verilog-extended-complete-re): Support import "DPI-C" functions.
20574 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20575 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20576 (verilog-insert-date, verilog-insert-year)
20577 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20578 Windows systems. Reported by Michael Potts.
20579 (verilog-read-module-name): Fix AUTOINST when the child module
20580 declaration's name is a tick define. Reported by Elliot Mednick.
20581 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20582 passed to next parameter's definition. Reported by Bruce T.
20583 (verilog-read-decls): Fix detecting "parameter int" when using
20584 AUTOINSTPARAM. Reported by Bruce T.
20585 (verilog-goto-defun): Fix goto not finding modules unless first
20586 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20587 (verilog-mode): Expand -f flag arguments on entry to mode so
20588 verilog-goto-defun will work. Reported by Lawrence Butcher.
20589 (verilog-getopt): Expand environment variables in -f file
20590 arguments. Suggested by Lawrence Butcher.
20591 (verilog-set-define): Fix "Symbol's value as variable is void"
20592 when reading enumerations.
20593 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20594 Suggested by Stephen Peltan.
20595 (verilog-read-defines): Fix reading of enumerations in include
20596 files. Reported by Steve Peltan.
20598 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20600 * files.el (trash-directory): Fix defcustom type.
20602 2009-06-28 Juri Linkov <juri@jurta.org>
20604 * help-fns.el (describe-function-1): Correctly locate adviced
20605 functions in hyperlink (Bug#2438).
20607 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20609 * files.el (trash-directory): Change default to nil.
20610 (move-file-to-trash): If trash-directory is nil and
20611 system-move-file-to-trash is unbound, perform freedesktop-style
20614 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20616 * files.el (move-file-to-trash): Add freedesktop trash
20619 2009-06-28 Glenn Morris <rgm@gnu.org>
20621 * autorevert.el (global-auto-revert-non-file-buffers)
20622 (global-auto-revert-mode): Doc fixes.
20624 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20626 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20628 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20630 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20631 opened an X connection before calling x-get-resource (Bug#3194).
20633 * play/doctor.el: Remove reference to obsolete website.
20634 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20636 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20638 Remove find-file-not-found-hook VC method. (Bug#2757)
20639 * vc-hooks.el (vc-file-not-found-hook)
20640 (vc-default-find-file-not-found-hook): Remove functions.
20641 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20642 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20645 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20647 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20649 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20650 compatibility function for `looking-back'.
20652 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20653 Use `ispell-looking-back'.
20655 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20657 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20658 rather than `filename'.
20660 2009-06-23 Miles Bader <miles@gnu.org>
20662 * face-remap.el (text-scale-set): New function.
20664 2009-06-23 Glenn Morris <rgm@gnu.org>
20666 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20668 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20670 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20672 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20674 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20675 Simplify Persian conditionals.
20677 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20678 variable `filename'.
20680 * comint.el (comint-insert-input): Doc fix.
20682 * Makefile.in (ELCFILES): Fix typo in previous change.
20684 2009-06-23 Miles Bader <miles@gnu.org>
20686 * cus-start.el: Add entry for `recenter-redisplay'.
20688 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20690 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20691 Add an optional argument for the backend, use it instead of
20692 calling vc-backend.
20693 (vc-mode-line): Add an optional argument for the backend.
20694 Pass the backend to vc-state and vc-working-revision. Move code for
20695 special handling for vc-state being a buffer to ...
20697 * vc-rcs.el (vc-rcs-find-file-hook):
20698 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20700 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20701 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20702 vc-stay-local-p and vc-mode-line calls.
20704 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20705 (vc-cvs-diff, vc-cvs-annotate-command)
20706 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20707 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20708 vc-mode-line calls.
20710 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20712 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20713 backend when calling vc-mode-line.
20714 (vc-register): Do not create a closure for calling the vc register
20715 function, call it directly.
20717 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20719 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20720 to make it obvious item can be clicked.
20722 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20724 2009-06-23 Kenichi Handa <handa@m17n.org>
20726 * language/korea-util.el (korean-key-bindings): Change the binding
20727 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20730 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20732 Sync with Tramp 2.1.16.
20734 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20736 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20737 when a loading of a package fails. Completion function for rsync
20738 is `tramp-completion-function-alist-ssh'.
20739 (all): Replace all calls of `split-string' and
20740 `tramp-split-string' by `tramp-compat-split-string'.
20741 (tramp-default-method): Use `tramp-compat-process-running-p'.
20742 (tramp-default-proxies-alist): Allow also Lisp forms.
20743 (tramp-remote-path): Add choice "Private Directories".
20744 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20745 (tramp-domain-regexp): Allow also "-", "_" and ".".
20746 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20747 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20748 (tramp-debug-message): Insert header line in debug buffer.
20749 (tramp-handle-directory-files-and-attributes-with-stat):
20750 Care about filenames with spaces, or starting with "-".
20751 (tramp-handle-dired-uncache): New defun.
20752 (tramp-handle-insert-directory): Don't flush the directory from
20753 cache, this is handled by `dired-uncache' now.
20754 (tramp-handle-insert-file-contents): Improve error handling.
20755 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20756 Quote `tramp-end-of-output'.
20757 (tramp-action-password): Improve trace message.
20758 (tramp-check-for-regexp): Both echoes must be present, before removing.
20759 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20760 (tramp-compute-multi-hops): Eval cons cells of
20761 `tramp-default-proxies-alist'.
20762 (tramp-maybe-open-connection): Use the same command pattern for
20763 first hop and further hops.
20764 (tramp-wait-for-output): Remove handling of newlines.
20765 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20766 (tramp-split-string): Remove function. It is handled in
20769 * net/tramp-cmds.el (tramp-bug):
20770 Recommend `tramp-cleanup-all-connections' in the bug mail.
20772 * net/tramp-compat.el (tramp-compat-split-string)
20773 (tramp-compat-process-running-p): New defuns.
20775 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20776 for `dired-uncache'.
20778 * net/tramp-gvfs.el: New package.
20780 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20781 Add handler for `dired-uncache'.
20782 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20784 * net/trampver.el: Update release number. Make version check fit
20787 2009-06-22 Jim Meyering <meyering@redhat.com>
20789 Automatically handle .xz suffix (XZ-compressed files), too.
20790 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20791 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20793 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20794 Nick Roberts <nickrob@snap.net.nz>
20796 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20797 repository (http://sphinx.net.ru/hg/gdb-mi/).
20799 2009-06-22 Glenn Morris <rgm@gnu.org>
20801 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20802 `mode' and `eval' entries. (Bug#3430)
20804 * Makefile.in (ELCFILES): Add fadr.elc.
20806 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20807 differing behavior of \n and ^ in strings. (Bug#3385)
20809 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20811 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20813 (lisp-indent-function): Make it a defcustom.
20815 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20817 * progmodes/gdb-ui.el: Replace with ...
20818 * progmodes/gdb-mi.el: ... this file.
20819 * progmodes/gud.el: Modify for gdb-mi.el.
20821 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20823 * fadr.el: New file.
20825 See ChangeLog.14 for earlier changes.
20827 ;; Local Variables:
20831 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20833 This file is part of GNU Emacs.
20835 GNU Emacs is free software: you can redistribute it and/or modify
20836 it under the terms of the GNU General Public License as published by
20837 the Free Software Foundation, either version 3 of the License, or
20838 (at your option) any later version.
20840 GNU Emacs is distributed in the hope that it will be useful,
20841 but WITHOUT ANY WARRANTY; without even the implied warranty of
20842 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20843 GNU General Public License for more details.
20845 You should have received a copy of the GNU General Public License
20846 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.