1 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
5 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
6 them instead of `nil' and `>', respectively.
7 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
9 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
10 and menu-bar-positive-p instead of `nil' and `>', respectively.
13 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15 * whitespace.el (whitespace-newline-mode): Code fix.
17 2010-12-09 Glenn Morris <rgm@gnu.org>
19 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
20 Rename functions without commas, update callers.
22 2010-12-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24 * whitespace.el: New version 13.2.
25 (whitespace-cleanup-region): Tiny code fix. (Bug#7582)
27 2010-12-08 Karl Fogel <kfogel@red-bean.com>
29 * bookmark.el: Adjust parameter names and doc strings to resolve
30 confusion over whether "bookmark" meant a bookmark name or a
31 bookmark record. Along the way, shorten one function's name for
32 similar reasons. (Issue #7548)
33 (bookmark-name-from-record): New name for
34 `bookmark-name-from-full-record'. All callers changed.
35 (bookmark-get-bookmark, bookmark-get-bookmark-record)
36 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
37 (bookmark-get-annotation, bookmark-set-annotation)
38 (bookmark-get-filename, bookmark-set-filename)
39 (bookmark-get-position, bookmark-set-position)
40 (bookmark-get-front-context-string, bookmark-set-front-context-string)
41 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
42 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
43 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
44 Rename `bookmark' parameter to `bookmark-name-or-record', to
45 clearly show its role, and shorten or adjust doc strings accordingly.
46 (bookmark-set-name): Same, and pass the parameter directly to
47 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
48 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
49 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
50 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
51 and in some cases shorten doc string accordingly.
52 (bookmark-rename): Change `old' and `new' parameters to `old-name'
53 and `new-name', and adjust an internal variable to avoid confusion.
54 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
55 parameter in doc string.
57 2010-12-08 Glenn Morris <rgm@gnu.org>
59 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
60 from gdb's history file. (Bug#7575)
62 * mail/emacsbug.el (report-emacs-bug):
63 Try to handle some other mail clients.
65 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
67 * files.el (dir-locals-collect-variables): Don't let errors stop us.
69 (file-name-version-regexp): New var.
70 (file-name-sans-versions):
71 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
72 (jka-compr-get-compression-info): Use dolist.
73 (jka-compr-compression-info-list): Don't bother specifying
74 version/backup regexps.
76 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
78 * simple.el (just-one-space): Make argument n default to 1 if
81 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
83 * electric.el (electric-indent-post-self-insert-function):
84 Delete trailing newlines even if we don't reindent.
86 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
88 * minibuffer.el (completion-at-point): Remove the `arg'.
89 * bindings.el (complete-symbol): Move back from minibuffer.el.
91 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
93 * simple.el (just-one-space): Delete newlines for negative arg.
95 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
97 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
98 (ansi-color-filter-apply): Simplify.
99 (ansi-color-apply): Use `font-lock-face' rather than `face'.
101 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
103 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
105 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
107 * dired.el (dired-use-ls-dired): Set default to a special
109 (dired-insert-directory): When called the first time, check
110 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
112 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
114 * replace.el: Add "collect" feature to occur.
115 (occur-collect-regexp-history): New var.
116 (occur-read-primary-args): Return a replace string for nlines,
118 (occur): Extend the meaning of nlines.
120 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
122 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
123 (which-func-update-1): Distinguish symbols from strings.
124 (which-function): Stay within 80 columns.
126 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
128 * subr.el (with-demoted-errors): Distinguish symbols from strings.
130 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
132 (comment-style): Use comment-styles's docs to describe values.
134 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
136 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
137 and ns-show-prefs (Bug#7535).
139 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
142 2010-12-03 Glenn Morris <rgm@gnu.org>
144 * nxml/nxml-mode.el: Require rng-nxml.
145 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
148 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
149 * nxml/rng-nxml.el, nxml/rng-valid.el:
150 Remove leading `*' from defcustom docs.
152 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
153 (normal-top-level-add-to-load-path, tty-handle-args):
154 Convert comments to basic doc-strings.
156 * net/browse-url.el (browse-url-url-at-point)
157 (browse-url-default-browser): Remove autoload cookies.
159 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
160 Remove more undefined cl functions.
162 * vc/diff.el (diff-sentinel): Make new arguments optional.
163 * ibuf-ext.el (diff-sentinel): Update declaration.
165 2010-12-03 Daiki Ueno <ueno@unixuser.org>
167 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
168 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
169 (epg-context-set-passphrase-callback): Mention that the callback
170 is not called when used with GnuPG 2.x.
172 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
174 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
175 (tramp-file-name-port): Check also for `tramp-default-port'.
176 (tramp-get-connection-name): New defun.
177 (tramp-get-connection-process): Use it.
178 (tramp-debug-message): Extend function exclude list.
179 (tramp-drop-volume-letter): Fix doc string.
181 * net/tramp-cmds.el: Remove solved todo item.
188 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
189 and `tramp-default-user-alist', respectively.
191 * net/tramp-gw.el (tramp-gw-open-connection):
192 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
194 * net/tramp-imap.el (tramp-imap-make-iht): Use just
195 `tramp-file-name-port'.
197 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
198 and "psftp". Exchange "%k" marker with options.
199 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
200 Compute size of link target.
201 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
202 `tramp-current-*' up due to gateway methods. Optimze computing of
203 copy arguments. Use `tramp-get-connection-name' and
204 `tramp-get-connection-buffer'. Improve debug messages.
205 (tramp-compute-multi-hops): Remove port determination.
206 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
208 * net/trampver.el: Update release number.
210 2010-12-02 Glenn Morris <rgm@gnu.org>
212 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
213 Avoid infinite loop over windows. (Bug#7492)
215 * progmodes/flymake.el (flymake-check-file-limit):
216 Allow nil to mean "no limit".
217 (flymake-check-patch-master-file-buffer): Update for above change.
218 Allow a .tex file-name extension to be optional.
219 (flymake-master-tex-init): Also match \include statements.
221 2010-11-30 Sam Steingold <sds@gnu.org>
223 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
224 (nxml-parent-document-set): A function to set `nxml-parent-document'.
225 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
226 (nxml-mode-hook): Remove `defcustom' (auto-defined by
227 define-derived-mode').
228 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
229 users who want to call `nxml-parent-document-set'.
231 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
233 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
234 stand-alone lines, since that is handled by log-edit-match-to-eoh
237 2010-11-27 Eduard Wiebe <usenet@pusto.de>
239 * dired.el (dired-get-filename): Replace backslashes with slashes
240 in file names on MS-Windows, needed by `locate'. (Bug#7308)
241 * locate.el (locate-default-make-command-line): Don't consider
242 drive letter and root directory part of
243 `directory-listing-before-filename-regexp'. (Bug#7308)
244 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
246 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
248 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
249 of :smie-open/close-alist.
250 (smie-next-sexp): Make it accept a "start token" as argument.
251 (smie-indent-keyword): Be careful not to misidentify tokens that span
252 more than one line, as empty lines. Add argument `token'.
254 2010-11-27 Kenichi Handa <handa@m17n.org>
256 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
257 multipart subtypes, insert all as usual.
259 * mail/rmail.el: Require rfc2047.
261 2010-11-27 Kenichi Handa <handa@m17n.org>
263 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
264 (rmail-mime-entity-disposition)
265 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
266 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
267 (rmail-mime-save): Handle the case that the button's `data' is a
269 (rmail-mime-insert-text): New function.
270 (rmail-mime-insert-image): Handle the case that DATA is a MIME
272 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
273 (rmail-mime-insert-bulk): New function mostly copied from the old
274 rmail-mime-bulk-handler.
275 (rmail-mime-multipart-handler): Just call
276 rmail-mime-process-multipart.
277 (rmail-mime-process-multipart): New funciton mostly copied from
278 the old rmail-mime-multipart-handler.
279 (rmail-mime-show): Just call rmail-mime-process.
280 (rmail-mime-process): New funciton mostly copied from the old
282 (rmail-mime-insert-multipart, rmail-mime-parse)
283 (rmail-mime-insert, rmail-show-mime)
284 (rmail-insert-mime-forwarded-message)
285 (rmail-insert-mime-resent-message): New functions.
286 (rmail-insert-mime-forwarded-message-function): Set to
287 rmail-insert-mime-forwarded-message.
288 (rmail-insert-mime-resent-message-function): Set to
289 rmail-insert-mime-resent-message.
291 * mail/rmailsum.el: Require rfc2047.
292 (rmail-header-summary): Handle multiline Subject: field.
293 (rmail-summary-line-decoder): Change the default to
294 rfc2047-decode-string.
296 * mail/rmail.el (rmail-enable-mime): Change the default to t.
297 (rmail-mime-feature): Change the default to `rmailmm'.
298 (rmail-quit): Delete the specifal code for rmail-enable-mime.
299 (rmail-display-labels): Likewise.
300 (rmail-show-message-1): Check rmail-enable-mime, and use
301 rmail-show-mime-function for a MIME message. Decode the headers
302 according to RFC2047.
304 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
306 * progmodes/which-func.el (which-func-imenu-joiner-function):
307 Return a string, as expected.
308 (which-function-mode): Make sure we stop any previous timer before
311 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
313 * net/tramp.el (tramp-default-method-alist)
314 (tramp-default-user-alist, tramp-default-proxies-alist):
315 Adapt custom options type. (Bug#7445)
317 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
319 * progmodes/python.el: Add Ipython support (Bug#5390).
320 (python-shell-prompt-alist)
321 (python-shell-continuation-prompt-alist): New options.
322 (python--set-prompt-regexp): New function.
323 (inferior-python-mode, run-python, python-shell):
324 Require ansi-color. Use python--set-prompt-regexp to set the comint
325 prompt based on the Python interpreter.
326 (python--prompt-regexp): New var.
327 (python-check-comint-prompt)
328 (python-comint-output-filter-function): Use it.
329 (run-python): Use a pipe (Bug#5694).
331 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
333 * progmodes/python.el (run-python): Doc fix.
334 (python-keep-current-directory-in-path): New var (Bug#7454).
336 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
338 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
339 Prompt user before actually printing.
341 2010-11-27 Glenn Morris <rgm@gnu.org>
343 * startup.el (package-enable-at-startup, package-initialize):
344 Remove unnecessary declarations.
346 2010-11-27 Eli Zaretskii <eliz@gnu.org>
348 * international/characters.el (glyphless-char-display-control):
349 Exclude newline and TAB from the c0-control group.
351 2010-11-27 Glenn Morris <rgm@gnu.org>
353 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
354 (expand-mail-aliases): Remove unnecessary autoload.
356 * allout.el (allout-command-prefix, allout-mode-map): Declare.
358 * shell.el (shell-dir-cookie-re): Move definition before use.
360 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
361 Replace undefined CL functions.
363 2010-11-26 Eli Zaretskii <eliz@gnu.org>
365 * simple.el (prog-mode): Set bidi-paragraph-direction to
368 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
370 2010-11-26 Glenn Morris <rgm@gnu.org>
372 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
373 diary-outlook-formats can be sensitive to calendar-date-style.
374 (diary-outlook-formats): Simplify the default setting.
375 (diary-from-outlook-internal): Pass subject and body as arguments.
376 Use dolist rather than dotimes. Don't save the diary buffer.
377 (diary-from-outlook-gnus, diary-from-outlook-rmail):
378 Pass subject and body as explicit arguments to the -internal function.
380 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
382 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
383 parsing them. This makes mailto:...?subject=foo\nbar work.
385 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
387 * vc/diff.el (diff): Fix last change.
389 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
391 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
392 (pcase--dontcare-upats): New var.
393 (pcase-let, pcase-let*): Generate better code.
394 Accept the same bodies as `let'.
395 (pcase-dolist): New macro.
396 (pcase--trivial-upat-p): New helper function.
397 (pcase--expand): Strip leading "(let nil" if any.
399 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
401 * mail/mailclient.el (browse-url): Require.
402 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
403 use the external browser function to send the mail (bug#7469).
405 * net/browse-url.el (browse-url-browser-function): Revert the
406 default back to the previous value, since the new value broke
408 (browse-url-mailto-function): New variable for mailto: URLs.
409 (browse-url): Use the new variable for mailto: URLs.
411 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
413 * eshell/esh-cmd.el (eshell-parse-command):
414 * eshell/esh-arg.el (eshell-parse-arguments):
415 * eshell/em-script.el (eshell-source-file):
416 Use with-silent-modifications.
418 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
420 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
421 for a merge location.
423 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
424 (vc-bzr-merge-branch): Always prompt.
425 (vc-bzr-async-command): Use the full branch filename.
427 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
429 * shell.el (shell): Use current-buffer by default if it's already
430 a shell mode buffer and its process is dead.
431 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
433 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
435 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
436 Mention that the keywords should be comma separated.
438 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
440 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
441 Accept optional prefix arg meaning to prompt for a command.
442 (vc-update): Use vc-BACKEND-pull if available. Accept optional
443 prefix arg meaning to prompt for a command.
444 (vc-pull): Alias for vc-update.
446 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
447 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
448 (vc-bzr-merge-branch): New functions, implementing merge-branch
451 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
453 * Makefile.in: Fix up last merge.
455 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
456 (diff-sentinel): Get them as arguments instead.
457 (diff-old-file, diff-new-file, diff-extra-args): Remove.
458 (diff-file-local-copy, diff-better-file-name): New funs.
459 (diff-no-select): Rename from diff-into-buffer.
460 Support buffers additionally to files. Move `buf' arg. Don't display buf.
461 Prefer closures to buffer-local variables.
462 (diff): Adjust accordingly.
463 (diff-buffer-with-file): Move from files.el.
464 * files.el (diff-buffer-with-file): Move to vc/diff.el.
465 (diff-buffer-internal): Remove.
466 (diff-buffer-buffer): Remove.
467 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
468 the buffer name used, and so as not to mess up windows and frames.
470 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
472 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
473 (diff-buffer-internal): New function extracted from diff-buffer-with-file
474 (diff-buffer-with-file): Use it.
475 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
478 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
480 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
481 \ref's or \pageref's value as default instead of initial input.
483 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
485 * files.el (backup-by-copying-when-mismatch): The default value is
488 * startup.el (normal-top-level):
489 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
490 `backup-by-copying-when-mismatch'.
492 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
494 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
496 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
498 * progmodes/python.el (python-font-lock-keywords):
499 Highlight top-level augmented assignments (Bug#6445).
501 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
503 * term/ns-win.el (ns-right-control-modifier)
504 (ns-right-command-modifier): Defvar them.
506 * cus-start.el (all): Add ns-right-control-modifier and
507 ns-right-command-modifier (Bug#7458).
509 2010-11-20 Glenn Morris <rgm@gnu.org>
511 * emacs-lisp/authors.el (authors-ignored-files)
512 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
514 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
516 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
517 (report-emacs-bug-parse-query-results)
518 (report-emacs-bug-create-existing-bugs-buffer): Pass through
519 keywords used for querying the bug database to show them in the
520 existing bugs buffer.
522 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
524 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
526 * info.el (info-tool-bar-map): Add some :vert-only keywords.
528 2010-11-20 Eli Zaretskii <eliz@gnu.org>
530 * international/characters.el (glyphless-char-display-control):
531 Make it a defcustom, with update-glyphless-char-display as its
533 (top level): Don't call update-glyphless-char-display.
535 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
537 Sync with Tramp 2.2.0.
539 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
540 `file-remote-p' (due to compatibility).
542 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
543 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
545 * net/trampver.el: Update release number.
547 2010-11-20 Eli Zaretskii <eliz@gnu.org>
549 * faces.el (glyphless-char): Define value for `pc'.
551 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
553 Implemented a bug querying mechanism.
554 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
555 (report-emacs-bug-create-existing-bugs-buffer)
556 (report-emacs-bug-parse-query-results)
557 (report-emacs-bug-query-existing-bugs): New functions.
559 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
561 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
562 a \ref{} or \pageref{} macro, then use its value as initial input.
564 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
566 * calc/calc-units.el (math-build-units-table-buffer):
567 calc/README: Mention that the TeX specific units won't use the
568 `tex' prefix in TeX mode.
569 calc/calc-lang.el (math-variable-table): Don't use the `tex'
570 prefix for units in TeX mode.
572 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
574 * simple.el (kill-new, kill-append, kill-region):
575 * comint.el (comint-kill-region): Make the yank-handler argument
578 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
580 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
581 that are both openers (resp. closers) and something else.
582 (smie-grammar): Loosen definition of valid values.
583 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
584 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
585 (smie-indent-after-keyword): Adjust users.
586 (smie-indent-keyword): Don't indent empty lines.
588 * vc-hg.el (vc-hg-program): New var.
589 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
590 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
592 2010-11-18 Glenn Morris <rgm@gnu.org>
594 * emacs-lisp/autoload.el (autoload-find-destination): The function
595 coding-system-eol-type may return non-numeric values. (Bug#7414)
597 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
599 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
601 2010-11-18 Eli Zaretskii <eliz@gnu.org>
603 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
605 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
607 * textmodes/picture.el (picture-mouse-set-point): Don't use
608 posn-col-row; explicitly compute the motion based on the posn at
609 the window-start (Bug#7390).
611 2010-11-18 Glenn Morris <rgm@gnu.org>
613 * novice.el (disabled-command-function):
614 Fix 2009-11-15 change. (Bug#7384)
616 2010-11-18 Glenn Morris <rgm@gnu.org>
618 * calendar/calendar.el (diary-iso-date-forms): Make elements
619 mutually exclusive. (Bug#7377)
621 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
623 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
624 when filling the remaining "unconstrained" values.
626 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
628 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
631 * files.el (safe-local-variable-p): Gracefully handle errors.
633 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
634 Use smie-indent-virtual when indenting relative to an opener.
635 (smie-rule-separator): Use smie-rule-parent.
636 (smie-indent-keyword): Consult rules, even for openers at bol.
637 (smie-indent-comment-close): Try to align closer's content.
639 2010-11-18 Glenn Morris <rgm@gnu.org>
641 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
643 2010-11-18 Glenn Morris <rgm@gnu.org>
645 * printing.el (pr-menu-bind): Doc fix.
647 * speedbar.el (speedbar-toggle-images): Doc fix.
649 * progmodes/python.el (python-shell): Doc fix.
651 * wid-edit.el (widget-field-use-before-change)
652 (widget-use-overlay-change): Doc fixes.
654 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
656 Minor cleanup to improve style.
657 * textmodes/rst.el (rst-update-section): Use point-marker.
658 (rst-get-decoration): Eliminate unneeded assignment.
659 (rst-promote-region, rst-straighten-decorations)
660 (rst-section-tree, rst-adjust): Use point-marker.
661 (rst-toc-mode-mouse-goto): Avoid setq.
662 (rst-shift-region-guts, rst-shift-region-left)
663 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
664 (rst-convert-bullets-to-enumeration): Use copy-marker.
666 * minibuffer.el (completion-fail-discreetly): New var.
667 (completion--do-completion): Use it.
669 * electric.el (electric-pair-pairs): New var.
670 (electric-pair-post-self-insert-function): Use it.
671 (electric-layout-post-self-insert-function): Don't insert a before
672 newline unless it's actually needed.
674 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
676 * progmodes/python.el (run-python): Explain why we remove the current
677 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
679 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
681 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
683 * progmodes/octave-mod.el: Rely on elecric-*-modes.
684 (octave-mode-map): Don't bind ;, SPC, and LF.
685 (octave-auto-indent, octave-auto-newline): Remove.
686 (electric-layout-rules): Declare.
687 (octave-mode): Set electric-layout-rules.
688 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
689 (octave-reindent-then-newline-and-indent, octave-electric-semi)
690 (octave-electric-space): Remove.
692 * electric.el (electric-layout-mode): New minor mode.
693 (electric--after-char-pos): New function.
694 (electric-indent-post-self-insert-function): Use it.
695 (electric-layout-rules): New var.
696 (electric-layout-post-self-insert-function): New function.
697 (electric-indent-mode): Make them interact better.
699 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
701 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
702 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
703 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
705 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
707 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
708 Make sure to check inside the word (Bug#6761).
710 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
712 * startup.el (command-line): If the cursorColor resource is set,
713 change the cursor face-spec (Bug#7392).
715 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
717 The main features of the following allout.el changes are:
718 - implement user customization for the allout key bindings
719 - add a customization control by which the user can inhibit use of
720 a trailing Ctrl-H, so by default it's reserved for use with
721 describe-prefix-bindings
722 - adapt to new version of called-interactively-p, while
723 maintaining backwards compatibility with old version
724 - fix hotspot navigation so i works properly with meta-modified keys
726 * allout.el (allout-keybindings, allout-bind-keys)
727 (allout-keybindings-binding, allout-prefixed-keybindings)
728 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
729 (allout-keybindings-list, allout-mode-map-adjustments)
730 (allout-setup-mode-map): Establish allout-mode keymaps as user
731 customizable settings, and also establish a customizable setting which
732 regulates whether or not a trailing control-h is reserved for use with
733 describe-prefix-bindings - and inhibit it by default, so that control-h
734 *is* reserved for describe-prefix-bindings unless the user changes it.
736 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
737 and accurately between modified and unmodified events, and handle
738 modified events more comprehensively.
740 * allout.el (allout-substring-no-properties):
741 Alias to use or provide version of `substring-no-properties'.
742 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
744 * allout.el (allout-next-single-char-property-change):
745 Alias to use or provide version of `next-single-char-property-change'.
746 (allout-annotate-hidden, allout-hide-by-annotation):
747 Use `allout-next-single-char-property-change'.
749 * allout.el (allout-select-safe-coding-system):
750 Alias to use or provide version of `select-safe-coding-system'.
751 (allout-toggle-subtree-encryption):
752 Use `allout-select-safe-coding-system'.
754 * allout.el (allout-set-buffer-multibyte):
755 Alias to use or provide version of `set-buffer-multibyte'.
756 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
758 * allout.el (allout-called-interactively-p): Macro for using the
759 different versions of called-interactively-p identically, depending on
760 the subroutine's argument signature.
761 (allout-back-to-current-heading, allout-beginning-of-current-entry):
762 Use `(interactive "p")' instead of `(called-interactively-p)'.
764 * allout.el (allout-init, allout-ascend, allout-end-of-level)
765 (allout-previous-visible-heading, allout-forward-current-level)
766 (allout-backward-current-level, allout-show-children):
767 Use `allout-called-interactively-p' instead of `called-interactively-p'.
769 * allout.el (allout-before-change-handler):
770 Exempt edits to the (overlaid) character after the allout outline
771 bullet from edit confirmation prompt.
773 * allout.el (allout-add-resumptions):
774 Ensure that it respects correct buffer for keybindings.
776 * allout.el (allout-beginning-of-line):
777 Use `allout-previous-single-char-property-change' alias for the sake of
778 diverse compatibility.
780 * allout.el (allout-end-of-line):
781 Use `allout-mark-active-p' to encapsulate respect for mark activity.
783 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
785 * frame.el (frame-notice-user-settings): Don't clobber other
786 user-set parameters when calling face-set-after-frame-default in
787 response to background-color parameter (Bug#7373).
789 2010-11-13 Eli Zaretskii <eliz@gnu.org>
791 * international/characters.el (glyphless-char-display-control):
792 Rename from glyphless-char-control; all users changed. Doc fix.
793 Signal an error if display method is not one of the recognized
796 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
798 * net/tramp-compat.el (tramp-compat-line-beginning-position)
799 (tramp-compat-line-end-position): Remove them.
801 * net/tramp.el (tramp-parse-rhosts-group)
802 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
803 (tramp-parse-hosts-group, tramp-parse-passwd-group)
804 (tramp-parse-netrc-group, tramp-parse-putty-group)
805 * net/tramp-cmds.el (tramp-append-tramp-buffers)
806 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
807 (tramp-sh-handle-file-selinux-context)
808 (tramp-sh-handle-file-name-all-completions)
809 (tramp-sh-handle-insert-directory)
810 (tramp-sh-handle-expand-file-name, tramp-find-executable)
811 (tramp-wait-for-output, tramp-send-command-and-read)
812 * net/tramp-smb.el (tramp-smb-read-file-entry)
813 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
815 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
817 (tramp-remote-coding-commands): Add an alternative using "base64
818 -d -i". This is needed for older base64 versions from GNU
819 coreutils. Reported by Klaus Reichl
820 <Klaus.Reichl@thalesgroup.com>.
822 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
824 * simple.el (count-words-region): New function.
826 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
828 * shell.el (shell-dir-cookie-re): New custom variable.
829 (shell-dir-cookie-watcher): New function.
831 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
832 and compilation-mode (bug#7350).
834 * vc/smerge-mode.el (smerge-refine): Choose better default part to
835 highlight when one of them is empty.
837 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
839 (skeleton-newline): New function.
840 (skeleton-internal-1): Use it.
842 * simple.el (open-line): `newline' may strip trailing space.
844 2010-11-12 Kevin Ryde <user42@zip.com.au>
846 * international/mule-cmds.el (princ-list): Use mapc.
848 2010-11-12 Glenn Morris <rgm@gnu.org>
850 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
851 Use it to replace all instances of "*Compile-Log*"
853 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
855 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
858 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
860 * progmodes/modula2.el: Use SMIE and skeleton.
861 (m2-mode-syntax-table): (*..*) can be nested.
862 Add //...\n. Fix paren syntax.
863 (m2-mode-map): Remove LF and TAB bindings.
864 (m2-indent): Add safety property.
865 (m2-smie-grammar): New var.
866 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
867 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
868 (m2-mode): Use define-derived-mode.
869 (m2-newline, m2-tab): Remove.
870 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
871 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
872 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
873 (m2-import): Use define-skeleton.
875 2010-11-11 Glenn Morris <rgm@gnu.org>
877 * obsolete/lucid.el: Don't warn about any CL functions in this file.
879 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
880 (ls-lisp-verbosity): Add custom :set-after property.
881 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
882 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
883 (ls-lisp-insert-directory): Update caller.
884 (ls-lisp-set-options): New function.
885 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
888 * play/landmark.el (lm-prompt-for-move):
889 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
891 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
893 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
894 (idlwave-study-twins): Prefix dynamic local variable `name'.
895 (idlwave-routine-twin-compare): Update for above change.
897 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
898 Prefix dynamic local variables `name', `kwd', and `link'.
899 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
900 * progmodes/idlw-complete-structtag.el
901 (idlwave-complete-structure-tag-help):
902 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
903 (idlwave-complete-sysvar-tag-help)
904 (idlwave-complete-class-structure-tag-help):
905 Update for above name changes.
907 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
909 * net/browse-url.el (browse-url-browser-function): Change the
910 default to use `browse-url-mail' on mailto: URLs.
912 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
914 * emacs-lisp/package.el (package-read-all-archive-contents):
915 Reset package-archive-contents to nil before re-reading.
917 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
919 * textmodes/flyspell.el (flyspell-word): Do not re-check words
920 already found as misspellings by (flyspell-large-region), just
921 do highlighting (bug#7322).
923 2010-11-10 Glenn Morris <rgm@gnu.org>
925 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
927 * emulation/edt.el (edt-with-position): New macro.
928 (edt-find-forward, edt-find-backward, edt-find-next-forward)
929 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
930 (edt-paragraph-forward, edt-paragraph-backward): Use it.
932 * emulation/tpu-extras.el (tpu-with-position): New macro.
933 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
935 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
937 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
938 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
939 (texinfo-master-menu, texinfo-insert-node-lines)
940 (texinfo-multiple-files-update):
941 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
942 Use line-beginning-position.
944 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
945 No recent Emacs supports system-type `emx'.
947 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
948 (ada-command-separator, ada-default-prj-properties)
949 (ada-find-any-references): Update for above name change.
951 * dirtrack.el (dirtrack-directory-function)
952 (dirtrack-canonicalize-function):
953 * filecache.el (file-cache-completion-ignore-case)
954 (file-cache-case-fold-search, file-cache-ignore-case):
955 * term.el (serial-port-is-file-p): Cosmetic change.
957 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
958 Remove non-existent `windows-95' system-type.
959 * dired.el (dired-chown-program): Remove non-existent `linux'
962 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
963 (ping-program-options): Remove non-existent `linux' system-type.
965 * startup.el (package-initialize): Update declaration.
967 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
968 (ls-lisp-handle-switches): Use time-less-p.
969 (ls-lisp-format-time): Use float-time.
971 * textmodes/remember.el (remember-time-to-seconds): Remove.
972 (remember-store-in-mailbox): Use float-time.
974 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
976 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
977 never a real function.
978 (with-no-warnings): Remove compat stub, now unused.
979 (time-less-p): Doc fix.
980 (time-to-number-of-days): Simplify.
982 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
984 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
985 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
986 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
987 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
988 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
990 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
991 (eshell-shuffle-files, eshell-shorthand-tar-command)
992 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
993 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
994 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
995 Prefix dynamic local variable `matches'.
997 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
998 Prefix dynamic local variable `skeleton'.
1000 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1002 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1003 in mail buffer; make yank-action always a command that yanks original
1006 2010-11-09 Glenn Morris <rgm@gnu.org>
1008 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1010 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1013 completion field (bug#7211).
1015 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1016 Fix handling of backslash escapes.
1017 (python-quote-syntax): Adjust accordingly.
1019 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1021 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1022 (vc-mtn-workfile-branch): Adjust to new output format.
1024 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1026 * international/mule-cmds.el (princ-list): Mark as obsolete.
1028 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * emacs-lisp/smie.el: New package.
1032 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1034 * files.el (backup-by-copying-when-mismatch):
1035 Set `permanent-local' property.
1037 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1038 `permanent-local' property for `backup-by-copying-when-mismatch'.
1040 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1042 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1044 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1046 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1047 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1048 AUTOINOUT for SV style multidimensional arrays, bug294.
1049 Reported by Eric Mastromarchi.
1050 (verilog-preprocess): Use with-current-buffer and
1051 font-lock-fontify-buffer to cleanup style issues.
1053 2010-11-09 Glenn Morris <rgm@gnu.org>
1055 * locate.el (locate, locate-mode): Doc fixes.
1057 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1059 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1060 user for confirmation.
1061 (server-force-stop): Use it.
1062 (server-start): Use server-force-stop for kill-emacs-hook, to
1063 avoid user interaction while killing Emacs.
1065 2010-11-09 Glenn Morris <rgm@gnu.org>
1067 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1068 (meta-indent-line): Simplify.
1070 * vc/emerge.el (emerge-line-number-in-buf):
1071 * textmodes/ispell.el (ispell-region):
1072 * textmodes/fill.el (current-fill-column):
1073 * progmodes/xscheme.el (xscheme-send-current-line):
1074 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1075 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1076 * progmodes/sh-script.el (sh-handle-prev-do):
1077 * progmodes/meta-mode.el (meta-indent-line):
1078 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1080 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1081 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1082 * progmodes/fortran.el (fortran-looking-at-if-then):
1083 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1084 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1085 (cperl-find-pods-heres):
1086 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1087 * net/quickurl.el (quickurl-list-insert):
1088 * net/ldap.el (ldap-search-internal):
1089 * net/eudc.el (eudc-expand-inline):
1090 * mail/sendmail.el (sendmail-send-it):
1091 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1092 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1093 (viper-brac-function):
1094 * calc/calc-yank.el (calc-do-grab-region):
1095 * calc/calc-keypd.el (calc-keypad-press):
1096 * term.el (term-move-columns, term-insert-spaces):
1097 * speedbar.el (speedbar-highlight-one-tag-line):
1098 * simple.el (current-word):
1099 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1100 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1102 * hippie-exp.el (he-line-beg):
1103 * epa.el (epa--marked-keys):
1104 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1105 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1106 (dired-relist-entry):
1107 * buff-menu.el (Buffer-menu-buffer):
1108 * array.el (current-line):
1109 * allout.el (allout-resolve-xref)
1110 (allout-latex-verbatim-quote-curr-line):
1111 Replace yet more uses of end-of-line etc with line-end-position, etc.
1113 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1116 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1117 (checkdoc-syntax-table): Initialize in the declaration.
1118 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1119 the mode on unconditionally.
1121 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1122 (extent-end-position, extent-start-position): Remove setf method for
1123 non-existing functions (bug#7319).
1125 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1127 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1128 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1129 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1130 (smie-prec2->grammar): Rename from smie-prec2-levels.
1131 (smie-grammar): Rename from smie-op-levels.
1132 (smie-indent--hanging-p): Rename from smie-hanging-p.
1133 (smie-rule-hanging-p): New alias.
1134 (smie-indent--bolp): Rename from smie-bolp.
1135 (smie-indent--hanging-p): New alias.
1136 (smie--token): New dynamically bound variable.
1137 (smie-indent--parent): New function.
1138 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1139 (smie-rule-next-p): Rename from smie-next-p.
1140 (smie-rule-prev-p): Rename from smie-prev-p.
1141 (smie-rule-sibling-p, smie-rule-parent)
1142 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1143 (smie-rule-separator-outdent): New var.
1144 (smie-indent--rule): Merge with smie-indent--column.
1145 (smie-indent-forward-token, smie-indent-backward-token):
1146 Also recognize close parens.
1147 (smie-indent-keyword): Don't use smie-indent--column any more.
1148 (smie-indent-after-keyword): Ignore closers by default.
1149 (smie-indent-line): Use with-demoted-errors.
1150 * progmodes/octave-mod.el (octave-smie-grammar):
1151 Rename from octave-smie-op-levels.
1152 (octave-smie-rules): Adjust to new behavior.
1153 * progmodes/prolog.el (prolog-smie-grammar):
1154 Rename from prolog-smie-op-levels.
1156 2010-11-07 Glenn Morris <rgm@gnu.org>
1158 * eshell/esh-util.el (subst-char-in-string)
1159 (directory-files-and-attributes): These compatibility definitions are
1160 not needed on any version of Emacs since at least 21.4.
1162 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1163 (verilog-get-end-of-line): Remove.
1164 (verilog-within-string, verilog-re-search-forward-substr)
1165 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1166 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1167 Use point-at-bol, point-at-eol.
1168 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1170 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1171 (electric-pascal-terminate-line, pascal-set-auto-comments)
1172 (pascal-indent-paramlist, pascal-indent-declaration)
1173 (pascal-get-lineup-indent, pascal-func-completion)
1174 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1175 Use point-at-bol, point-at-eol.
1176 * progmodes/flymake.el (flymake-line-beginning-position)
1177 (flymake-line-end-position): Remove.
1178 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1179 * eshell/esh-util.el (line-end-position, line-beginning-position):
1180 Remove compat definitions.
1182 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1184 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1185 Use line-end-position.
1187 * emacs-lisp/chart.el (chart-zap-chars):
1188 * play/decipher.el (decipher-set-map):
1189 * progmodes/ada-mode.el (ada-get-current-indent)
1190 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1191 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1192 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1193 (ada-get-all-references):
1194 * progmodes/cperl-mode.el (cperl-electric-paren)
1195 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1196 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1197 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1198 (cperl-word-at-point-hard):
1199 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1200 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1201 (idlwave-shell-display-line):
1202 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1203 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1204 * progmodes/js.el (js--re-search-forward-inner)
1205 (js--re-search-backward-inner):
1206 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1207 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1208 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1209 * textmodes/flyspell.el (flyspell-process-localwords):
1210 * textmodes/ispell.el (ispell-buffer-local-parsing)
1211 (ispell-buffer-local-dict, ispell-buffer-local-words):
1212 Use point-at-bol and point-at-eol.
1214 * speedbar.el (speedbar-generic-item-info)
1215 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1216 (speedbar-add-indicator, speedbar-check-vc-this-line)
1217 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1218 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1219 Replace more uses of end-of-line etc with line-end-position.
1221 2010-11-06 Glenn Morris <rgm@gnu.org>
1223 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1224 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1225 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1226 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1227 (texinfo-multiple-files-update):
1228 * textmodes/table.el (table--probe-cell-left-up)
1229 (table--probe-cell-right-bottom):
1230 * textmodes/picture.el (picture-tab-search):
1231 * textmodes/page-ext.el (pages-copy-header-and-position)
1232 (pages-directory-for-addresses):
1233 * progmodes/vera-mode.el (vera-get-offset):
1234 * progmodes/simula.el (simula-calculate-indent):
1235 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1236 * progmodes/prolog.el (end-of-prolog-clause):
1237 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1238 * progmodes/icon.el (indent-icon-exp):
1239 * progmodes/etags.el (tag-re-match-p):
1240 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1241 * progmodes/ebnf2ps.el (ebnf-begin-file):
1242 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1243 (dcl-save-local-variable):
1244 * play/life.el (life-setup):
1245 * play/gametree.el (gametree-looking-at-ply):
1246 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1247 * mail/sendmail.el (mail-mode-auto-fill):
1248 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1249 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1250 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1251 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1252 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1253 * type-break.el (type-break-file-keystroke-count):
1254 * term.el (term-replace-by-expanded-history-before-point)
1255 (term-skip-prompt, term-extract-string):
1256 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1257 (speedbar-contract-line, speedbar-toggle-line-expansion)
1258 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1259 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1260 * sort.el (sort-skip-fields):
1261 * skeleton.el (skeleton-internal-list):
1262 * simple.el (line-move-finish, line-move-to-column):
1263 * shell.el (shell-forward-command):
1264 * misc.el (copy-from-above-command):
1265 * makesum.el (double-column):
1266 * ebuff-menu.el (electric-buffer-update-highlight):
1267 * dired.el (dired-move-to-end-of-filename):
1268 * dframe.el (dframe-popup-kludge):
1269 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1270 * arc-mode.el (archive-get-lineno):
1271 Use line-end-position and line-beginning-position.
1273 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1274 (idlwave-study-twins): Prefix dynamic local `class'.
1275 (idlwave-routine-twin-compare): Update for above name change.
1277 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1278 Use boundp tests to silence compiler. Update for changed name of
1279 bytecomp-filename variable.
1281 * emulation/viper-cmd.el (viper-read-string-with-history):
1282 Prefix dynamic local `initial'.
1283 (viper-minibuffer-standard-hook): Update for above name change.
1285 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1286 (elint-init-form): Update for above name change.
1288 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1289 local variables `cbeg' and `cend' a prefix.
1290 (mail-extr-voodoo): Update for above name change.
1292 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1293 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1294 (reftex-toc-promote-action): Doc fix.
1296 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1297 `prompt', `data' a prefix.
1298 (reftex-select-post-command-hook, reftex-select-callback)
1299 (reftex-select-mouse-accept, reftex-select-read-cite):
1300 Update for above name changes.
1302 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1303 `refstyle' to reftex-refstyle.
1304 (reftex-offer-label-menu): Update for above name change.
1305 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1306 `refstyle' name change.
1308 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1309 with with-current-buffer.
1310 (diff, template): Give dynamic local variables a prefix.
1311 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1312 (emerge-line-number-in-buf): Update for above name change.
1313 (emerge-combine-versions-internal): Rename local `template' to
1314 emerge-combine-template.
1315 (emerge-combine-versions-edit): Update for above name change.
1317 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1319 * textmodes/reftex-cite.el
1320 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1321 entries with whitespace after \bibitem.
1322 (reftex-create-bibtex-file): Match entries containing numbers and
1323 symbol constituents. Make sure that entries with whitespace at
1324 various places are found.
1326 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1328 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1330 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1332 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1334 2010-11-05 Glenn Morris <rgm@gnu.org>
1336 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1337 (woman2-roff-buffer): Give local variable `request' a prefix.
1338 (woman0-macro): Rename argument `request' in the same way.
1339 (woman-request): New name for `request' dynamic variable.
1340 (woman-unquote, woman-forward-arg): Update for above name change.
1341 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1342 (woman1-unquote): New name for `unquote' dynamic variable.
1343 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1344 (woman-translations): Rename from `translations'. No longer global.
1345 (woman2-tr, woman-translate): Update for above name change.
1346 (woman-translate): Check for bound variable.
1347 (woman2-roff-buffer): Give local variable `translations' a prefix.
1349 * play/doctor.el: Give all local variables a prefix. Update callers.
1350 (doc$, doctor-put-meaning): Use backquote.
1352 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1353 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1355 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1356 variables bytes, ptr, op a prefix.
1357 (disassemble-offset): Update for above change.
1359 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1361 * emacs-lisp/package.el (package-unpack): Remove no-op.
1362 (package--builtins, package--dir): Doc fix.
1363 (package-activate-1, package-activate, package-install)
1364 (package-compute-transaction): Fix error message.
1365 (package-delete): Use delete-directory. Omit system packages.
1366 (package-initialize): Set package-alist to nil first.
1367 (package-menu-mark-delete, package-menu-mark-install): Don't add
1368 symbols that are inconsistent with the package state.
1369 (package-menu-execute): Perform deletions and installations as
1370 single batch operations.
1372 2010-11-03 Glenn Morris <rgm@gnu.org>
1374 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1375 (props): Remove unnecessary declaration.
1377 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1378 set-process-query-on-exit-flag.
1380 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1381 (reftex-toc-do-promote): Remove unused local `mpos'.
1382 (reftex-toc-restore-region): Make `mpos' local to this function.
1384 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1386 * play/landmark.el (lm-losing-threshold): Correct spelling.
1387 (lm-human-plays): Use new name.
1389 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1390 (gomoku-human-plays): Use new name.
1392 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1393 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1394 (gomoku-score-trans-table, gomoku-winning-threshold)
1395 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1397 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1399 * emacs-lisp/package.el: Don't put built-in packages in
1400 package-alist, to avoid loading inefficiencies.
1401 (package-built-in-p): Make VERSION optional, and treat it as a
1402 minimum acceptable version.
1403 (package-activate): Search separately for built-in packages.
1404 Emit a warning if a dependency fails.
1405 (define-package): Handle most common case, where there is no
1406 obsolete package, first.
1407 (package-compute-transaction): Print required version in error.
1408 (package--initialized): New variable.
1409 (list-packages): Use it.
1410 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1411 built-in packages in packages-alist; keep it separate.
1412 Set package--initialized.
1413 (describe-package): Avoid activating packages as a side-effect.
1414 Search separately for built-in packages.
1415 (describe-package-1): Handle the case where an elpa package is
1416 simultaneously built-in and available/installed.
1417 (package-installed-p, package--generate-package-list):
1418 Search separately for built-in packages.
1419 (package-load-descriptor): Doc fix.
1421 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1423 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1424 Handle __DATA__ and __END__.
1426 2010-11-02 Noah Friedman <friedman@splode.com>
1428 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1429 nil, do not ask to recompile files that are not already compiled,
1430 and do not recompile them.
1432 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1434 * emacs-lisp/package.el (package-initialize): Ensure that
1435 obsoleted built-in packages are not in package-activated-list
1437 (describe-package-1): Make the "installed" status override
1440 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1442 * subr.el (version-separator, version-regexp-alist): Remove '*'
1444 (version-list-<=, version<=, version=): Doc fix.
1446 2010-11-01 Kenichi Handa <handa@m17n.org>
1448 * faces.el (glyphless-char): Inherit underline for tty.
1450 2010-11-01 Kenichi Handa <handa@m17n.org>
1452 Implement various display methods for glyphless characters.
1454 * international/characters.el (char-acronym-table): New variable.
1455 (glyphless-char-control): New variable.
1456 (update-glyphless-char-display): New funciton.
1458 * faces.el (glyphless-char): New face.
1460 2010-11-01 Glenn Morris <rgm@gnu.org>
1462 * calendar/holidays.el (general-holidays, oriental-holidays)
1463 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1464 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1465 the definitions of their targets.
1467 * emacs-lisp/smie.el (smie): New custom group.
1468 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1470 * faces.el (xw-defined-colors, x-setup-function-keys):
1471 * mouse-sel.el (x-select-text):
1472 * term/w32console.el (x-setup-function-keys): Update declarations.
1474 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1476 * textmodes/ispell.el (comment-add): Declare.
1478 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1481 * info.el (finder-keywords-hash, package-alist): Declare.
1483 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1485 * finder.el (finder-compile-keywords): Don't use intern-soft,
1486 since package names may not yet exist in the obarray.
1488 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1490 * vc/vc-arch.el (vc-arch-checkin):
1491 * vc/vc-cvs.el (vc-cvs-checkin):
1492 * vc/vc-mtn.el (vc-mtn-checkin):
1493 * vc/vc-rcs.el (vc-rcs-checkin):
1494 * vc/vc-sccs.el (vc-sccs-checkin):
1495 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1496 since 2010-04-21 commit by Stefan Monnier.
1498 2010-11-01 Glenn Morris <rgm@gnu.org>
1500 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1502 * startup.el (package-enable-at-startup, package-initialize):
1505 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1508 2010-10-31 Julien Danjou <julien@danjou.info>
1510 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1511 (byte-recompile-directory):
1512 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1513 Use `byte-recompile-file'.
1515 2010-10-31 Glenn Morris <rgm@gnu.org>
1517 * cus-start.el: Handle standard values via a keyword.
1518 Only set version property if specified.
1519 (cursor-in-non-selected-windows, menu-bar-mode)
1520 (tool-bar-mode, show-trailing-whitespace):
1521 Do not specify standard values.
1522 (transient-mark-mode, temporary-file-directory): Use :standard.
1524 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1526 * term/x-win.el (x-get-selection-value): New function that gets
1527 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1529 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1531 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1532 preserve owner and group when editing files. (Bug#7289)
1534 2010-10-31 Glenn Morris <rgm@gnu.org>
1536 * speedbar.el (speedbar-mode):
1537 * play/fortune.el (fortune-in-buffer, fortune):
1538 * play/gomoku.el (gomoku-mode):
1539 * play/landmark.el (lm-mode):
1540 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1541 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1543 * select.el (x-selection): Mark it as an obsolete alias.
1545 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1547 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1548 major-mode (bug#7284).
1550 2010-10-31 Glenn Morris <rgm@gnu.org>
1552 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1553 rather than just an unused variable that inherits from the real one.
1555 2010-10-31 Alan Mackenzie <acm@muc.de>
1557 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1558 This fixes bug #7185.
1560 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1562 * startup.el (command-line): Search for package directories, and
1563 don't load package.el if none are found.
1565 * emacs-lisp/package.el (describe-package, list-packages):
1566 Call package-initialize if it has not been called yet.
1568 2010-10-30 Alan Mackenzie <acm@muc.de>
1570 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1571 which fontifies the tail of an enum.
1572 (c-basic-matchers-after): Insert a call to the above new function.
1573 This fixes bug #7264.
1575 2010-10-30 Glenn Morris <rgm@gnu.org>
1577 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1578 tool-bar-mode, transient-mark-mode. (Bug#7306)
1579 Include the :set property in the dumped Emacs.
1581 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1583 SMIE: change indent rules format, improve smie-setup.
1584 * emacs-lisp/smie.el (smie-precs-precedence-table)
1585 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1586 Mark them pure so the tables gets built at compile time.
1587 (smie-bnf-precedence-table): Store the closer-alist in the table.
1588 (smie-prec2-levels): Preserve the closer-alist.
1589 (smie-blink-matching-open): Be more forgiving in case of indentation.
1590 (smie-hanging-p): Rename from smie-indent--hanging-p.
1591 (smie-bolp): Rename from smie-indent--bolp.
1592 (smie--parent, smie--after): New dynamic vars.
1593 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1594 (smie-indent-rules): Remove.
1595 (smie-indent--offset-rule): Remove fun.
1596 (smie-rules-function): New var.
1597 (smie-indent--rule): New fun.
1598 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1599 (smie-indent-exps): Use it.
1600 (smie-setup): Setup paren blinking; add keyword args for token
1601 functions; extract closer-alist from op-levels.
1602 (smie-indent-debug-log): Remove var.
1603 (smie-indent-debug): Remove fun.
1604 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1605 (prolog-smie-rules): New fun to replace it.
1606 (prolog-mode-variables): Simplify.
1607 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1608 it's setup automatically.
1609 (octave-smie-indent-rules): Remove.
1610 (octave-smie-rules): New fun to replace it.
1611 (octave-mode): Simplify.
1613 2010-10-29 Glenn Morris <rgm@gnu.org>
1615 * files.el (temporary-file-directory): Remove (already defined in C).
1616 * cus-start.el: Add temporary-file-directory.
1618 * abbrev.el (abbrev-mode):
1619 * composite.el (auto-composition-mode):
1620 * menu-bar.el (menu-bar-mode):
1621 * simple.el (transient-mark-mode):
1622 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1623 that they do not define the associated variables twice.
1624 * simple.el (transient-mark-mode): Remove defvar.
1625 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1626 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1627 Handle multiple groups, and also custom-delayed-init-variables.
1628 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1630 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1633 (pcase-if): Add one minor optimization.
1634 (pcase-split-equal): Rename from pcase-split-eq.
1635 (pcase-split-member): Rename from pcase-split-memq.
1636 (pcase-u1): Add strings to the member optimization.
1637 Add `guard' variant of predicates.
1638 (pcase-q1): Add string patterns.
1640 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1642 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1644 2010-10-28 Glenn Morris <rgm@gnu.org>
1646 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1647 Move menu-bar related settings to ../menu-bar.el.
1648 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1649 Move ns-specific settings here from term/ns-win.el.
1651 * simple.el (x-selection-owner-p): Remove unused declaration.
1653 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1655 * minibuffer.el (completion-cycling): New var (bug#7266).
1656 (minibuffer-complete, completion--do-completion):
1657 Use completion--flush-all-sorted-completions.
1658 (minibuffer-complete): Only cycle if completion-cycling is set.
1659 (completion--flush-all-sorted-completions): Unset completion-cycling.
1660 (minibuffer-force-complete): Set completion-cycling.
1661 (completion-all-sorted-completions): Move declaration before first use.
1663 2010-10-28 Leo <sdl.web@gmail.com>
1665 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1666 which changes the order of matches seen by users (bug#7231).
1668 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1670 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1671 Don't confuse -omega as "-o mega".
1673 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1675 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1676 (log-edit-author): New dynamic var.
1677 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1678 to return the author if different from committer.
1679 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1681 * play/landmark.el: Adjust commenting convention.
1682 (lm-nil-score): Rename from nil-score.
1683 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1684 (OOOOscore): Move into a let in lm-score-trans-table.
1685 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1687 * electric.el (electric-indent-chars): Autoload.
1688 * progmodes/octave-mod.el (octave-mode):
1689 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1690 (ruby-mode-abbrev-table): Merge initialization and declaration.
1692 2010-10-27 Glenn Morris <rgm@gnu.org>
1694 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1697 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1699 * term/ns-win.el: Restore require of cl when compiling.
1700 (menu-bar-final-items): Remove non-existent `windows' menu.
1701 (ns-handle-nxopen): Optionally handle the temp-case.
1702 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1703 (ns-insert-file, ns-find-file): Use `pop'.
1705 2010-10-26 Glenn Morris <rgm@gnu.org>
1707 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1709 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1711 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1713 * term/common-win.el (x-setup-function-keys): Remove most of the
1714 keymappings. Comment on the remaining ones.
1716 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1718 * server.el (server-port): New option. (Bug#854)
1719 (server-start): Use server-port.
1721 2010-10-26 Glenn Morris <rgm@gnu.org>
1723 * term/ns-win.el (ns-version-string): Remove unused declaration.
1724 (ns-invocation-args): Change to x-invocation-args.
1725 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1726 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1727 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1728 Use x-invocation-args instead of ns-invocation-args.
1729 (ns-initialize-window-system, handle-args-function-alist):
1730 Use x-handle-args instead of ns-handle-args.
1731 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1732 * startup.el (command-line-ns-option-alist): Replace
1733 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1734 ns-handle-iconic with the x- equivalents.
1736 * term/common-win.el (x-select-enable-clipboard):
1737 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1739 * term/ns-win.el: No need to require cl when compiling.
1740 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1741 (xw-defined-colors): Use the common-win definitions.
1742 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1743 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1744 * term/common-win.el (x-select-text, x-alternatives-map)
1745 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1746 * loadup.el [ns]: Load common-win.
1748 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1750 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1751 recipients; expand mail aliases (Bug#7280).
1753 2010-10-25 Glenn Morris <rgm@gnu.org>
1755 * term/common-win.el (x-handle-switch): Simplify with pop.
1756 Optionally handle numeric switches.
1757 (x-handle-numeric-switch): Just call x-handle-switch.
1758 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1759 (x-handle-name-switch, x-handle-display, x-handle-args):
1762 * term/ns-win.el: Do not require easymenu.
1763 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1764 <spell>: Move adjustments to menu-bar.el.
1765 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1766 <separator-undo, spell>: Move ns-win's adjustments here.
1767 * loadup.el [ns]: Do not load easymenu.
1769 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1771 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1774 * startup.el (fancy-startup-tail): Instead of using inline images,
1775 refer to image files from etc/.
1777 * wid-edit.el (checkbox): Likewise.
1778 (widget-image-find): Center image specs.
1780 2010-10-24 Glenn Morris <rgm@gnu.org>
1782 * term/ns-win.el (x-select-text): Doc fix.
1783 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1784 (x-select-text): Move to term/common-win.
1785 * term/w32-win.el (xw-defined-colors): Move to common-win.
1786 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1787 (x-setup-function-keys, x-select-text): Move to common-win.
1788 * term/common-win.el (x-select-text, x-alternatives-map)
1789 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1792 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1794 * net/mairix.el (mairix-searches-mode-map):
1795 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1797 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1799 * verilog-mode.el (verilog-directive-re): Make this variable
1800 auto-built for efficiency of execution and updating.
1801 (verilog-extended-complete-re): Support 'pure' fucntion & task
1802 declarations (these have no bodies).
1803 (verilog-beg-of-statement): General cleanup to enable support of
1804 'pure' fucntion & task declarations (these have no bodies).
1805 These efforts together fix Verilog bug210 from veripool; which was also
1806 noticed by Steve Pearlmutter.
1807 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1808 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1809 Support `elsif. Reported by Shankar Giri.
1810 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1811 attribute handling for lining up declarations and assignments.
1812 (verilog-beg-of-statement-1): Fix issue where continued declaration
1813 is indented differently if it is after a begin..end clock.
1814 (verilog-in-attribute-p, verilog-skip-backward-comments)
1815 (verilog-skip-forward-comment-p): Support proper treatment of
1816 attributes by indent code. Reported by Jeff Steele.
1817 (verilog-in-directive-p): Fix comment to correctly describe function.
1818 (verilog-backward-up-list, verilog-in-struct-region-p)
1819 (verilog-backward-token, verilog-in-struct-p)
1820 (verilog-in-coverage-p, verilog-do-indent)
1821 (verilog-pretty-declarations): Use verilog-backward-up-list as
1822 wrapper around backward-up-list inorder to properly skip comments.
1823 Reported by David Rogoff.
1824 (verilog-property-re, verilog-endcomment-reason-re)
1825 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1826 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1827 of if). Reported by Max Bjurling and
1828 (verilog-calc-1): Fix for clocking block in modport
1829 declaration. Reported by Brian Hunter.
1831 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1833 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1834 (verilog-gate-keywords, verilog-read-sub-decls)
1835 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1836 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1837 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1838 (verilog-read-decls): Fix spaces in V2K module parameters causing
1839 mis-identification as interfaces, bug287.
1840 (verilog-read-decls): Fix not treating "parameter string" as a
1841 parameter in AUTOINSTPARAM.
1842 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1843 treating `elsif similar to `endif inside AUTOSENSE.
1844 (verilog-do-indent): Implement correct automatic or static task or
1845 function end comment highlight. Reported by Steve Pearlmutter.
1846 (verilog-font-lock-keywords-2): Fix highlighting of single
1847 character pins, bug264. Reported by Michael Laajanen.
1848 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1849 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1850 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1851 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1852 (verilog-pretty-expr): Fix interactive arguments, bug272.
1853 Reported by Mark Johnson.
1854 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1855 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1856 bug269. Suggested by Gary Delp.
1857 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1858 (verilog-preprocessor, verilog-set-compile-command):
1859 Create verilog-preprocess and verilog-preprocessor to show
1860 preprocessed output.
1861 (verilog-get-beg-of-line, verilog-get-end-of-line)
1862 (verilog-modi-file-or-buffer, verilog-modi-name)
1863 (verilog-modi-point, verilog-within-string): Move defmacro's
1864 before first use to avoid warning. Reported by Steve Pearlmutter.
1865 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1866 (verilog-colorize-region, verilog-highlight-buffer)
1867 (verilog-highlight-includes, verilog-highlight-modules)
1868 (verilog-highlight-region, verilog-mode): Rename colorize to
1869 highlight to match other packages. Disable module highlighting,
1870 as received speed complaints, reenable for experimentation only
1871 using new verilog-highlight-modules.
1872 (verilog-read-decls): Fix regexp stack overflow in very large
1873 AUTO_TEMPLATEs, bug250.
1874 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1875 (verilog-scan): Create verilog-save-buffer-state to standardize
1876 making insignificant changes that shouldn't call hooks.
1877 (verilog-save-no-change-functions, verilog-save-scan-cache)
1878 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1879 Create verilog-save-no-change-functions to wrap verilog-scan
1880 preservation, and fix to work with nested preserved calls.
1881 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1882 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1883 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1884 (verilog-submit-bug-report): Update variable list to be complete.
1885 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1886 breaking on-the-fly font-locking.
1887 (verilog-colorize-buffer, verilog-colorize-include-files)
1888 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1889 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1890 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1891 AUTOINST cell instance name, middle mouse button now finds-file on
1892 it. Suggested by Brad Dobbie.
1893 (verilog-alw-get-temps, verilog-auto-reset)
1894 (verilog-auto-sense-sigs, verilog-read-always-signals)
1895 (verilog-read-always-signals-recurse): Fix loop indexes being
1896 AUTORESET. AUTORESET now assumes any variables in the
1897 initialization section of a for() should be ignored.
1898 Reported by Dan Dever.
1899 (verilog-error-font-lock-keywords)
1900 (verilog-error-regexp-emacs-alist)
1901 (verilog-error-regexp-xemacs-alist): Fix error detection of
1902 Cadence HAL, reported by David Asher. Repair drift between the
1903 three similar error variables.
1904 (verilog-modi-lookup, verilog-modi-lookup-cache)
1905 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1906 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1907 Fix slow verilog-auto expansion on very large files.
1908 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1909 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1910 "{1*2{...". Broke in last revision.
1911 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1912 submodule connections with replications "{#{a},#{b}}".
1914 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1916 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1917 Fix typo in docstring.
1919 2010-10-24 Kenichi Handa <handa@m17n.org>
1921 * face-remap.el (text-scale-adjust): Call read-event with a proper
1924 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1926 * emacs-lisp/unsafep.el: Don't mark functions that display
1927 messages as safe. Suggested by Johan Bockgård.
1929 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1931 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1932 Turn comments into docstrings.
1934 * minibuffer.el (completion--replace): Move point where it belongs
1935 when there's a common suffix (bug#7215).
1937 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1939 Merge read-color and facemenu-read-color (Bug#7242).
1941 * faces.el (read-color): Use the completion code from
1942 facemenu-read-color. Require match in completion. Doc fix.
1944 * facemenu.el (facemenu-read-color): Alias for read-color.
1945 (facemenu-set-foreground, facemenu-set-background):
1948 * frame.el (set-background-color, set-foreground-color)
1949 (set-cursor-color, set-mouse-color, set-border-color):
1952 2010-10-24 Leo <sdl.web@gmail.com>
1954 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1955 argument of delete-file and delete-directory (Bug#7011).
1957 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1959 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1962 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1964 * emacs-lisp/package.el (package--generate-package-list): Make the
1965 *Packages* buffer read-only.
1967 2010-10-24 Alan Mackenzie <acm@muc.de>
1969 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1970 result of `c-beginning-of-decl-1' between invocations of a lambda
1971 function (Bug #7265).
1973 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1975 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1976 executable is not available on the system (Bug#7268).
1978 2010-10-24 Glenn Morris <rgm@gnu.org>
1980 * select.el (selection-coding-system, next-selection-coding-system):
1981 Sync doc with C versions.
1983 * w32-vars.el (x-select-enable-clipboard):
1984 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1985 * term/common-win.el (x-select-enable-clipboard): Move here.
1987 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1988 definition of C variable.
1990 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1991 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1992 Don't redefine things that are defined in C.
1993 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1994 (show-trailing-whitespace, auto-hscroll-mode)
1995 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1996 Set up the appropriate custom properties.
1998 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2001 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2002 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2003 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2004 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2006 2010-10-23 Glenn Morris <rgm@gnu.org>
2008 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2011 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2012 Sync docs with C version.
2014 * term/ns-win.el (xw-defined-colors):
2015 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2017 * term/pc-win.el (x-select-enable-clipboard):
2018 * term/x-win.el (x-select-enable-clipboard):
2019 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2021 * comint.el (comint-password-prompt-regexp): Make it less vague.
2024 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2026 * help.el (finder-by-keyword): Remove unnecessary autoload.
2028 2010-10-22 Glenn Morris <rgm@gnu.org>
2030 * loadup.el: Unconditionally load float-sup.
2031 * paren.el (show-paren-delay):
2032 * emacs-lisp/float-sup.el:
2033 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2034 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2035 (lazy-lock-stealth-verbose): Assume float support.
2036 * ps-print.el: Assume float support on Emacs.
2037 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2038 Remove non-float branch.
2040 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2041 src/Makefile no longer being pre-processed.
2043 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2045 * emacs-lisp/find-func.el (find-library): Use test-completion.
2047 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2049 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2051 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2053 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2054 space in stat format string.
2055 (tramp-send-command): Unset $PS1 when using here documents, in
2056 order not to get several prompts.
2057 (tramp-get-inline-coding): Return `nil' in case of errors.
2059 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2061 * hexl.el (hexl-mode, hexl-mode-exit):
2062 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2063 (hexl-revert-buffer-function): New function.
2064 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2066 2010-10-19 Alan Mackenzie <acm@muc.de>
2068 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2069 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2070 that these keywords aren't wrongly matched as identifiers.
2072 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2073 setting of c-new-BEG and c-new-END from c-before-change to
2074 c-after-change. (Bug#7181)
2076 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2078 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2081 * custom.el (custom-theme-set-variables): Likewise.
2082 (load-theme): Add custom-theme-set-faces and
2083 custom-theme-set-variables to safe-functions while loading.
2084 (custom-enabled-themes): Mark as risky.
2086 2010-10-18 Julien Danjou <julien@danjou.info>
2088 * bindings.el: Remove end dashes in default mode-line-format.
2090 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2092 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2093 to delete-forward-char.
2095 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2096 deletechar, and hence delete-forward-char.
2098 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2100 * repeat.el (repeat): Use read-key (bug#6256).
2102 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2104 * emacs-lisp/unsafep.el: Don't mark functions that display
2105 messages as safe. Suggested by Johan Bockgård.
2107 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * minibuffer.el (completion--replace): Move point where it belongs
2110 when there's a common suffix (bug#7215).
2112 2010-10-19 Kenichi Handa <handa@m17n.org>
2114 * international/characters.el: Add category '|' (word breakable)
2115 to fullwidth characters.
2117 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2119 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2120 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2121 order to make stat results a float. Patch by Andreas Schwab
2122 <schwab@linux-m68k.org>.
2124 2010-10-18 Julien Danjou <julien@danjou.info>
2126 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2127 hidden by `make-pointer-invisible'.
2129 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2131 * files.el (locate-file-completion-table): Strip non-matching elements
2132 before checking length of list (bug#7238).
2134 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2136 * custom.el (custom-theme-set-variables): Mark as a safe function.
2137 (load-theme): Check forms using unsafep.
2139 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2141 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2143 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2144 Fix aspell data file searching (bug#7230).
2146 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2148 * cus-theme.el (custom-theme--migrate-settings): New var.
2149 (customize-create-theme): Allow editing the `user' theme.
2150 (custom-theme-add-variable, custom-theme-add-var-1)
2151 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2152 to the front of each variable or face widget.
2153 (custom-theme-write): Save theme settings in the correct order.
2154 Optionally, remove saved settings from user customizations.
2155 (custom-theme-write-variables, custom-theme-write-faces):
2156 Save only the checked widgets.
2157 (customize-themes): Add a link for migrating custom settings.
2159 * custom.el (custom-declare-theme, provide-theme):
2160 Use custom-theme-name-valid-p.
2161 (custom-theme-name-valid-p): Remove checks that are now
2162 unnecessary since themes no longer obey load-path.
2164 * cus-edit.el (custom-variable-value-create): For the simple
2165 style, hide documentation string when hidden.
2167 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2169 * cus-edit.el (custom-variable, custom-face): Combine the
2170 :inhibit-magic and :display-style properties into a single
2171 :custom-style property.
2172 (custom-toggle-hide-variable, custom-toggle-hide-face):
2173 New functions. If hiding an edited value, save it to :shown-value.
2174 (custom-variable-value-create, custom-face-value-create): Use them.
2175 (custom-magic-reset): Allow magic property to be unset.
2177 * custom.el: Custom themes no longer use load-path.
2178 (custom-theme-load-path): New option. Change built-in theme
2180 (custom-enabled-themes): Add custom-theme-load-path dependency.
2181 (custom-theme--load-path): New function.
2182 (load-theme, custom-available-themes): Use it.
2184 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2185 (customize-themes): Link to custom-theme-load-path variable.
2186 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2187 :custom-style property.
2189 * themes/*.el: Moved to etc/.
2191 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2193 * textmodes/reftex-cite.el
2194 (reftex-extract-bib-entries-from-thebibliography): Do not move
2195 point when searching for \bibitem entries. Match entries with
2196 spaces or tabs in front of arguments.
2198 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2200 * cus-theme.el (customize-create-theme): Delete overlays after
2201 erasing. If given a THEME arg, display only the faces of that arg
2202 instead of custom-theme--listed-faces.
2203 (custom-theme-variable-menu, custom-theme-variable-action)
2204 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2205 (custom-theme-add-variable, custom-theme-add-face): Apply value
2206 from the theme settings, instead of the current value.
2207 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2208 (custom-theme-visit-theme): Allow calling outside theme buffers.
2209 (custom-theme-merge-theme): Don't enable the theme when merging.
2210 (custom-theme-write-variables, custom-theme-write-faces): Use the
2211 :shown-value properties to save buffer values, not global ones.
2212 (customize-themes): Display a warning about user customizations.
2214 * cus-edit.el (custom-variable-value-create)
2215 (custom-face-value-create): Obey new special properties
2216 :shown-value and :inhibit-magic.
2218 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2220 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2221 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2224 2010-10-14 Kenichi Handa <handa@m17n.org>
2226 * mail/rmail.el (rmail-show-message-1): Catch an error of
2227 base64-decode-region and just show an error message (bug#7165).
2229 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2230 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2231 a font-spec (bug#7197).
2233 2010-10-14 Glenn Morris <rgm@gnu.org>
2235 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2237 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2239 * international/mule.el (define-coding-system):
2240 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2241 * composite.el (compose-region): Fix typo in docstring.
2243 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2245 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2246 only after checking the theme-face property.
2248 * faces.el (face-spec-reset-face): Reset all attributes in one
2249 single call to set-face-attribute.
2250 (face-spec-match-p): Make it a defsubst.
2251 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2252 (x-create-frame-with-faces, tty-create-frame-with-faces)
2253 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2254 frame-set-background-mode, since they are recomputed immediately
2255 afterwards in face-set-after-frame-default.
2256 (face-set-after-frame-default): Minor optimization.
2257 (cursor): Provide non-trivial defface spec.
2259 * custom.el (custom-theme-recalc-face): Simplify.
2261 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2263 * calc/calc-alg.el (math-var): Rename from `var'.
2264 (math-is-polynomial, math-is-poly-rec): Replace `var'
2267 * calc/calcalg2.el (math-var): Rename from `var'.
2268 (calcFunc-table, math-scan-for-limits): Replace `var'
2271 2010-10-13 Glenn Morris <rgm@gnu.org>
2273 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2275 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2277 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2279 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2281 * net/tls.el (tls-program): Remove spurious %s from openssl.
2282 (tls-starttls-switches): Remove starttls hack.
2283 (open-tls-stream): Ditto.
2284 (tls-find-starttls-argument): Ditto.
2286 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2288 * image.el (image-library-alist): Declare as obsolete alias.
2289 (image-type-available-p): Use `dynamic-library-alist'.
2291 * term/w32-win.el (dynamic-library-alist):
2292 Use instead of `image-library-alist'.
2294 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2296 * subr.el (last): Make it faster. (Bug#7174)
2298 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2300 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2302 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2304 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2305 (describe-theme-1): Extract doc from unloaded themes.
2307 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2309 * themes/tango-theme.el:
2310 * themes/tango-dark-theme.el:
2311 * themes/wheatgrass-theme.el: New files.
2313 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2315 * cus-theme.el (describe-theme, customize-themes)
2316 (custom-theme-save): New commands.
2317 (custom-new-theme-mode-map): Bind C-x C-s.
2318 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2319 (customize-create-theme): New optional arg THEME.
2320 (custom-theme-revert): Use it.
2321 (custom-theme-visit-theme): Remove dead code.
2322 (custom-theme-merge-theme): Use custom-available-themes.
2323 (custom-theme-write): Make interactive.
2324 (custom-theme-write): Use custom-theme-name-valid-p.
2325 (describe-theme-1, custom-theme-choose-revert)
2326 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2328 (custom-theme-allow-multiple-selections): New option.
2329 (custom-theme-choose-mode): New major mode.
2331 * custom.el (custom-theme-set-variables): Remove dead code.
2332 Obey custom--inhibit-theme-enable.
2333 (custom--inhibit-theme-enable): New var.
2334 (provide-theme): Obey it.
2335 (load-theme): Replace load with manual read/eval, in order to
2336 check for correctness. Use custom-theme-name-valid-p.
2337 (custom-theme-name-valid-p): New function.
2338 (custom-available-themes): Use it.
2340 * cus-edit.el (custom--initialize-widget-variables): New function.
2341 (Custom-mode): Use it.
2343 * cus-face.el (custom-theme-set-faces): Remove dead code.
2344 Obey custom--inhibit-theme-enable.
2346 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2348 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2350 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2352 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2354 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2355 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2356 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2358 * cus-start.el (all): ns-right-alternate-modifier is new.
2360 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2362 * emacs-lisp/lisp.el (lisp-completion-at-point):
2363 Use emacs-lisp-mode-syntax-table for the whole function.
2365 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2367 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2368 instead of font-lock-mode before adding keywords.
2369 Remove hi-lock-mode off code. Remove inhibit hack.
2370 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2371 non-nil; removed hook inhibit hack.
2373 2010-10-12 Glenn Morris <rgm@gnu.org>
2375 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2376 (load-path-shadows-find): ... to this.
2377 (list-load-path-shadows): Update for above change.
2379 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2381 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2383 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2384 Fix comment for declare-function.
2386 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2388 * custom.el (custom-fix-face-spec): New function; code moved from
2389 custom-face-edit-fix-value.
2390 (custom-push-theme): Use it when checking if a face has been
2391 changed outside customize.
2392 (custom-available-themes): New function.
2393 (load-theme): Use it.
2395 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2397 * custom.el (custom-push-theme): Cleanup (use cond).
2398 (disable-theme): Recompute the saved-face property.
2399 (custom-theme-recalc-face): Follow face alias before setting prop.
2401 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2402 New variables, containing checkbox images.
2404 * startup.el (fancy-startup-tail):
2405 * wid-edit.el (checkbox): Use them.
2407 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2409 * shell.el (shell-mode-map):
2410 * progmodes/modula2.el (m2-mode-map):
2411 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2412 * play/mpuz.el (mpuz-mode-map):
2413 * play/landmark.el (lm-mode-map):
2414 * play/decipher.el (decipher-mode-map):
2415 * play/5x5.el (5x5-mode-map):
2416 * net/telnet.el (telnet-mode-map):
2417 * net/quickurl.el (quickurl-list-mode-map):
2418 * net/mairix.el (mairix-searches-mode-map):
2419 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2420 * net/dig.el (dig-mode-map):
2421 * mail/mspools.el (mspools-mode-map):
2422 * hexl.el (hexl-mode-map):
2423 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2424 (wordstar-C-o-map, wordstar-C-q-map):
2425 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2426 * emacs-lisp/chart.el (chart-map):
2427 * edmacro.el (edmacro-mode-map):
2428 * erc/erc-list.el (erc-list-menu-mode-map):
2429 * array.el (array-mode-map): Declare and define in one step.
2431 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2433 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2435 * epa.el (epa-passphrase-callback-function): Display filename
2436 passed as the 3rd arg.
2437 * epa-file.el (epa-file-passphrase-callback-function):
2438 Pass filename to epa-passphrase-callback-function.
2440 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2442 * cus-edit.el (custom-face-widget-to-spec)
2443 (custom-face-get-current-spec, custom-face-state): New functions.
2444 (custom-face-set, custom-face-mark-to-save)
2445 (custom-face-value-create, custom-face-state-set): Use them.
2447 * cus-theme.el (custom-theme--listed-faces): New var.
2448 (customize-create-theme): Use *Custom Theme* as the buffer name.
2449 Set revert-buffer-function. Optional arg BUFFER. Insert all
2450 faces listed in custom-theme--listed-faces.
2451 (custom-theme-revert): New function.
2452 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2454 (custom-theme-write): Prompt for theme name if empty.
2455 (custom-theme-write-variables): Use dolist.
2456 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2458 2010-10-09 Alan Mackenzie <acm@muc.de>
2460 Enhance fontification of declarators to take account of the
2461 presence/absence of "typedef".
2463 * cc-engine.el (c-forward-type): New &optional param
2465 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2466 presence of either or both of a "struct"-like keyword and "typedef".
2468 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2469 fontification of declarators which follow a "}".
2470 (c-font-lock-declarations): Fontify declarators according to the
2471 presence/absence of "typedef".
2473 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2475 (c-typedef-decl-key): New lang variable built from
2476 c-typedef-decl-kwds.
2478 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2480 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2481 since that's too annoying. Move the filter groups commands to
2484 * epa.el (epa-passphrase-callback-function): Say what we're
2485 querying the password for.
2487 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2488 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2490 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2492 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2493 (custom-magic-value-create): Pad button tags with spaces.
2494 (custom-face-edit): New variable.
2495 (custom-face-value-create): Determine whether to use the usual
2496 face editor here, instead of using custom-face-selected.
2497 Pass face defaults to custom-face-edit widget.
2498 (custom-face-selected, custom-display-unselected): Delete widgets.
2499 (custom-display-unselected-match): Function removed.
2500 (custom-face-set, custom-face-mark-to-save):
2501 Accept custom-face-edit widgets as the direct widget child.
2503 * wid-edit.el (widget--completing-widget): New var.
2504 (widget-default-complete): Bind it when doing completion.
2505 (widget-string-complete, widget-file-complete): Use it.
2507 2010-10-09 Glenn Morris <rgm@gnu.org>
2509 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2510 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2511 (holiday-hebrew-misc): Small simplifications.
2513 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2515 * net/browse-url.el: Don't require thingatpt, term, dired,
2516 executable, or w3-auto when compiling.
2517 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2519 (browse-url-text-emacs): Require term.
2521 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2523 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2525 2010-10-08 Glenn Morris <rgm@gnu.org>
2527 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2529 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2530 (shadows-compare-text-p): Make it an obsolete alias for...
2531 (load-path-shadows-compare-text): ... new name.
2532 (find-emacs-lisp-shadows): Update for above name change.
2533 (load-path-shadows-same-file-or-nonexistent): New name for the old
2534 shadow-same-file-or-nonexistent.
2536 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2538 * minibuffer.el (completion--some, completion--do-completion)
2539 (minibuffer-complete-and-exit, minibuffer-completion-help)
2540 (completion-basic-try-completion)
2541 (completion-basic-all-completions)
2542 (completion-pcm--find-all-completions): Use lexical-let to
2543 avoid some false matches in variable completion (Bug#7056)
2545 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2547 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2549 2010-10-08 Leo <sdl.web@gmail.com>
2551 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2552 return non-nil if the file exists (Bug#7090).
2554 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * minibuffer.el (completion--replace):
2557 Better preserve markers (bug#7138).
2559 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2561 * server.el (server-process-filter): Doc fix.
2563 2010-10-08 Drew Adams <drew.adams@oracle.com>
2565 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2567 2010-10-08 Glenn Morris <rgm@gnu.org>
2569 * vc/ediff-wind.el (ediff-setup-control-frame):
2570 * vc/ediff-ptch.el (ediff-default-backup-extension):
2571 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2572 (ediff-exec-process): Remove system-types emx, windows-95.
2574 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2576 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2578 * cus-edit.el (custom-variable, custom-face): Doc fix.
2579 (custom-face-edit): Add value-create attribute.
2580 (custom-face-edit-value-create)
2581 (custom-face-edit-value-visibility-action): New functions.
2582 Hide unused face attributes by default, and add a visibility toggle.
2583 (custom-face-edit-deactivate): Show empty values with shadow face.
2584 (custom-face-selected): Only use this for face specs with default
2586 (custom-face-value-create): Cleanup.
2588 * wid-edit.el (widget-checklist-value-create): Use dolist.
2589 (widget-checklist-match-find): Make second arg optional.
2591 2010-10-07 Glenn Morris <rgm@gnu.org>
2593 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2596 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2597 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2598 load-path-shadows-mode, update references.
2599 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2600 Rename variable and button.
2601 (list-load-path-shadows): Update button caller.
2603 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2606 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2607 (smie-merge-prec2s): Handle those new entries.
2608 (smie-prec2-levels): Only set precedence to nil for actual
2610 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2611 that is now unnecessary.
2613 2010-10-07 Miles Bader <miles@gnu.org>
2615 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2617 2010-10-07 Glenn Morris <rgm@gnu.org>
2619 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2620 (mail-position-on-field): Remove declarations.
2621 (mail-position-on-field): Autoload it.
2622 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2623 and mail-header-end. Don't require sendmail.
2625 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2626 (shadow-mode): New mode.
2627 (shadow-find-file): New button.
2628 (list-load-path-shadows): Use shadow-mode and buttons.
2630 * iimage.el (iimage-version): Remove.
2631 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2632 Turn into defcustoms.
2633 (iimage-mode-map): Give it a doc string.
2635 * calendar/appt.el (appt-activate): Give a warning rather than an error
2636 if there is no diary-file.
2638 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2640 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2641 Use `tramp-handle-find-backup-file-name'.
2643 2010-10-06 Glenn Morris <rgm@gnu.org>
2645 * font-core.el (font-lock-defaults-alist): Remove variable.
2646 (font-lock-mode): Doc fix.
2647 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2648 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2649 (font-lock-set-defaults): Doc fix.
2650 Do not consult font-lock-defaults-alist.
2652 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2654 * emacs-lisp/cl.el: No longer provide cl-19.
2656 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2658 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2659 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2660 New defuns, taken from tramp-smb.el.
2661 (tramp-coding-system-change-eol-conversion)
2662 (tramp-set-process-query-on-exit-flag): Remove.
2664 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2665 (tramp-compat-coding-system-change-eol-conversion)
2666 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2669 * net/tramp-gvfs.el:
2670 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2671 by `tramp-compat-set-process-query-on-exit-flag'.
2673 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2674 Use `tramp-handle-directory-files-and-attributes',
2675 `tramp-handle-file-exists-p' and
2676 `tramp-handle-file-newer-than-file-p'.
2677 (tramp-imap-handle-file-exists-p)
2678 (tramp-imap-handle-file-executable-p)
2679 (tramp-imap-handle-file-readable-p)
2680 (tramp-imap-handle-directory-files-and-attributes)
2681 (tramp-imap-handle-file-newer-than-file-p): Remove.
2683 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2684 by `tramp-compat-set-process-query-on-exit-flag' and
2685 `tramp-coding-system-change-eol-conversion' by
2686 `tramp-compat-coding-system-change-eol-conversion'.
2688 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2689 Use `tramp-handle-directory-files-and-attributes',
2690 `tramp-handle-file-exists-p' and
2691 `tramp-handle-file-newer-than-file-p'.
2692 (tramp-smb-handle-directory-files-and-attributes)
2693 (tramp-smb-handle-file-exists-p)
2694 (tramp-smb-handle-file-newer-than-file-p): Remove.
2695 (tramp-smb-maybe-open-connection):
2696 Replace `tramp-set-process-query-on-exit-flag' by
2697 `tramp-compat-set-process-query-on-exit-flag'.
2699 2010-10-05 Glenn Morris <rgm@gnu.org>
2701 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2703 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2705 Continue reorganization of load dependencies. (Bug#7156)
2707 * net/tramp.el (tramp-handle-file-local-copy-hook)
2708 (tramp-delete-temp-file-function): Move down.
2709 (tramp-exists-file-name-handler): Move up.
2710 (tramp-register-file-name-handlers): Simplify autoload.
2711 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2712 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2713 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2714 (tramp-handle-file-name-completion)
2715 (tramp-handle-file-name-directory)
2716 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2717 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2718 (tramp-handle-find-backup-file-name)
2719 (tramp-handle-insert-file-contents, tramp-handle-load)
2720 (tramp-handle-substitute-in-file-name)
2721 (tramp-handle-unhandled-file-name-directory)
2722 (tramp-mode-string-to-int, tramp-local-host-p)
2723 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2725 * net/tramp-gvfs.el (top):
2726 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2728 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2729 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2731 2010-10-04 Glenn Morris <rgm@gnu.org>
2733 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2734 (appt-activate): Give status messages.
2736 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2738 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2739 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2740 `gnutls-negotiate' (formerly `starttls-negotiate').
2741 Remove trivial wrapper `starttls-open-stream'.
2743 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2745 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2746 log-outgoing commands.
2747 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2748 to create a buffer local revert-buffer-function variable.
2749 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2750 revert-buffer-function lambda.
2752 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2754 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2755 `gnutls-boot'. Make TYPE the only required parameter.
2756 Allow TRUSTFILES and KEYFILES to be lists.
2757 (open-ssl-stream): Use it.
2759 2010-10-03 Glenn Morris <rgm@gnu.org>
2761 * subr.el (directory-sep-char): Remove obsolete variable.
2762 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2765 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2766 * vc/vc.el (vc-static-header-alist): Doc fix.
2767 * vc/vc-cvs.el (vc-cvs-header):
2768 * vc/vc-rcs.el (vc-rcs-header):
2769 * vc/vc-sccs.el (vc-sccs-header):
2770 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2771 * obsolete/vc-mcvs.el (vc-mcvs-header):
2772 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2775 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2777 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2778 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2780 2010-10-03 Glenn Morris <rgm@gnu.org>
2782 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2784 * textmodes/rst.el (rst-font-lock-keywords-function):
2787 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2789 * printing.el: Drop Emacs 20 code.
2791 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2792 without having used appt.el already).
2794 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2795 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2796 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2798 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2799 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2801 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2802 (charset-width, find-charset-region, chars-in-region, forward-point)
2803 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2804 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2805 Remove compatibility cruft (none of these are used by ps*.el).
2807 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2809 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2811 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2813 * server.el (server-process-filter, server-return-error):
2814 Give emacsclient time to shut down after receiving an error string.
2816 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2818 * files.el (remote-file-name-inhibit-cache): New defcustom.
2820 * time.el (display-time-file-nonempty-p):
2821 Use `remote-file-name-inhibit-cache'.
2823 * net/tramp.el (tramp-completion-reread-directory-timeout):
2826 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2827 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2828 `remote-file-name-inhibit-cache'. Check also for an integer
2829 value. Add/increase counter when `tramp-verbose' >= 10.
2830 (tramp-set-file-property): Add/increase counter when
2831 `tramp-verbose' >= 10.
2833 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2834 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2835 (tramp-bug): Set tramp-autoload cookie. Report all interned
2836 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2837 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2838 characters only in strings.
2840 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2841 to backward compatibility.
2843 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2844 (tramp-handle-file-name-all-completions)
2845 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2846 (tramp-open-connection-setup-interactive-shell):
2847 Call `tramp-cleanup-connection' directly.
2849 2010-10-02 Glenn Morris <rgm@gnu.org>
2851 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2853 * subr.el (char-bytes): Remove obsolete function.
2855 * isearch.el (isearch-return-char): Remove obsolete function.
2857 * mouse.el: No longer provide mldrag.
2858 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2859 Remove obsolete aliases.
2861 * comint.el (comint-kill-output): Remove obsolete alias.
2863 * composite.el (decompose-composite-char): Remove obsolete function.
2864 * ps-def.el (decompose-composite-char): Remove unused function.
2866 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2868 * outline.el (outline-visible): Remove obsolete function.
2870 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2871 * faces.el (internal-find-face, internal-get-face)
2872 (frame-update-faces, frame-update-face-colors)
2873 (x-frob-font-weight, x-frob-font-slant)
2874 (internal-frob-font-weight, internal-frob-font-slant)
2875 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2876 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2877 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2879 * emulation/viper-util.el (viper-get-face):
2880 * obsolete/lucid.el (find-face, get-face): Use facep.
2881 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2882 Remove unused functions.
2883 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2885 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2886 delete tempfile if interrupted during compilation.
2888 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2890 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2892 (tls-program): Add --insecure to be consistent with the defaults from
2893 openssl s_client. Now all three commands are insecure.
2895 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2897 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2898 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2899 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2901 2010-10-01 Glenn Morris <rgm@gnu.org>
2903 * obsolete/sc.el: Remove file.
2905 * files.el (temporary-file-directory): On darwin, also try
2906 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2908 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2910 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2911 Let's not break compatibility gratuitously, shall we?
2913 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2915 * net/tls.el (tls-starttls-switches): New variable.
2916 (tls-find-starttls-argument): Use it.
2917 (open-tls-stream): Ditto.
2919 * net/netrc.el (netrc-credentials): Return the value of the "default"
2921 (netrc-machine): Ditto.
2923 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2925 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2927 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2929 * server.el (server-start): Don't write pid to the authentication file.
2930 (server-create-tty-frame): Don't send pid.
2931 (server-process-filter): Send pid at the start of every connection.
2933 2010-09-30 Glenn Morris <rgm@gnu.org>
2935 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2936 (show-all-diary-entries): Remove obsolete function aliases.
2938 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2939 Remove options, obsolete since 22.1.
2940 (appt-display-format, appt-display-message):
2941 Remove backwards-compatibility code.
2942 (appt-check): No longer check appt-issue-message.
2943 (appt-make-list): No longer autoload it. Doc fix. No longer
2944 activate the package.
2946 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2948 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2949 (starttls-negotiate): Just call boot, and let the handshake be
2950 triggered from the read loop.
2952 2010-09-29 Glenn Morris <rgm@gnu.org>
2954 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2955 not displaying the diary.
2956 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2957 * calendar/appt.el (appt-check): No longer need to kill diary.
2959 * calendar/diary-lib.el (diary-list-entries): Move the
2960 "Preparing..." message entirely here.
2961 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2962 messages to diary-list-entries.
2963 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2964 diary-display-function.
2966 * calendar/diary-lib.el (diary-include-other-diary-files):
2967 Trap some recursive includes.
2969 * calendar/appt.el (appt-activate): Check diary file.
2971 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2973 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2976 * calendar/time-date.el: No need to require cl for Emacs 21.
2978 2010-09-28 Glenn Morris <rgm@gnu.org>
2980 * calendar/appt.el (appt-check): Minor simplification.
2982 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2984 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2987 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2989 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2990 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2992 2010-09-27 Kenichi Handa <handa@m17n.org>
2994 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2997 2010-09-27 Kenichi Handa <handa@m17n.org>
2999 * international/mule.el (define-coding-system): Docstring fixed.
3001 * international/mule-diag.el (describe-character-set): Use princ
3002 with proper print-length and print-level instead of insert.
3004 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3006 * window.el (walk-windows): Doc fix (bug#7105).
3008 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * emacs-lisp/float-sup.el (e): Remove.
3012 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3014 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3016 (starttls-negotiate): Use it.
3018 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3020 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3023 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3025 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3027 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3029 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3031 * net/netrc.el (netrc-store-data): New function.
3033 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3035 * net/gnutls.el: GnuTLS glue code to set up a connection.
3037 2010-09-25 Julien Danjou <julien@danjou.info>
3039 * notifications.el: Call dbus-register-signal only if it is bound.
3041 2010-09-25 Glenn Morris <rgm@gnu.org>
3043 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3044 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3045 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3046 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3047 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3048 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3049 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3050 * eshell/esh-util.el, eshell/esh-var.el:
3051 Remove leading `*' from docs of faces and defcustoms.
3053 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3055 * eshell/em-ls.el (eshell-ls-archive-regexp):
3056 * eshell/esh-util.el (eshell-tar-regexp):
3057 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3058 * info.el (Info-suffix-list):
3059 * international/mule.el (auto-coding-alist):
3060 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3061 * progmodes/etags.el (tags-compression-info-list):
3062 Support xz compression.
3064 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3066 * files.el (get-free-disk-space): Don't assume the "df" output
3067 columns line up (Bug#6995).
3069 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3071 * finder.el (finder-unknown-keywords):
3072 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3073 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3075 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3077 * server.el (server-start): Revert part of 2010-08-08 change. Using
3078 address 127.0.0.1 for local host is now done in Fmake_network_process.
3080 2010-09-24 Glenn Morris <rgm@gnu.org>
3082 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3083 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3084 * textmodes/css-mode.el, textmodes/dns-mode.el:
3085 Move autoloaded auto-mode-alist entries to files.el.
3086 * files.el (auto-mode-alist): Move entries here.
3088 2010-09-23 Glenn Morris <rgm@gnu.org>
3090 * isearch.el (isearch-lazy-highlight-cleanup)
3091 (isearch-lazy-highlight-initial-delay)
3092 (isearch-lazy-highlight-interval)
3093 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3094 * net/net-utils.el (ipconfig-program-options):
3095 Move aliases to options before the associated definitions.
3097 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * newcomment.el (comment-normalize-vars): Better test validity of
3102 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3104 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3105 (float-e): New name for `e'.
3106 (degrees-to-radians, radians-to-degrees):
3107 * calendar/solar.el (solar-longitude):
3108 * calculator.el (calculator-registers, calculator-funcall):
3109 * textmodes/artist.el (artist-spray-random-points):
3110 * play/bubbles.el (bubbles--initialize-images): Use new names.
3112 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3114 Update to CEDET 1.0's version of EIEIO.
3116 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3118 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3119 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3120 (class-precedence-list): If class is nil, return nil.
3121 (eieio-generic-call): If class of first input arg is nil, don't
3122 look up static methods, and do check for primary methods.
3123 (initialize-instance): See if the default needs to be evaluated
3124 during the constructor.
3125 (eieio-perform-slot-validation-for-default): Don't do the check
3126 for values that will eventually be evaluated.
3127 (eieio-eval-default-p): New function.
3128 (eieio-default-eval-maybe): Use it.
3130 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3132 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3133 method-invocation-order.
3134 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3135 (eieio-class-precedence-dfs): Compute class precedence list using
3137 (eieio-class-precedence-bfs): Compute class precedence list using
3139 (eieio-class-precedence-c3): Compute class precedence list using
3141 (class-precedence-list): New function.
3142 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3143 (inconsistent-class-hierarchy): New error symbol.
3144 (call-next-method): Stow the replacement argument list for future
3145 call-next-method invocations.
3147 2010-09-23 Glenn Morris <rgm@gnu.org>
3149 * calendar/appt.el (appt-check): If not displaying the diary,
3150 use (diary 1) to only get the entries we need.
3151 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3152 that it is in day order. (Bug#7019)
3154 * calendar/appt.el (appt-check): Rather than showing the diary,
3155 just turn off invisible display, and only if needed.
3157 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3159 2010-09-23 Glenn Morris <rgm@gnu.org>
3161 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3162 (byte-compile-defvar, byte-compile-cl-warn):
3163 Start warnings with lower-case, like the majority.
3165 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3167 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3169 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3170 * files.el (auto-mode-alist): Move ld-script entries here, further down
3173 * vc/add-log.el: Don't require timezone when compiling.
3174 (timezone-make-date-sortable): Autoload it.
3175 (change-log-sortable-date-at): Don't require timezone.
3176 Use `ignore-errors'.
3178 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3179 Move alias before definition, so it does not need autoloading.
3181 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3182 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3183 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3184 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3185 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3186 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3187 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3188 * textmodes/tex-mode.el, textmodes/two-column.el:
3189 Remove leading `*' from docs of defcustoms etc.
3191 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3193 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3195 2010-09-22 Dan Christensen <jdc@uwo.ca>
3197 * calendar/time-date.el (date-to-time): Try using parse-time-string
3198 first before using the slower timezone-make-date-arpa-standard.
3200 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3202 * calendar/time-date.el (format-seconds): Comment fix.
3204 2010-09-22 Glenn Morris <rgm@gnu.org>
3206 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3207 is not automatically buffer-local.
3209 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3211 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3212 (smie-indent-comment): Be more careful with comment-start-skip.
3213 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3214 (smie-indent-functions): Use them.
3216 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3218 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3220 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3222 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3223 tool-bar-position. Don't modify frame parameters here.
3224 (menu-bar-options-save): Add tool-bar-position.
3226 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3228 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3230 * textmodes/reftex-parse.el (reftex-what-macro)
3231 (reftex-context-substring): Let-bind forward-sexp-function to nil
3232 since we don't need/want to treat \begin...\end as a block (bug#7053).
3234 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3236 * simple.el (blink-matching-open): Use syntax-class.
3238 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3239 Set invisibility spec for pascal's outline mode.
3240 (pascal-outline-change): Clean up calling convention.
3241 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3243 * progmodes/prolog.el (prolog-smie-forward-token)
3244 (prolog-smie-backward-token): New functions.
3245 (prolog-mode-variables): Use them to parse "!," correctly.
3246 Set up smie-blink-matching for ".".
3248 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3250 (ispell-region, ispell-process-line): Update users.
3252 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3255 * textmodes/ispell.el: Fix commenting convention.
3256 (ispell-parse-output): Simplify, use push.
3257 (ispell-region): Use match-string-no-properties.
3258 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3259 (ispell-minor-mode): Use define-minor-mode.
3260 (ispell-message): Remove unused var `skip-regexp'.
3261 (ispell-add-per-file-word-list): Use dynamic let-binding.
3262 Try and use the proper comment marker.
3264 * mail/sendmail.el: Fix commenting convention.
3265 (sendmail-send-it): Use line-beginning-position.
3267 * help-fns.el (describe-variable): Add original value, if applicable.
3269 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3271 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3273 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3275 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3277 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3278 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3279 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3280 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3281 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3282 something like "." can also be a closer.
3283 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3284 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3285 Rename internal functions to use "--". Update callers.
3287 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3289 * fringe.el (fringe-styles): New var.
3290 (fringe-mode, fringe-query-style): Use it.
3292 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3294 * progmodes/sql.el: Version 2.8
3295 (sql-login-params): Update widget structure; changes still needed.
3296 (sql-product-alist): Add :list-all and :list-table features for
3297 SQLite, Postgres and MySQL products.
3298 (sql-redirect): Handle default value.
3299 (sql-execute, sql-execute-feature): New functions.
3300 (sql-read-table-name): New function.
3301 (sql-list-all, sql-list-table): New functions. User API.
3302 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3303 for above functions.
3304 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3305 for above functions.
3306 (sql-postgres-login-params): Add user and database defaults.
3307 (sql-buffer-live-p): Bug fix.
3308 (sql-product-history): New variable.
3309 (sql-read-product): New function. Use it.
3310 (sql-set-product, sql-product-interactive): Use it.
3311 (sql-connection-history): New variable.
3312 (sql-read-connection): New function. Use it.
3313 (sql-connect): New function.
3314 (sql-for-each-login): Redesign function interface.
3315 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3316 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3317 (sql-comint): Check for program. Existing live buffer.
3318 (sql-comint-postgres): Add port parameter.
3320 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * emacs-lisp/warnings.el: Fix commenting convention.
3323 (display-warning): Use special mode and make the buffer read-only.
3325 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3327 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3328 empty string when it follows a repeated or optional pattern.
3330 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3332 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3333 (indent-region): Use indent-according-to-mode.
3335 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3337 * fringe.el (fringe-mode): Doc fix.
3339 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3341 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3342 refreshing the preview buffer.
3344 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3346 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3347 (latex-syntax-propertize-rules): New consts; replace
3348 tex-font-lock-syntactic-keywords.
3349 (tex-env-mark, latex-env-before-change): New functions.
3350 (latex-electric-env-pair-mode): New minor mode.
3351 (tex-font-lock-verb): Change arguments; do move point.
3352 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3353 representation as a form of comment.
3354 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3355 (doctex-syntax-propertize-rules): New const; replaces
3356 doctex-font-lock-syntactic-keywords.
3357 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3359 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3360 (fortran-make-syntax-propertize-function): New function; replaces
3361 fortran-font-lock-syntactic-keywords.
3362 (fortran-mode): Use it.
3363 (fortran-line-length): Use it. Improve interactive spec.
3365 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3366 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3367 when adding surrounding \(..\).
3369 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3371 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3374 Use with-current-buffer.
3376 * isearch.el (isearch-face): Rename from `isearch'.
3377 (isearch-highlight): Use new name.
3379 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3381 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3382 5, for `half' width fringes. (Bug#6933)
3384 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3386 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3387 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3389 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3391 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3393 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3394 in calculating new frame position. Add more space between new and
3395 parent on the left (Bug#7048).
3397 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3399 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3402 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3404 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3406 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3407 obsolete alias for x-selection-value.
3409 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3411 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3413 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3416 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3418 * net/tramp-compat.el (tramp-compat-with-temp-message)
3419 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3420 (tramp-compat-process-put): New defuns.
3422 * net/tramp.el (top):
3423 * net/tramp-gvfs.el (top):
3424 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3426 * net/tramp.el (tramp-progress-reporter-update):
3427 Use `tramp-compat-funcall'.
3429 * net/tramp.el (tramp-process-actions):
3430 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3431 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3432 (tramp-get-remote-stat, tramp-get-remote-readlink):
3433 Use `tramp-compat-with-temp-message'.
3435 * net/tramp-sh.el (top): Require 'cl.
3436 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3437 (tramp-open-connection-setup-interactive-shell):
3438 Use `tramp-compat-process-put'.
3440 2010-09-15 Alan Mackenzie <acm@muc.de>
3442 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3444 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3446 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3449 `lexical' for warnings related to lexical scoping.
3450 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3451 global vars which don't have a prefix and could hence affect lexical
3452 scoping in unrelated files.
3454 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3456 * net/imap.el: Revert back to version
3457 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3460 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3462 * obsolete/old-whitespace.el (whitespace-unload-function):
3463 Explicitly pass `obarray' to `unintern' to avoid a warning.
3465 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3467 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3468 Add `when' argument. Update callers.
3470 * subr.el (unintern): Declare the obarray arg mandatory.
3472 2010-09-14 Glenn Morris <rgm@gnu.org>
3474 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3477 * calendar/diary-lib.el (diary-included-files): New variable.
3478 (diary-list-entries): Maybe initialize diary-included-files.
3479 (diary-include-other-diary-files): Append to diary-included-files.
3480 * calendar/appt.el (appt-update-list): Also check the members of
3481 diary-included-files. (Bug#6999)
3482 (appt-check): Doc fix.
3484 2010-09-14 David Reitter <david.reitter@gmail.com>
3486 * simple.el (line-move-visual): Do not truncate goal column to
3487 integer size. (Bug#7020)
3489 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * repeat.el (repeat): Allow repeating when the last event is a click.
3492 Suggested by Drew Adams (bug#6256).
3494 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3496 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3497 Replace setting HGRCPATH to "" by some less invasive --config options.
3499 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * font-lock.el (font-lock-beginning-of-syntax-function):
3504 2010-09-14 Glenn Morris <rgm@gnu.org>
3506 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3507 and tool-bar modes. (Bug#6211)
3508 (menu-bar-mode): Move setting of standard-value after the
3509 minor-mode definition, otherwise it seems to have no effect.
3511 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3513 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3514 Fix typo. (Bug#6976)
3516 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3518 * whitespace.el: Allow cleaning up blanks without blank
3519 visualization (Bug#6651). Adjust help window for
3520 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3521 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3522 (whitespace-style): Add new value 'face. Adjust docstring.
3523 (whitespace-space, whitespace-hspace, whitespace-tab):
3524 Adjust foreground property face.
3525 (whitespace-line-column): Adjust docstring and type declaration.
3526 (whitespace-style-value-list, whitespace-toggle-option-alist)
3527 (whitespace-help-text): Adjust const initialization.
3528 (whitespace-toggle-options, global-whitespace-toggle-options):
3530 (whitespace-display-window, whitespace-interactive-char)
3531 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3532 (whitespace-help-scroll): New fun.
3534 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3536 * calendar/time-date.el (format-seconds): Comment fix.
3538 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3540 * progmodes/sql.el: Version 2.7.
3541 (sql-buffer-live-p): Improve detection.
3542 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3543 (sql-set-sqli-buffer): Use it.
3544 (sql-product-interactive): Run `sql-set-sqli-hook'.
3545 (sql-rename-buffer): Code cleanup.
3546 (sql-redirect, sql-redirect-value): New functions. More to come.
3548 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3550 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.
3551 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3552 (TRAMP_SRC): New macro.
3553 ($(lisp)/net/tramp-loaddefs.el): New target.
3555 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3557 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3559 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3561 * net/tramp.el (top): Don't show loading message. Require just
3562 'tramp-compat, everything else is required there.
3563 Use `ignore-errors' where appropriate.
3564 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3565 (tramp-terminal-type, tramp-end-of-output)
3566 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3567 (tramp-completion-function-alist-ssh)
3568 (tramp-completion-function-alist-telnet)
3569 (tramp-completion-function-alist-su)
3570 (tramp-completion-function-alist-putty, tramp-remote-path)
3571 (tramp-remote-process-environment, tramp-sh-extra-args)
3572 (tramp-actions-before-shell, tramp-uudecode)
3573 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3574 (tramp-perl-file-attributes)
3575 (tramp-perl-directory-files-and-attributes)
3576 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3577 (tramp-perl-encode, tramp-perl-decode)
3578 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3579 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3580 (tramp-handle-make-symbolic-link, tramp-handle-load)
3581 (tramp-handle-file-name-as-directory)
3582 (tramp-handle-file-name-directory)
3583 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3584 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3585 (tramp-do-file-attributes-with-ls)
3586 (tramp-do-file-attributes-with-perl)
3587 (tramp-do-file-attributes-with-stat)
3588 (tramp-handle-set-visited-file-modtime)
3589 (tramp-handle-verify-visited-file-modtime)
3590 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3591 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3592 (tramp-handle-file-selinux-context)
3593 (tramp-handle-set-file-selinux-context)
3594 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3595 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3596 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3597 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3598 (tramp-handle-file-ownership-preserved-p)
3599 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3600 (tramp-handle-directory-files-and-attributes)
3601 (tramp-do-directory-files-and-attributes-with-perl)
3602 (tramp-do-directory-files-and-attributes-with-stat)
3603 (tramp-handle-file-name-all-completions)
3604 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3605 (tramp-handle-copy-file, tramp-handle-copy-directory)
3606 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3607 (tramp-do-copy-or-rename-file-via-buffer)
3608 (tramp-do-copy-or-rename-file-directly)
3609 (tramp-do-copy-or-rename-file-out-of-band)
3610 (tramp-handle-make-directory, tramp-handle-delete-directory)
3611 (tramp-handle-delete-file)
3612 (tramp-handle-dired-recursive-delete-directory)
3613 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3614 (tramp-handle-insert-directory)
3615 (tramp-handle-unhandled-file-name-directory)
3616 (tramp-handle-expand-file-name)
3617 (tramp-handle-substitute-in-file-name)
3618 (tramp-handle-executable-find, tramp-process-sentinel)
3619 (tramp-handle-start-file-process, tramp-handle-process-file)
3620 (tramp-handle-call-process-region, tramp-handle-shell-command)
3621 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3622 (tramp-handle-insert-file-contents)
3623 (tramp-handle-insert-file-contents-literally)
3624 (tramp-handle-find-backup-file-name)
3625 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3626 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3627 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3628 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3629 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3630 (tramp-find-file-exists-command, tramp-open-shell)
3631 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3632 (tramp-open-connection-setup-interactive-shell)
3633 (tramp-local-coding-commands, tramp-remote-coding-commands)
3634 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3635 (tramp-inline-compress-commands, tramp-find-inline-compress)
3636 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3637 (tramp-send-command, tramp-wait-for-output)
3638 (tramp-send-command-and-check, tramp-barf-unless-okay)
3639 (tramp-send-command-and-read, tramp-mode-string-to-int)
3640 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3641 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3642 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3643 (tramp-method-out-of-band-p, tramp-local-host-p)
3644 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3645 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3646 (tramp-get-test-command, tramp-get-test-nt-command)
3647 (tramp-get-file-exists-command, tramp-get-remote-ln)
3648 (tramp-get-remote-perl, tramp-get-remote-stat)
3649 (tramp-get-remote-readlink, tramp-get-remote-trash)
3650 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3651 (tramp-get-local-uid, tramp-get-local-gid)
3652 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3654 (tramp-methods, tramp-default-method-alist)
3655 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3656 Move initialization to tramp-sh.el.
3657 (tramp-temp-name-prefix): Make it a defconst.
3658 (tramp-dissect-file-name): Don't check anymore for multi-hop
3660 (tramp-debug-outline-regexp): Add a docstring.
3661 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3662 (tramp-get-debug-buffer): Use it.
3664 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3665 initialization forms.
3666 (tramp-set-connection-property): Don't protect `tramp-message'
3667 call, it isn't necessary any longer.
3668 (tramp-dump-connection-properties): Use `ignore-errors'.
3670 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3671 'password-cache and 'auth-source.
3673 * net/tramp-gvfs.el (top):
3674 * net/tramp-smb.el (top): Require 'tramp-sh.
3676 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3678 * net/tramp-sh.el: New file, derived from tramp.el.
3679 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3680 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3681 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3682 Use `ignore-errors' where appropriate.
3683 (tramp-sh-file-name-handler-alist): Rename from
3684 `tramp-file-name-handler-alist'.
3685 (tramp-send-command-and-check): Return t or nil. Remove all
3686 `zerop' checks, where called.
3687 (tramp-handle-set-file-modes)
3688 (tramp-do-copy-or-rename-file-directly)
3689 (tramp-handle-delete-directory, tramp-handle-delete-file)
3690 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3691 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3692 (tramp-get-remote-ln): Set tramp-autoload cookie.
3694 * net/tramp-fish.el: Remove file.
3696 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3698 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3699 buffer-file-name to avoid file-locking. (Bug#7026)
3701 2010-09-13 Julien Danjou <julien@danjou.info>
3703 * notifications.el (notifications-notify): Add support for
3704 image-path and sound-name.
3705 (notifications-specification-version): Add this variable.
3707 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3709 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3711 2010-09-12 Leo <sdl.web@gmail.com>
3713 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3714 (rcirc-completion-start): New variables.
3715 (rcirc-nick-completions): Rename to rcirc-completions.
3716 (rcirc-nick-completion-start-offset): Delete.
3717 (rcirc-completion-at-point): New function for constructing
3718 completion data for both nicks and irc commands. Add to
3719 completion-at-point-functions in rcirc mode.
3720 (rcirc-complete): Rename from rcirc-nick-complete; use
3721 rcirc-completion-at-point.
3722 (defun-rcirc-command): Update rcirc-client-commands.
3724 2010-09-11 Glenn Morris <rgm@gnu.org>
3726 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3727 atomically, to avoid parallel build errors. (Bug#4196)
3729 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3731 * progmodes/sql.el: Version 2.6
3732 (sql-dialect): Synonym for "sql-product".
3733 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3734 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3735 Set "sql-buffer" to buffer name not buffer object so multiple sql
3736 interactive buffers work properly. Reverts misguided changes in
3738 (sql-comint): Make sure different buffer name is used if "*SQL*"
3739 buffer is for a different product.
3740 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3742 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3743 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3744 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3745 Accept new buffer name or prompt for one.
3746 (sql-port): Default to zero.
3747 (sql-comint-mysql): Handle "sql-port" as a numeric.
3748 (sql-port-history): Delete unused variable.
3749 (sql-get-login): Default "sql-port" to a number.
3750 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3751 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3752 "sqlite3" executables.
3753 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3754 (sql-buffer-live-p): New function.
3755 (sql-mode-menu, sql-send-string): Use it.
3756 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3758 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3759 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3761 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3763 * net/netrc.el (netrc-credentials): New convenience function.
3765 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3768 to replace texinfo-font-lock-syntactic-keywords.
3769 (texinfo-mode): Use it.
3771 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3772 Use syntax-propertize-function.
3774 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3775 replace sgml-font-lock-syntactic-keywords.
3776 (sgml-mode): Use it.
3778 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3779 since we don't use it.
3781 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3783 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3785 (vhdl-fontify-buffer): Adjust.
3787 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3788 replace tcl-font-lock-syntactic-keywords.
3791 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3792 replace simula-font-lock-syntactic-keywords.
3793 (simula-mode): Use it.
3795 * progmodes/sh-script.el (sh-st-symbol): Remove.
3796 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3797 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3798 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3799 (sh-font-lock-paren): Set syntax-multiline.
3800 (sh-font-lock-syntactic-keywords): Remove.
3801 (sh-syntax-propertize-function): New function to replace it.
3804 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3805 Define while compiling.
3806 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3807 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3808 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3809 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3810 (ruby-here-doc-end-syntax): Only define when
3811 syntax-propertize is not available.
3812 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3814 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3815 (electric-indent-chars): Silence bytecompiler.
3816 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3817 electric-indent-chars.
3819 * progmodes/python.el (python-syntax-propertize-function): New var to
3820 replace python-font-lock-syntactic-keywords.
3821 (python-mode): Use it.
3822 (python-quote-syntax): Simplify and adjust to new use.
3824 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3825 replace perl-font-lock-syntactic-keywords.
3826 (perl-syntax-propertize-special-constructs): New fun to replace
3827 perl-font-lock-special-syntactic-constructs.
3828 (perl-font-lock-syntactic-face-function): New fun.
3829 (perl-mode): Use it.
3831 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3832 to replace octave-font-lock-close-quotes.
3833 (octave-syntax-propertize-function): New function to replace
3834 octave-font-lock-syntactic-keywords.
3835 (octave-mode): Use it.
3837 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3838 replaces mixal-font-lock-syntactic-keywords.
3839 (mixal-mode): Use it.
3841 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3842 New var; replaces makefile-font-lock-syntactic-keywords.
3843 (makefile-mode): Use it.
3844 (makefile-imake-mode): Adjust.
3846 * progmodes/js.el (js--regexp-literal): Define while compiling.
3847 (js-syntax-propertize-function): New var; replaces
3848 js-font-lock-syntactic-keywords.
3851 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3852 replaces gdb-script-font-lock-syntactic-keywords.
3853 (gdb-script-mode): Use it.
3855 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3856 (fortran--font-lock-syntactic-keywords): New var.
3857 (fortran-line-length): Update syntax-propertize-function and
3858 fortran--font-lock-syntactic-keywords.
3860 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3862 * progmodes/cfengine.el (cfengine-mode):
3863 Use syntax-propertize-function.
3864 (cfengine-font-lock-syntactic-keywords): Remove.
3866 * progmodes/autoconf.el (autoconf-mode):
3867 Use syntax-propertize-function.
3868 (autoconf-font-lock-syntactic-keywords): Remove.
3870 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3871 (ada-after-change-function, ada-initialize-syntax-table-properties)
3872 (ada-handle-syntax-table-properties): Only define when
3873 syntax-propertize is not available.
3874 (ada-mode): Use syntax-propertize-function.
3876 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3877 (font-lock-fontify-syntactic-keywords-region): Move handling of
3878 font-lock-syntactically-fontified to...
3879 (font-lock-default-fontify-region): ...here.
3880 Let syntax-propertize-function take precedence.
3881 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3883 * emacs-lisp/syntax.el (syntax-propertize-function)
3884 (syntax-propertize-chunk-size, syntax-propertize--done)
3885 (syntax-propertize-extend-region-functions): New vars.
3886 (syntax-propertize-wholelines, syntax-propertize-multiline)
3887 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3888 (syntax-propertize): New functions.
3889 (syntax-propertize-rules): New macro.
3890 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3891 (syntax-ppss): Call syntax-propertize.
3893 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3895 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3897 * textmodes/ispell.el (ispell-init-process): Improve comments.
3898 XEmacs compatibility changes regarding (add-hook) 'local option
3899 and (set-process-query-on-exit-flag).
3901 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3903 * net/tramp-cache.el (tramp-parse-connection-properties):
3904 Set tramp-autoload cookie.
3906 2010-09-09 Glenn Morris <rgm@gnu.org>
3908 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3909 (imagemagick-register-types): Doc fix.
3911 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3913 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3915 * progmodes/js.el (require): Require is already "eval-and-compile".
3916 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3917 (js--re-search-backward): Use js--re-search-forward.
3919 * progmodes/fortran.el (fortran-line-length): Don't recompute
3920 syntactic keywords redundantly a second time.
3922 * progmodes/ada-mode.el: Replace "(set '" with setq.
3923 (ada-mode): Simplify.
3924 (ada-create-case-exception, ada-adjust-case-interactive)
3925 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3926 (ada-search-ignore-string-comment, ada-move-to-start)
3927 (ada-move-to-end): Use with-syntax-table.
3929 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3930 (font-lock-unfontify-region, font-lock-default-fontify-region):
3931 Update usage correspondingly.
3932 (font-lock-fontify-syntactic-keywords-region):
3933 Set parse-sexp-lookup-properties buffer-locally here.
3934 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3936 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3938 2010-09-08 Glenn Morris <rgm@gnu.org>
3940 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3941 Error if not compiled with -DBYTE_CODE_METER.
3943 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3944 Ignore dir-locals-file.
3946 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3950 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3951 for the `gnu' messages.
3952 (compilation-set-skip-threshold): New command.
3953 (compilation-start): Use \' rather than $.
3954 (compilation-forget-errors): Use clrhash.
3956 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3958 * textmodes/ispell.el (ispell-valid-dictionary-list):
3961 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3963 Migrate to Tramp 2.2. Rearrange load dependencies.
3964 (Bug#1529, Bug#5448, Bug#5705)
3966 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3967 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3968 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3970 * net/tramp.el (top): Remove all other tramp-* loads except
3971 tramp-compat.el. Remove all changes to tramp-unload-hook for
3972 other tramp-* packages. Rearrange defun order. Change calls of
3973 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3974 `tramp-compat-octal-to-decimal' to new function names.
3975 (tramp-terminal-type, tramp-initial-end-of-output)
3976 (tramp-methods, tramp-foreign-file-name-handler-alist)
3977 (tramp-tramp-file-p, tramp-completion-mode-p)
3978 (tramp-send-command-and-check, tramp-get-remote-path)
3979 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3980 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3981 (with-file-property, with-connection-property): Move to
3983 (tramp-local-call-process, tramp-decimal-to-octal)
3984 (tramp-octal-to-decimal): Move to tramp-compat.el.
3985 (tramp-handle-shell-command): Do not require 'shell.
3986 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3988 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3990 * net/tramp-cache.el (top): Require 'tramp. Add to
3991 `tramp-unload-hook'.
3992 (tramp-cache-data, tramp-get-file-property)
3993 (tramp-set-file-property, tramp-flush-file-property)
3994 (tramp-flush-directory-property, tramp-get-connection-property)
3995 (tramp-set-connection-property, tramp-flush-connection-property)
3996 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3998 (with-file-property, with-connection-property): New defuns, moved
4000 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4003 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4004 (tramp-version): Set tramp-autoload cookie.
4006 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4007 changes to tramp-unload-hook for other tramp-* packages. Add to
4008 `tramp-unload-hook'.
4009 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4010 (tramp-compat-call-process): New defuns, moved from tramp.el.
4012 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4013 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4014 Add to `tramp-unload-hook'. Change call of
4015 `tramp-compat-decimal-to-octal' to new function name.
4016 (tramp-fish-method): Make it a defconst.
4017 (tramp-fish-file-name-p): Make it a defsubst.
4018 (tramp-fish-method, tramp-fish-file-name-handler)
4019 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4021 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4022 `tramp-foreign-file-name-handler-alist'. Add to
4023 `tramp-unload-hook'.
4024 (tramp-ftp-method): Make it a defconst.
4025 (tramp-ftp-file-name-p): Make it a defsubst.
4026 (tramp-ftp-method, tramp-ftp-file-name-handler)
4027 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4029 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4030 `tramp-foreign-file-name-handler-alist'. Add to
4031 `tramp-unload-hook'. Change checks, whether package can be
4033 (tramp-gvfs-file-name-p): Make it a defsubst.
4034 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4035 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4036 (tramp-gvfs-handle-file-directory-p): New defun.
4037 (tramp-gvfs-file-name-handler-alist): Use it.
4039 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4040 `tramp-foreign-file-name-handler-alist'. Add to
4041 `tramp-unload-hook'.
4042 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4043 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4045 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4046 (tramp-gw-open-connection): Set tramp-autoload cookie.
4048 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4049 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4050 Add to `tramp-unload-hook'. Change checks, whether package can be
4052 (tramp-imap-file-name-p): Make it a defsubst.
4053 (tramp-imap-method, tramp-imaps-method)
4054 (tramp-imap-file-name-handler)
4055 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4057 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4058 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4059 Add to `tramp-unload-hook'. Change checks, whether package can be
4060 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4062 (tramp-smb-tunnel-method): Make it a defconst.
4063 (tramp-smb-file-name-p): Make it a defsubst.
4064 (tramp-smb-method, tramp-smb-file-name-handler)
4065 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4067 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4068 (tramp-uuencode-region): Set tramp-autoload cookie.
4070 * net/trampver.el (top) Add to `tramp-unload-hook'.
4071 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4072 cookie. Update release number.
4074 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4076 * textmodes/ispell.el (ispell-start-process): Make sure original
4077 arg list is properly initialized (Bug#6993, Bug#6994).
4079 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4081 * files.el (directory-abbrev-alist): Use \` as default regexp.
4083 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4084 chars like - or ] (bug#6984).
4085 (rx-any-condense-range): Explode 2-char ranges.
4087 2010-09-06 Glenn Morris <rgm@gnu.org>
4089 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4091 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4093 * textmodes/bibtex.el:
4094 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4096 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4098 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4099 since no callers use it.
4100 (imap-message-get): Ditto.
4101 (imap-message-put): Ditto.
4102 (imap-mailbox-map): Ditto.
4103 (imap-mailbox-put): Ditto.
4104 (imap-mailbox-get): Ditto.
4105 (imap-mailbox-get): Revert last change for this function.
4107 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4109 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4110 callers to use `imap-fetch' instead. According to the comments, this
4111 should be safe, since all other IMAP clients use the 1:* syntax.
4112 (imap-enable-exchange-bug-workaround): Remove.
4113 (imap-debug): Remove -- doesn't seem very useful.
4115 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4117 * net/imap.el (imap-log): New convenience function used throughout
4118 instead of repeating the same code all over the place.
4120 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4122 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4123 when mouse-drag-copy-region is non-nil (Bug#6956).
4125 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4127 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4128 Improve regexps (Bug#6987).
4129 (dired-sort-toggle): Search more robustly for -t flag.
4131 * files.el (get-free-disk-space): Search more robustly for
4132 "available" column. Suggested by Ehud Karni
4133 <ehud@unix.mvs.co.il>.
4135 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4137 * international/uni-bidi.el:
4138 * international/uni-category.el:
4139 * international/uni-combining.el:
4140 * international/uni-decimal.el:
4141 * international/uni-mirrored.el:
4142 * international/uni-name.el: Regenerate.
4144 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4146 * electric.el (electric-indent-post-self-insert-function):
4147 Don't reindent with a sloppy indentation function.
4149 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4150 border case in change-log-mode.
4152 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4154 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4155 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4156 Recognize leading tab in gcc-include regexp. Ignore names with
4157 leading "from" or "in" in gnu regexp (Bug#6937).
4159 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4161 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4162 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4163 (ispell-start-process): Avoid setq and simplify logic.
4164 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4165 (kill-buffer-hook): Don't use it globally with code that uses
4166 expand-file-name since that may call kill-buffer via
4167 code_conversion_restore.
4169 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4171 * emacs-lisp/package.el (package-directory-list): Only call
4172 file-name-nondirectory on a string.
4174 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4176 * emacs-lisp/package.el (package--download-one-archive):
4177 Ensure that archive-contents is valid before saving it.
4178 (package-activate-1, package-mark-obsolete, define-package)
4179 (package-compute-transaction, package-list-maybe-add): Use push.
4181 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4183 Use SMIE's blink-paren for octave-mode.
4184 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4185 Backslashes do not escape single-quotes, single-quotes do.
4186 (octave-block-else-regexp, octave-block-end-regexp)
4187 (octave-block-match-alist): Remove.
4188 (octave-smie-bnf-table): New var, with old content.
4189 (octave-smie-op-levels): Use it.
4190 (octave-smie-closer-alist): New var.
4191 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4192 (octave-blink-matching-block-open): Remove.
4193 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4194 (octave-electric-space): Let self-insert-command run expand-abbrev and
4197 * electric.el (electricity): New group.
4198 (electric-indent-chars): New var.
4199 (electric-indent-post-self-insert-function): New fun.
4200 (electric-indent-mode): New minor mode.
4201 (electric-pair-skip-self): New custom.
4202 (electric-pair-post-self-insert-function): New function.
4203 (electric-pair-mode): New minor mode.
4205 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4206 calcAlg-blink-matching-open.
4207 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4208 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4209 Use the new blink-matching-check-function.
4211 Provide blink-matching support to SMIE.
4212 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4213 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4214 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4216 * simple.el (newline): Fix last change to properly remove itself from
4219 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4221 * simple.el (newline): Eliminate optimization.
4222 Use post-self-insert-hook to set hard-newline and things before
4223 running post-self-insert-hook.
4224 (blink-matching-check-mismatch): New function.
4225 (blink-matching-check-function): New variable.
4226 (blink-matching-open): Use them.
4227 Skip back forward over prefix chars skipped by forward-sexp.
4228 Don't check if the parens are backslash escaped.
4229 (blink-paren-post-self-insert-function): Check backslash escaping here.
4231 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4233 * emacs-lisp/package.el (package-menu-mode-map):
4234 Change package-menu-revert bindings to revert-buffer.
4235 (package-menu-mode): Set revert-buffer-function.
4236 (package-menu-revert): Doc fix.
4238 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4240 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4241 `default-directory' unless using Ispell per-directory personal
4242 dictionaries and not in a mini-buffer under XEmacs.
4243 (kill-buffer-hook): Do not kill ispell process on exit when
4244 `ispell-process-directory' is "~/". (Bug#6143)
4246 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4248 * simple.el (kill-new): Call interprogram-cut-function with only
4251 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4252 Remove cut buffer from error message.
4254 * term/x-win.el (x-select-text):
4255 * term/pc-win.el (x-selection-value):
4256 * term/ns-win.el (x-selection-value):
4257 * eshell/em-term.el:
4258 * w32-fns.el (x-get-selection-value):
4259 * mouse-sel.el (mouse-sel-set-selection-function):
4260 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4262 * term/x-win.el: Update documentation for x-last-selected-text-*.
4263 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4264 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4265 (x-select-text): Remove argument PUSH, update documentation.
4266 Remove cut-buffer code.
4267 (x-selection-value-internal): Was previously x-selection-value.
4268 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4269 Update documentation, remove cut-buffer code.
4270 Call x-selection-value-internal.
4271 (x-clipboard-yank): Call x-selection-value-internal.
4272 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4274 * term/pc-win.el (x-last-selected-text):
4275 x-cut-buffer-or-selection-value renamed to x-selection-value
4276 (x-select-text): Remove argument PUSH, update documentation.
4278 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4279 x-cut-buffer-or-selection-value renamed to x-selection-value
4280 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4281 (x-select-text): Remove argument PUSH, update documentation.
4283 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4285 * w32-fns.el (x-last-selected-text):
4286 x-cut-buffer-or-selection-value renamed to x-selection-value.
4287 (x-cut-buffer-max): Remove.
4288 (x-select-text): Remove argument PUSH, update documentation.
4290 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4292 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4294 * mouse-sel.el (mouse-sel-get-selection-function):
4295 x-cut-buffer-or-selection-value renamed to x-selection-value.
4296 (x-select-text): Remove optional push.
4298 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4300 * simple.el (blink-paren-function): Move from C to here.
4301 (blink-paren-post-self-insert-function): New function.
4302 (post-self-insert-hook): Use it.
4304 * emacs-lisp/pcase.el (pcase-split-memq):
4305 Fix overenthusiastic optimisation.
4306 (pcase-u1): Handle the case of a lambda pred.
4308 2010-08-31 Kenichi Handa <handa@m17n.org>
4310 * international/mule-cmds.el (standard-display-european-internal):
4311 Setup standard-display-table for 8-bit characters by storing 8-bit
4312 characters in the element vector.
4314 * disp-table.el (standard-display-8bit):
4315 Setup standard-display-table for 8-bit characters by storing 8-bit
4316 characters in the element vector.
4317 (standard-display-european): Likewise.
4319 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4321 * textmodes/nroff-mode.el (nroff-view): New command.
4322 (nroff-mode-map): Bind it to C-c C-c.
4324 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * emacs-lisp/smie.el (smie-down-list): New command.
4328 Remove old indentation and navigation code on octave-mode.
4329 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4330 smie-down-list rather than add a binding for octave-down-block.
4331 (octave-mark-block, octave-blink-matching-block-open):
4332 Rely on forward-sexp-function.
4333 (octave-fill-paragraph): Don't narrow, so you can use
4334 indent-according-to-mode.
4335 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4336 (octave-in-block-p, octave-re-search-forward-kw)
4337 (octave-re-search-backward-kw, octave-indent-calculate)
4338 (octave-end-as-array-index-p, octave-block-end-offset)
4339 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4340 (octave-down-block, octave-backward-up-block, octave-up-block)
4341 (octave-before-magic-comment-p, octave-indent-line): Remove.
4343 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4345 * emacs-lisp/package.el (package--read-archive-file): Just use
4346 `read', to avoid copying an additional string.
4347 (package-menu-mode): Set header-line-format here.
4348 (package-menu-refresh, package-menu-revert): Signal an error if
4349 not in the Package Menu.
4350 (package-menu-package-list): New var.
4351 (package--generate-package-list): Operate on the current buffer;
4352 don't assume that it is *Packages*, since the user may rename it.
4353 Allow persistent package listings and sort keys using
4354 package-menu-package-list and package-menu-package-sort-key.
4355 (package-menu--version-predicate): Fix version calculation.
4356 (package-menu-sort-by-column): Don't select the window.
4357 (package--list-packages): Create the *Packages* buffer.
4358 Set package-menu-package-list-key.
4359 (list-packages): Sorting by status is now the default.
4360 (package-buffer-info): Use match-string-no-properties.
4361 (define-package): Add a &rest argument for future proofing, but
4363 (package-install-from-buffer, package-install-buffer-internal):
4364 Merge into a single function, package-install-from-buffer.
4365 (package-install-file): Change caller.
4367 * finder.el: Load finder-inf using `require'.
4368 (finder-list-matches): Sorting by status is now the default.
4369 (finder-compile-keywords): Simpify printing.
4371 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4373 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4374 (octave-mode-map): Remove special bindings for forward/backward-block
4375 and octave-backward-up-block. Use smie-close-block.
4376 (octave-continuation-marker-regexp): New var.
4377 (octave-continuation-regexp): Use it.
4378 (octave-operator-table, octave-smie-op-levels)
4379 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4380 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4381 (octave-mode): Use SMIE.
4382 (octave-close-block): Delete.
4384 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4386 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4387 CLIPBOARD, not in PRIMARY. (Bug#6944)
4389 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4393 (smie-indent-column): Allow indirection through variables.
4395 * composite.el (save-buffer-state): Delete, unused.
4396 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4397 (font-lock-default-fontify-region): Use with-syntax-table.
4398 * jit-lock.el (with-buffer-unmodified): Remove.
4399 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4401 Use `declare' in defmacros.
4402 * window.el (save-selected-window):
4403 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4404 * progmodes/python.el (def-python-skeleton):
4405 * net/dbus.el (dbus-ignore-errors):
4406 * jka-cmpr-hook.el (with-auto-compression-mode):
4407 * international/mule.el (with-category-table):
4408 * emacs-lisp/timer.el (with-timeout):
4409 * emacs-lisp/lisp-mnt.el (lm-with-file):
4410 * emacs-lisp/eieio.el (with-slots):
4411 * emacs-lisp/easymenu.el (easy-menu-define):
4412 * emacs-lisp/debug.el (debugger-env-macro):
4413 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4414 (Multiple-value-call, Multiple-value-prog1):
4415 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4416 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4417 edebug rule to definition.
4418 * emacs-lisp/lisp-mode.el (save-selected-window)
4419 (with-current-buffer, combine-after-change-calls)
4420 (with-output-to-string, with-temp-file, with-temp-buffer)
4421 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4422 (dolist, dotimes, when, unless):
4423 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4425 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4427 * finder.el: Require `package'.
4428 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4429 (finder-package-info): Var deleted.
4430 (finder-keywords-hash, finder--builtins-alist): New vars.
4431 (finder-compile-keywords): Compute package--builtins and
4432 finder-keywords-hash instead of finder-keywords-hash, respecting
4433 the "Package" header.
4434 (finder-unknown-keywords, finder-list-matches):
4435 Use finder-keywords-hash and package--list-packages.
4436 (finder-mode): Don't set font-lock-defaults.
4437 (finder-exit): We don't use "*Finder-package*" and "*Finder
4438 Category*" buffers anymore.
4440 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4441 (package--builtins): Set default value to nil.
4442 (package-initialize): Load precomputed value of package--builtins
4444 (package-alist, package-compute-transaction)
4445 (package-download-transaction): Improve docstring.
4446 (package-read-all-archive-contents): Do not change
4447 package--builtins here.
4448 (list-packages): Make package-list-packages an alias for this.
4449 Sort by status by default.
4450 (package--list-packages): Add optional PACKAGES arg.
4451 (describe-package-1): Use font-lock-face property. For built-in
4452 packages, insert file commentary.
4453 (package--generate-package-list): Rename from
4454 package-list-packages-internal; all callers changed. Add optional
4455 PACKAGES arg. Add alphabetical sort fallbacks.
4456 (package-menu--version-predicate, package-menu--status-predicate)
4457 (package-menu--description-predicate)
4458 (package-menu--name-predicate): New functions.
4460 * info.el (Info-finder-find-node): Search package-alist instead of
4461 finder-package-info.
4463 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4465 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4467 (version-to-list): Handle versions like "10.3d".
4469 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4471 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4472 (macroexp-accumulate): Use `declare'.
4474 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4476 * whitespace.el (whitespace-style): Adjust type declaration.
4478 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4480 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4481 empty argument to gvfs-copy.
4483 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4485 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4486 handle new TRASH arg of `delete-file'.
4488 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4490 * net/tramp.el (tramp-handle-insert-directory): Don't use
4491 `forward-word', its default syntax could be changed.
4493 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4494 Michael Albinus <michael.albinus@gmx.de>
4496 Implement compression for inline methods.
4498 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4499 (tramp-copy-size-limit): Allow also nil.
4500 (tramp-inline-compress-commands): New defconst.
4501 (tramp-find-inline-compress, tramp-get-inline-compress)
4502 (tramp-get-inline-coding): New defuns.
4503 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4504 replaced by `tramp-get-inline-coding'.
4505 (tramp-handle-file-local-copy, tramp-handle-write-region)
4506 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4508 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4510 Detect ssh 'ControlMaster' argument automatically in some cases.
4512 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4513 (tramp-default-method): Use it.
4515 2010-08-26 Karel Klíč <kklic@redhat.com>
4517 * net/tramp.el (tramp-file-name-for-operation):
4518 Add file-selinux-context.
4520 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4522 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4524 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4526 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4529 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4531 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4532 (js-paren-indent-offset, js-square-indent-offset)
4533 (js-curly-indent-offset): New options.
4534 (js--proper-indentation): Use them.
4536 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4538 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4539 instead of inspecting font-lock properties (Bug#6916).
4541 2010-08-26 David Reitter <david.reitter@gmail.com>
4543 * server.el (server-visit-files): Run pre-command-hook and
4544 post-command-hook for each buffer while it is current (Bug#6910).
4545 (server-execute): Do not run hooks here.
4547 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4549 Sync with Tramp 2.1.19.
4551 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4552 (tramp-reporter-dump-variable, tramp-load-report-modules)
4553 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4554 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4556 * net/tramp-compat.el (top): Do not autoload
4557 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4558 only when `start-file-process' is not bound.
4559 (byte-compile-not-obsolete-vars): Define if not bound.
4560 (tramp-compat-funcall): New defmacro.
4561 (tramp-compat-line-beginning-position)
4562 (tramp-compat-line-end-position)
4563 (tramp-compat-temporary-file-directory)
4564 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4565 (tramp-compat-copy-file, tramp-compat-copy-directory)
4566 (tramp-compat-delete-file, tramp-compat-delete-directory)
4567 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4569 (tramp-advice-file-expand-wildcards): Do not use
4570 `tramp-handle-file-remote-p'.
4571 (tramp-compat-make-temp-file): Simplify fallback implementation.
4572 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4573 (tramp-compat-copy-tree): Remove function.
4574 (tramp-compat-delete-file): New defun.
4575 (tramp-compat-delete-directory): Provide implementation for older
4577 (tramp-compat-file-attributes): Handle only
4578 `wrong-number-of-arguments' error.
4580 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4581 Add PRESERVE_SELINUX_CONTEXT.
4582 (tramp-fish-handle-delete-file): Add TRASH arg.
4583 (tramp-fish-handle-directory-files-and-attributes):
4584 Do not use `tramp-fish-handle-file-attributes.
4585 (tramp-fish-handle-file-local-copy)
4586 (tramp-fish-handle-insert-file-contents)
4587 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4589 * net/tramp-gvfs.el (top): Require url-util.
4590 (tramp-gvfs-mount-point): Remove.
4591 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4592 and `set-file-selinux-context'.
4593 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4594 (tramp-gvfs-handle-file-selinux-context)
4595 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4596 (with-tramp-dbus-call-method): Format trace message.
4597 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4598 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4599 Implement backup call, when operation on local files fails.
4600 Use progress reporter. Flush properties of changed files.
4601 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4602 Use `tramp-compat-delete-file'.
4603 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4604 (tramp-gvfs-handle-make-directory): Make more traces.
4605 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4606 (tramp-gvfs-url-file-name): Hexify file name in url.
4607 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4608 into account for the resulting file name.
4609 (tramp-gvfs-handler-askquestion): Preserve current message, in
4610 order to let progress reporter continue afterwards. (Bug#6257)
4611 Return dummy mountpoint, when the answer is "no".
4612 See `tramp-gvfs-maybe-open-connection'.
4613 (tramp-gvfs-handler-mounted-unmounted)
4614 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4615 attribute "default_location". Set "prefix" property.
4616 Handle default-location.
4617 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4618 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4619 exists. Raise an error, if not (due to a corresponding answer
4620 "no" in interactive questions, for example).
4621 Use `tramp-compat-funcall'.
4623 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4624 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4625 (tramp-imap-do-copy-or-rename-file)
4626 (tramp-imap-handle-insert-file-contents)
4627 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4628 (tramp-imap-handle-delete-file): Add TRASH arg.
4630 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4631 Add PRESERVE-SELINUX-CONTEXT.
4632 (tramp-smb-handle-copy-file)
4633 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4634 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4635 Use `with-progress-reporter'.
4636 (tramp-smb-handle-delete-file): Add TRASH arg.
4638 * net/tramp.el (tramp-methods): Move hostname to the end in all
4639 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4641 (tramp-verbose): Describe verbose level 9.
4642 (tramp-completion-function-alist)
4643 (tramp-file-name-regexp, tramp-chunksize)
4644 (tramp-local-coding-commands, tramp-remote-coding-commands)
4645 (with-connection-property, tramp-completion-mode-p)
4646 (tramp-action-process-alive, tramp-action-out-of-band)
4647 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4648 (tramp-exists-file-name-handler): Fix docstring.
4649 (tramp-remote-process-environment): Use `format' instead of
4650 `concat'. Protect version string by apostroph.
4651 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4653 (tramp-file-name-regexp-unified)
4654 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4655 not regard the volume letter as remote filename. (Bug#5447)
4656 (tramp-perl-file-attributes)
4657 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4658 (tramp-vc-registered-read-file-names): Read input as
4659 here-document, otherwise the command could exceed maximum length
4661 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4662 `set-file-selinux-context'.
4663 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4664 backtrace functions.
4665 (tramp-error-with-buffer): Don't show the connection buffer when
4666 we are in completion mode.
4667 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4668 (tramp-handle-file-selinux-context)
4669 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4670 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4672 (with-progress-reporter): New defmacro.
4673 (tramp-debug-outline-regexp): New defconst.
4674 (top, tramp-rfn-eshadow-setup-minibuffer)
4675 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4676 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4677 (tramp-completion-mode-p, tramp-check-for-regexp)
4678 (tramp-open-connection-setup-interactive-shell)
4679 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4680 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4681 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4682 Use `tramp-compat-funcall'.
4683 (tramp-handle-make-symbolic-link): Flush file properties.
4684 (tramp-handle-load, tramp-handle-file-local-copy)
4685 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4686 (tramp-handle-vc-registered, tramp-maybe-send-script)
4687 (tramp-find-shell): Use `with-progress-reporter'.
4688 (tramp-do-file-attributes-with-stat): Add space in format string,
4689 in order to work around a bug in pdksh. Reported by Gilles Pion
4691 (tramp-handle-verify-visited-file-modtime): Do not send a command
4692 when the connection is not established.
4693 (tramp-handle-set-file-times): Simplify the check for utc.
4694 (tramp-handle-directory-files-and-attributes)
4695 (tramp-get-remote-path): Use `copy-tree'.
4696 (tramp-completion-handle-file-name-all-completions): Ensure, that
4697 non remote files are still checked. Oops.
4698 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4699 Handle PRESERVE-SELINUX-CONTEXT.
4700 (tramp-do-copy-or-rename-file): Add progress reporter.
4701 (tramp-do-copy-or-rename-file-directly): Do not use
4702 `tramp-handle-file-remote-p'.
4703 (tramp-do-copy-or-rename-file-out-of-band):
4704 Use `tramp-compat-delete-directory'.
4705 (tramp-do-copy-or-rename-file-out-of-band)
4706 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4707 Use `format-spec-make'.
4708 (tramp-handle-delete-file): Add TRASH arg.
4709 (tramp-handle-dired-uncache): Flush directory cache, not only file
4711 (tramp-handle-expand-file-name)
4712 (tramp-completion-handle-file-name-all-completions)
4713 (tramp-completion-handle-file-name-completion):
4714 Use `tramp-connectable-p'.
4715 (tramp-handle-start-file-process): Set connection property "vec".
4716 Use it, in order to invalidate file caches. Check only for
4717 `remote-tty' process property.
4718 Implement tty setting. (Bug#4604, Bug#6360)
4719 (tramp-file-name-for-operation): Add `call-process-region' and
4720 `set-file-selinux-context'.
4721 (tramp-find-foreign-file-name-handler)
4722 (tramp-advice-make-auto-save-file-name)
4723 (tramp-set-auto-save-file-modes): Remove superfluous check for
4724 `stringp'. This is done inside `tramp-tramp-file-p'.
4725 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4726 operations when we are in completion mode. This gives the user
4727 the chance to correct the file name in the minibuffer.
4728 (tramp-completion-mode-p): Use `non-essential'.
4729 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4730 compatibility: Use `completion-ignore-case' if
4731 `read-file-name-completion-ignore-case' does not exist.
4732 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4733 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4735 (tramp-action-password): Hide password prompt before next run.
4736 (tramp-process-actions): Widen connection buffer for the trace.
4737 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4738 process property. Trace stty settings if `tramp-verbose' >= 9.
4739 Apply workaround for IRIX64 bug. Move argument of last
4740 `tramp-send-command' where it belongs to.
4741 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4742 front of `login-args'.
4743 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4744 on "/dev/null" instead of "/".
4745 (tramp-get-ls-command-with-dired): Make test for "--dired"
4747 (tramp-set-auto-save-file-modes): Adapt version check.
4748 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4749 (tramp-handle-process-file): Call the program in a subshell, in
4750 order to preserve working directory.
4751 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4752 `tramp-remote-sh' from `tramp-methods'.
4753 (tramp-get-ls-command): Make test for "--color=never" stronger.
4754 (tramp-check-for-regexp): Use (forward-line 1).
4756 * net/trampver.el: Update release number.
4758 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4760 * help.el (help-map): Bind `C-h P' to describe-package.
4762 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4764 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4765 when downloading archives.
4766 (describe-package-1): Add package commentary.
4767 (package-install-button-action): New function.
4768 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4769 (package-menu-view-commentary): Function removed.
4770 (package-list-packages-internal): Hide the `package' package too.
4772 2010-08-25 Kenichi Handa <handa@m17n.org>
4774 * language/misc-lang.el ("Arabic"): New language environment.
4775 Setup composition-function-table for Arabic characters.
4777 * international/fontset.el (setup-default-fontset): Fix typo for
4778 arabic OTF spec (fini->fina).
4780 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4782 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4785 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4787 * whitespace.el: Allow cleaning up blanks without blank
4788 visualization (Bug#6651). Adjust help window for
4789 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4790 instead of whitespace-line-column (from EmacsWiki). New version
4792 (whitespace-style): Add new value 'face. Adjust docstring.
4793 (whitespace-space, whitespace-hspace, whitespace-tab):
4794 Adjust foreground property face.
4795 (whitespace-line-column): Adjust docstring and type declaration.
4796 (whitespace-style-value-list, whitespace-toggle-option-alist)
4797 (whitespace-help-text): Adjust const initialization.
4798 (whitespace-toggle-options, global-whitespace-toggle-options):
4800 (whitespace-display-window, whitespace-interactive-char)
4801 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4802 (whitespace-help-scroll): New fun.
4804 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4806 * emacs-lisp/package.el (list-packages): Alias for
4807 package-list-packages.
4809 2010-08-24 Kevin Ryde <user42@zip.com.au>
4811 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4814 * progmodes/ruby-mode.el (ruby): Add defgroup.
4816 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4818 * progmodes/python.el: Add Ipython support (Bug#5390).
4819 (python-shell-prompt-alist)
4820 (python-shell-continuation-prompt-alist): New options.
4821 (python--set-prompt-regexp): New function.
4822 (inferior-python-mode, run-python, python-shell):
4823 Require ansi-color. Use python--set-prompt-regexp to set the comint
4824 prompt based on the Python interpreter.
4825 (python--prompt-regexp): New var.
4826 (python-check-comint-prompt)
4827 (python-comint-output-filter-function): Use it.
4828 (run-python): Use a pipe (Bug#5694).
4830 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4832 * progmodes/python.el (python-send-region): Send a different
4833 Python command if Ipython is in use.
4834 (python-check-version): Use a Python command to find the version.
4836 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4838 * mouse.el (mouse-yank-primary): Avoid setting primary when
4839 deactivating the mark (Bug#6872).
4841 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4843 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4844 with "else" (Bug#3991).
4846 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4848 * net/dbus.el: Accept UNIX domain sockets as bus address.
4849 (top): Don't initialize `dbus-registered-objects-table' anymore,
4850 this is done in dbusbind,c.
4851 (dbus-check-event): Adapt test for bus.
4852 (dbus-return-values-table, dbus-unregister-service)
4853 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4856 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4858 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4860 2010-08-22 Juri Linkov <juri@jurta.org>
4862 * simple.el (read-extended-command): New function with the logic
4863 for `completing-read' moved to Elisp from `execute-extended-command'.
4864 Use `function-called-at-point' in `minibuffer-default-add-function'
4865 to get a command name for M-n (bug#5364, bug#5214).
4867 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4869 * startup.el (command-line-1): Issue warning for ignored arguments
4870 --unibyte, etc (Bug#6886).
4872 2010-08-22 Leo <sdl.web@gmail.com>
4874 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4875 (ignore, bright, dim, keyword): Split list of nicknames before
4876 passing to rcirc-add-or-remove (Bug#6894).
4878 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4880 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4882 2010-08-22 Leo <sdl.web@gmail.com>
4884 Fix buffer-list rename&refresh after killing a buffer in ido.
4885 * ido.el: Revert Óscar's.
4886 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4887 Remember the buffers at head, rather than their name.
4888 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4890 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4891 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4894 extra backslash added to each line (bug#6890).
4896 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4900 2010-08-22 Glenn Morris <rgm@gnu.org>
4902 * menu-bar.el (menu-bar-games-menu): Add landmark.
4904 2010-08-22 Glenn Morris <rgm@gnu.org>
4906 * align.el (align-regexp): Make group and spacing arguments
4907 use the interactive defaults when non-interactive. (Bug#6698)
4909 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4910 expansion, so as not to need sendmail.
4911 (mail-text-start): Remove declaration.
4912 (rmail-retry-failure): Require sendmail.
4914 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4916 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4918 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4920 * progmodes/flymake.el (flymake-start-syntax-check-process):
4921 Use `start-file-process' in order to let it run also on remote hosts.
4923 2010-08-22 Kenichi Handa <handa@m17n.org>
4925 * files.el: Add `word-wrap' as safe local variable.
4927 2010-08-22 Glenn Morris <rgm@gnu.org>
4929 * woman.el (woman-translate): Case matters. (Bug#6849)
4931 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4933 * simple.el (kill-region): Doc fix (Bug#6787).
4935 2010-08-22 Glenn Morris <rgm@gnu.org>
4937 * calendar/diary-lib.el (diary-header-line-format):
4938 Fit it to the window, not the frame.
4940 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4942 * subr.el (ignore-errors): Add debug declaration.
4944 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4946 * whitespace.el (whitespace-color-off): Remove post-command-hook
4949 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4953 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4955 * cus-edit.el (custom-group-value-create): Add extra newline
4956 before end line (Bug#6876).
4958 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4960 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4961 when extending it. Before killing on the second click, check if
4962 the buffer is the correct one. Doc fix.
4963 (mouse-secondary-save-then-kill): Allow usage without first
4964 calling mouse-start-secondary, by defaulting to point. Don't save
4965 an empty secondary selection. Doc fix.
4967 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4969 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4970 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4972 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4973 Adjust initialization.
4974 (whitespace-bob-marker, whitespace-eob-marker)
4975 (whitespace-buffer-changed): New vars.
4976 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4977 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4978 (whitespace-post-command-hook, whitespace-display-char-on):
4980 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4981 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4983 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4985 * files.el (locate-file-completion-table): Only list the .el and .elc
4986 extensions if there's no other choice (bug#5955).
4988 * facemenu.el (facemenu-self-insert-data): New var.
4989 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4991 (facemenu-add-face): Use them.
4993 * simple.el (blink-matching-open): Obey forward-sexp-function.
4995 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * simple.el (prog-mode-map): New var.
4998 (prog-indent-sexp): New command.
5000 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5002 * progmodes/prolog.el (smie): Require.
5004 * emacs-lisp/smie.el (smie-default-backward-token)
5005 (smie-default-forward-token): Strip properties.
5006 (smie-next-sexp): Be more careful with associative operators.
5007 (smie-forward-sexp-command): Generalize.
5008 (smie-backward-sexp-command): Simplify.
5009 (smie-closer-alist): New var.
5010 (smie-close-block): New command.
5011 (smie-indent-debug-log): New var.
5012 (smie-indent-offset-rule): Add a few more cases.
5013 (smie-indent-column): New function.
5014 (smie-indent-after-keyword): Use it.
5015 (smie-indent-keyword): Use it.
5016 Fix up the opener code's point position.
5017 (smie-indent-comment): Only applies at BOL.
5018 (smie-indent-debug): New command.
5020 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5021 declarations that are useful before running the macro.
5023 2010-08-18 Joakim Verona <joakim@verona.se>
5025 * image.el (imagemagick-types-inhibit): New variable.
5026 (imagemagick-register-types): New function.
5027 * image-mode.el (image-transform-properties): New function.
5028 (image-transform-set-scale, image-transform-fit-to-height)
5029 (image-transform-set-rotation, image-transform-set-resize)
5030 (image-transform-fit-to-width, image-transform-fit-to-height):
5032 (image-toggle-display-image): Support image transforms.
5034 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5036 * image.el (create-animated-image): Don't add heuristic mask to image
5039 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5041 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5042 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5044 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5046 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5048 Font-lock '...' strings, plus various simplifications and fixes.
5049 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5050 (octave-font-lock-close-quotes): New function.
5051 (octave-font-lock-syntactic-keywords): New var.
5052 (octave-mode): Use it. Set beginning-of-defun-function.
5053 (octave-mode-map): Don't override the <foo>-defun commands.
5054 (octave-mode-menu): Pass it directly to easy-menu-define;
5055 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5056 (octave-block-match-alist): Fix up last change so that
5057 octave-close-block uses the more specific keyword.
5058 (info-lookup-mode): Silence byte-compiler.
5059 (octave-beginning-of-defun): Not interactive any more.
5061 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5062 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5063 (octave-completion-at-point-function): Make sure point is within
5065 (octave-reindent-then-newline-and-indent):
5066 Use reindent-then-newline-and-indent.
5067 (octave-add-octave-menu): Remove.
5069 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5071 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5072 (report-emacs-bug-can-use-xdg-email): New functions.
5073 (report-emacs-bug): Set can-xdg-email to result of
5074 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5075 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5078 * net/browse-url.el (browse-url-default-browser): Add cond
5079 for browse-url-xdg-open.
5080 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5082 2010-08-17 Glenn Morris <rgm@gnu.org>
5084 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5085 (c-fontify-recorded-types-and-refs): Define for compiler.
5086 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5089 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5092 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5094 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5096 (tramp-handle-process-file): Call the program in a subshell, in
5097 order to preserve working directory.
5098 (tramp-action-password): Hide password prompt before next run.
5099 (tramp-process-actions): Widen connection buffer for the trace.
5101 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5103 * net/rcirc.el (rcirc-log-process-buffers): New option.
5104 (rcirc-print): Use it.
5105 (rcirc-generate-log-filename): New function.
5106 (rcirc-log-filename-function): Change default to
5107 rcirc-generate-log-filename (Bug#6828).
5109 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5111 * simple.el (deactivate-mark): If select-active-regions is `only',
5112 only set selection for temporarily active regions.
5114 * cus-start.el: Change defcustom for select-active-regions.
5116 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5118 * mouse.el (mouse--drag-set-mark-and-point): New function.
5119 (mouse-drag-track): Use LOCATION arg to push-mark.
5120 Use mouse--drag-set-mark-and-point to take click-count into
5121 consideration when updating point and mark (Bug#6840).
5123 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5125 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5126 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5128 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5130 * font-lock.el (lisp-font-lock-keywords-2):
5131 Add combine-after-change-calls, condition-case-no-debug,
5132 with-demoted-errors, and with-silent-modifications (Bug#6025).
5134 2010-08-14 Kevin Ryde <user42@zip.com.au>
5136 * emacs-lisp/copyright.el (copyright-update-year)
5137 (copyright-update): Temporary switch-to-buffer to ensure the
5138 buffer change being queried is visible (Bug#5394).
5140 2010-08-14 Tom Tromey <tromey@redhat.com>
5142 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5145 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5147 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5150 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5152 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5153 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5154 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5155 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5156 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5157 Call menu-bar-set-tool-bar-position.
5159 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5161 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5162 comment style (bug#6834).
5163 * progmodes/scheme.el (scheme-mode-syntax-table):
5164 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5165 "b" flag in "' 14b" syntax.
5167 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5168 for (un)commenting the region and performing completion.
5169 (octave-mode-menu): Use standard commands for help and completion.
5170 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5171 (octave-mode): Use define-derived-mode.
5172 Set completion-at-point-functions and don't set columns.
5173 Don't disable adaptive-fill-regexp.
5174 (octave-describe-major-mode, octave-comment-region)
5175 (octave-uncomment-region, octave-comment-indent)
5176 (octave-indent-for-comment): Remove.
5177 (octave-indent-calculate): Rename from calculate-octave-indent.
5178 (octave-indent-line, octave-fill-paragraph): Update caller.
5179 (octave-initialize-completions): No need to make an alist.
5180 (octave-completion-at-point-function): New function.
5181 (octave-complete-symbol): Use it.
5182 (octave-insert-defun): Use define-skeleton.
5184 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5185 (octave-mode-map): Use comment-dwim (bug#6829).
5187 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5189 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5190 indentation of inserted comment.
5192 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5194 * faces.el (region): Add type gtk that uses gtk colors.
5196 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5197 Handle theme-name change.
5199 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5201 * progmodes/sql.el: Version 2.5
5202 (sql-product-alist): Add :prompt-cont-regexp property for several
5204 (sql-prompt-cont-regexp): New variable.
5205 (sql-output-newline-count, sql-output-by-send):
5206 New variables. Record number of newlines in input text.
5207 (sql-send-string): Handle multiple filters and count newlines.
5208 (sql-send-magic-terminator): Count terminator newline.
5209 (sql-interactive-remove-continuation-prompt): Filters output to
5210 remove continuation prompts; one for each newline.
5211 (sql-interactive-mode): Set up new variables, prompt regexp and
5213 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5214 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5216 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * emacs-lisp/pcase.el: New file.
5220 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5222 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5223 as here-document, otherwise the command could exceed maximum
5224 length of command line.
5225 (tramp-handle-vc-registered): Call script accordingly.
5226 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5228 2010-08-10 Kenichi Handa <handa@m17n.org>
5230 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5233 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5235 * emacs-lisp/package.el (package-version-split)
5236 (package--version-first-nonzero, package-version-compare):
5238 (package-directory-list, package-load-all-descriptors)
5239 (package--built-in, package-activate, define-package)
5240 (package-installed-p, package-compute-transaction)
5241 (package-read-all-archive-contents)
5242 (package--add-to-archive-contents, package-buffer-info)
5243 (package-tar-file-info, package-list-packages-internal):
5244 Use version-to-list and version-list-*.
5246 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5247 Use version-to-list.
5248 (package-upload-buffer-internal): Use version-list-<=.
5250 2010-08-09 Kenichi Handa <handa@m17n.org>
5252 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5255 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5257 * tutorial.el (tutorial--default-keys): C-d is now bound to
5258 delete-forward-char (Bug#6826).
5260 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5261 for `double' value of mouse-1-click-follows-link (Bug#6807).
5263 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5265 * replace.el (replace-highlight): Bind isearch-forward and
5266 isearch-error, ensuring that highlighting is updated if the user
5267 switches the search direction (Bug#6808).
5269 * isearch.el (isearch-lazy-highlight-forward): New var.
5270 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5271 (isearch-lazy-highlight-update): Use it.
5273 2010-08-08 Kenichi Handa <handa@m17n.org>
5275 * international/mule.el (define-charset): Store NAME as :base property.
5276 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5277 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5278 current priority. Force using the designation of the specific
5279 charset by adding `charset' text property. Improve the whole algorithm.
5281 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5283 * emulation/pc-select.el (pc-selection-mode-hook)
5284 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5285 (pc-selection-mode): Fix typos in docstrings.
5287 2010-08-08 Kenichi Handa <handa@m17n.org>
5289 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5290 ctext-non-standard-encodings-alist here.
5292 * international/mule.el (ctext-non-standard-encodings-alist):
5293 Add "koi8-r" and "microsoft-cp1251".
5294 (ctext-standard-encodings): New variable.
5295 (ctext-non-standard-encodings-table): List only elements for
5296 non-standard encodings.
5297 (ctext-pre-write-conversion): Adjust for the above change.
5298 Check ctext-standard-encodings.
5300 * international/mule-conf.el (compound-text): Doc fix.
5301 (ctext-no-compositions): Doc fix.
5302 (compound-text-with-extensions): Doc fix.
5304 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5308 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5310 * progmodes/which-func.el (which-func-format): Split help-echo text
5311 into lines, like other mode-line tooltips.
5313 * server.el (server-start): When using TCP sockets, force IPv4
5314 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5316 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5320 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5322 * term.el (term-delimiter-argument-list): Reflow docstring.
5323 (term-read-input-ring, term-write-input-ring, term-send-input)
5324 (term-bol, term-erase-in-display, serial-supported-or-barf):
5325 Fix typos in docstrings.
5327 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5331 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5333 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5335 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5337 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5338 Fix typo in docstring (bug#6747).
5340 2010-08-08 Leo <sdl.web@gmail.com>
5342 * eshell/esh-io.el (eshell-get-target): Better detection of
5343 read-only file (Bug#6762).
5345 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5347 * align.el (align-default-spacing): Doc fix.
5348 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5350 2010-08-08 Stephen Peters <speters@itasoftware.com>
5352 * calendar/icalendar.el
5353 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5354 (icalendar--get-weekday-numbers): New.
5355 (icalendar--convert-recurring-to-diary): Handle multiple byday
5356 values in weekly rules. (Bug#6766)
5358 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5360 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5361 (icalendar--create-uid, icalendar-export-region)
5362 (icalendar--parse-summary-and-rest): Code formatting.
5364 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5366 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5367 to italicize headers.
5368 (calc-highlight-selections-with-faces): New variable.
5369 (calc-selected-face, calc-nonselected-face): New faces.
5371 * calc/calccomp.el (math-comp-highlight-string): Use
5372 `calc-highlight-selections-with-faces' to determine how to highlight
5375 * calc/calc-sel.el (calc-show-selections): Change message to when
5376 using faces to highlight selections.
5378 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5380 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5381 Add SQLite 3 keywords, functions and datatypes.
5382 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5385 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5387 * simple.el (select-active-regions): Move to keyboard.c.
5388 (deactivate-mark): Used saved-region-selection.
5389 (select-active-region): Function removed.
5390 (activate-mark, set-mark, push-mark-command)
5391 (handle-shift-selection): Don't call it.
5392 (keyboard-quit): Avoid adding the region to the window selection.
5394 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5395 select-active-regions implementation.
5396 (mouse-yank-at-click): Doc fix.
5398 * cus-start.el: Add custom declaration for select-active-regions.
5400 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5402 * simple.el (delete-forward-char): Doc fix.
5404 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5405 after reading the tutorial.
5407 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5409 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5410 Fix for the case that a C style comment has its delimiters alone on
5411 their respective lines.
5413 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5415 * net/tramp.el (tramp-handle-start-file-process): Set connection
5417 (tramp-process-sentinel): Use it for flushing the cache.
5418 We cannot do it via the process buffer, the buffer could be deleted
5419 already when running the sentinel.
5421 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5423 * comint.el (comint-mode): Make directory tracking functions
5424 functional on remote files. (Bug#6764)
5426 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5428 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5430 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5432 * emacs-lisp/find-gc.el (find-gc-source-files):
5433 Rename unexec.c => unexcoff.c.
5435 * emacs-lisp/authors.el (authors-fixed-entries):
5436 Rename unexec.c => unexcoff.c.
5438 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5440 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5441 cache, not only file cache.
5442 (tramp-process-sentinel): New defun.
5443 (tramp-handle-start-file-process): Use it, in order to invalidate
5446 2010-08-03 Leo <sdl.web@gmail.com>
5448 * server.el (server-start): Simplify loop.
5450 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5452 * frame.el (screen-height, screen-width, set-screen-width)
5453 (set-screen-height): Remove ancient compatibility aliases.
5455 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5456 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5458 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5459 that change current buffer.
5461 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5463 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5464 beginning of the string. Use `string-match-p'. (Bug#6765)
5466 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5468 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5470 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5472 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5473 (package--builtins): Tweak descriptions.
5474 (package-print-package): Upcase descriptions if necessary.
5475 Show all built-in packages in font-lock-builtin-face.
5476 (package-list-packages-internal): Omit "emacs" package.
5477 Show status of built-in packages as "built-in".
5479 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5481 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5482 before killing to preserve the primary selection (Bug#6701).
5484 * term/x-win.el (x-select-text): Doc fix.
5486 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5488 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5489 (objc-font-lock-extra-types):
5490 * progmodes/cc-mode.el (c-basic-common-init):
5491 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5492 (c++-make-template-syntax-table)
5493 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5494 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5495 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5496 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5497 * progmodes/cc-fonts.el (c-make-inverse-face)
5498 (c-basic-matchers-after):
5499 * progmodes/cc-engine.el (c-forward-keyword-clause)
5500 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5501 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5502 (c-guess-continued-construct, c-guess-basic-syntax):
5503 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5504 The above functions were modified or created.
5506 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5508 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5510 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5512 * files.el (bidi-paragraph-direction): Define safe local values.
5514 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5515 language-info-alist. Remove outdated FIXME in a comment.
5517 2010-07-31 Alan Mackenzie <acm@muc.de>
5519 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5520 Auto-fill broken in C/C++ modes.
5522 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5524 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5525 (menu-bar-showhide-tool-bar-menu-customize-disable)
5526 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5527 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5528 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5529 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5530 make a menu for Options => toolbar that can move it.
5532 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5534 * emacs-lisp/package-x.el (package--make-rss-entry):
5535 (package-maint-add-news-item, package--update-news)
5536 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5538 * emacs-lisp/package.el (package-archive-url): Rename from
5540 (package-install): Doc fix.
5541 (package-download-single, package-download-tar, package-install)
5542 (package-menu-view-commentary): Callers changed.
5544 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5546 * net/tramp.el (tramp-handle-start-file-process): Check only for
5547 `remote-tty' process property.
5548 (tramp-open-shell): Don't check for tty.
5549 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5552 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5555 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5557 * emacs-lisp/package.el (package-load-list, package-archives)
5558 (package-archive-contents, package-user-dir)
5559 (package-directory-list, package--builtins, package-alist)
5560 (package-activated-list, package-obsolete-alist): Mark as risky.
5562 2010-07-28 Phil Hagelberg <phil@evri.com>
5564 Add support for non-default package repositories.
5565 * emacs-lisp/package.el (package-archive-base): Var deleted.
5566 (package-archives): New variable.
5567 (package-archive-contents): Doc fix.
5568 (package-load-descriptor): Do nothing if descriptor file is missing.
5569 (package--write-file-no-coding): New function.
5570 (package-unpack-single): Use it.
5571 (package-archive-id): New function.
5572 (package-download-single, package-download-tar)
5573 (package-menu-view-commentary): Use it.
5574 (package-installed-p): Make second argument optional.
5575 (package-read-all-archive-contents): New function.
5576 (package-initialize): Use it.
5577 (package-read-archive-contents): Add ARCHIVE argument.
5578 (package--add-to-archive-contents): New function.
5579 (package-install): Don't call package-read-archive-contents.
5580 (package--download-one-archive): Store archive file in a
5581 subdirectory of package-user-dir.
5582 (package-menu-execute): Remove spurious line movement.
5584 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5586 * cus-start.el (tool-bar-style): Add text-image-horiz.
5588 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5590 * progmodes/gud.el (gud-common-init): Check for remoteness of
5591 `file', and not of `default-directory'.
5593 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5595 * net/tramp.el (tramp-methods): Move hostname to the end in all
5596 ssh `tramp-login-args'.
5597 (tramp-verbose): Describe verbose level 9.
5598 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5599 (tramp-open-connection-setup-interactive-shell): Trace stty
5600 settings if `tramp-verbose' >= 9.
5601 (tramp-handle-start-file-process): Implement tty setting.
5602 (Bug#4604, Bug#6360)
5604 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5605 `tramp-verbose' to 9.
5607 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5609 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5610 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5611 Remove references to package `lisp-re' (bug#4369).
5613 2010-07-27 Tom Tromey <tromey@redhat.com>
5615 * progmodes/js.el (js-mode):
5616 * progmodes/make-mode.el (makefile-mode):
5617 * progmodes/simula.el (simula-mode):
5618 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5620 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5622 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5624 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5625 (display-time-world-buffer-name, display-time-world-mode-map):
5626 Fix typos in docstrings.
5628 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5630 * image-mode.el (image-display-size): New function.
5631 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5632 (image-mode-fit-frame): Use it (Bug#6639).
5634 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5636 * dired.el (dired-buffers-for-dir): Handle list values of
5637 dired-directory (Bug#6636).
5639 2010-07-26 Sam Steingold <sds@gnu.org>
5641 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5642 Do not call `x-get-selection' the second time, reuse the value.
5644 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5646 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5647 which consist of control chars only. Suggested by Richard Stallman.
5649 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5651 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5652 exists before passing an error to find-file-not-found-functions
5655 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5657 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5658 Remove leading nil element, adjust values.
5659 (tetris-shapes, tetris-shape-scores):
5660 Change representation of shapes and remove some redundancy.
5661 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5662 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5663 Adjust for working with new representation of shapes.
5664 (tetris-shape-rotations): New function.
5665 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5666 (tetris-rotate-prev, tetris-rotate-next):
5667 Adjust for working with the new version of tetris-test-shape.
5669 2010-07-23 Markus Triska <markus.triska@gmx.at>
5671 * progmodes/ps-mode.el: Use comint (bug#5954).
5672 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5673 (ps-mode-other-newline): Simplify.
5674 (ps-run-mode): Derive from comint-mode instead of
5675 fundamental-mode, yielding input history etc.
5676 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5677 (ps-run-send-string): Adapt for comint-mode.
5678 (ps-run-newline): Remove now unneeded function.
5680 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5682 * net/tramp.el (tramp-methods): Move hostname to the end in all
5683 plink `tramp-login-args'.
5685 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5687 * net/tramp.el (tramp-open-shell): New defun.
5688 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5691 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5693 * net/tramp.el (tramp-file-name-regexp-unified)
5694 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5695 not regard the volume letter as remote filename. (Bug#5447)
5697 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5699 * custom.el (custom-declare-variable): Give a clearer error message
5700 when the docstring is missing (bug#6476).
5702 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5704 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5705 (sql-login-params): New widget definition.
5706 (sql-oracle-login-params, sql-mysql-login-params)
5707 (sql-solid-login-params, sql-sybase-login-params)
5708 (sql-informix-login-params, sql-ingres-login-params)
5709 (sql-ms-login-params, sql-postgres-login-params)
5710 (sql-interbase-login-params, sql-db2-login-params)
5711 (sql-linter-login-params): Use it.
5712 (sql-sqlite-login-params): Use it; Define "database" parameter as
5714 (sql-sqlite-program): Change to "sqlite3".
5715 (sql-comint-sqlite): Make sure database name is complete.
5716 (sql-for-each-login): New function.
5717 (sql-connect, sql-save-connection): Use it.
5718 (sql-get-login-ext): New function.
5719 (sql-get-login): Use it.
5720 (sql-make-alternate-buffer-name): Handle :file parameters.
5722 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5724 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5725 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5727 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5729 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5731 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5733 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5735 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5737 * net/tramp.el (tramp-get-ls-command)
5738 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5741 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5743 * progmodes/sql.el: Version 2.3.
5744 (sql-connection-alist): Changed keys from symbols to strings;
5745 enhanced the widget definition.
5746 (sql-mode-menu): Add submenu to select connections.
5747 (sql-interactive-mode-menu): Add "Save Connection" item.
5748 (sql-add-product): Fix menu item.
5749 (sql-get-product-feature): Improved error handling.
5750 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5751 (sql-make-alternate-buffer-name): Simplified.
5752 (sql-product-interactive): Handle missing product.
5753 (sql-connect): Support string keys, minor improvements.
5754 (sql-save-connection): New function.
5755 (sql-connection-menu-filter): New function.
5757 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5759 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5760 (tramp-open-connection-setup-interactive-shell):
5761 Apply workaround for IRIX64 bug. Move argument of last
5762 `tramp-send-command' where it belongs to.
5764 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5766 * net/tramp.el (tramp-perl-file-attributes)
5767 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5768 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5769 front of `login-args'.
5771 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5773 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5774 Set `show-trailing-whitespace' to nil.
5775 (display-time-world-display): Simplify.
5777 2010-07-18 Alan Mackenzie <acm@muc.de>
5779 Enhance `c-file-style' in file/directory local variables.
5780 * progmodes/cc-mode.el (c-count-cfss): New function.
5781 (c-before-hack-hook): Call `c-set-style' differently according to
5782 whether c-file-style was set in file or directory local
5785 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5787 * progmodes/sql.el: Version 2.2.
5788 (sql-product, sql-user, sql-database, sql-server, sql-port):
5789 Use defcustom :safe keyword rather than putting safe-local-variable
5791 (sql-password): Use defcustom :risky keyword rather than putting
5792 risky-local-variable property.
5793 (sql-oracle-login-params, sql-sqlite-login-params)
5794 (sql-solid-login-params, sql-sybase-login-params)
5795 (sql-informix-login-params, sql-ingres-login-params)
5796 (sql-ms-login-params, sql-postgres-login-params)
5797 (sql-interbase-login-params, sql-db2-login-params)
5798 (sql-linter-login-params): Add `port' option.
5799 (sql-get-product-feature): Add NO-INDIRECT parameter.
5800 (sql-comint-oracle, sql-comint-sybase)
5801 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5802 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5803 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5804 (sql-comint-linter): Rename sql-connect-* functions to
5806 (sql-product-alist, sql-mode-menu): Rename as above and
5807 :sqli-connect-func to :sqli-comint-func.
5808 (sql-connection): New variable.
5809 (sql-interactive-mode): Set it.
5810 (sql-connection-alist): New variable.
5811 (sql-connect): New function.
5812 (sql--alt-buffer-part, sql--alt-if-not-empty)
5813 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5815 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5817 * image-mode.el (image-bookmark-make-record): Do not set context
5818 in an image (Bug#6650).
5820 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5822 * simple.el (select-active-region): New function.
5823 (push-mark-command, set-mark, activate-mark)
5824 (handle-shift-selection): Use it.
5825 (deactivate-mark): Don't check for size of region.
5827 * mouse.el (mouse-drag-track): Use select-active-region.
5829 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5831 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5834 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5836 * term/x-win.el (x-select-enable-primary): Change default to nil.
5837 (x-select-enable-clipboard): Add :version keyword.
5839 * mouse.el (mouse-drag-copy-region):
5840 * simple.el (select-active-regions): Likewise.
5842 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5844 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5845 (vc-coding-system-for-diff): Use it to decide whether to inherit
5846 from the file the EOL format for reading the diffs of that file.
5849 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5851 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5852 unibyte, so compressed attachments are not compressed again.
5854 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5856 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5857 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5858 (tramp-find-shell): Simplify setting connection property.
5859 (tramp-get-ls-command): Make test for "--color=never" stronger.
5861 2010-07-15 Simon South <ssouth@member.fsf.org>
5863 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5864 blocks within record declarations (i.e. variant parts) correctly.
5866 2010-07-15 Simon South <ssouth@member.fsf.org>
5868 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5869 over literal tokens when parsing so newlines aren't "absorbed" by
5870 single-line comments. Corrects the indentation of case blocks
5871 that have a comment on the first line.
5873 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5875 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5876 by Drew Adams (Bug#5504).
5878 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5880 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5881 now that Unicode is used (Bug#6594).
5883 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5885 * term/x-win.el (x-select-enable-clipboard): Default to t.
5886 (x-initialize-window-system): Don't overwrite Paste menu item.
5888 * simple.el (select-active-regions): Default to t.
5889 (push-mark-command): Don't overwrite primary with empty string.
5891 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5892 (mouse-drag-copy-region): Default to nil.
5894 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5895 Cut/Copy/Paste menu bar items.
5897 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5899 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5900 Patch applied by Karl Fogel.
5902 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5903 and `bookmark-current-buffer' if they have been already set in
5904 another buffer (e.g gnus-art).
5906 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5907 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5909 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5911 * bookmark.el (bookmark-make-record-default): Allow unneeded
5912 information to be omitted from the record.
5914 Adjust declarations and calls:
5916 * info.el (bookmark-make-record-default): Adjust declaration.
5917 (Info-bookmark-make-record): Adjust call.
5919 * woman.el (bookmark-make-record-default): Adjust declaration.
5920 (woman-bookmark-make-record): Adjust call.
5922 * man.el (bookmark-make-record-default): Adjust declaration.
5923 (Man-bookmark-make-record): Adjust call.
5925 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5927 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5929 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5931 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5932 This is also from Thierry Volpiatto's patch in bug #6444. However,
5933 because it was extraneous to the functional change in that patch,
5934 and causes a re-indendation, I am committing it separately.
5936 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5938 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5939 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5940 Patch applied by Karl Fogel (Bug#6444).
5942 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5944 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5946 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5948 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5949 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5950 (ns-alternatives-map): Change S-tab binding to backtab
5953 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5956 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5958 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5961 * language/tv-util.el (tai-viet-re): Remove format.
5963 2010-07-12 Kenichi Handa <handa@m17n.org>
5965 * language/hebrew.el: Remove no-byte-compile declaration.
5966 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5967 composition-function-table for 3-character looking back.
5968 (hebrew-font-get-precomposed): New function.
5969 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5971 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5973 * mouse.el (mouse-drag-track): Handle select-active-regions
5976 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5978 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5979 empty argument to gvfs-copy.
5981 2010-07-10 Glenn Morris <rgm@gnu.org>
5983 * calendar/calendar.el (calendar-week-end-day): New function.
5984 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5985 Respect calendar-week-start-day. (Bug#6606)
5986 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5987 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5988 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5989 respect calendar-week-start-day.
5991 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5993 * simple.el (use-region-p): Doc fix (Bug#6607).
5995 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5997 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5998 Add regexps for cucumber and ruby.
6000 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6002 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6003 (epa-file-insert-file-contents): Hack to prevent
6004 find-file from opening empty buffer when decryption failed
6007 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6009 * textmodes/ispell.el (ispell-alternate-dictionary):
6010 Use file-readable-p.
6011 Return nil if no word-list is found at default locations.
6012 (ispell-complete-word-dict): Default to nil.
6013 (ispell-command-loop): Use 'word-list' when using lookup-words.
6014 (lookup-words): Use ispell-complete-word-dict or
6015 ispell-alternate-dictionary. Check for word-list availability
6016 and handle errors if needed with better messages (Bug#6539).
6017 (ispell-complete-word): Use ispell-complete-word-dict or
6018 ispell-alternate-dictionary.
6020 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6022 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6023 builtins (BufferError, BytesWarning, WindowsError; callables
6024 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6026 2010-07-07 Glenn Morris <rgm@gnu.org>
6028 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6029 (zone-shift-left): Ignore intangibility, and any errors from
6031 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6032 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6033 deleting, and copying text properties.
6034 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6035 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6036 to point-max is hard.
6037 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6038 (zone-fill-out-screen): Ignore intangibility.
6040 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6042 * menu-bar.el (menu-bar-mode):
6043 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6046 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6047 word/line selection (Bug#6565).
6049 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6051 * net/dbus.el (dbus-send-signal): Declare function.
6053 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6055 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6056 (dbus-register-property): New optional argument EMITS-SIGNAL.
6057 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6059 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6061 * mouse.el (mouse-drag-overlay): Variable deleted.
6062 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6063 (mouse--remap-link-click-p): New function.
6064 (mouse-drag-track): Handle dragging by using temporary Transient
6065 Mark mode, instead of a special overlay.
6066 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6069 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6072 2010-07-02 Juri Linkov <juri@jurta.org>
6074 * autoinsert.el (auto-insert-alist): Fix readability
6075 by using dotted pair notation for lambda.
6077 2010-07-02 Juri Linkov <juri@jurta.org>
6079 * faces.el (read-face-name): Rename arg `string-describing-default'
6080 to `default'. Doc fix. Display the default value in quotes
6081 in the prompt. With empty input, return the `default' arg,
6082 unless the default value is a string (in which case return nil).
6083 (describe-face): Replace the string `default' arg of `read-face-name'
6084 with the symbol `default'.
6086 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6088 * emulation/viper-cmd.el (viper-delete-backward-char)
6089 (viper-del-backward-char-in-insert)
6090 (viper-del-backward-char-in-replace, viper-change)
6091 (viper-backward-indent): Replace delete-backward-char with
6092 delete-char (Bug#6552).
6094 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6096 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6098 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6100 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6101 argument passed to frame-creation-function (Bug#5378).
6103 * faces.el (x-handle-named-frame-geometry)
6104 (x-handle-reverse-video, x-create-frame-with-faces)
6105 (face-set-after-frame-default, tty-create-frame-with-faces):
6106 Don't separately consult default-frame-alist. It is now passed as the
6109 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6111 * startup.el (command-line): Don't call tool-bar-setup in a
6114 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6116 * ruler-mode.el (ruler--save-header-line-format): New fun.
6117 (ruler-mode): Use it as a setter function, so as not to overwrite
6118 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6120 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6122 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6123 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6124 (vc-log-outgoing): Use it.
6125 (vc-diff-internal): Set diff-vc-backend.
6127 * vc/diff-mode.el (diff-vc-backend): New var.
6129 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6131 * dynamic-setting.el (font-setting-change-default-font):
6132 Remove call to message.
6134 2010-06-28 Kenichi Handa <handa@m17n.org>
6136 * international/quail.el (quail-insert-kbd-layout): Fix the
6137 showing of untranslated characters.
6139 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6141 * simple.el (delete-active-region): New option.
6142 (delete-backward-char): Implement in Lisp.
6143 (delete-forward-char): New command.
6145 * mouse.el (mouse-region-delete-keys): Deleted.
6146 (mouse-show-mark): Simplify.
6148 * bindings.el (global-map): Bind delete and DEL, the former to
6149 delete-forward-char.
6151 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6153 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6154 (ruby-mode): Bind indent-line-function (Bug#5119).
6156 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6158 * startup.el (command-line): Recognize "0" X resource value.
6160 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6162 * startup.el (command-line): Use X resources to set the value of
6163 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6165 * menu-bar.el (menu-bar-mode):
6166 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6167 Set init-value to t.
6169 * frame.el (frame-notice-user-settings): Don't change
6170 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6171 vice versa (Bug#2249).
6173 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6175 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6177 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6179 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6180 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6182 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6183 default directories are expanded (Bug#6143).
6185 2010-06-24 Juri Linkov <juri@jurta.org>
6187 * minibuffer.el (completions-format): Change default from nil to
6188 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6190 2010-06-24 Juri Linkov <juri@jurta.org>
6192 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6193 buffer-locally to lambda that re-runs the vc diff command.
6196 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6198 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6199 echo area is in use (Bug#3412).
6201 2010-06-22 Glenn Morris <rgm@gnu.org>
6203 * textmodes/texinfmt.el (texinfo-format-region)
6204 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6205 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6206 (texinfo-format-option, texinfo-noindent):
6207 Use line-beginning-position and line-end-position.
6209 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6210 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6211 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6214 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6216 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6217 forward-line fallout.
6219 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6221 * mouse.el (mouse-appearance-menu): Add docstring.
6223 * help.el (describe-key): Print up-event using key-description.
6225 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6227 * net/zeroconf.el (zeroconf-resolve-service)
6228 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6229 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6231 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6233 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6235 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6237 Avoid displaying files with a nil state in vc-dir.
6238 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6239 cases that cause insertion.
6240 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6243 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6245 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6247 2010-06-29 Leo <sdl.web@gmail.com>
6249 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6251 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6253 * generic-x.el (bat-generic-mode): Fix regexp for command line
6254 switches (Bug#5719).
6256 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6258 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6259 of nconc to avoid pure storage error (Bug#6239).
6261 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6263 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6264 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6265 bindings of bookmark-automatically-show-annotations (Bug#6515).
6267 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6269 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6270 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6272 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6274 * comint.el (make-comint, make-comint-in-buffer): Mention return
6275 value in the docstrings. (Bug#6498)
6277 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6279 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6280 since it is not present when using some non-default switches.
6282 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6284 * simple.el (compose-mail): Fix doc string to refer to
6285 `compose-mail-user-agent-warnings', instead of to the
6286 nonexistent `compose-mail-check-user-agent'.
6288 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6290 Fix an indentation bug:
6292 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6293 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6296 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6297 (c-clear->-pair-props-if-match-before): now return t when they've
6298 cleared properties, nil otherwise.
6299 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6300 by taking account of the existing value.
6302 * progmodes/cc-defs.el
6303 (c-clear-char-property-with-value-function): Fix this to clear the
6304 property rather than overwriting it with nil.
6306 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6308 * emacs-lisp/package.el (package-print-package): Add link to
6309 package description via describe-package.
6310 (describe-package-1): List package requirements. Add button to
6311 perform installation.
6312 (package-menu-describe-package): New command.
6314 * help-mode.el (help-package): New button type.
6316 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6318 * emacs-lisp/package.el: Move package-list-packages binding to
6320 (describe-package, describe-package-1, package--dir): New funs.
6321 (package-activate-1): Use package--dir.
6323 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6325 * help-mode.el (help-package-def): New button type.
6327 * menu-bar.el: Move package-list-packages binding here from
6330 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6332 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6334 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * emacs-lisp/edebug.el (edebug-read-list):
6337 Phase out old-style backquotes.
6339 2010-06-17 Juri Linkov <juri@jurta.org>
6341 * help-mode.el (help-mode): Set buffer-local variable
6342 revert-buffer-function to help-mode-revert-buffer.
6343 (help-mode-revert-buffer): New function.
6345 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6346 before popping to "*info*" (like in other Info functions).
6347 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6348 old-history-forward. Pop to old-buffer-name or "*info*" to
6349 recreate the killed buffer. Set Info-history-forward from
6350 old-history-forward.
6351 (Info-breadcrumbs-depth): Add :group and :version.
6353 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6355 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6357 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6359 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6360 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6362 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6364 * emacs-lisp/package.el (package-menu-mode-map):
6365 Move initialization into declaration.
6367 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6369 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6371 * emacs-lisp/package.el (package-archive-base): Point to
6373 (package-enable, package-load-list): New defcustoms.
6374 (package-user-dir, package-directory-list): Turn into defcustoms.
6375 Don't include package-user-dir in package-directory-list.
6376 (package--builtins-base): Don't include Emacs as a "package".
6377 (package-subdirectory-regexp): New var.
6378 (package-load-all-descriptors, package-compute-transaction)
6379 (package-download-transaction): Obey package-load-list.
6380 (package-activate-1): Rename from package-do-activate.
6381 (package-list-packages-internal): Check package-load-list.
6382 (package-load-descriptor, package-generate-autoloads)
6383 (package-unpack, package-unpack-single)
6384 (package--read-archive-file, package-delete):
6385 Use expand-file-name.
6387 * emacs-lisp/package-x.el: New file. Package uploading
6388 functionality split out from package.el.
6390 * startup.el (command-line): Load packages after reading init file.
6392 2010-06-17 Tom Tromey <tromey@redhat.com>
6394 * emacs-lisp/package.el: New file.
6396 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6398 Fix vc-annotate for renamed files when using Git.
6399 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6400 ls-files. Doe not pass the object as a file name to cat-file, it
6402 (vc-git-annotate-command): Pass the file name using -- to avoid
6403 ambiguity with the revision.
6404 (vc-git-previous-revision): Pass a relative file name.
6406 2010-06-22 Glenn Morris <rgm@gnu.org>
6408 * progmodes/js.el (js-mode-map): Use standard capitalization and
6409 ellipses for menu entries.
6411 * wid-edit.el (widget-complete): Doc fix.
6413 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6415 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6417 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6419 Fix annotating other revisions for renamed files in vc-annotate.
6420 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6421 VC backend. Use it when non-nil.
6422 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6425 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6426 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6427 Do not pass the file name to the 'previous-revision call when we
6428 don't want a file diff. (Bug#6489)
6430 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6432 Fix finding revisions for renamed files in vc-annotate.
6433 * vc/vc.el (vc-find-revision): Add an optional argument for
6434 the VC backend. Use it when non-nil.
6435 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6436 backend to vc-find-revision. (Bug#6487)
6438 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6440 Fix reading file names in Git annotate buffers.
6441 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6442 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6444 2010-06-20 Alan Mackenzie <acm@muc.de>
6446 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6447 in file local variables, set it first.
6449 2010-06-19 Glenn Morris <rgm@gnu.org>
6451 * descr-text.el (describe-char-unicode-data): Insert separating
6452 space when needed. (Bug#6422)
6454 * progmodes/idlwave.el (idlwave-action-and-binding):
6455 Fix typo in 2009-12-03 change. (Bug#6450)
6457 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6459 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6460 handling for `lambda' (misunderstanding).
6462 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6464 * calc/calc-poly.el (math-accum-factors): Make sure that
6465 constants aren't distributed after they are factored out.
6467 2010-06-16 Juri Linkov <juri@jurta.org>
6469 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6470 `list-colors-print'. (Bug#6332)
6472 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6474 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6477 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6479 * font-lock.el (font-lock-major-mode): Rename from
6480 font-lock-mode-major-mode to distinguish it from
6481 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6482 (font-lock-set-defaults):
6483 * font-core.el (font-lock-default-function): Adjust users.
6484 (font-lock-mode): Don't set it at all.
6486 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6488 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6490 2010-06-16 Glenn Morris <rgm@gnu.org>
6492 * calendar/appt.el (appt-time-msg-list): Doc fix.
6493 (appt-check): Let-bind appt-warn-time.
6494 (appt-add): Make the 3rd argument optional.
6495 Simplify argument names. Doc fix. Check for integer WARNTIME.
6496 Only add WARNTIME to the output list if non-nil.
6498 2010-06-16 Ivan Kanis <apple@kanis.eu>
6500 * calendar/appt.el (appt-check): Let the 3rd element of
6501 appt-time-msg-list specify the warning time.
6502 (appt-add): Add new argument with the warning time. (Bug#5176)
6504 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6506 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6507 older than version 1.6. (Bug#6361)
6509 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6511 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6512 used by cl-do-arglist. (Bug#6408)
6514 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6516 * textmodes/ispell.el (ispell-dictionary-base-alist):
6517 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6518 Suggested by Rolando Pereira (bug#6434).
6520 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6522 * facemenu.el (list-colors-sort): Doc fix.
6524 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6526 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6528 2010-06-14 Juri Linkov <juri@jurta.org>
6530 Add sort option `list-colors-sort'. (Bug#6332)
6531 * facemenu.el (color-rgb-to-hsv): New function.
6532 (list-colors-sort): New defcustom.
6533 (list-colors-sort-key): New function.
6534 (list-colors-display): Doc fix. Sort list according to the option
6536 (list-colors-print): Add HSV values to `help-echo' property of
6539 2010-06-14 Juri Linkov <juri@jurta.org>
6541 * compare-w.el: Move to the "vc" subdirectory.
6543 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * image-mode.el (image-mode-map): Remap left-char and right-char.
6547 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6549 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6551 * term/common-win.el (x-colors): Add all the color names defined
6552 in rgb.txt (Bug#6332).
6554 * facemenu.el (list-colors-print): Don't print extra names if it
6555 will overflow the window width.
6557 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6560 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6562 * files.el (make-directory): Doc fix (bug#6396).
6564 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6566 * net/tramp.el (tramp-remote-process-environment): Protect version
6567 string by apostroph.
6568 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6570 (tramp-file-name-for-operation): Add `call-process-region'.
6571 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6573 * net/tramp-compat.el (top): Do not autoload
6574 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6575 only when `start-file-process' is not bound.
6576 (tramp-advice-file-expand-wildcards): Do not use
6577 `tramp-handle-file-remote-p'.
6578 (tramp-compat-make-temp-file): Handle the case, that
6579 `make-temp-file' has no third argument EXTENSION.
6581 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6583 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6585 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6587 2010-06-11 Juri Linkov <juri@jurta.org>
6589 * finder.el (finder-known-keywords): Add keyword "vc"
6590 for version control.
6592 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6593 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6594 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6595 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6597 2010-06-11 Juri Linkov <juri@jurta.org>
6599 Move version control related files to the "vc" subdirectory.
6600 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6601 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6602 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6603 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6604 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6605 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6606 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6607 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6608 Move files to the "vc" subdirectory.
6610 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6612 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6615 2010-06-11 Stephen Eglen <stephen@gnu.org>
6617 * shell.el: Bind `shell-resync-dirs' to M-RET.
6619 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6621 * notifications.el: Move file from lisp/net, because it is
6622 supposed to talk locally to the user.
6624 2010-06-10 Julien Danjou <julien@danjou.info>
6626 * net/notifications.el (notifications-on-action-signal)
6627 (notifications-on-closed-signal): Pass notification id as first
6628 argument to the callback functions. Add docstrings.
6629 (notifications-notify): Fix docstring.
6631 2010-06-10 Glenn Morris <rgm@gnu.org>
6633 * emacs-lisp/authors.el (authors-ignored-files)
6634 (authors-valid-file-names): Add some files.
6636 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6638 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6639 merge conflict, giving preference to the emacs-23 version of the code.
6641 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6643 * emacs-lisp/advice.el (ad-compile-function):
6644 Define warning-suppress-types before we let-bind it (bug#6275).
6646 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6647 declare it, make it buffer-local and permanent-local (bug#6324).
6648 (vc-resynch-window): Adjust name.
6649 * vc-hooks.el (vc-find-file-hook): Adjust name.
6651 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6653 * net/notifications.el (notifications-notify): Fix docstring.
6655 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6657 Update to Unicode 6.0.0 beta.
6658 * international/charprop.el: Update copyright.
6659 * international/mule-cmds.el (ucs-names): Update character ranges.
6660 * international/uni-bidi.el:
6661 * international/uni-category.el:
6662 * international/uni-combining.el:
6663 * international/uni-comment.el:
6664 * international/uni-decimal.el:
6665 * international/uni-decomposition.el:
6666 * international/uni-digit.el:
6667 * international/uni-lowercase.el:
6668 * international/uni-mirrored.el:
6669 * international/uni-name.el:
6670 * international/uni-numeric.el:
6671 * international/uni-old-name.el:
6672 * international/uni-titlecase.el:
6673 * international/uni-uppercase.el: Regenerate.
6675 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6677 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6678 (smie-precs-precedence-table): Fix typo in docstring.
6680 * vc-mtn.el (log-edit-extract-headers): Declare function.
6682 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6684 * net/notifications.el (dbus-register-signal): Declare function.
6685 (notifications-notify): Fix typos and reflow docstring.
6687 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6689 Improve VC create/retrieve tag/branch.
6690 * vc.el (vc-create-tag): Do not read the directory name for VCs
6691 with repository revision granularity. Adjust the tag/branch
6692 prompt. Reset VC properties.
6693 (vc-retrieve-tag): Do not read the directory name for VCs
6694 with repository revision granularity. Reset VC properties.
6696 2010-06-09 Julien Danjou <julien@danjou.info>
6698 * net/notifications.el: New file.
6700 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6702 Add optional support for resetting VC properties.
6703 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6704 call vc-file-clearprops when true.
6705 (vc-resynch-buffer): Add new optional argument, pass it down.
6706 (vc-resynch-buffers-in-directory): Likewise.
6708 Improve support for special markup in the VC commit message.
6709 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6710 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6711 * vc-git.el (vc-git-checkin):
6712 * vc-bzr.el (vc-bzr-checkin): Likewise.
6714 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6717 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6719 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6721 * iimage.el: Remove images as soon as the underlying text is modified.
6722 (iimage-modification-hook): New function.
6723 (iimage-mode-buffer): Use it.
6725 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6727 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6728 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6729 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6730 (smie-indent-keyword): Add handling of open-paren keywords.
6731 (smie-indent-comment-continue): Don't assume comment-continue.
6733 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6735 * window.el (pop-to-buffer): Remove the conditional that
6736 compares new-window and old-window, so it will reselect
6737 the selected window unconditionally.
6738 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6740 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6742 * emacs-lisp/smie.el (smie-indent-offset-after)
6743 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6744 (smie-indent-after-keyword): Use them.
6745 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6746 (smie-indent-keyword): Tweak the black magic.
6747 (smie-indent-comment-continue): Strip comment-continue before use.
6748 (smie-indent-functions): Indent comments before keywords.
6750 2010-06-06 Juri Linkov <juri@jurta.org>
6752 * isearch.el (isearch-lazy-highlight-search): Fix looping
6753 by checking for empty match. This syncs this loop with the
6754 similar loop in `isearch-search'. (Bug#6362)
6756 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6758 * net/dbus.el (dbus-register-method): Declare function.
6759 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6760 (dbus-introspect): Doc fix.
6761 (dbus-event-bus-name, dbus-introspect-get-interface)
6762 (dbus-introspect-get-argument): Reflow docstrings.
6764 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6766 vc-log-incoming/vc-log-outgoing fixes for Git.
6767 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6768 incoming/outgoing logs.
6769 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6770 instead of vc-git-compute-remote.
6771 (vc-git-compute-remote): Remove.
6773 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6775 * term/common-win.el (x-colors): Add "dark green" and "dark
6776 turquoise" (Bug#6332).
6778 2010-06-04 Juri Linkov <juri@jurta.org>
6780 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6781 Instead of setting `replace' to t and replacing the same string
6782 with itself, don't do certain actions when
6783 kill-do-not-save-duplicates is non-nil and string is equal to car
6784 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6785 interprogram-paste strings to kill-ring, and don't push the input
6786 argument `string' to kill-ring.
6787 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6789 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6791 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6793 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6795 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6796 (tramp-gvfs-handler-mounted-unmounted)
6797 (tramp-gvfs-connection-mounted-p): Handle default-location.
6799 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6800 move files to trash.
6802 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6804 * international/mule-cmds.el (nonascii-insert-offset)
6805 (nonascii-translation-table): Add obsolescence information.
6807 * international/mule.el (make-translation-table-from-vector): Doc fix.
6809 2010-06-03 Glenn Morris <rgm@gnu.org>
6811 * desktop.el (desktop-clear-preserve-buffers):
6812 Add "*Warnings*" buffer. (Bug#6336)
6814 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6816 vc-log-incoming/vc-log-outgoing improvements for Git.
6817 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6819 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6821 Add bindings for vc-log-incoming and vc-log-outgoing.
6822 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6823 and vc-log-outgoing.
6824 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6825 and vc-log-outgoing.
6827 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6829 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6830 (rcirc-handler-366): Always sort nicknames.
6832 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6834 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6836 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6838 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6840 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6842 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6843 (rcirc-sort-nicknames-join): Avoid setq.
6845 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6847 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6848 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6849 (rcirc-handler-366): Use them.
6851 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6853 Split smie-indent-calculate into more manageable chunks.
6854 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6855 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6856 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6857 (smie-indent-exps): Extract from smie-indent-calculate.
6858 (smie-indent-functions): New var.
6859 (smie-indent-functions): Use them.
6861 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6863 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6864 (smie-indent-calculate): Simplify and cleanup.
6866 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6868 * net/tramp-gvfs.el (top): Require url-util.
6869 (tramp-gvfs-mount-point): Remove.
6870 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6872 (with-tramp-dbus-call-method): Format trace message.
6873 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6874 Implement backup call, when operation on local files fails.
6875 Use progress reporter. Flush properties of changed files.
6876 (tramp-gvfs-handle-make-directory): Make more traces.
6877 (tramp-gvfs-url-file-name): Hexify file name in url.
6878 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6879 into account for the resulting file name.
6880 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6881 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6882 (tramp-gvfs-handler-mounted-unmounted)
6883 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6884 attribute "default_location". Set "prefix" property.
6885 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6886 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6887 exists. Raise an error, if not (due to a corresponding answer
6888 "no" in interactive questions, for example).
6890 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6892 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6894 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6896 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6899 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6901 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6902 * vc-git.el (vc-git-compute-remote): New function.
6903 (vc-git-log-outgoing): Use it instead of hard coding a value.
6904 (vc-git-log-incoming): New function.
6906 Improve state updating for VC tag commands.
6907 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6908 to update the state of all buffers in the directory.
6910 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6912 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6914 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6915 `file-directory-p' to the filename part rather than to the whole text.
6917 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6919 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6921 2010-05-31 Drew Adams <drew.adams@oracle.com>
6923 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6925 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6927 * subr.el (momentary-string-display): Just use read-event to read
6928 the exit event (Bug#6238).
6930 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6932 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6934 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6936 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6937 Suggested by Eli Zaretskii <eliz@gnu.org>.
6939 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6941 * minibuffer.el (completion-file-name-table): Don't return a boundary
6942 past the end of `string' (bug#6299).
6943 (completion--file-name-table): Delegate to completion-file-name-table
6944 for the `boundaries' case.
6946 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6948 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6951 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6952 `path-separator', but maintain compatibility with Emacs 20.2.
6954 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6956 * server.el (server-process-filter): Receive parent-id argument
6958 (server-create-window-system-frame): New arg. Pass parent-id as
6961 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6963 Bidi-sensitive word movement with arrow keys.
6964 * subr.el (right-arrow-command, left-arrow-command): Move to
6967 * bindings.el (right-char, left-char): Move from subr.el and
6968 rename from right-arrow-command and left-arrow-command.
6969 (right-word, left-word): New functions.
6970 (global-map) <right>: Bind to right-char.
6971 (global-map) <left>: Bind to left-char.
6972 (global-map) <C-right>: Bind to right-word.
6973 (global-map) <C-left>: Bind to left-word.
6975 * ls-lisp.el (ls-lisp-classify-file): New function.
6976 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6977 (ls-lisp-classify): Call ls-lisp-classify-file.
6978 (insert-directory): Remove blanks from switches.
6980 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6982 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6983 (ansi-color-drop-regexp): New constant.
6984 (ansi-color-apply, ansi-color-filter-region)
6985 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6986 (ansi-color-apply): Build string list before calling concat.
6988 2010-05-28 Juri Linkov <juri@jurta.org>
6990 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6991 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6994 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6996 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6997 to ignored backtrace functions.
6998 (with-progress-reporter): Expand docstring.
6999 (tramp-handle-delete-file): Implement TRASH argument.
7000 (tramp-get-remote-trash): New defun.
7002 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7004 * net/tramp-compat.el (tramp-compat-delete-file):
7005 Use `symbol-value' for backward compatibility.
7007 * net/tramp.el (tramp-handle-make-symbolic-link)
7009 (tramp-do-copy-or-rename-file-via-buffer)
7010 (tramp-do-copy-or-rename-file-directly)
7011 (tramp-do-copy-or-rename-file-out-of-band)
7012 (tramp-handle-process-file, tramp-handle-call-process-region)
7013 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7014 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7015 (tramp-delete-temp-file-function): Use `delete-file' instead
7016 of `tramp-compat-delete-file'.
7018 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7019 (tramp-fish-handle-make-symbolic-link)
7020 (tramp-fish-handle-process-file): Use `delete-file' instead
7021 of `tramp-compat-delete-file'.
7023 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7024 Use `delete-file' instead of `tramp-compat-delete-file'.
7026 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7027 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7028 `tramp-compat-delete-file'.
7030 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7031 Use `delete-file' instead of `tramp-compat-delete-file'.
7033 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7034 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7035 (tramp-smb-handle-write-region): Use `delete-file' instead of
7036 `tramp-compat-delete-file'.
7037 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7039 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7041 * dired.el (dired-delete-file): New arg TRASH.
7042 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7043 (dired-do-flagged-delete, dired-do-delete): Use trash.
7045 * speedbar.el (speedbar-item-delete): Allow trashing.
7047 * files.el (delete-directory): New arg TRASH.
7049 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7050 (ange-ftp-rename-remote-to-remote)
7051 (ange-ftp-rename-local-to-remote)
7052 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7053 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7055 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7058 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7059 handle new TRASH arg of `delete-file'.
7061 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7062 (tramp-handle-make-symbolic-link, tramp-handle-load)
7063 (tramp-do-copy-or-rename-file-via-buffer)
7064 (tramp-do-copy-or-rename-file-directly)
7065 (tramp-do-copy-or-rename-file-out-of-band)
7066 (tramp-handle-process-file, tramp-handle-call-process-region)
7067 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7068 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7069 (tramp-delete-temp-file-function): Use null TRASH arg in
7070 tramp-compat-delete-file call.
7072 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7073 (tramp-fish-handle-delete-file)
7074 (tramp-fish-handle-make-symbolic-link)
7075 (tramp-fish-handle-process-file): Use null TRASH arg in
7076 `tramp-compat-delete-file' call.
7078 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7079 arg in `tramp-compat-delete-file' call.
7081 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7082 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7083 `tramp-compat-delete-file' call.
7085 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7086 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7087 `tramp-compat-delete-file' call.
7089 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7090 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7091 (tramp-smb-handle-write-region): Use null TRASH arg in
7092 tramp-compat-delete-file call.
7093 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7094 (tramp-smb-handle-delete-file): Rename arg.
7096 * diff.el (diff-sentinel):
7097 * epg.el (epg--make-temp-file, epg-decrypt-string)
7098 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7099 * jka-compr.el (jka-compr-partial-uncompress)
7100 (jka-compr-call-process, jka-compr-write-region):
7101 * server.el (server-sentinel): Remove optional arg from
7102 delete-file, reverting 2010-05-03 change.
7104 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7106 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7107 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7109 2010-05-27 Kenichi Handa <handa@m17n.org>
7111 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7112 element of GSTRING is nil.
7114 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7116 * emacs-lisp/smie.el (smie-forward-token-function)
7117 (smie-backward-token-function): New vars.
7118 (smie-backward-sexp, smie-forward-sexp)
7119 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7120 (smie-default-backward-token): Rename from smie-backward-token and
7122 (smie-default-forward-token): Rename from smie-forward-token and
7124 (smie-next-sexp): Handle nil results from next-token.
7125 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7127 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7129 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7130 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7132 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7134 * htmlfontify.el (hfy-face-resolve-face): New function.
7135 (hfy-face-to-style): Use it (Bug#6279).
7137 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7139 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7140 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7142 2010-05-26 Glenn Morris <rgm@gnu.org>
7144 * emulation/edt.el (edt-load-keys): Use locate-library.
7146 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7148 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7149 (log-edit-changelog-entries): Doc fix.
7150 (log-edit-changelog-insert-entries): Args changed.
7151 Rename relative filenames in ChangeLog entries. Delete tabs.
7152 (log-edit-insert-changelog-entries): Reorganize return value of
7153 `log-edit-changelog-entries' to pass filenames to
7154 log-edit-changelog-insert-entries.
7156 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7158 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7159 `image-dired-dired-insert-marked-thumbs' to
7160 `image-dired-dired-toggle-marked-thumbs'.
7162 * image-dired.el: Require cl when compiling.
7163 (image-dired-dired-toggle-marked-thumbs): Rename from
7164 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7165 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7166 to 'no-dir. Skip files whose names don't match
7167 `image-file-name-regexp'. When file has a thumbnail overlay,
7168 delete it. (Bug#5270)
7170 2010-05-25 Juri Linkov <juri@jurta.org>
7172 * image-mode.el (image-mode): Add image-after-revert-hook to
7174 (image-after-revert-hook): New function. (Bug#5669)
7176 2010-05-25 Juri Linkov <juri@jurta.org>
7178 * image.el (image-animated-p): When delay between animated images
7179 is 0, set it to 10 (0.1 sec). (Bug#6258)
7181 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7183 * net/tramp.el (tramp-handle-insert-directory): Don't use
7184 `forward-word', its default syntax could be changed.
7186 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7188 * net/tramp.el (tramp-progress-reporter-update): New defun.
7189 (with-progress-reporter): Use it.
7190 (tramp-process-actions):
7191 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7192 Preserve current message, in order to let progress reporter continue
7193 afterwards. (Bug#6257)
7195 2010-05-25 Glenn Morris <rgm@gnu.org>
7197 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7200 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7202 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7203 (rcirc-default-full-name): Change to "unknown".
7204 (rcirc-user-name-history): Add variable.
7206 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7207 Jonathan Rockway <jon@jrock.us>
7209 * net/rcirc.el (rcirc-server-alist): Add :pass.
7210 (rcirc): When prompting for connection parameters, also prompt for
7211 username and password.
7212 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7213 value to server when connecting.
7215 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7217 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7218 (smie-merge-prec2s): Pass the tables as separate args.
7219 (smie-bnf-precedence-table): Adjust call accordingly.
7220 (smie-prec2-levels): Set levels at the end.
7222 Replace Lisp calls to delete-backward-char by delete-char.
7223 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7224 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7225 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7226 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7227 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7228 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7229 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7230 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7231 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7232 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7233 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7234 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7235 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7236 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7237 delete-backward-char by calls to delete-char.
7239 2010-05-25 Kenichi Handa <handa@m17n.org>
7241 * language/hebrew.el (hebrew-shape-gstring): New function.
7242 Register it in composition-function-table for all Hebrew combining
7245 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * epa.el (epa--select-keys): Don't explicitly delete the window since
7248 that can fail (e.g. sole window in frame). Use dedication instead.
7250 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7252 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7254 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7256 * image.el (image-refresh): Define as an alias for image-flush.
7258 * image-mode.el (image-toggle-display-image): Caller changed.
7260 2010-05-21 Juri Linkov <juri@jurta.org>
7262 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7263 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7264 whitespace, call wildcard-to-regexp on substrings and concat them
7265 with "\\|". (Bug#6114)
7267 2010-05-21 Alan Mackenzie <acm@muc.de>
7269 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7270 Replace parameter `here' with `here-' and `here-plus', which sandwich
7271 any pertinent CPP construct.
7272 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7273 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7274 CPP construct from taking part in the scanning.
7276 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7278 * net/tramp.el (tramp-do-copy-or-rename-file)
7279 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7280 Tune `with-progress-reporter' messages.
7281 (tramp-handle-vc-registered):
7282 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7283 (tramp-fish-handle-insert-file-contents)
7284 (tramp-fish-maybe-open-connection):
7285 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7286 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7287 (tramp-imap-handle-insert-file-contents)
7288 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7290 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7292 * add-log.el (change-log-font-lock-keywords):
7293 Highlight all authors in multi-author entries.
7295 * smerge-mode.el (smerge-refine-ignore-whitespace)
7296 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7297 Fix typos in docstrings.
7298 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7300 2010-05-21 Glenn Morris <rgm@gnu.org>
7302 * progmodes/fortran.el (fortran-mode):
7303 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7305 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7306 having a relative path in src/Makefile.in.
7308 2010-05-20 Kevin Ryde <user42@zip.com.au>
7310 * help-mode.el (help-make-xrefs): For Info node links turn
7311 newlines into spaces. Link node names with newlines are matched
7312 by help-xref-info-regexp and buttonized, this change ensures they
7313 can be followed successfully with RET. (Bug#6206)
7315 2010-05-20 Juri Linkov <juri@jurta.org>
7317 * locate.el (locate): Use pop-to-buffer instead of
7318 switch-to-buffer-other-window. (Bug#6204)
7320 2010-05-20 Juri Linkov <juri@jurta.org>
7322 * replace.el (replace-highlight): Fix lazy-highlighting
7323 for `M-s w str M-% str RET'.
7325 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7327 * isearch.el (isearch-yank-word-or-char): Pull next subword
7328 when `subword-mode' is activated. (Bug#6220)
7330 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7332 * isearch.el (isearch-update-post-hook): New hook.
7333 (isearch-update): Use the new hook. (Bug#6225)
7335 2010-05-20 Juri Linkov <juri@jurta.org>
7337 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7338 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7341 2010-05-20 Juri Linkov <juri@jurta.org>
7343 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7346 2010-05-20 Juri Linkov <juri@jurta.org>
7348 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7349 FILE-NAME to read from the minibuffer when called interactively
7350 with prefix argument instead of using buffer-file-name.
7351 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7353 * dired.el: Update autoloads.
7355 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7357 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7358 nxml-finish-element, for consistency with SGML mode.
7360 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7363 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7365 * composite.el: Require cl when compiling.
7366 (reference-point-alist, compose-gstring-for-graphic)
7367 (compose-gstring-for-terminal): Fix typos in docstrings.
7369 2010-05-19 Juri Linkov <juri@jurta.org>
7371 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7372 set-window-parameter.
7374 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7376 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7378 (tramp-maybe-open-connection): Use it.
7380 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7382 * simple.el (move-end-of-line): Make sure we are at line beginning
7383 before backing up to end of previous line.
7385 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7387 * password-cache.el (password-cache-remove): Fix docstring.
7389 * net/secrets.el: Autoload the widget functions.
7390 (secrets-search-items, secrets-create-item)
7391 (secrets-get-attributes, secrets-expand-item): Attributes will be
7392 stored on the password database without leading ":", as all other
7394 (secrets-mode): Fix docstring.
7395 (secrets-show-secrets): Provide it as autoloaded command only when
7396 D-Bus support is available. Check existence of Secret Service API.
7398 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * indent.el (indent-region): Deactivate region (bug#6200).
7402 2010-05-19 Glenn Morris <rgm@gnu.org>
7404 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7406 2010-05-19 Kenichi Handa <handa@m17n.org>
7408 * composite.el: Register compose-gstring-for-graphic in
7409 composition-function-table only for combining characters (Mn, Mc, Me).
7411 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7413 * calc/calc-trail.el (calc-trail-isearch-forward)
7414 (calc-trail-isearch-backward): Ensure that the new window
7415 point is set correctly.
7417 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7419 * subr.el (read-quoted-char): Resolve modifiers after key
7420 remapping (bug#6212).
7422 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7424 Add visualization code for secrets.
7425 * net/secrets.el (secrets-mode): New major mode.
7426 (secrets-show-secrets, secrets-show-collections)
7427 (secrets-expand-collection, secrets-expand-item)
7428 (secrets-tree-widget-after-toggle-function)
7429 (secrets-tree-widget-show-password): New defuns.
7431 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7433 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7434 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7435 handled in smie-next-sexp.
7436 (smie-indent-calculate): Provide a starting indentation (so the
7437 recursion is well-founded ;-).
7439 Fix handling of non-associative equal levels.
7440 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7441 when it's not needed.
7442 (smie-op-left, smie-op-right): New functions.
7443 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7444 Better handle equal levels to distinguish the associative case from
7445 the "multi-keyword construct" case.
7446 (smie-backward-sexp, smie-forward-sexp): Use it.
7448 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7450 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7452 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7453 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7455 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7457 Provide a simple generic indentation engine and use it for Prolog.
7458 * emacs-lisp/smie.el: New file.
7459 * progmodes/prolog.el (prolog-smie-op-levels)
7460 (prolog-smie-indent-rules): New var.
7461 (prolog-mode-variables): Use them to configure SMIE.
7462 (prolog-indent-line, prolog-indent-level): Remove.
7464 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7466 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7467 order before computing the averages.
7469 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7471 * calc/calc-vec.el (calc-histogram):
7472 (calcFunc-histogram): Allow vectors as inputs.
7473 (math-vector-avg): New function.
7475 * calc/calc-ext.el (math-group-float): Have the number of digits
7476 being grouped depend on the radix (Bug#6189).
7478 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7480 * version.el (emacs-copyright, emacs-version): Don't define here,
7481 now that emacs.c defines it.
7483 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7485 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7486 "Describe Language Environment" menu item.
7488 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7490 Bidi-sensitive movement with arrow keys.
7491 * subr.el (right-arrow-command, left-arrow-command): New functions.
7493 * bindings.el (global-map): Bind them to right and left arrow keys.
7495 Don't override standard definition of convert-standard-filename.
7496 * files.el (convert-standard-filename):
7497 Call w32-convert-standard-filename and dos-convert-standard-filename on
7498 the corresponding systems.
7500 * w32-fns.el (w32-convert-standard-filename): Rename from
7501 convert-standard-filename. Doc fix.
7503 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7504 (convert-standard-filename): Don't defalias.
7505 (register-name-alist, make-register, register-value)
7506 (set-register-value, intdos): Obsolete aliases for the
7507 corresponding dos-* functions and variables.
7508 (dos-intdos): Add a doc string.
7510 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7512 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7513 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7514 (math-compose-tex-func):
7515 * calc/calccomp.el (math-compose-expr):
7516 * calc/calc-ext.el (math-format-flat-expr-fancy):
7517 * calc/calc-store.el (calc-read-var-name):
7518 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7520 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7521 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7522 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7523 (math-standard-units): Add units.
7525 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7527 * progmodes/asm-mode.el (asm-mode):
7528 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7530 * pcomplete.el (pcomplete-completions-at-point): New function,
7531 extracted from pcomplete-std-complete.
7532 (pcomplete-std-complete): Use it.
7534 2010-05-15 Glenn Morris <rgm@gnu.org>
7536 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7537 Remove references to CVS, RCS and Old directories.
7539 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7541 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7544 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7546 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7547 (sh-mode-syntax-table): Give it a default value instead.
7548 (sh-header-marker): Make buffer-local.
7549 (sh-mode): Move make-local-variable to the corresponding setq.
7550 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7551 Use complete-with-action.
7553 * simple.el (prog-mode): New (abstract) major mode.
7554 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7555 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7557 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7559 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7560 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7561 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7562 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7563 (sql-escape-newlines-filter, sql-input-sender)
7564 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7566 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7568 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7570 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7571 latex-open-block and C-c / to latex-close-block.
7573 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7574 and C-c C-e to sgml-close-tag.
7576 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7578 * net/tramp.el (with-progress-reporter): Create reporter object
7579 only when the message would be displayed. Handle nested calls.
7580 (tramp-handle-load, tramp-handle-file-local-copy)
7581 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7582 (tramp-maybe-send-script, tramp-find-shell):
7583 Use `with-progress-reporter'.
7584 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7587 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7588 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7589 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7590 Use `with-progress-reporter'.
7592 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7594 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7595 process everytime when spellchecking from the minibuffer (bug#6143).
7597 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7601 * dos-fns.el: Add "dos-" prefix for namespace control.
7602 (convert-standard-filename): Define as alias for
7603 dos-convert-standard-filename but only if applicable.
7605 2010-05-12 Alan Mackenzie <acm@muc.de>
7607 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7608 Push the mark at the start of these functions when appropriate.
7610 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * minibuffer.el (completion-cycle-threshold): New custom var.
7613 (completion--do-completion): Use it.
7614 (minibuffer-complete): Use cycling if appropriate.
7616 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7618 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7619 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7621 2010-05-11 Juri Linkov <juri@jurta.org>
7623 * scroll-all.el (scroll-all-check-to-scroll):
7624 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7626 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7628 * iimage.el (iimage-mode-map): Move initialization into declaration.
7629 (iimage-mode-buffer): Use with-silent-modifications.
7630 Simplify calling convention. Adjust callers.
7631 (iimage-mode): Don't run hook redundantly.
7633 * minibuffer.el (completion-pcm--pattern->regex):
7634 Fix last change (bug#6160).
7636 2010-05-10 Juri Linkov <juri@jurta.org>
7638 Remove nodes visited during Isearch from the Info history.
7639 * info.el (Info-isearch-initial-history)
7640 (Info-isearch-initial-history-list): New variables.
7641 (Info-isearch-start): Record initial values of
7642 Info-isearch-initial-history and Info-isearch-initial-history-list.
7643 Add Info-isearch-end to isearch-mode-end-hook.
7644 (Info-isearch-end): New function.
7646 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7648 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7649 format string, in order to work around a bug in pdksh.
7650 Reported by Gilles Pion <gpion@lfdj.com>.
7651 (tramp-handle-verify-visited-file-modtime): Do not send a command
7652 when the connection is not established.
7653 (tramp-handle-set-file-times): Simplify the check for utc.
7655 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7657 Fix use of `filter-buffer-substring' (rework previous change).
7658 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7659 (cua-repeat-replace-region):
7660 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7661 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7662 (cua-cut-region-to-global-mark): Use it.
7664 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7666 * progmodes/sql.el: Version 2.1.
7667 (sql-product-alist): Redesign structure of product info.
7668 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7669 (sql-port, sql-port-history): New variables.
7670 (sql-interactive-product): New variable.
7671 (sql-send-terminator): New variable.
7672 (sql-imenu-generic-expression): Add "Types" imenu entry.
7673 (sql-oracle-login-params, sql-sqlite-login-params)
7674 (sql-mysql-login-params, sql-solid-login-params)
7675 (sql-sybase-login-params, sql-informix-login-params)
7676 (sql-ingres-login-params, sql-ms-login-params)
7677 (sql-postgres-login-params, sql-interbase-login-params)
7678 (sql-db2-login-params, sql-linter-login-params)
7679 (sql-oracle-scan-on): New variables.
7680 (sql-mode-map): Add C-c C-i to start interactive mode.
7681 (sql-mode-menu): Update existing menu entries.
7682 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7683 (sql-mode-oracle-font-lock-keywords)
7684 (sql-mode-postgres-font-lock-keywords)
7685 (sql-mode-ms-font-lock-keywords)
7686 (sql-mode-sybase-font-lock-keywords)
7687 (sql-mode-informix-font-lock-keywords)
7688 (sql-mode-interbase-font-lock-keywords)
7689 (sql-mode-ingres-font-lock-keywords)
7690 (sql-mode-solid-font-lock-keywords)
7691 (sql-mode-mysql-font-lock-keywords)
7692 (sql-mode-sqlite-font-lock-keywords)
7693 (sql-mode-db2-font-lock-keywords)
7694 (sql-mode-linter-font-lock-keywords): Update initialization to
7695 reduce run-time complexity.
7696 (sql-add-product, sql-del-product): New functions.
7697 (sql-set-product-feature, sql-get-product-feature): New functions.
7698 (sql-product-font-lock): Update product API.
7699 (sql-add-product-keywords): New function.
7700 (sql-highlight-product): Update product API.
7701 (sql-help-list-products): New function.
7702 (sql-help): Dynamically lists free and non-free products.
7703 (sql-get-login): Correct bug in handling history and added
7705 (sql-copy-column): Copy without properties.
7706 (sqli-input-sender): Apply filters to SQLi input.
7707 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7708 Implement as a filter.
7709 (sql-escape-newlines-filter): Implement as a filter.
7710 (sql-remove-tabs-filter): New function.
7711 (sql-send-magic-terminator): New function.
7712 (sql-send-string): Implement magic terminator.
7713 (sql-send-region): Use `sql-send-string'.
7714 (sql-interactive-mode): Use product API.
7715 (sql-product-interactive): Use product API.
7716 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7717 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7718 (sql-db2, sql-linter): Use `sql-product-interactive'.
7719 (sql-connect): New function.
7720 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7721 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7722 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7723 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7726 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7729 New custom variable.
7730 (completion-pcm--string->pattern): Use it.
7731 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7732 Make it handle any symbol as `any'.
7733 (completion-pcm--merge-completions): Extract common suffix for the new
7734 `prefix' symbol as well.
7735 (completion-substring--all-completions): Use the new `prefix' symbol.
7737 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7739 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7741 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7742 (tramp-compat-funcall): New defmacro.
7743 (tramp-compat-line-beginning-position)
7744 (tramp-compat-line-end-position)
7745 (tramp-compat-temporary-file-directory)
7746 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7747 (tramp-compat-copy-file, tramp-compat-copy-directory)
7748 (tramp-compat-delete-file, tramp-compat-delete-directory)
7749 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7750 * net/tramp.el (top, with-progress-reporter)
7751 (tramp-rfn-eshadow-setup-minibuffer)
7752 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7753 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7754 (tramp-completion-mode-p, tramp-check-for-regexp)
7755 (tramp-open-connection-setup-interactive-shell)
7756 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7757 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7758 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7759 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7760 (tramp-reporter-dump-variable, tramp-load-report-modules)
7761 (tramp-append-tramp-buffers)
7762 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7764 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7766 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7768 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7769 buffer-modtime. Adjust users.
7771 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7773 * international/mule.el (auto-coding-alist): Only purecopy
7774 car of each item, not the whole list (Bug#6083).
7776 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7778 * progmodes/js.el (js-mode): Make paragraph variables local before
7779 calling c-setup-paragraph-variables (Bug#6071).
7781 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7783 * composite.el (compose-region, reference-point-alist): Fix typos
7786 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7788 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7789 gnuplot's "set" command.
7791 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7793 * abbrev.el (last-abbrev-text): Doc fix.
7794 (abbrev-prefix-mark): Don't escape parenthesis.
7796 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7798 * composite.el (find-composition): Doc fix.
7800 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7802 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7803 (sql-oracle-program, sql-sqlite-options)
7804 (sql-query-placeholders-and-send): Doc fixes.
7805 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7806 (sql-imenu-generic-expression, sql-buffer)
7807 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7808 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7809 (sql-mode-sybase-font-lock-keywords)
7810 (sql-mode-informix-font-lock-keywords)
7811 (sql-mode-interbase-font-lock-keywords)
7812 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7813 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7814 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7815 (sql-product-feature, sql-highlight-product)
7816 (comint-line-beginning-position, sql-rename-buffer)
7817 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7818 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7819 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7820 Fix typos in docstrings.
7822 2010-05-08 Juri Linkov <juri@jurta.org>
7824 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7825 property instead of `invisible' and `after-string' (bug#5998).
7827 2010-05-08 Juri Linkov <juri@jurta.org>
7829 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7831 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7833 * filecache.el (file-cache-add-directory-list)
7834 (file-cache-add-directory-recursively): Fix typos in docstrings.
7836 2010-05-08 Kenichi Handa <handa@m17n.org>
7838 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7839 (gujarati-composable-pattern): Fix typo.
7841 2010-05-08 Kenichi Handa <handa@m17n.org>
7843 * language/indian.el (oriya-composable-pattern)
7844 (tamil-composable-pattern, malayalam-composable-pattern):
7845 Add two-part vowels to "v" (vowel sign).
7847 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7849 * files.el (copy-directory): Handle symlinks (Bug#5982).
7851 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7853 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7854 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7857 2010-05-08 Glenn Morris <rgm@gnu.org>
7859 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7861 * minibuffer.el (completion-at-point): Doc fix.
7863 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * electric.el (Electric-command-loop): Minor tweak.
7867 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7868 better with dedicated windows.
7870 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7872 * Version 23.2 released.
7874 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7875 Stefan Monnier <monnier@iro.umontreal.ca>
7877 Highlight vendor specific properties.
7878 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7879 (css-proprietary-property): New face.
7880 (css-font-lock-keywords): Use them.
7882 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7884 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7886 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7888 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7889 * files.el (auto-mode-alist): Remove redundant entries.
7891 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7892 * simple.el (auto-save-mode): Move from files.el.
7893 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7895 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7897 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7899 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7901 * mail/binhex.el (binhex-decode-region-internal)
7902 * mail/uudecode.el (uudecode-decode-region-internal)
7903 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7904 (dns-read-type, dns-query)
7905 * pgg-parse.el (pgg-parse-armor)
7906 * pgg.el (pgg-verify-region)
7907 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7910 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7912 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7914 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7916 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7917 * emulation/cua-base.el (cua-repeat-replace-region):
7918 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7919 (cua-cut-region-to-global-mark):
7920 Remove text properties with `set-text-properties'.
7922 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7924 * net/tramp.el (top, with-progress-reporter):
7925 Use `symbol-function' inside `funcall'.
7927 * net/tramp-compat.el (tramp-compat-file-attributes)
7928 (tramp-compat-delete-file, tramp-compat-delete-directory):
7929 Handle only `wrong-number-of-arguments' error.
7931 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7932 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7935 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7937 * minibuffer.el (completion--sreverse, completion--common-suffix):
7939 (completion-pcm--merge-completions): Extract common suffix when safe.
7941 * emacs-lisp/easy-mmode.el (define-minor-mode):
7942 Make :variable more flexible.
7943 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7945 2010-05-05 Juri Linkov <juri@jurta.org>
7947 Add `slow' and `history' tags to the desktop data.
7949 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7950 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7951 (Info-finder-find-node): Require `finder.el' to be able
7952 to restore node from the desktop.
7953 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7954 data `Info-history' and `slow' tag in the assoc list.
7955 (Info-restore-desktop-buffer): Don't restore nodes with the
7956 `slow' tag. Restore `Info-history'.
7958 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7960 Add FORCE argument to `delete-file'.
7962 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7963 forcing to delete the temporary file.
7964 (ange-ftp-delete-file): Add FORCE arg.
7965 (ange-ftp-rename-remote-to-remote)
7966 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7967 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7968 Force file deletion.
7970 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7972 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7973 (tramp-handle-make-symbolic-link, tramp-handle-load)
7974 (tramp-do-copy-or-rename-file-via-buffer)
7975 (tramp-do-copy-or-rename-file-directly)
7976 (tramp-do-copy-or-rename-file-out-of-band)
7977 (tramp-handle-process-file, tramp-handle-call-process-region)
7978 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7979 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7980 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7982 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7983 (tramp-fish-handle-make-symbolic-link)
7984 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7986 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7987 Use `tramp-compat-delete-file'.
7989 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7990 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7992 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7993 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7995 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7996 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7997 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7998 Use `tramp-compat-delete-file'.
8000 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8003 * subr.el (add-minor-mode): Use push.
8004 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8005 * emulation/edt.el (edt-select-mode): Simplify.
8007 Use define-minor-mode in more cases.
8008 * term/tvi970.el (tvi970-set-keypad-mode):
8009 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8010 (normal-erase-is-backspace-mode):
8011 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8012 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8013 (get-scroll-bar-mode): New function.
8014 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8016 Use define-minor-mode for less obvious cases.
8017 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8018 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8019 * international/iso-ascii.el (iso-ascii-mode):
8020 * frame.el (auto-raise-mode, auto-lower-mode):
8021 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8023 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8025 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8026 in order to see error messages for failed logins.
8028 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8030 * diff.el (diff-sentinel):
8032 * epg.el (epg--make-temp-file, epg-decrypt-string)
8033 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8035 * jka-compr.el (jka-compr-partial-uncompress)
8036 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8038 * server.el (server-sentinel): Use delete-file's new FORCE arg
8041 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8043 Use define-minor-mode where applicable.
8044 * view.el (view-mode):
8045 * type-break.el (type-break-query-mode)
8046 (type-break-mode-line-message-mode):
8047 * textmodes/reftex.el (reftex-mode):
8048 * term/vt100.el (vt100-wide-mode):
8049 * tar-mode.el (tar-subfile-mode):
8050 * savehist.el (savehist-mode):
8051 * ibuf-ext.el (ibuffer-auto-mode):
8052 * composite.el (auto-composition-mode):
8053 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8054 Use define-minor-mode.
8055 (vhdl-mode): Use static mode-line format.
8056 (vhdl-mode-line-update): Delete.
8057 (vhdl-create-mode-menu, vhdl-activate-customizations)
8058 (vhdl-hs-minor-mode): Don't bother calling it.
8060 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8062 * simple.el (with-wrapper-hook): Move.
8063 (buffer-substring-filters): Mark obsolete.
8064 (filter-buffer-substring-functions): New variable.
8065 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8067 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8068 Michael Albinus <michael.albinus@gmx.de>
8070 Implement compression for inline methods.
8072 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8073 (tramp-copy-size-limit): Allow also nil.
8074 (tramp-inline-compress-commands): New defconst.
8075 (tramp-find-inline-compress, tramp-get-inline-compress)
8076 (tramp-get-inline-coding): New defuns.
8077 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8078 replaced by `tramp-get-inline-coding'.
8079 (tramp-handle-file-local-copy, tramp-handle-write-region)
8080 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8082 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8085 Remove unused functions.
8087 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8088 Set find-tag-default-function as a variable rather than a property.
8090 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8091 * progmodes/etags.el (tags-completion-at-point-function):
8092 Remove left over interactive spec. Add autoloading stub.
8093 (complete-tag): Use tags-completion-at-point-function.
8095 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8097 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8099 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8101 * ido.el (ido-init-completion-maps): Remove C-v binding.
8102 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8104 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8106 * minibuffer.el (tags-completion-at-point-function): New function.
8107 (completion-at-point-functions): Use it.
8109 * progmodes/etags.el (complete-tag): Revert last change.
8111 2010-04-29 Alan Mackenzie <acm@muc.de>
8113 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8114 off-by-one error (in end of macro position).
8116 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8118 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8119 firefox is absent. Don't autoload.
8120 (browse-url-galeon-program): Don't autoload.
8122 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8124 * bindings.el (complete-symbol): Move into minibuffer.el.
8126 * minibuffer.el (complete-tag): Move from etags.el. If tags
8127 completion cannot be performed, return nil instead of signalling
8129 (completion-at-point): Make it an alias for complete-symbol.
8130 (complete-symbol): Move from bindings.el, and replace with the
8131 body of completion-at-point.
8133 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8135 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8137 * net/tramp.el (tramp-remote-selinux-p): New defun.
8138 (tramp-handle-file-selinux-context)
8139 (tramp-handle-set-file-selinux-context): Use it.
8141 2010-04-28 Sam Steingold <sds@gnu.org>
8143 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8144 `safe-local-variable' if the value is a string or a symbol with
8145 the property `bug-reference-url-format'.
8147 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8149 * progmodes/bug-reference.el (bug-reference-url-format):
8150 Revert 2010-04-27 change due to security risk.
8152 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8154 Make it possible to locally disable a globally enabled mode.
8155 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8156 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8157 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8158 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8159 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8160 that subsequent hooks get a chance to disable it.
8162 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8164 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8165 Avoid re-enabling a minor mode after the user turned the minor mode
8166 off if MODE-enable-in-buffers is run twice (typically once from
8167 fundamental-mode's after-change-major-mode-hook and a second time from
8168 run-mode-hook's own after-change-major-mode-hook).
8170 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8172 2010-04-27 Sam Steingold <sds@gnu.org>
8174 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8175 `safe-local-variable' if the value is a string or a function, as
8176 documented and implemented on 2010-04-02.
8178 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8180 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8181 when method is 'kill.
8183 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8185 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8186 condition in default directory check.
8187 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8188 Kill ispell process when killing its associated buffer.
8190 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8192 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8193 but we aren't using it.
8195 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8197 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8198 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8200 2010-04-24 Glenn Morris <rgm@gnu.org>
8202 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8203 Ignore VCS-ignore files, and deleted nextstep preferences files.
8204 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8205 (authors-ambiguous-files): New list.
8206 (authors-valid-file-names): Add some deleted files.
8207 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8208 (authors-disambiguate-file-name): New function. (Bug#5501)
8209 (authors-canonical-file-name): Doc fix.
8210 Don't warn about obsolete files.
8211 (authors-canonical-file-name, authors-scan-el):
8212 Use authors-disambiguate-file-name.
8214 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8215 Add autoload cookies.
8216 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8217 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8218 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8219 They have definitions / compiler macros in cl.el.
8220 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8221 Replace manual autoloads with generated ones.
8222 (htmlfontify-unload-rgb-file): Remove autoload.
8223 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8225 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8227 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8228 (byte-compile-setq-default): Optimize for the
8229 single-var case and don't call byte-compile-form in this case to avoid
8230 inf-loop with byte-compile-set-default.
8232 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8234 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8236 Implement SELINUX backends.
8238 * net/tramp.el (tramp-file-name-handler-alist):
8239 Add `file-selinux-context' and `set-file-selinux-context'.
8240 (tramp-handle-file-selinux-context)
8241 (tramp-handle-set-file-selinux-context): New defuns.
8242 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8243 Handle PRESERVE-SELINUX-CONTEXT.
8245 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8246 Add `file-selinux-context' and `set-file-selinux-context'.
8247 (tramp-gvfs-handle-file-selinux-context)
8248 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8249 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8251 * net/ange-ftp.el (ange-ftp-copy-file):
8252 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8253 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8254 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8255 Add PRESERVE-SELINUX-CONTEXT.
8257 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8259 Synchronize with Tramp repository.
8261 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8262 (tramp-action-process-alive, tramp-action-out-of-band)
8263 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8264 (tramp-exists-file-name-handler): Fix docstring.
8265 (with-progress-reporter): New defmacro.
8266 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8267 (tramp-maybe-open-connection): Use it.
8269 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8271 Detect ssh 'ControlMaster' argument automatically in some cases.
8273 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8274 (tramp-default-method): Use it.
8276 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8278 * net/tramp.el (tramp-handle-copy-file): Add new optional
8279 parameter `preserve-selinux-context'.
8280 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8282 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8284 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8285 Ensure, that non remote files are still checked. Oops.
8287 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8291 * icomplete.el (icomplete-completions): Use `non-essential'.
8293 * net/tramp.el (tramp-connectable-p): New defun.
8294 (tramp-handle-expand-file-name)
8295 (tramp-completion-handle-file-name-all-completions)
8296 (tramp-completion-handle-file-name-completion): Use it.
8298 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8300 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8302 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8304 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8306 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8308 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8311 * info.el (info-tool-bar-map): Add labels.
8313 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8315 * cus-edit.el (custom-commands): Add labels for tool bar.
8316 (custom-buffer-create-internal, Custom-mode): Adjust for
8317 labels in custom-commands.
8319 * dynamic-setting.el: Renamed from font-setting.el.
8321 2010-04-21 John Wiegley <jwiegley@gmail.com>
8323 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8324 toggles the use of virtual buffers.
8325 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8326 (ido-toggle-virtual-buffers): New function.
8328 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8330 Use `define-derived-mode'; fix window selection; doc fixes.
8331 * play/tetris.el (tetris, tetris-update-speed-function)
8332 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8333 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8334 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8335 (tetris-pause-game): Fix typos in docstrings.
8336 (tetris-mode-map, tetris-null-map):
8337 Move initialization into declaration.
8338 (tetris-mode): Define with `define-derived-mode';
8339 set show-trailing-whitespace to nil.
8340 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8342 2010-04-21 Karel Klíč <kklic@redhat.com>
8344 * files.el (backup-buffer): Handle SELinux context, and return it
8345 if a backup was made by renaming.
8346 (backup-buffer-copy): Set SELinux context to the target file.
8347 (basic-save-buffer): Set SELinux context of the newly written file.
8348 (basic-save-buffer-1): Now it also returns any SELinux context.
8349 (basic-save-buffer-2): Set SELinux context of the newly created file,
8351 * net/tramp.el (tramp-file-name-for-operation):
8352 Add file-selinux-context.
8354 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8356 Make the log-edit comments use RFC822 format throughout.
8358 * vc.el (vc-checkin, vc-modify-change-comment):
8359 Adjust to new vc-start/finish-logentry.
8360 (vc-find-conflicted-file): New command.
8361 (vc-transfer-file): Adjust to new vc-checkin.
8362 (vc-next-action): Improve scoping.
8364 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8365 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8367 * vc-git.el (vc-git-log-edit-mode): Remove.
8368 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8369 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8371 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8372 (vc-start-logentry): Remove argument `extra'.
8373 (vc-finish-logentry): Remove extra args.
8375 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8376 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8377 (vc-bzr-conflicted-files): New function.
8379 * log-edit.el (log-edit-extra-flags)
8380 (log-edit-before-checkin-process): Remove.
8381 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8382 (log-edit-headers-alist): New var.
8383 (log-edit-header-contents-regexp): New const.
8384 (log-edit-match-to-eoh): New function.
8385 (log-edit-font-lock-keywords): Use them.
8386 (log-edit): Insert a "Summary:" header as default.
8387 (log-edit-mode): Mark font-lock rules as case-insensitive.
8388 (log-edit-done): Cleanup headers.
8389 (log-view-process-buffer): Remove.
8390 (log-edit-extract-headers): New function to replace it.
8392 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8394 * subr.el (default-direction-reversed): Remove obsolescence info.
8396 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8398 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8401 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8402 I.e. include text after point in the completion region.
8403 Also, return nil when we're not after/in a symbol.
8405 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8406 default enable-multibyte-characters.
8408 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8410 * international/mule.el: Help the user choose a valid coding-system.
8411 (read-buffer-file-coding-system): New function.
8412 (set-buffer-file-coding-system): Use it. Prompt the user if the
8413 coding-system cannot encode all the chars.
8415 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8416 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8417 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8418 Don't use *vc-bzr-shelve*.
8420 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8422 Fix the version number for added files.
8423 * vc-hg.el (vc-hg-working-revision): Check if the file is
8424 registered after hg parent fails (Bug#5961).
8426 2010-04-19 Glenn Morris <rgm@gnu.org>
8428 * htmlfontify.el (htmlfontify-buffer)
8429 (htmlfontify-copy-and-link-dir): Autoload entry points.
8431 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8433 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8434 name relative to the project root (Bug#5960).
8436 2010-04-19 Glenn Morris <rgm@gnu.org>
8438 * vc-git.el (vc-git-print-log): Doc fix.
8440 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8442 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8444 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8446 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8447 default settings (Bug#5928).
8449 2010-04-19 Glenn Morris <rgm@gnu.org>
8451 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8453 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8455 2010-04-19 Kenichi Handa <handa@m17n.org>
8457 * language/indian.el (malayalam-composable-pattern): Fix previous
8458 change (add U+0D4D "SIGN VIRAMA").
8459 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8460 (tamil-composable-pattern): Fix typo in the regexp.
8461 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8462 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8463 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8465 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8467 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8468 paragraph-separate (Bug#5821).
8470 2010-04-19 Juri Linkov <juri@jurta.org>
8472 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8474 * info.el (Info-find-node-2): Comment out code that skips
8476 (Info-mouse-follow-link): New command.
8477 (Info-link-keymap): New keymap.
8478 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8479 Return a string with links instead of inserting breadcrumbs
8481 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8482 Instead of putting the `invisible' text property over the Info
8483 header, make an overlay over the Info header with the `invisible'
8484 property and `after-string' set to the string returned by
8487 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8489 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8490 Reported by monkey@sandpframing.com.
8492 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8494 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8495 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8496 available in the "keyseq cache" any more.
8498 * custom.el (defcustom): Add edebug spec.
8500 2010-04-18 Juri Linkov <juri@jurta.org>
8502 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8504 * view.el (view-file, view-buffer): Move test for special mode-class
8505 from view-file to view-buffer.
8507 * tar-mode.el (tar-extract): Turn if's into one cond
8508 like in arc-mode.el.
8510 2010-04-18 Juri Linkov <juri@jurta.org>
8512 Add 7z archive format support (bug#5475).
8514 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8515 (archive-7z-extract): New defcustom.
8516 (archive-find-type): Add magic string for 7z.
8517 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8518 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8519 `buffer' arg of `call-process'.
8520 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8521 call the function `archive-7z-extract' with the variable
8522 `archive-7z-extract' let-bound to `archive-zip-extract'.
8523 (archive-7z-summarize, archive-7z-extract): New functions.
8525 * international/mule.el (auto-coding-alist):
8526 * files.el (auto-mode-alist): Add 7z file extension.
8528 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * loadup.el: Setup hash-cons for pure data.
8532 Fix duplicate entries in cedet's loaddefs.el files.
8533 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8534 Should make most file-local generated-autoload-file unnecessary.
8535 (print-readably): Silence warnings.
8536 (autoload-find-destination): Take load-name as an arg to make sure
8537 it's the same as the one that will be in the file.
8538 (autoload-generate-file-autoloads): Adjust to above changes.
8539 Try to make the dataflow a bit simpler.
8541 * cvs-status.el (cvs-refontify): Remove unused.
8543 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8545 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8547 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8548 twos-complement mode.
8550 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8552 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8553 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8554 (calc-inverse): Add "Option" to message, as appropriate.
8555 (calc-hyperbolic): Add "Option" to message, as appropriate.
8556 (calc-option, calc-is-option): New functions.
8558 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8559 (calc-option-prefix-help): New function.
8561 * calc/calc-misc.el (calc-help): Add "Option" entry.
8563 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8564 (calc-option-flag): New variable.
8565 (calc-do): Set `calc-option-flag to nil.
8566 (calc-set-mode-line): Add "Opt " as appropriate.
8568 2010-04-16 Juri Linkov <juri@jurta.org>
8570 Move scrolling commands from simple.el to window.el
8571 because their primitives are implemented in window.c.
8573 * simple.el (scroll-error-top-bottom)
8574 (scroll-up-command, scroll-down-command, scroll-up-line)
8575 (scroll-down-line, scroll-other-window-down)
8576 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8577 * window.el (scroll-error-top-bottom)
8578 (scroll-up-command, scroll-down-command, scroll-up-line)
8579 (scroll-down-line, scroll-other-window-down)
8580 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8581 Move from simple.el to window.el because their primitives are
8582 implemented in window.c.
8584 2010-04-16 Juri Linkov <juri@jurta.org>
8586 * isearch.el (isearch-lookup-scroll-key): Check both
8587 `isearch-scroll' and `scroll-command' properties.
8588 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8590 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8592 * simple.el (scroll-up-command, scroll-down-command)
8593 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8595 2010-04-15 Juri Linkov <juri@jurta.org>
8597 * simple.el (scroll-up-command, scroll-down-command)
8598 (scroll-up-line, scroll-down-line): Put `scroll-command'
8599 property on the these symbols. Remove them from
8600 `scroll-preserve-screen-position-commands'.
8602 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8603 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8604 Remove it from `scroll-preserve-screen-position-commands'.
8606 * isearch.el (isearch-allow-scroll): Doc fix.
8608 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8610 * net/tramp.el (tramp-error-with-buffer): Don't show the
8611 connection buffer when we are in completion mode.
8612 (tramp-file-name-handler): Catch the error for some operations
8613 when we are in completion mode. This gives the user the chance to
8614 correct the file name in the minibuffer.
8616 2010-04-15 Glenn Morris <rgm@gnu.org>
8618 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8620 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8622 Simplify by using `define-derived-mode'.
8623 * info.el (Info-mode):
8624 * calendar/todo-mode.el (todo-mode):
8625 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8626 (gomoku-mode-map): Move initialization into declaration.
8628 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8631 * ido.el (ido-file-name-all-completions-1):
8632 * minibuffer.el (minibuffer-completion-help):
8633 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8635 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8637 * simple.el (non-essential): New var.
8639 Add a new field `location' to bookmarks for non-file bookmarks.
8640 * bookmark.el (bookmark-location): Use the new field, if present.
8641 (bookmark-insert-location): Undo last change, not needed any more.
8642 * man.el (Man-bookmark-make-record):
8643 * woman.el (woman-bookmark-make-record): Add `location' field.
8645 2010-04-14 Juri Linkov <juri@jurta.org>
8647 * simple.el (scroll-error-top-bottom): New defcustom.
8648 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8650 * emulation/pc-select.el (pc-select-override-scroll-error):
8651 Obsolete in favor of `scroll-error-top-bottom'.
8653 2010-04-14 Juri Linkov <juri@jurta.org>
8655 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8656 `scroll-up-command' and `M-v' to `scroll-down-command'.
8658 * emulation/cua-rect.el (cua--init-rectangles):
8659 * forms.el (forms--change-commands):
8660 * image-mode.el (image-mode-map):
8661 Remap scroll-down-command and scroll-up-command
8662 in addition to scroll-down and scroll-up.
8664 2010-04-14 Juri Linkov <juri@jurta.org>
8666 * mwheel.el (scroll-preserve-screen-position-commands):
8667 Add mwheel-scroll to this list of commands.
8669 * simple.el (scroll-preserve-screen-position-commands):
8670 Add scroll-up-command, scroll-down-command, scroll-up-line,
8671 scroll-down-line to this list of commands.
8673 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8675 * obsolete/complete.el: Move from lisp/complete.el.
8677 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8679 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8680 to the minor mode function now turns the mode ON unconditionally.
8682 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8684 * vc-dir.el (vc-dir-kill-line): New command.
8685 (vc-dir-mode-map): Bind it to C-k.
8687 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8689 * woman.el: Add bookmark declarations to silence the compiler.
8690 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8691 step to compatibility between man and woman bookmarks.
8692 Adjust for Man-default-bookmark-title renaming.
8693 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8695 * man.el: Add bookmark declarations to silence the compiler.
8696 (Man-name-local-regexp): Make it match NAME as well.
8697 (Man-getpage-in-background): Return the buffer.
8698 (Man-notify-when-ready): Use `case'.
8699 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8700 Don't hardcode "NAME". Simplify.
8701 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8702 Rename from Man-bookmark-make-record.
8703 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8704 we have the actual man-args. Use Man-getpage-in-background rather
8705 than `man' since the arg is already processed. Let bookmark.el do the
8706 window handling. Only wait for the relevant process.
8707 Don't forget to autoload.
8709 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8711 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8713 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8715 (woman-mode): Setup bookmark support.
8717 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8718 (man-bookmark-jump): New functions.
8719 (Man-mode): Setup bookmark support.
8721 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8723 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8724 recognize ssh-keygen prompt (Bug#2817).
8726 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8728 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8730 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8732 Synchronize with Tramp repository.
8734 * net/tramp.el (tramp-completion-function-alist)
8735 (tramp-file-name-regexp, tramp-chunksize)
8736 (tramp-local-coding-commands, tramp-remote-coding-commands):
8738 (tramp-remote-process-environment): Use `format' instead of `concat'.
8739 (tramp-handle-directory-files-and-attributes)
8740 (tramp-get-remote-path): Use `copy-tree'.
8741 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8742 compatibility: Use `completion-ignore-case' if
8743 `read-file-name-completion-ignore-case' does not exist.
8744 (tramp-do-copy-or-rename-file-directly): Do not use
8745 `tramp-handle-file-remote-p'.
8746 (tramp-do-copy-or-rename-file-out-of-band):
8747 Use `tramp-compat-delete-directory'.
8748 (tramp-do-copy-or-rename-file-out-of-band)
8749 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8750 Use `format-spec-make'.
8751 (tramp-find-foreign-file-name-handler)
8752 (tramp-advice-make-auto-save-file-name)
8753 (tramp-set-auto-save-file-modes): Remove superfluous check for
8754 `stringp'. This is done inside `tramp-tramp-file-p'.
8755 (tramp-debug-outline-regexp): New defconst.
8756 (tramp-get-debug-buffer): Use it.
8757 (tramp-check-for-regexp): Use (forward-line 1).
8758 (tramp-set-auto-save-file-modes): Adapt version check.
8760 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8761 Wrap call of `featurep' for 2nd argument.
8762 (tramp-compat-make-temp-file): Simplify fallback implementation.
8763 (tramp-compat-copy-tree): Remove function.
8764 (tramp-compat-delete-directory): Provide implementation for older
8767 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8768 Do not use `tramp-fish-handle-file-attributes.
8770 * net/trampver.el: Update release number.
8772 2010-04-10 Glenn Morris <rgm@gnu.org>
8774 * progmodes/compile.el (compilation-save-buffers-predicate):
8775 Add missing :version tag.
8777 2010-04-09 Sam Steingold <sds@gnu.org>
8779 * progmodes/compile.el (compilation-save-buffers-predicate):
8780 Remove the "autoload" cookie.
8782 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8783 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8784 and `bug-reference-prog-mode' can be used in hooks directly.
8786 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8788 Add --author support to git commit.
8789 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8790 (vc-git-log-edit-mode): New minor mode.
8791 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8794 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8796 * vc-hooks.el, vc-git.el: Improve documentation comments.
8798 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8800 Fix some of the problems in defsubst* (bug#5728).
8801 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8802 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8804 2010-04-07 Sam Steingold <sds@gnu.org>
8806 * progmodes/compile.el (compilation-save-buffers-predicate):
8807 New custom variable.
8808 (compile, recompile): Pass it to `save-some-buffers'.
8810 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8812 * wid-edit.el (widget-choose): Move cursor to the second line of
8813 the buffer (Bug#5695).
8815 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8817 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8818 * vc.el (vc-print-log-setup-buttons): New function split out from
8819 vc-print-log-internal.
8820 (vc-log-internal-common): New function, a parametrized version of
8821 vc-print-log-internal.
8822 (vc-print-log-internal): Just call vc-log-internal-common with the
8824 (vc-incoming-outgoing-internal):
8825 (vc-log-incoming, vc-log-outgoing): New functions.
8826 (vc-log-view-type): New permanent local variable.
8828 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8830 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8831 of the dynamic bound vc-short-log.
8832 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8834 * vc-git.el (vc-git-log-outgoing): New function.
8835 (vc-git-log-view-mode): Use vc-log-view-type instead
8836 of the dynamic bound vc-short-log.
8838 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8839 of the dynamic bound vc-short-log. Highlight the tag.
8840 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8841 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8842 (vc-hg-incoming-mode): Remove.
8843 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8845 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8847 Fix default-directory for vc-root-diff.
8848 * vc.el (vc-root-diff): Bind default-directory to the root
8849 directory for the diff command.
8851 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8853 * progmodes/verilog-mode.el (verilog-forward-sexp):
8854 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8855 word keywords, suggested by Steve Pearlmutter.
8856 (verilog-pretty-declarations): Support lineup of declarations in
8858 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8859 fix bug for /* / comments.
8860 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8861 Speed up and simplfy as this is never called with a bound.
8862 (verilog-pretty-declarations): Enhance to line up declarations
8863 inside a parameter list, suggested by Alan Morgan.
8864 (verilog-pretty-expr): Tune assignment regular expression match
8865 string for corner cases; also use markers instead of character
8866 number as indent changes the later.
8868 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8870 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8872 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8873 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8874 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8875 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8878 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8879 1800-2009 keywords, including "global.".
8881 2010-04-06 John Wiegley <jwiegley@gmail.com>
8883 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8884 appearing in buffer list (if a live buffer name matched a recentf
8885 file basename). Should use uniquify to offer a real solution.
8887 2010-04-06 John Wiegley <jwiegley@gmail.com>
8889 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8890 comment to code, and add a :version tag.
8891 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8893 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8895 Enable recentf-mode if using virtual buffers.
8896 * ido.el (recentf-list): Declare for byte-compiler.
8897 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8898 (ido-make-buffer-list): Simplify.
8899 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8901 2010-04-05 Juri Linkov <juri@jurta.org>
8903 Scrolling commands which scroll a line instead of full screen.
8904 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8906 * simple.el (scroll-up-line, scroll-down-line): New commands.
8907 Put property isearch-scroll=t on them.
8909 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8912 2010-04-05 Juri Linkov <juri@jurta.org>
8914 Scrolling commands which do not signal errors at top/bottom.
8915 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8917 * simple.el (scroll-up-command, scroll-down-command): New commands.
8918 Put property isearch-scroll=t on them.
8920 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8921 `scroll-down-command' and [next] from `scroll-up' to
8922 `scroll-up-command'.
8924 * emulation/cua-base.el: Put property CUA=move on
8925 `scroll-up-command' and `scroll-down-command'.
8926 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8927 and `scroll-down-command' to `cua-scroll-down'.
8929 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8931 * help.el (describe-mode): Return nil.
8933 2010-04-04 John Wiegley <jwiegley@gmail.com>
8935 * ido.el (ido-use-virtual-buffers): New variable to indicate
8936 whether "virtual buffer" support is enabled for IDO.
8937 (ido-virtual): Face used to indicate virtual buffers in the list.
8938 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8939 exists, but a virtual buffer of that name does (which would be why
8940 it was in the list), recreate the buffer by reopening the file.
8941 (ido-make-buffer-list): If virtual buffers are being used, call
8942 `ido-add-virtual-buffers-to-list' before the make list hook.
8943 (ido-virtual-buffers): New variable which contains a copy of the
8944 current contents of the `recentf-list', albeit pared down for the
8945 sake of speed, and with proper faces applied.
8946 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8947 create a list of "virtual buffers" to present to the user in
8948 addition to the currently open set. Note that this logic could
8949 get rather slow if that list is too large. With the default
8950 `recentf-max-saved-items' of 200, there is little speed penalty.
8952 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * font-lock.el: Require CL when compiling.
8955 (font-lock-turn-on-thing-lock): Use `case'.
8957 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8959 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8962 2010-04-02 Juri Linkov <juri@jurta.org>
8964 * ehelp.el (electric-help-orig-major-mode):
8965 New buffer-local variable.
8966 (electric-help-mode): Set it to original major-mode. Doc fix.
8967 (with-electric-help): Use `electric-help-orig-major-mode' instead
8968 of (default-value 'major-mode). Doc fix.
8969 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8971 2010-04-02 Sam Steingold <sds@gnu.org>
8973 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8974 `vc-hg-command' with a list of flags.
8976 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8977 Also accept "patch" and "RFE".
8978 (bug-reference-fontify): `bug-reference-url-format' can also be a
8979 function to be able to handle the bug kind.
8980 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8982 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8984 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8985 value to fboundp, it may not be a symbol.
8987 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8989 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8991 2010-03-31 Juri Linkov <juri@jurta.org>
8993 * simple.el (next-line, previous-line): Re-throw a signal
8994 with `signal' instead of using `ding'.
8995 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8997 2010-03-31 Juri Linkov <juri@jurta.org>
8999 * simple.el (keyboard-escape-quit): Raise deselecting the active
9000 region higher than exiting the minibuffer.
9001 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9003 2010-03-31 Juri Linkov <juri@jurta.org>
9005 * image.el (image-animated-p): Use `image-metadata' instead of
9006 `image-extension-data'. Get GIF extenstion data from metadata
9007 property `extension-data'.
9009 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * simple.el (append-to-buffer): Simplify.
9013 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9015 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9016 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9018 2010-03-31 Kenichi Handa <handa@m17n.org>
9020 * language/sinhala.el (composition-function-table): Fix regexp for
9021 the new Unicode specification.
9023 * language/indian.el (devanagari-composable-pattern)
9024 (tamil-composable-pattern, kannada-composable-pattern)
9025 (malayalam-composable-pattern): Adjust for the new Unicode
9027 (bengali-composable-pattern, gurmukhi-composable-pattern)
9028 (gujarati-composable-pattern, oriya-composable-pattern)
9029 (telugu-composable-pattern): New variables to cope with the new
9030 Unicode specification. Use them in composition-function-table.
9032 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9034 Make tmm-menubar work for the Buffers menu again (bug#5726).
9035 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9036 vectors rather than cons cells, as used in menu-bar-update-buffers.
9038 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9040 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9041 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9042 electric punctuation for "{}();,:" (Bug#5586).
9044 * mail/sendmail.el (mail-default-directory): Doc fix.
9046 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9048 * mail/sendmail.el (mail-default-directory): Doc fix.
9050 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9052 * subr.el (version-regexp-alist, version-to-list)
9053 (version-list-<, version-list-=, version-list-<=)
9054 (version-list-not-zero, version<, version<=, version=): Doc fix.
9057 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9059 * vc.el (vc-root-diff): Doc fix.
9061 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9063 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9065 * simple.el (append-to-buffer): Fix last change.
9067 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9069 * simple.el (append-to-buffer): Ensure that point is preserved if
9070 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9073 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9075 * files.el (auto-mode-case-fold): Change default to t.
9077 2010-03-30 Juri Linkov <juri@jurta.org>
9079 * dired-x.el (dired-omit-mode): Doc fix.
9081 2010-03-30 Juri Linkov <juri@jurta.org>
9083 * replace.el (occur-accumulate-lines): Move occur-engine related
9084 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9085 to be located after `occur-engine'.
9087 2010-03-30 Juri Linkov <juri@jurta.org>
9089 Make occur handle multi-line matches cleanly with context.
9090 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9092 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9093 (occur-engine): Add local variables `ret', `prev-after-lines',
9094 `prev-lines'. Use more arguments for `occur-context-lines'.
9095 Set first elem of its returned list to `data', and the second elem
9096 to `prev-after-lines'. Don't print the separator line.
9097 In the end, print remaining context after-lines.
9098 (occur-context-lines): Add new arguments `begpt', `endpt',
9099 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9100 after-lines of the previous match with before-lines of the
9101 current match and not overlap them. Return a list with two
9102 values: the output line and the list of context after-lines.
9104 2010-03-30 Juri Linkov <juri@jurta.org>
9106 * replace.el (occur-accumulate-lines): Fix a bug where the first
9107 context line at the beginning of the buffer was missing.
9109 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9111 * files.el: Make bidi-display-reordering safe variable for boolean
9114 2010-03-29 Phil Hagelberg <phil@evri.com>
9115 Chong Yidong <cyd@stupidchicken.com>
9117 * subr.el: Extend progress reporters to perform "spinning".
9118 (progress-reporter-update, progress-reporter-do-update):
9119 Handle non-numeric value arguments.
9120 (progress-reporter--pulse-characters): New var.
9122 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9124 * progmodes/compile.el (compilation-start): Fix regexp detection
9125 of initial cd command (Bug#5771).
9127 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9129 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9131 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9133 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9134 * progmodes/gdb-mi.el: Restore.
9135 * progmodes/gdb-ui.el: Remove.
9136 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9138 2010-03-25 Glenn Morris <rgm@gnu.org>
9140 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9141 all dired buffers, even tramp ones. (Bug#5755)
9143 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9145 Add "union tags" in mpc.el.
9146 * mpc.el: Remove backward compatibility code.
9147 (mpc-browser-tags): Change default.
9148 (mpc--find-memoize-union-tags): New var.
9149 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9150 (mpc-cmd-find): Handle the case where the playlist does not exist.
9152 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9153 (mpc-cmd-add): Use mpc-cmd-flush.
9154 (mpc-tagbrowser-tag-name): New fun.
9155 (mpc-tagbrowser-buf): Use it.
9156 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9158 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9161 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9162 Use replace-regexp-in-string.
9163 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9164 (makefile-imake-mode-syntax-table): Move init into defvar.
9165 (makefile-mode): Use define-derived-mode.
9167 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9168 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9169 not be present any more.
9171 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9173 * faces.el (set-face-attribute): Fix typo in docstring.
9174 (face-valid-attribute-values): Reflow docstring.
9176 2010-03-24 Glenn Morris <rgm@gnu.org>
9178 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9180 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9182 * indent.el (indent-for-tab-command): Doc fix.
9184 2010-03-24 Alan Mackenzie <acm@muc.de>
9186 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9187 Fix off-by-one error. Fixes bug #5747.
9189 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9191 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9192 (image-dired-read-comment): Doc fix.
9194 * json.el (json-object-type, json-array-type, json-key-type)
9195 (json-false, json-null, json-read-number):
9196 * minibuffer.el (completion-in-region-functions):
9197 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9198 (cal-tex-cursor-week):
9199 * emacs-lisp/trace.el (trace-function):
9200 * eshell/em-basic.el (eshell/printnl):
9201 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9202 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9203 * obsolete/levents.el (allocate-event, event-key, event-object)
9204 (event-point, event-process, event-timestamp, event-to-character)
9205 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9206 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9207 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9208 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9209 (reftex-highlight-selection): Fix typos in docstrings.
9211 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9213 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9215 2010-03-24 Glenn Morris <rgm@gnu.org>
9217 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9218 2008-02-13 without comment; mark it obsolete.
9219 (rmail-highlight-headers): Use rmail-highlight-face once more.
9221 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9223 * woman.el (woman2-process-escapes): Only consume the newline if
9224 the filler character is on a line by itself (Bug#5729).
9226 2010-03-24 Kenichi Handa <handa@m17n.org>
9228 * language/indian.el (devanagari-composable-pattern): Add more
9231 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9233 * net/trampver.el: Update release number.
9235 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9237 * net/tramp.el (tramp-find-executable):
9238 Use `tramp-get-connection-buffer'. Make the regexp for checking
9239 output of "wc -l" more robust.
9240 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9241 (tramp-open-connection-setup-interactive-shell): Remove workaround
9242 for OpenSolaris bug, it is not needed anymore.
9244 2010-03-24 Glenn Morris <rgm@gnu.org>
9246 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9248 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9250 * files.el (auto-mode-alist): Accept more verilog file patterns.
9252 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9254 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9256 2010-03-24 Glenn Morris <rgm@gnu.org>
9258 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9259 log-edit-before-checkin-process.
9261 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9263 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9265 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9266 (log-view-process-buffer, log-edit-extra-flags): Declare.
9268 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9270 2010-03-23 Sam Steingold <sds@gnu.org>
9272 Fix bug#5620: recalculate all markers on compilation buffer
9273 modifications, not on file modifications.
9274 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9275 the buffer modification time, for buffers not associated with files.
9276 (compilation-mode): Create it.
9277 (compilation-filter): Update it.
9278 (compilation-next-error-function): Use it instead of
9279 `visited-file-modtime' for timestamp.
9281 2010-03-23 Juri Linkov <juri@jurta.org>
9283 Implement Occur multi-line matches.
9284 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9286 * replace.el (occur): Doc fix.
9287 (occur-engine): Set `begpt' to the beginning of the first line.
9288 Set `endpt' to the end of the last match line. At first, count
9289 line numbers between `origpt' and `begpt'. Split out code from
9290 `out-line' variable to new let-bindings `match-prefix' and
9291 `match-str'. In `out-line' add non-numeric prefix to all
9292 non-first lines of multi-line matches. Finally, count lines
9293 between `begpt' and `endpt' and add to `lines'.
9295 2010-03-23 Juri Linkov <juri@jurta.org>
9297 * replace.el (occur-accumulate-lines, occur-engine):
9298 Use `occur-engine-line' instead of duplicate code.
9299 (occur-engine-line): New function created from duplicate code
9300 in `occur-accumulate-lines' and `occur-engine'.
9302 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9303 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9305 2010-03-23 Juri Linkov <juri@jurta.org>
9307 * finder.el: Remove TODO tasks.
9309 * info.el (Info-finder-find-node): Add node "all"
9310 with all package info. Handle a list of multiple keywords
9312 (info-finder): In interactive use with a prefix argument,
9313 use `completing-read-multiple' to read a list of keywords
9316 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9318 Add a new completion style `substring'.
9319 * minibuffer.el (completion-basic--pattern): New function.
9320 (completion-basic-try-completion, completion-basic-all-completions):
9322 (completion-substring--all-completions)
9323 (completion-substring-try-completion)
9324 (completion-substring-all-completions): New functions.
9325 (completion-styles-alist): New style `substring'.
9327 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9329 Get rid of .elc files after removal of the corresponding .el.
9330 * Makefile.in (compile-clean): New target.
9331 (compile-main): Use it.
9333 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9335 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9336 don't do make there. When compiling with separate object dir, there
9337 is no Makefile there.
9339 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9341 Get rid of the ELCFILES abomination, again.
9342 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9343 (all, compile): Don't call compile-last.
9344 (compile-main): Build the "elcfiles" list dynamically.
9345 (compile-targets): New (internal) target.
9347 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9349 * Makefile.in (top_srcdir): Define.
9350 (abs_top_builddir): Define.
9351 (srcdir): Don't append `/..'.
9352 (EMACS): Use ${abs_top_builddir}.
9353 (all, compile, compile-always, compile-last): Don't set emacswd.
9354 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9356 (lisp): Use $(srcdir) instead of @srcdir@.
9358 2010-03-21 Juri Linkov <juri@jurta.org>
9360 Fix message of multi-line occur regexps and multi-buffer header lines.
9361 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9363 * replace.el (occur-1): Don't display regexp if it is longer
9364 than window-width. Use `query-replace-descr' to display regexp.
9365 (occur-engine): Don't display regexp in the buffer header for
9366 multi-buffer occur. Display a separate header line with total
9367 match count and regexp for multi-buffer occur.
9368 Use `query-replace-descr' to display regexp.
9370 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9372 * net/secrets.el: Fix parenthesis.
9373 (secrets-enabled): Fix parenthesis.
9375 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9377 Use more relative file and directory names.
9378 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9379 (setwins, setwins_almost, setwins_for_subdirs):
9380 Don't `cd'; output relative names.
9381 (all, compile, compile-always, compile-last): Set emacswd.
9382 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9383 Just cd to the lisp source dir so we can use relative file names.
9385 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9387 2010-03-20 Glenn Morris <rgm@gnu.org>
9389 * textmodes/rst.el: Use faces for font-lock customization, and make the
9390 old -face variables obsolete.
9391 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9392 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9393 (rst-block-face, rst-external-face, rst-definition-face)
9394 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9395 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9397 (rst-font-lock-keywords-function): Update for above changes.
9399 2010-03-20 Juri Linkov <juri@jurta.org>
9402 * obsolete/s-region.el: Move to obsolete.
9404 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9406 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9408 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9410 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9412 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9414 Add special markup processing for commit logs.
9415 * log-edit.el (log-edit-extra-flags): New variable.
9416 (log-edit): Add new argument MODE. Use that mode when non-nil
9417 instead of the log-view-mode.
9418 (log-view-process-buffer): New function.
9420 * vc.el: Document that the checkin method takes optional
9421 arguments. Document new backend specific method: log-view-mode.
9422 (vc-default-log-edit-mode): New function.
9423 (vc-checkin): Use a backend specific log-view-mode.
9424 Pass extra arguments to the checkin method.
9425 (vc-modify-change-comment): Pass a dummy extra argument.
9427 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9429 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9430 (vc-finish-logentry): Process the log buffer before passing it
9431 down. Pass log-edit-extra-flags.
9433 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9435 (log-edit-extra-flags, log-edit-before-checkin-process):
9438 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9440 (log-edit-extra-flags, log-edit-before-checkin-process):
9442 (vc-hg-log-edit-mode): New derived mode.
9444 * vc-arch.el (vc-arch-checkin):
9445 * vc-cvs.el (vc-cvs-checkin):
9446 * vc-git.el (vc-git-checkin):
9447 * vc-mtn.el (vc-mtn-checkin):
9448 * vc-rcs.el (vc-rcs-checkin):
9449 * vc-sccs.el (vc-sccs-checkin):
9450 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9452 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9454 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9457 2010-03-19 Glenn Morris <rgm@gnu.org>
9459 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9461 2010-03-18 Glenn Morris <rgm@gnu.org>
9463 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9465 * replace.el (query-replace-history): Give it a doc string.
9466 (map-query-replace-regexp): Use query-replace-from-history-variable
9467 and query-replace-to-history-variable.
9469 * mail/hashcash.el (declare-function): Remove duplicate definition.
9471 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9472 Make it an obsolete alias for report-emacs-bug-address.
9473 (message-strip-special-text-properties): Declare.
9474 (report-emacs-bug): Remove test for a pretest bug address.
9475 Combine message-mode-specific code.
9477 * mail/supercite.el: Don't require sendmail.
9478 (mh-in-header-p): Declare rather than using with-no-warnings.
9479 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9480 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9482 * calendar/cal-french.el: Convert to utf-8.
9484 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9487 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9489 * net/secrets.el (secrets-enabled): New variable. Use it instead
9492 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9494 * net/secrets.el (top): Register the D-Bus signals only when the
9495 service "org.freedesktop.secrets" can be pinged.
9496 Provide subfeature `enabled'.
9498 2010-03-14 Juri Linkov <juri@jurta.org>
9500 Add finder unknown keywords.
9502 * finder.el (finder-unknown-keywords): New function.
9504 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9505 to create a Finder node with unknown keywords.
9507 2010-03-14 Juri Linkov <juri@jurta.org>
9509 * finder.el (finder-compile-keywords): Replace `princ' with
9510 `prin1' on a list of symbols interned from keyword strings.
9512 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9513 a comma, then split keywords using a comma and optional whitespace.
9514 Otherwise, split by whitespace.
9522 * progmodes/mixal-mode.el: Fix keywords.
9524 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9526 * Makefile.in (ELCFILES): Add net/secrets.elc.
9528 * net/secrets.el: New file.
9530 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9532 * facemenu.el (list-colors-display, list-colors-print): New arg
9533 callback. Use it to allow selecting colors.
9535 * wid-edit.el (widget-image-insert): Insert image prop even if the
9536 current display is non-graphic.
9537 (widget-field-value-set): New fun.
9538 (editable-field): Use it.
9539 (widget-field-value-get): Clean up unused var.
9540 (widget-color-value-create, widget-color--choose-action):
9541 New funs. Allow using list-colors-display to choose color.
9543 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9545 * cus-edit.el: Resort topmost custom groups.
9546 (custom-buffer-sort-alphabetically): Default to t.
9547 (customize-apropos): Use apropos-parse-pattern.
9548 (custom-search-field): New var.
9549 (custom-buffer-create-internal): Add custom-apropos search field.
9550 (custom-add-parent-links): Don't display parent doc.
9551 (custom-group-value-create): Don't sort top-level custom group.
9552 (custom-magic-value-create): Show visibility button before option name.
9554 (custom-variable-state): New fun, from custom-variable-state-set.
9555 (custom-variable-state-set): Use it.
9556 (custom-group-value-create): Hide options with standard values
9557 using the :hidden-states property. Use progress reporter.
9559 (custom-show): Simplify.
9560 (custom-visibility): Disable images by default.
9561 (custom-variable): New property :hidden-states.
9562 (custom-variable-value-create): Enable images for
9563 custom-visibility widgets. Use :hidden-states property to
9564 determine initial visibility.
9566 * wid-edit.el (widget-image-find): Give images center ascent.
9567 (visibility): Add :on-image and :off-image properties.
9568 (widget-visibility-value-create): Use them.
9570 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9572 * cus-edit.el (processes): Remove from development group.
9573 (oop, hypermedia): Delete group.
9574 (comm): Promote to top-level group.
9576 * net/browse-url.el (browse-url):
9577 * net/xesam.el (xesam):
9578 * net/tramp.el (tramp):
9579 * net/goto-addr.el (goto-address):
9580 * net/ange-ftp.el (ange-ftp): Put in comm group.
9582 * view.el (view): Remove from editing group.
9584 * uniquify.el (uniquify): Put in files group.
9586 * net/browse-url.el (browse-url):
9587 * ps-print.el (postscript): Put in external group.
9589 * cus-edit.el (outlines):
9590 * textmodes/text-mode.el (text-mode-hook):
9591 * textmodes/table.el (table):
9592 * textmodes/picture.el (picture):
9593 * outline.el (outlines): Put in wp group.
9595 * nxml/nxml-mode.el (nxml): Remove from wp group.
9597 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9599 * mail/metamail.el (metamail): Remove from hypermedia group.
9601 * cus-edit.el (abbrev):
9602 * whitespace.el (whitespace):
9603 * vcursor.el (vcursor):
9604 * reveal.el (reveal):
9605 * hl-line.el (hl-line): Put in convenience group.
9607 * epg-config.el (epg): Put in data group.
9609 * emulation/pc-select.el (pc-select): Put in emulations group.
9611 * calculator.el (calculator): Put in applications group.
9613 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9615 Add .dir-locals.el support for file-less buffers.
9616 * files.el (hack-local-variables): Split out code to apply local
9617 variable settings ...
9618 (hack-local-variables-apply): ... here. New function.
9619 (hack-dir-local-variables): Use the default directory for when the
9620 buffer does not have an associated file.
9621 (hack-dir-local-variables-non-file-buffer): New function.
9622 * diff-mode.el (diff-mode):
9623 * vc-annotate.el (vc-annotate-mode):
9624 * vc-dir.el (vc-dir-mode):
9625 * log-edit.el (log-edit-mode):
9626 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9628 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9630 Add support for shelving snapshots and for showing shelves.
9631 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9632 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9634 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9635 (vc-bzr-extra-menu-map): Map them.
9637 2010-03-11 Glenn Morris <rgm@gnu.org>
9639 * cus-edit.el (customize-changed-options-previous-release):
9642 * image.el (image-animate-max-time): Fix :version tag.
9644 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9648 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9650 * vc-git.el (vc-git-revision-table): Include remote branches.
9652 2010-03-10 Kim F. Storm <storm@cua.dk>
9655 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9657 * image.el (image-animate-max-time): New defcustom.
9658 (image-animated-types): New defconst.
9659 (create-animated-image, image-animate-timer)
9660 (image-animate-start, image-animate-stop, image-animate-timeout)
9661 (image-animated-p): New functions.
9663 * image-mode.el (image-toggle-display-image):
9664 Replace `create-image' with `create-animated-image'.
9666 2010-03-09 Miles Bader <miles@gnu.org>
9668 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9669 instead of "format:"; this ensures that the output is
9672 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9674 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9675 that all errors are caught, and that the return value is always a
9678 2010-03-08 Kenichi Handa <handa@m17n.org>
9680 * language/misc-lang.el (windows-1256): New coding system.
9681 (cp1256): New alias of windows-1256 (bug#5690).
9683 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9685 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9686 call to rfc822-bad-address. (Bug#5692)
9688 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9690 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9691 Use vc-git-root as default directory for revision path (Bug#5657).
9693 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9695 * calculator.el (calculator): Don't bind split-window-keep-point
9698 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9700 * vc-git.el: Re-flow to fit into 80 columns.
9701 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9702 Remove spurious `quote' element in each case alternative.
9703 (vc-git-show-log-entry): Use prog1.
9704 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9706 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9708 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9710 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9712 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9713 definition, not the name (Bug#5481).
9715 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9717 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9718 argument with a local variable. (Bug#5670)
9720 2010-03-02 Juri Linkov <juri@jurta.org>
9722 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9724 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9726 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9727 error when FILENAME and NEWNAME are existing remote directories.
9729 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9732 2010-03-02 Glenn Morris <rgm@gnu.org>
9734 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9735 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9737 2010-03-01 Kenichi Handa <handa@m17n.org>
9739 * language/burmese.el (burmese-composable-pattern): Rename from
9740 myanmar-composable-pattern.
9742 * international/characters.el (script-list):
9743 * international/fontset.el (script-representative-chars):
9744 Change myanmar to burmese.
9745 (otf-script-alist): Likewise.
9746 (setup-default-fontset): Likewise. Re-fix :otf spec.
9748 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9750 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9752 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9754 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9756 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9758 * net/tramp.el (tramp-handle-write-region): START can be a string.
9759 Take care in the checks. Reported by Dan Davison
9760 <davison@stats.ox.ac.uk>.
9762 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9764 * net/dbus.el (dbus-introspect, dbus-get-property)
9765 (dbus-set-property, dbus-get-all-properties):
9766 Use `dbus-call-method' when noninteractive. (Bug#5645)
9768 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9770 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9771 * emacs-lisp/elint.el (elint-add-required-env):
9772 * calendar/icalendar.el (icalendar--add-diary-entry):
9773 * calc/calcalg2.el (math-tracing-integral):
9774 * files.el (recover-session-finish): Use with-current-buffer
9775 instead of save-excursion.
9777 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9779 Fix in-buffer completion when after-change-functions modify the buffer.
9780 * minibuffer.el (completion--replace): New function.
9781 (completion--do-completion): Use it and use relative movement.
9783 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9785 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9787 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9789 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9790 Allow the characters _<> in the stack entry (Bug#5653).
9792 2010-02-26 Kenichi Handa <handa@m17n.org>
9794 * language/burmese.el: Fix entries in composition-function-table.
9795 (myanmar-composable-pattern): New variable.
9797 * international/fontset.el (setup-default-fontset): Add an entry
9800 * international/characters.el (script-list): Add Myanmar
9803 2010-02-26 Glenn Morris <rgm@gnu.org>
9805 * custom.el (custom-initialize-delay): Doc fix.
9807 * mail/sendmail.el (send-mail-function): Autoload the call
9808 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9810 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9812 * files.el (hack-local-variables-filter): For eval forms, also
9813 check safe-local-variable-p (Bug#5636).
9815 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9817 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9818 setting the modes by `ignore-errors'. It might fail, for example
9819 if the file is not owned by the user but the group.
9820 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9822 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9824 * files.el (directory-listing-before-filename-regexp):
9825 Use stricter matching for iso-style dates, to avoid false matches with
9826 date-like filenames (Bug#5597).
9828 * htmlfontify.el (htmlfontify): Doc fix.
9830 * eshell/eshell.el (eshell): Doc fix.
9832 * startup.el (fancy-about-screen): In mode-line, apply
9833 mode-line-buffer-id face only to the buffer name (Bug#5613).
9835 2010-02-20 Kevin Ryde <user42@zip.com.au>
9837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9838 In `watcom' anchor regexp to start of line, to avoid slowness
9841 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9843 * subr.el (remove-yank-excluded-properties): Explain in a comment
9844 why `category' property is removed.
9846 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9848 * isearch.el (isearch-update-post-hook, isearch-update):
9849 Revert 2010-02-17 change.
9851 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9853 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9854 (icalendar--convert-weekly-to-ical)
9855 (icalendar--convert-yearly-to-ical)
9856 (icalendar--convert-block-to-ical)
9857 (icalendar--convert-cyclic-to-ical)
9858 (icalendar--convert-anniversary-to-ical): Take care of time
9859 specifications where hour has 1-digit only (Bug#5549).
9861 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9863 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9864 of disassemble output in GDB 7.1.
9866 2010-02-19 Glenn Morris <rgm@gnu.org>
9868 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9869 property. (Bug#5593)
9871 2010-02-18 Sam Steingold <sds@gnu.org>
9873 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9875 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9877 Use abbreviated file names in bookmarks (bug#5591).
9878 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9879 calls to expand-file-name.
9880 (bookmark-relocate): Use abbreviated file names in bookmarks.
9881 (bookmark-load): Use abbreviated file names in messages.
9883 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9885 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9886 expand "." and "..". Reported by Thierry Volpiatto
9887 <thierry.volpiatto@gmail.com>.
9889 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9891 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9892 permissions of the temporary file to "0600". In case the remote
9893 file has no read permissions for the owner, there might be
9894 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9896 22010-02-18 Glenn Morris <rgm@gnu.org>
9898 * emacs-lisp/authors.el (authors-renamed-files-alist):
9899 Add entries for INSTALL.CVS.
9901 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9903 * vc-bzr.el: Fix typo in Known Bugs section.
9905 * isearch.el (isearch-update-post-hook): New hook.
9906 (isearch-update): Use the new hook.
9908 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9910 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9911 Fix errors in copying directories.
9912 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9913 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9914 (tramp-handle-delete-file)
9915 (tramp-handle-dired-recursive-delete-directory)
9916 (tramp-handle-write-region): Flush also the cache for the upper
9919 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9921 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9923 * cus-edit.el (hardware): Doc fix.
9925 * man.el (man): Add to external custom group.
9927 * delim-col.el (columns): Move to wp custom group.
9929 * doc-view.el (doc-view): Add to data custom group.
9931 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9933 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9934 by ispell-parse-output (Bug#5575).
9936 2010-02-16 Kenichi Handa <handa@m17n.org>
9938 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9939 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9940 (skkdic-convert): Use `euc-japan' coding system for writing.
9942 2010-02-16 Glenn Morris <rgm@gnu.org>
9944 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9945 tex-main-file before using it. (Bug#5562)
9947 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9949 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9950 warnings, since it is annoying for the user to see them each time he
9953 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9955 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9956 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9957 instead of PROC for caching "first-password-request". Otherwise,
9958 new processes would not profit from passwords already entered.
9960 * net/tramp-cache.el (tramp-dump-connection-properties):
9961 Don't save "first-password-request" property.
9963 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9965 * outline.el (outline-head-from-level):
9966 * simple.el (with-wrapper-hook):
9967 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9968 (elint-defun, elint-buffer-env, elint-top-form-logged)
9969 (elint-unbound-variable):
9970 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9971 Fix typos in docstrings.
9973 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9975 * files.el (insert-directory): When WILDCARD-REGEXP and
9976 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9977 whole directory. (Bug#5551)
9979 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9980 dired's alignment sanity. (Bug#5516)
9982 2010-02-14 Juri Linkov <juri@jurta.org>
9984 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9985 Remove remaining ^H with their preceding chars. (Bug#5566)
9987 2010-02-13 Glenn Morris <rgm@gnu.org>
9989 * simple.el (transpose-subr): Give it a doc-string.
9991 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9994 2010-02-12 Juri Linkov <juri@jurta.org>
9996 * arc-mode.el (archive-unique-fname): Make directories for nested
9997 archives. (Bug#5540)
9999 2010-02-12 Juri Linkov <juri@jurta.org>
10001 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10003 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10005 * subr.el (copy-overlay): Handle deleted overlays.
10007 * man.el (Man-completion-table): Don't signal an error if we can't run
10008 manual-program (bug#4056).
10010 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10012 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10014 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10016 * info.el (Info-bookmark-jump): Simplify.
10018 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10019 (bookmark-default-handler): Accept new bookmark field `buffer'.
10021 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10023 * iswitchb.el (iswitchb-completions): Revert last change.
10025 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10027 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10028 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10029 This prevents file names like "~/" being listed literally.
10031 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10033 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10034 Remove dead code. (Bug#5546)
10036 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10038 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10039 correctly (Bug#5548).
10041 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10043 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10044 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10046 2010-02-08 Kenichi Handa <handa@m17n.org>
10048 * international/mule-util.el (with-coding-priority): Add autoload
10049 cookie for putting `lisp-indent-function'.
10051 2010-02-07 Glenn Morris <rgm@gnu.org>
10053 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10054 Move F2003 named interfaces from keywords-2 to keywords-1, and
10055 use function-name-face rather than constant-face.
10056 Simplify "abstract interface" regexp.
10058 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10060 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10061 ID-FORMAT. Pass it to `file-attributes'.
10063 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10065 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10067 * faces.el (set-face-attribute): Allow calling
10068 internal-set-lisp-face-attribute with 'unspecified family and
10069 foundry argument (Bug#5536).
10071 2010-02-07 Glenn Morris <rgm@gnu.org>
10073 * progmodes/f90.el (f90-font-lock-keywords-2)
10074 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10075 Handle F2003 named interfaces.
10077 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10079 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10080 beg and end before calling c-get-state-before-change-functions.
10082 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10084 * vc-bzr.el (vc-bzr-dir-extra-headers):
10085 Disable the pending merges header.
10087 2010-02-05 Juri Linkov <juri@jurta.org>
10089 * doc-view.el (doc-view-mode):
10090 * image-mode.el (image-mode): Put property mode-class=special.
10093 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10095 * vc-svn.el (vc-svn-revision-table): New function.
10097 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10099 * net/ange-ftp.el (ange-ftp-insert-directory):
10100 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10101 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10102 Handle also directories. (Bug#5478)
10104 2010-02-05 Glenn Morris <rgm@gnu.org>
10106 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10108 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10110 * startup.el (command-line-1): Convert options beginning with a
10111 single dash as well (Bug#5519).
10113 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10115 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10116 * minibuffer.el (completion-initials-expand): Only check the presence
10117 of delims *within* the boundaries, since otherwise the / delim is
10118 always found for files.
10120 Fix up various corner case problems.
10121 * doc-view.el (doc-view-last-page-number): New function.
10122 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10123 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10124 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10125 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10126 (doc-view-convert-current-doc): Don't create the resolution.el file
10128 (doc-view-pdf/ps->png): Do it here instead.
10129 (doc-view-already-converted-p): Check that resolution.el is present.
10130 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10131 windows that are not yet showing images.
10133 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10135 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10136 `dired-uncache' for every elemnt which is an absolute file name.
10138 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10139 directory, handle its directory component.
10140 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10141 function is called permanently and creates noise, otherwise.
10143 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10144 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10145 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10147 2010-02-04 David Burger <dburger@google.com> (tiny change)
10149 * macros.el (apply-macro-to-region-lines):
10150 Minor simplification. (Bug#5485)
10152 2010-02-04 Glenn Morris <rgm@gnu.org>
10154 * mail/rmail.el (rmail-show-message-1): Handle malformed
10155 quoted-printable text. (Bug#5441)
10157 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10159 * simple.el (visual-line-mode): Capitalize lighter.
10161 2010-02-03 John Wiegley <jwiegley@gmail.com>
10163 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10164 list of files considered for "virtual buffer" completions.
10166 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10168 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10169 also in case of (and (not full) (not wildcard)). This is needed
10170 when dired is called with a list of files, which are not in
10171 `default-directory'. (Bug#5478)
10173 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10177 2010-02-02 Juri Linkov <juri@jurta.org>
10179 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10180 from unidiff to allow function-line after @@.
10182 2010-02-02 Juri Linkov <juri@jurta.org>
10184 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10185 '(RCS SCCS) with inverted condition.
10187 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10189 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10192 2010-02-01 Juri Linkov <juri@jurta.org>
10194 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10195 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10196 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10197 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10199 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10201 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10202 (doc-view-revert-buffer): New command.
10203 (doc-view-mode-map): Use it.
10205 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10207 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10208 pending merge is detected.
10210 2010-01-31 Juri Linkov <juri@jurta.org>
10212 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10213 beginning of interactive spec like all other grep commands do.
10214 Put "all" in front of "gz". (Bug#5260)
10216 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10218 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10220 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10222 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10223 regexp is incorrect (Bug#5476).
10225 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10227 * net/tramp.el (tramp-handle-insert-directory): Handle also
10228 symlinks, when FILENAME is not in `default-directory'.
10230 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10232 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10233 FILE is not in `default-directory'. (Bug#5478)
10235 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10236 of SWITCHES. Handle the case, FILENAME is not in
10237 `default-directory'. (Bug#5478)
10238 (tramp-register-file-name-handlers): Add safe-magic property.
10240 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10242 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10245 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10247 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10248 (flymake-master-make-header-init): Add other C++ filename masks.
10249 (flymake-find-possible-master-files)
10250 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10252 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10254 Fix some busybox annoyances.
10256 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10257 not responding." string.
10258 (tramp-open-connection-setup-interactive-shell): Dump stty
10259 settings. Enable "neveropen" arg for all `tramp-send-command'
10260 calls. Handle "=" in variable values properly.
10261 (tramp-find-inline-encoding): Raise an error, when no encoding is
10263 (tramp-wait-for-output): Check, whether PROC buffer is available.
10264 Remove spurious " ^H" sequences, sent by busybox.
10265 (tramp-get-ls-command): Suppress coloring, if possible.
10267 2010-01-28 Glenn Morris <rgm@gnu.org>
10269 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10271 * log-edit.el (log-edit-strip-single-file-name): Add missing
10272 :safe, :group, and :version tags.
10274 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10276 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10277 buffers. (Bug#5477)
10279 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10281 * files.el (delete-directory): Handle moving to trash without
10282 first doing recursion (Bug#5436).
10284 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10286 * vc-hooks.el (vc-path): Mark as obsolete.
10288 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10290 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10293 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10295 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10297 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10299 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10301 * vc-bzr.el (vc-bzr-revision-table): New function.
10303 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10305 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10306 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10308 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10310 Remove support for adding --signoff on commit.
10311 Future support will use an incompatible generic mechanism.
10312 * vc-git.el (vc-git-add-signoff): Remove variable.
10313 (vc-git-toggle-signoff): Remove function.
10314 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10316 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10317 Rename from xterm-set-background-mode. Return t if the background mode
10319 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10320 earlier, call it again in case the background mode has changed.
10322 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10324 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10327 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10329 * emacs-lisp/assoc.el (aelement): Doc fix.
10330 (aput, adelete, amake): Use lexical-let (Bug#5450).
10332 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10334 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10335 is the same as subprogram call, not declaration. (Bug#5435).
10337 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10339 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10340 (tramp-smb-maybe-open-connection): Use it.
10342 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10344 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10346 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10349 just because we see "encoding: 8bit".
10350 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10352 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10354 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10356 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10358 * jka-compr.el (jka-compr-load): If load-file is not in
10359 load-history, try its file-truename version. (bug#5447)
10361 2010-01-21 Alan Mackenzie <acm@muc.de>
10363 Fix a situation where deletion of a cpp construct throws an error.
10364 * progmodes/cc-engine.el (c-invalidate-state-cache):
10365 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10366 special cpp construct is still in the buffer.
10367 (c-parse-state): Record the special cpp with markers, not numbers.
10369 2010-01-21 Kenichi Handa <handa@m17n.org>
10371 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10372 process last-command-event, as it is now decoded first (Bug#5380).
10374 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10376 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10378 2010-01-20 Glenn Morris <rgm@gnu.org>
10380 * indent.el (tab-always-indent): Fix custom-type.
10382 2010-01-19 Alan Mackenzie <acm@muc.de>
10384 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10385 buffer throws "args out of range".
10386 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10387 playing the role of delimiter.
10389 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10391 * progmodes/ada-mode.el: Fix bug#5400.
10392 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10393 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10394 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10395 Improve comments in "is" portion. Handle null procedure declaration.
10396 (ada-move-to-end): Improve doc string.
10398 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10400 * ido.el (ido-cur-list): Initialize to nil.
10401 Remove obsolete information from commentary.
10402 (ido-choice-list): Initialize to nil.
10403 (ido-get-bufname): Reject minibuffers.
10404 (ido-make-buffer-list): If "default" is a nonexistent
10405 buffer, ignore it, as per the function's comment.
10406 (ido-kill-buffer-internal): New function.
10407 (ido-kill-buffer-at-head): Use it.
10408 (ido-visit-buffer): Likewise.
10410 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10412 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10414 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10416 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10417 Fix typos in chart titles.
10419 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10420 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10421 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10422 (describe-class, eieio-describe-generic, describe-generic):
10423 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10424 (eieio-speedbar-expand):
10425 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10426 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10427 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10428 (viper-del-backward-char-in-replace, viper-backward-indent)
10429 (viper-brac-function, viper-register-to-point, viper-submit-report):
10430 * net/tramp.el (tramp-remote-coding-commands):
10431 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10432 Fix typos in docstrings.
10434 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10436 * mail/sendmail.el (mail-yank-original): Set the mark if the
10437 specified function for yanking does not do it.
10439 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10441 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10443 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10444 resyncing a directory.
10446 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10448 * progmodes/ada-mode.el: Fix bug#1920.
10449 (ada-ident-re): Delete ., allow multibyte characters.
10450 (ada-goto-label-re): New; matches goto labels.
10451 (ada-block-label-re): New; matches block labels.
10452 (ada-label-re): New; matches both.
10453 (ada-named-block-re): Deleted; callers changed to use
10454 `ada-block-label-re' instead.
10455 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10456 Use `ada-block-label-re'.
10457 (ada-indent-on-previous-lines): Improve handling of goto labels.
10458 (ada-get-indent-block-start): Special-case block label.
10459 (ada-get-indent-label): Split into `ada-indent-block-label' and
10460 `ada-indent-goto-label'.
10461 (ada-goto-stmt-start, ada-goto-next-non-ws):
10462 Optionally ignore goto labels.
10463 (ada-goto-next-word): Simplify.
10464 (ada-indent-newline-indent-conditional): Insert newline before
10465 trying to fix indentation; doc fix.
10467 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10469 * calc/calc.el (calc-command-flags): Give it an initial value.
10471 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10473 * files.el (minibuffer-with-setup-hook):
10474 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10475 (artist-key-draw-continously, artist-key-do-continously-continously)
10476 (artist-key-set-point-continously, artist-mouse-draw-continously):
10477 Fix typos in docstrings.
10479 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10481 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10482 Never return t (Bug#3898).
10484 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10486 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10487 can parse the output of the external commands (Bug#5279).
10489 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10491 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10493 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10495 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10497 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10499 * startup.el (command-line): Remove unused --icon-type arg.
10500 Handle --display arg, passing it to command-line-1 (Bug#5392).
10502 2010-01-16 Mario Lang <mlang@delysid.org>
10504 * emacs-lisp/chart.el (chart-translate-namezone):
10505 * textmodes/artist.el (artist-compute-popup-menu-table):
10506 Remove duplicated words in doc-strings.
10508 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10510 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10511 to mairix-search to suppress threading (Bug#5342).
10513 2010-01-15 Kenichi Handa <handa@m17n.org>
10515 * international/mule-cmds.el (canonicalize-coding-system-name):
10516 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10518 2010-01-15 Glenn Morris <rgm@gnu.org>
10520 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10522 * wid-edit.el (widget-keymap): Doc fix.
10524 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10525 former seems to be more widely accepted by various svn versions.
10527 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10529 * find-cmd.el (find-constituents):
10530 * vc-arch.el (vc-arch-root):
10531 * window.el (window-body-height, pop-up-frames):
10532 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10533 * progmodes/ada-stmt.el (ada-if):
10534 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10535 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10536 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10537 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10539 * progmodes/flymake.el (flymake-post-syntax-check):
10540 Fix typo in error message.
10542 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10544 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10545 which is always a string. (Bug#5313)
10547 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10549 * progmodes/ada-xref.el (ada-default-prj-properties):
10550 Simplify previous change.
10552 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10554 * progmodes/ada-xref.el (ada-default-prj-properties):
10555 Default ada_project_path to $ADA_PROJECT_PATH.
10557 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10559 * progmodes/ada-mode.el (ada-create-keymap):
10560 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10562 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10564 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10565 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10566 (ada-get-current-indent, ada-imenu-generic-expression)
10567 (ada-which-function): Check for it.
10569 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10571 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10572 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10574 2010-01-14 Glenn Morris <rgm@gnu.org>
10576 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10578 2010-01-14 Kenichi Handa <handa@m17n.org>
10580 * composite.el (auto-composition-mode): Make it a buffer local
10581 variable (permanent-local).
10582 (auto-composition-function): Set the default value to
10583 auto-compose-chars.
10584 (auto-composition-mode): Make it a simple function, not a minor mode.
10585 (global-auto-composition-mode): Likewise.
10586 (turn-on-auto-composition-if-enabled): Delete it.
10588 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10590 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10592 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10594 * files.el (copy-directory): Compute target for recursive
10595 directories with identical names. (Bug#5343)
10597 2010-01-12 Glenn Morris <rgm@gnu.org>
10599 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10600 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10602 2010-01-11 Sam Steingold <sds@gnu.org>
10604 * imenu.el (imenu-default-create-index-function): Detect infinite
10605 loops caused by imenu-prev-index-position-function.
10607 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10609 * htmlfontify.el (htmlfontify-load-rgb-file)
10610 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10611 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10612 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10613 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10614 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10615 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10616 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10617 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10618 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10619 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10620 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10621 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10622 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10623 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10624 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10625 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10626 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10627 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10628 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10629 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10630 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10631 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10632 backslash-quoting from parentheses, etc.
10634 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10636 * progmodes/js.el: Autoload javascript-mode alias.
10638 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10640 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10641 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10642 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10643 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10644 Fix typos in docstrings.
10645 (ffap-url-regexp): Doc fix.
10646 (ffap-at-mouse): Fix typo in message.
10648 2010-01-11 Glenn Morris <rgm@gnu.org>
10650 * version.el (emacs-copyright): Set copyright year to 2010.
10652 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10654 * format.el (format-annotate-function): Only set
10655 write-region-post-annotation-function after running to-fn so as not to
10656 affect nested write-region calls (bug#5273).
10658 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10660 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10663 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10665 * man.el (Man-goto-section): Signal error if the section is not
10668 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10670 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10671 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10673 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10675 * progmodes/compile.el: Don't treat compile-command as safe if
10676 compilation-read-command might be nil (Bug#4218).
10678 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10680 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10683 2010-01-08 Kenichi Handa <handa@m17n.org>
10685 * international/fontset.el (build-default-fontset-data):
10686 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10688 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10690 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10691 to `create-file-buffer' as it expects, not just a buffer name.
10692 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10693 to help uniquify. (Bug#3224)
10695 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10697 * font-setting.el (font-setting-change-default-font): Use user-spec
10700 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10702 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10704 2010-01-05 Tom Tromey <tromey@redhat.com>
10706 * progmodes/python.el (python-font-lock-keywords):
10707 Handle qualified decorators (Bug#881).
10709 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10711 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10712 in a lightweight checkout.
10714 2010-01-05 Kenichi Handa <handa@m17n.org>
10716 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10718 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10720 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10722 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10724 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10725 checkouts. (Bug#618)
10726 (vc-bzr-log-view-mode): Also highlight the author.
10727 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10728 (vc-bzr-shelve-menu-map):
10729 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10730 (vc-bzr-shelve-apply): Make prompt more explicit.
10732 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10734 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10735 They are valid characters in URL paths (rfc3986), and at least
10736 Firefox does not understand the encoded version (Bug#3166).
10738 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10740 * progmodes/octave-mod.el (octave-end-keywords)
10741 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10742 Add "end" keyword (Bug#3061).
10743 (octave-end-as-array-index-p): New function.
10744 (calculate-octave-indent): Use it.
10746 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10748 * bookmark.el: Consistently put the text property on the bookmark name.
10749 (bookmark-bmenu-marks-width): Bump back to 2, to include
10751 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10752 property on the bookmark name, instead of not putting it at all.
10753 (bookmark-bmenu-list): Fix where we put the text property.
10755 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10757 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10758 for showing buffer modified state (as added in the previous change).
10760 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10762 * bookmark.el: Show modified state of bookmark buffer more accurately.
10763 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10764 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10765 (with-buffer-modified-unmodified): New macro.
10766 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10767 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10768 Use new macro to preserve the buffer modified state.
10770 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10772 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10773 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10774 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10775 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10776 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10777 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10778 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10780 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10782 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10783 Make the lines in the generated doc string shorter. (Bug#4668)
10785 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10787 * net/rcirc.el: Add follow-link binding (Bug#4738).
10789 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10791 * Makefile.in (bzr-update): Rename from cvs-update.
10792 (cvs-update): New target for backward compatibility.
10794 * makefile.w32-in (bzr-update): Rename from cvs-update.
10795 (cvs-update): New target for backward compatibility.
10797 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10799 * bookmark.el: Remove gratuitous gratitude.
10801 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10803 * bookmark.el (bookmark-bmenu-any-marks): New function.
10804 (bookmark-bmenu-save): Clear buffer modification if no marks.
10806 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10808 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10809 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10810 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10811 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10813 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10814 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10815 To: emacs-devel {_AT_} gnu.org
10816 Subject: bookmark.el bug report
10817 Date: Mon, 28 Dec 2009 14:19:16 +0800
10818 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10820 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10822 * bookmark.el: Improvements suggested by Drew Adams:
10823 (bookmark-bmenu-ensure-position): New name for
10824 `bookmark-bmenu-check-position'. Just ensure the position,
10825 don't return any meaningful value.
10826 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10829 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10831 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10832 (bookmark-yank-point, bookmark-bmenu-check-position):
10833 Fix typos in docstrings.
10834 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10835 (bookmark-name-from-full-record, bookmark-get-position)
10836 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10837 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10838 Remove useless quoting of parenthesis, etc. in docstrings.
10840 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10841 (ediff-append-custom-diff): Fix typo in error message.
10842 (ediff-meta-mark-equal-files): Fix typos in messages.
10844 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10846 * net/imap-hash.el (imap-hash-make): Doc fix.
10847 (imap-hash-test): Fix typo in error message; reflow docstring.
10848 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10849 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10850 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10851 Fix typos in docstrings.
10852 (imap-hash-open-connection): Fix typo in error message.
10854 * play/gomoku.el (gomoku): Fix typos in docstring.
10856 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10857 (gdb-jsonify-buffer): Fix typos in docstring.
10858 (gdb-goto-breakpoint): Fix typo in error message.
10859 ("Display Other Windows"): Fix typo in help message.
10860 (gdb-speedbar-expand-node): Fix typo in question.
10862 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10863 (idlwave-html-system-help-location, idlwave-html-help-location)
10864 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10865 (idlwave-help-browser-generic-args, idlwave-help-directory)
10866 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10867 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10868 (idlwave-online-help, idlwave-help-html-link)
10869 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10870 Fix typos in docstrings.
10871 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10873 (idlwave-help-assistant-start): Fix typo in error message.
10875 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10876 (octave-electric-space): Fix typos in docstrings.
10878 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10880 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10882 2010-01-01 Juri Linkov <juri@jurta.org>
10884 * comint.el (comint-input-ring-size): Make it a defcustom and
10885 increase the default to 500 (Bug#5148).
10887 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10889 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10890 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10891 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10893 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10895 Show working revision correctly for mercurial.
10896 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10897 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10899 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10901 Declare some functions for the byte-compiler.
10902 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10903 (speedbar-timer-fn, speedbar-change-expand-button-char)
10904 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10906 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10908 This changeset reverts GDB Graphical Interface to use annotations.
10909 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10911 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10913 Make vc-dir work on subdirectories of the bzr root.
10914 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10915 Return file names relative to it.
10916 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10917 relative directory to vc-bzr-after-dir-status.
10919 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10921 * font-lock.el (font-lock-refresh-defaults): New function, which
10922 can be used to let font-lock react to external changes in
10923 variables like font-lock-defaults and keywords.
10924 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10926 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10928 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10930 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10932 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10934 Supersede color.diff settings in git log (bug#5211).
10936 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10937 escape chars in its output when the user has color.diff set to `always'.
10938 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10940 2009-12-26 Kevin Ryde <user42@zip.com.au>
10942 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10943 node. Keep previous "Index" name to work with past coreutils too.
10945 * man.el (man): Revise docstring a bit to show -a and -l as
10946 examples. Add -k description since support for it has otherwise
10947 been a secret. (Further to bug#3717.)
10948 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10949 "no matches" rather than "Can't find manpage", as the latter reads
10950 like -k was interpreted as a page name, which is not so. (Bug#5431)
10952 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10954 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10955 switches. Check also for //SUBDIRED// line.
10957 2009-12-25 Kenichi Handa <handa@m17n.org>
10959 * language/indian.el (devanagari-composable-pattern): Fix to
10960 handle ZWNJ and ZWJ. Use it in composition-function-table for
10962 (malayalam-composable-pattern): Fix previous change.
10964 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10966 * ps-print.el (ps-face-attributes): It was not returning the
10967 attribute face for faces specified as string. Reported by harven
10968 <harven@free.fr>. (Bug#5254)
10969 (ps-print-version): New version 7.3.5.
10971 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10973 * calendar/icalendar.el (icalendar--convert-tz-offset):
10974 Fix timezone names.
10975 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10976 (icalendar--add-diary-entry): Remove the trailing blank that
10977 diary-make-entry inserts.
10979 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10981 Make `file-expand-wildcards' work for remote files.
10983 * files.el (file-expand-wildcards): In case of remote files, check
10984 only local file name part for wildcards. Provide feature 'files
10985 and subfeature 'remote-wildcards. (Bug#5198)
10987 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10988 if there is already an established connection.
10989 (tramp-advice-file-expand-wildcards): Remove it.
10991 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10992 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10993 Activate advice for older GNU Emacs versions. (Bug#5237)
10995 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10997 Some doc fixes (more needed).
10999 * find-cmd.el (find-constituents): Reflow docstring.
11000 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11001 (find-generic): Doc fix.
11003 2009-12-17 Juri Linkov <juri@jurta.org>
11005 Fix regression from 23.1 to allow multiple modes in Local Variables.
11007 * files.el (hack-local-variables-filter): While ignoring duplicates,
11008 don't take `mode' into account.
11009 (hack-local-variables-filter, hack-dir-local-variables):
11010 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11012 2009-12-17 Juri Linkov <juri@jurta.org>
11014 Make `dired-diff' safer. (Bug#5225)
11016 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11017 `current' or when `file' is a directory of the `current' file.
11019 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11021 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11022 unconditionally preloaded files.
11024 2009-12-16 Juri Linkov <juri@jurta.org>
11026 Revert to old 23.1 logic of using the file at the mark as default.
11027 * dired-aux.el (dired-diff): Use the file at the mark as default
11028 if it's not the same as the current file, and the target dir is
11029 the current dir or the mark is active. Add the current file
11030 as the arg of `dired-dwim-target-defaults'. Use the default file
11031 in the prompt. (Bug#5225)
11033 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11035 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11036 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11037 (tramp-check-for-regexp): Check also, when an echoing shell stops
11038 to echo sent commands.
11040 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11042 * Makefile.in: Revert last change (Bug#5191).
11044 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11046 * vc-hg.el (vc-hg-print-log): Fix argument order.
11047 (vc-hg-working-revision): Make sure the command is executed in a
11048 known environment so that we can parse the output. (Bug#4417)
11050 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11052 * progmodes/python.el (python-symbol-completions): Remove text
11053 properties from symbol string before calling python-send-receive.
11055 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11057 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11058 when there are values for both file and line. (Bug#5060)
11060 2009-12-14 Juri Linkov <juri@jurta.org>
11062 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11063 whitespace after the file name of the first line of unified format,
11064 because git-diff doesn't output whitespace and file modification time
11065 after the file name.
11067 2009-12-14 David Kastrup <dak@gnu.org>
11069 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11070 check if it already has the `display' property added by
11071 `Info-display-images-node', and not put the `invisible' property
11074 2009-12-13 Glenn Morris <rgm@gnu.org>
11076 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11077 (report-emacs-bug): In message-mode, sort manually before storing
11078 original report text. (Bug#5178)
11079 Remove superfluous save-excursion.
11081 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11083 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11084 when responding to "GetAll" properties.
11086 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11088 * simple.el (compose-mail): Remove mail-setup-with-from from
11089 customization checks.
11091 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11093 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11094 RAR archives created on Unix systems.
11096 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11098 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11099 the varalias that was accidentally removed by the 2009-11-19 change
11102 2009-12-12 Kenichi Handa <handa@m17n.org>
11104 * language/indian.el (indian-compose-regexp): New function.
11105 (malayalam-composable-pattern): Fix the pattern.
11106 (composition-function-table): Set malayalam-composable-pattern for
11107 Malayalam characters.
11109 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11111 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11112 rather than down-mouse-1, based on follow-link conventions.
11114 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11117 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11119 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11120 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11121 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11122 (verilog-leap-to-head, verilog-backward-token):
11123 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11125 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11127 * progmodes/verilog-mode.el (verilog-auto-lineup)
11128 (verilog-nameable-item-re): Cleanup user-visible spelling and
11129 documentation errors. One reported by Gary Delp.
11130 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11131 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11132 package, bug195. Reported by Pierre-David Pfister.
11134 2009-12-11 Glenn Morris <rgm@gnu.org>
11136 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11138 * mail/emacsbug.el: No longer require sendmail.
11139 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11140 (report-emacs-bug-orig-text): Doc fix.
11141 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11142 New local variables, to adapt to different mail-user-agents.
11143 (report-emacs-bug): Fix test for a gnu.org address.
11144 Use overlays for emphasis, since font-lock defeats 'face property.
11145 Pretest bugs also end up at the newsgroup these days.
11146 Stop message-mode stripping text properties.
11147 Set and use the new buffer-local variables.
11148 (report-emacs-bug-hook): Add doc-string.
11149 Remove some unnecessary save-excursions and simplify.
11150 Use the appropriate hook and send-command.
11152 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11153 capitalization of some menu entries.
11155 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11157 * whitespace.el (whitespace-display-char-on):
11158 Ensure `buffer-display-table' is unique when two or more windows are
11159 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11162 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11164 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11165 characters in the Attribute field.
11167 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11169 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11171 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11173 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11174 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11175 Disregard autoload-excludes.
11176 (update-directory-autoloads): Obey autoload-excludes here instead.
11177 But don't store its contents in no-autoloads and remove entries that
11178 refer to excludes files.
11180 2009-12-10 Glenn Morris <rgm@gnu.org>
11182 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11183 (expand-mail-aliases): Define for compiler.
11185 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11186 Define for compiler.
11188 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11189 appropriate for the mail-user-agent in use.
11191 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11193 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11195 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11197 Fix short log parsing and fontification.
11198 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11199 Fix fontification for the [merge] label.
11201 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11203 Drop some properties to avoid surprises (bug#5002).
11204 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11205 (hfy-fontify-buffer): Use it.
11207 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11211 Adjust all callers.
11212 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11213 args compulsory. Adjust callers.
11214 (ffap-gopher-at-point): Remove unused var `name'.
11216 Get rid of the ELCFILES abomination.
11217 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11218 (compile-elcfiles): New phony target.
11219 (compile-main): Compute ELCFILES dynamically.
11220 (compile-clean): New target to remove left-over elc files.
11221 (compile, all): Use it.
11223 2009-12-09 Kenichi Handa <handa@etlken>
11225 * international/mule-diag.el: Require help-mode instead of help-fns.
11227 2009-12-09 Kenichi Handa <handa@m17n.org>
11229 * international/mule-cmds.el (ucs-names): Supply sufficiently
11230 fine ranges instead of pre-calculating accurate ranges.
11231 Iterate with bigger gc-cons-threshold.
11233 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11235 Add support for stashing a snapshot of the current tree.
11236 * vc-git.el (vc-git-stash-snapshot): New function.
11237 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11239 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11241 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11242 instead of `(beginning|end)-of-line'.
11244 2009-12-08 Glenn Morris <rgm@gnu.org>
11246 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11248 * Makefile.in (ELCFILES): Regenerate.
11250 2009-12-07 Juri Linkov <juri@jurta.org>
11252 Don't lazy-highlight the comint output in history Isearch mode.
11254 * comint.el (comint-history-isearch-search): Instead of
11255 `comint-line-beginning-position', use `comint-after-pmark-p'
11256 to check if point if before the process mark, and go to
11257 `process-mark' in this case.
11259 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11261 * textmodes/tex-mode.el (latex-complete)
11262 (latex-indent-or-complete): Remove.
11263 (latex-mode): Set completion-at-point-functions instead.
11265 Provide a standard completion command and hook it into TAB.
11266 * minibuffer.el (completion-at-point-functions): New var.
11267 (completion-at-point): New command.
11268 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11269 * progmodes/python.el (python-mode-map): Use completion-at-point.
11270 (python-completion-at-point): Rename from python-partial-symbol and
11271 adjust for use in completion-at-point-functions.
11272 (python-mode): Setup completion-at-point for Python completion.
11273 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11274 extracted from lisp-complete-symbol.
11275 (lisp-complete-symbol): Use it.
11276 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11277 setup completion-at-point for Elisp completion.
11278 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11279 Use completion-at-point.
11280 * ielm.el (ielm-map): Use completion-at-point.
11281 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11282 * progmodes/sym-comp.el: Move to...
11283 * obsolete/sym-comp.el: Move from progmodes.
11285 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11287 Prevent save-buffer in Rmail buffers from using the coding-system
11288 of the current message, and from clobbering the encoding mnemonics
11289 in the mode line (Bug#4623).
11291 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11293 (rmail-message-encoding): New variable.
11294 (rmail-write-region-annotate): Record the encoding of the current
11295 message in rmail-message-encoding.
11296 (rmail-after-save-hook): New function, restores the encoding of
11297 the current message after the message collection is saved.
11299 2009-12-07 Juri Linkov <juri@jurta.org>
11301 * progmodes/grep.el (grep-read-files): Use `completing-read'
11302 instead of `read-string'. Set its `collection' arg to
11303 `read-file-name-internal'. (Bug#4301)
11305 2009-12-07 Juri Linkov <juri@jurta.org>
11307 Correctly restore original Isearch point. (Bug#4994)
11309 * isearch.el (isearch-mode): Move `isearch-push-state' after
11310 `(run-hooks 'isearch-mode-hook)'.
11311 (isearch-cancel): When `isearch-push-state-function' is defined,
11312 let-bind `isearch-cmds' to the first state (the last element of
11313 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11314 function and restores the original point). Otherwise, move point
11315 to `isearch-opoint'.
11317 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11319 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11320 chars that don't have names, so the table can be built much faster at
11323 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11325 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11326 change. Suggested by David Kastrup.
11328 * simple.el (compose-mail): Check for incompatibilities and warn.
11329 (compose-mail-user-agent-warnings): New option.
11331 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11333 Support showing a single log entry from vc-annotate.
11334 * vc.el (print-log): Add a new argument: START-REVISION.
11335 (vc-print-log-internal): Add a new optional argument and
11336 pass it to the backend.
11337 (vc-print-log, vc-print-root-log): Adjust callers.
11338 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11339 buffer already displays the requested log entry, use it.
11340 Otherwise display only the log entry in question.
11341 * vc-svn.el (vc-svn-print-log):
11342 * vc-mtn.el (vc-mtn-print-log):
11343 * vc-hg.el (vc-hg-state):
11344 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11345 (vc-git-show-log-entry): Return t on success.
11346 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11347 (vc-bzr-show-log-entry): Return t on success.
11348 * vc-rcs.el (vc-rcs-print-log):
11349 * vc-sccs.el (vc-sccs-print-log):
11350 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11352 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11354 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11355 Add menus to the meta mode. (Bug#5043)
11357 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11359 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11362 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11364 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11366 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11367 Berbain <raphael.berbain@gmail.com>.
11369 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11371 (tramp-initial-end-of-output): New defconst.
11372 (tramp-methods, tramp-find-shell)
11373 (tramp-open-connection-setup-interactive-shell)
11374 (tramp-maybe-open-connection): Use it.
11375 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11376 Handle existence of `#' and `$'.
11378 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11379 Use `tramp-initial-end-of-output'.
11381 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11383 Get the background mode from the terminal for xterm, and set
11385 * term/xterm.el (xterm-set-background-mode): New function.
11386 (terminal-init-xterm): Use it in case xterm supports background
11387 color queries. Recompute faces after getting the background
11390 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11392 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11393 number comment back on its own line, for easier parsing.
11395 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11397 Make it work for non-file buffers (bug#5102).
11398 * doc-view.el (doc-view-current-cache-dir):
11399 Use doc-view-buffer-file-name rather than buffer-file-name.
11400 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11402 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11404 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11405 author field is too short.
11407 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11409 * vc-git.el (vc-git-print-log): Handle a limit argument.
11410 Display the short log in graph form and with labels.
11411 (vc-git-log-view-mode): Handle labels.
11413 Make vc-revert change VC state from 'added to 'unregistered.
11414 * vc-git.el (vc-git-revert): Call git reset first.
11416 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11418 * net/newst-backend.el, net/newst-plainview.el:
11419 * net/newst-reader.el, net/newst-ticker.el:
11420 * net/newst-treeview.el, net/newsticker.el:
11421 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11423 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11425 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11427 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11428 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11429 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11430 Update annotation regexp.
11432 * simple.el (beginning-of-visual-line): Constrain to field
11433 boundaries (Bug#5106).
11435 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11437 * xml.el (xml-substitute-numeric-entities):
11438 Move newsticker--decode-numeric-entities in newst-backend.el to
11439 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11440 * net/newst-backend.el (newsticker--parse-generic-feed)
11441 (newsticker--parse-generic-items)
11442 (newsticker--decode-numeric-entities):
11443 Move newsticker--decode-numeric-entities in newst-backend.el to
11444 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11446 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11448 * progmodes/js.el (js--js-not): Add null to the list of values.
11450 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11452 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11454 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11456 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11457 delimiter if it is at the end of the current line.
11458 (bibtex-generate-url-list): Fix docstring.
11460 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11462 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11463 minibuffer's content with itself.
11464 Fold the confirm-after-completion case into the `confirm' case.
11465 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11467 2009-12-06 Kevin Ryde <user42@zip.com.au>
11469 * ffap.el (ffap-rfc-path): Make this a defcustom since
11470 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11472 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11473 manuals, similar to existing setup for help-mode. (Bug#3913.)
11475 2009-12-05 Juri Linkov <juri@jurta.org>
11477 Save and restore dired buffer's point positions too. (Bug#4880)
11479 * dired.el (dired-save-positions): Return in the first element
11480 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11482 (dired-restore-positions): First restore buffer's position.
11483 While restoring window's positions, check if window still displays
11484 the original buffer.
11486 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11488 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11491 * shell.el (shell): Require ansi-color (Bug#5113).
11493 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11495 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11497 2009-12-05 Alan Mackenzie <acm@muc.de>
11499 * progmodes/cc-mode.el (c-before-hack-hook)
11500 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11501 `c-file-style' to work again. This reversion restores the current
11502 software to its state in Emacs 23.1. (Bug#4146)
11504 2009-12-05 Kevin Ryde <user42@zip.com.au>
11506 * textmodes/sgml-mode.el (sgml-lexical-context):
11507 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11509 2009-12-05 Juri Linkov <juri@jurta.org>
11511 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11512 for virtual nodes. (Bug#4147)
11513 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11514 when moving from a virtual node.
11515 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11516 (Info-mode): Add `Info-virtual-index' to the docstring.
11518 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11520 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11521 track of the buffer position of the end of a BibTeX entry as this
11522 position may change during reformatting.
11523 (bibtex-format-entry): Remove whitespace before processing
11524 numerical fields so that we recognize the latter properly.
11525 (bibtex-reformat): Do not use push which changes the global value
11526 of bibtex-entry-format.
11527 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11528 (bibtex-field-re-init): Replace only space characters by regexp
11530 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11531 (bibtex-initialize): Also update bibtex-strings.
11532 (bibtex-kill-field): Preserve white space at end of entry.
11533 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11534 Update bibtex-reference-keys.
11536 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11538 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11539 point after a star, if that's the only place where modifications can
11542 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11544 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11547 2009-12-04 Juri Linkov <juri@jurta.org>
11549 * proced.el (proced): Call `(proced-update t)' to update process
11550 information instead of only running proced-post-display-hook.
11551 (proced-send-signal): Add a leading space to the buffer name
11552 " *Marked Processes*" to make this buffer ephemeral.
11554 2009-12-04 Juri Linkov <juri@jurta.org>
11556 * dired.el (dired-auto-revert-buffer): New defcustom.
11557 (dired-internal-noselect): Use it.
11559 2009-12-04 Juri Linkov <juri@jurta.org>
11561 Change roles of modes and functions in image-mode.el (Bug#5062).
11563 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11564 in `auto-mode-alist'.
11565 (image-mode-previous-major-mode): New variable.
11566 (image-minor-mode-map): Rename from `image-mode-text-map'.
11567 (image-mode): Move graceful error-handling code from
11568 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11569 (image-minor-mode): Remove all image-handling code.
11570 Replace `image-mode-text-map' with `image-minor-mode-map'.
11571 Check for `image-type' in mode-line format string.
11572 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11573 (image-mode-as-text): New function with most code from
11574 `image-mode-maybe'.
11575 (image-toggle-display-text): Move code that removes image
11576 properties from `image-toggle-display' to here.
11577 (image-toggle-display-image): New function with code that adds
11578 image properties copied from `image-toggle-display'.
11579 (image-toggle-display): Remove most code with leaving only code
11580 that toggles between `image-mode-as-text' and `image-mode'.
11582 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11584 * net/newst-treeview.el
11585 (newsticker--treeview-list-highlight-start): Restored call to
11586 save-excursion: Selected item was stuck.
11587 (newsticker--treeview-list-select): New.
11588 (newsticker--treeview-item-show-text)
11589 (newsticker--treeview-item-show)
11590 (newsticker--treeview-item-update): Use new
11591 newsticker-treeview-item-mode.
11592 (newsticker-treeview-update): Keep current item.
11593 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11594 (newsticker--treeview-first-feed): Doc change.
11595 (newsticker-treeview-list-menu)
11596 (newsticker-treeview-item-menu): Add menu entries.
11597 (newsticker-treeview-item-mode): New.
11599 * net/newst-backend.el (newsticker-customize): Delete other
11602 2009-12-04 Sam Steingold <sds@gnu.org>
11604 * log-view.el (log-view-mode-map): "q" calls quit-window,
11605 like in all the other non-self-insert buffers.
11607 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11610 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11611 key decoding rather than do it manually via last-input-event +
11613 (term-exec): Use delete-and-extract-region.
11614 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11615 (term-process-pager): Remove unused var `i'.
11616 (term-dynamic-simple-complete): Make obsolete.
11617 (serial-update-config-menu): Remove unused vars `y' and `str'.
11618 (term-update-mode-line): Remove unused var `temp'.
11620 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11622 Limit the number of log entries displayed by default.
11623 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11624 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11625 using a prefix argument.
11627 2009-12-03 Glenn Morris <rgm@gnu.org>
11629 * progmodes/idlwave.el (class): Restore still useful declaration.
11631 2009-12-03 Alan Mackenzie <acm@muc.de>
11633 Enhance `c-parse-state' to run efficiently in "brace deserts".
11635 * progmodes/cc-mode.el (c-basic-common-init):
11636 Call c-state-cache-init.
11637 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11638 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11639 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11641 * progmodes/cc-langs.el (c-before-font-lock-function):
11642 c-extend-and-neutralize-syntax-in-CPP has been renamed
11643 c-neutralize-syntax-in-and-mark-CPP.
11645 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11646 with `category' properties now, not `syntax-table' ones.
11648 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11649 enhanced (but slower) version of c-end-of-macro that won't land
11650 inside a literal or on another awkward character.
11651 (c-state-cache-too-far, c-state-cache-start)
11652 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11653 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11654 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11655 (c-state-min-scan-pos, c-state-brace-pair-desert)
11656 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11657 buffer local variables.
11658 (c-state-literal-at, c-state-lit-beg)
11659 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11660 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11661 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11662 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11663 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11664 (c-renarrow-state-cache)
11665 (c-append-lower-brace-pair-to-state-cache)
11666 (c-state-push-any-brace-pair, c-append-to-state-cache)
11667 (c-remove-stale-state-cache)
11668 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11669 (c-invalidate-state-cache-1, c-parse-state-1)
11670 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11671 (c-parse-state): Enhance and refactor.
11672 (c-debug-parse-state): Amend to deal with all the new variables.
11674 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11675 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11676 modify to use category text properties rather than syntax-table ones.
11677 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11678 to switch off/on the syntactic paren property of C++ template
11679 delimiters using the category property.
11680 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11681 template delims suppressed.
11682 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11683 New constant/macros which apply category properties to the start
11684 and end of preprocessor constructs.
11685 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11686 "comment out" the syntactic value of characters in preprocessor
11688 (c-with-cpps-commented-out)
11689 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11690 with characters in all or all but one preprocessor constructs
11693 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11695 * proced.el (proced-filter-alist): Use regexp-quote.
11697 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11700 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11701 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11702 arguments. Expand `default-directory'.
11704 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11705 the benefit of returning an expanded localname.
11706 (tramp-tramp-file-p): Handle the case NAME is not a string.
11708 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11710 Add support for bzr shelve/unshelve.
11711 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11712 (vc-bzr-extra-menu-map): New variables.
11713 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11714 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11715 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11716 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11717 (vc-bzr-dir-extra-headers): Display shelves.
11719 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11721 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11723 * textmodes/bibtex.el (bibtex-complete-internal):
11724 Use completion-in-region.
11725 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11727 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11729 Support applying stashes. Improve UI.
11730 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11731 (vc-git-stash-apply, vc-git-stash-pop)
11732 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11733 (vc-git-stash-menu): New functions.
11734 (vc-git-stash-menu-map): New variable.
11735 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11737 2009-12-03 Glenn Morris <rgm@gnu.org>
11739 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11740 (vc-print-log-internal): Fix previous change.
11741 (vc-revert): Correct pluralization.
11743 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11745 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11746 it to be an alist any more.
11747 (makefile-complete): Use completion-in-region.
11749 * progmodes/octave-mod.el (octave-complete-symbol):
11750 Use completion-in-region.
11753 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11754 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11755 (idlwave-complete-class): Don't quote lambda.
11756 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11757 (idlwave-mode-map): Move initialization into declaration.
11758 (idlwave-action-and-binding): Use backquotes.
11759 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11761 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11762 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11763 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11764 `parts', and `all-parts'.
11765 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11766 (idlwave-convert-xml-system-routine-info): Remove unused string
11768 (idlwave-display-user-catalog-widget): Use dolist.
11769 (idlwave-scanning-lib): Declare dynamically-scoped var.
11770 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11771 (completion-highlight-first-word-only): Declare to silence bytecomp.
11772 (idlwave-popup-select): Tighten scope of `resp'.
11773 (idlwave-find-struct-tag): Remove unused var `beg'.
11774 (idlwave-after-load-rinfo-hook): Declare.
11775 (idlwave-sintern-class-info): Remove unused var `taglist'.
11776 (idlwave-find-class-definition): Remove unused var `list'.
11777 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11778 (idlwave-what-module-find-class): Remove unused var `classes'.
11780 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11782 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11784 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11786 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11787 buffers visited. Remove redundant current-buffer-saving.
11789 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11791 Use completion-in-buffer and remove uses of dynamic scoping.
11792 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11793 (pascal-buffer-to-use, pascal-flag): Don't declare.
11794 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11795 (pascal-get-completion-decl, pascal-keyword-completion):
11796 Add `pascal-str' argument, save-excursion,
11797 return the found completions, and don't filter with pascal-pred.
11798 (pascal-completion-cache): New var.
11799 (pascal-completion): Don't switch buffer any more (it was never
11800 necessary). Don't save-excursion any more (it's done by the called
11801 subroutines). Use a cache to avoid redundant computations.
11802 Use complete-with-action rather than pascal-completion-response and
11803 let it apply the predicate as well.
11804 (pascal-complete-word): Use completion-in-buffer when
11805 pascal-toggle-completions is nil.
11806 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11808 (pascal-comp-defun): Don't change buffer any more.
11809 Use complete-with-action rather than pascal-completion-response and
11810 let it apply the predicate as well.
11811 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11814 2009-12-02 Kenichi Handa <handa@m17n.org>
11816 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11817 shape for all Indic scripts.
11819 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11821 Use completion-in-buffer.
11822 * wid-edit.el (widget-field-text-end): New function.
11823 (widget-field-value-get): Use it.
11824 (widget-string-complete, widget-file-complete)
11825 (widget-color-complete): Use it and completion-in-region.
11826 (widget-complete): Don't narrow the buffer.
11828 2009-12-02 Glenn Morris <rgm@gnu.org>
11830 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11831 (rmail-select-summary): Use rmail-pop-to-buffer.
11832 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11833 rmail-pop-to-buffer, to prevent horizontal splits.
11835 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11836 save-excursion with save-current-buffer.
11837 Widen before searching. (Bug#5093)
11838 (diary-list-sexp-entries): Remove superfluous save-excursion.
11840 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11842 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11845 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11847 * ido.el (ido-file-internal): Handle filenames at point that do
11848 not have a directory part. (Bug#5049)
11850 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11852 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11853 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11855 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11857 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11858 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11861 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11863 * comint.el (comint-insert-input): Ignore clicks to the right of
11864 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11866 * vc.el (vc-print-log-internal): Don't wait for the process to
11867 terminate before setting up the major mode.
11869 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11872 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11875 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11877 2009-12-01 Glenn Morris <rgm@gnu.org>
11879 * window.el (window--display-buffer-2): Fix previous changes.
11881 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11883 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11885 2009-12-01 Glenn Morris <rgm@gnu.org>
11887 * Makefile.in (ELCFILES): Add mpc.elc.
11889 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11891 * mpc.el: New file.
11893 2009-12-01 Glenn Morris <rgm@gnu.org>
11895 * window.el (window-to-use): Define for compiler.
11897 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11898 consistent with others (no final period).
11900 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11901 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11903 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11905 Make vc-print-log buttons work.
11906 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11908 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11910 * savehist.el (savehist-autosave-interval): Allow setting to nil
11911 through customize. (Bug#5056)
11913 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11915 Fix references to jit-lock properties.
11916 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11917 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11918 (perl-font-lock-special-syntactic-constructs):
11919 Quote jit-lock-defer-multiline property.
11921 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11923 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11925 2009-11-30 Juri Linkov <juri@jurta.org>
11927 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11928 value `buffer' of `multi-isearch-next-buffer-current-function'.
11929 Use `(current-buffer)' when `buffer' is nil.
11930 (multi-isearch-next-buffer-from-list): Don't fallback to
11931 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11933 2009-11-30 Juri Linkov <juri@jurta.org>
11935 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11936 of buffers with `get-buffer' to `multi-isearch-buffers'.
11937 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11938 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11939 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11940 FILES with `expand-file-name' converting relative file names
11941 to absolute. Doc fix. (Bug#4727)
11943 2009-11-30 Juri Linkov <juri@jurta.org>
11945 * misearch.el (multi-isearch-read-buffers)
11946 (multi-isearch-read-matching-buffers): New functions.
11947 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11948 Use them in the `interactive' spec. Doc fix.
11949 (multi-isearch-read-files, multi-isearch-read-matching-files):
11951 (multi-isearch-files, multi-isearch-files-regexp):
11952 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11954 2009-11-30 Juri Linkov <juri@jurta.org>
11956 * doc-view.el (doc-view-continuous):
11957 Rename from `doc-view-continuous-mode'.
11958 (doc-view-menu): Move "Toggle display" to the top.
11959 Add submenu "Continuous" with radio buttons "Off"/"On"
11960 and "Save as Default".
11961 (doc-view-scroll-up-or-next-page)
11962 (doc-view-scroll-down-or-previous-page)
11963 (doc-view-next-line-or-next-page)
11964 (doc-view-previous-line-or-previous-page):
11965 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11967 2009-11-30 Juri Linkov <juri@jurta.org>
11969 * comint.el (comint-mode-map): Rebind `M-r' from
11970 `comint-previous-matching-input' to
11971 `comint-history-isearch-backward-regexp'.
11972 Unbind `M-s' to allow global key binding `M-s'.
11973 Add menu items for `comint-history-isearch-backward' and
11974 `comint-history-isearch-backward-regexp'. (Bug#3746)
11976 2009-11-30 Juri Linkov <juri@jurta.org>
11978 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11979 For def=recenter, replace `recenter' with `recenter-top-bottom'
11980 that is called with `this-command' and `last-command' let-bound
11981 to `recenter-top-bottom'. When the last `def' was not `recenter',
11982 set `recenter-last-op' to nil. (Bug#4981)
11984 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11986 Minor cleanup and simplification.
11987 * filecache.el (file-cache-add-directory)
11988 (file-cache-add-directory-recursively)
11989 (file-cache-add-from-file-cache-buffer)
11990 (file-cache-delete-file-regexp, file-cache-delete-directory)
11991 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11992 (file-cache-temp-minibuffer-message): Delete function.
11993 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11995 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11996 Don't signal an error when bumping into EOB in tr, s, or y.
11998 2009-11-29 Juri Linkov <juri@jurta.org>
12000 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12003 * descr-text.el (describe-char-unidata-list): Use lowercase name
12004 for "Unicode name" like in other tags.
12006 2009-11-29 Juri Linkov <juri@jurta.org>
12008 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12009 New compatibility macro.
12010 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12012 2009-11-29 Juri Linkov <juri@jurta.org>
12014 Add defcustom to define the cycling order of `recenter-top-bottom'.
12017 * window.el (recenter-last-op): Doc fix.
12018 (recenter-positions): New defcustom.
12019 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12020 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12022 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12024 Improve integration of Tramp and ange-ftp in eshell.
12026 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12027 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12028 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12030 * eshell/esh-util.el (top): Require also Tramp when compiling.
12031 (eshell-directory-files-and-attributes): Check for FTP remote
12033 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12034 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12035 (eshell-file-attributes): Handle ".". Return `entry'.
12037 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12038 (ange-ftp-directory-files-and-attributes)
12039 (ange-ftp-real-directory-files-and-attributes): New defuns.
12041 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12042 shell with "exec" when possible. This prevents trailing prompts
12043 in `start-file-process'.
12045 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12047 Try and remove assumptions about point-min==1.
12048 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12049 (rng-compute-mode-line-string): Show the validation percentage in
12050 terms of the narrowed text, not the widened text.
12051 (rng-do-some-validation): Don't catch internal errors when debugging.
12052 (rng-first-error): Simplify.
12053 (rng-after-change-function): Remove work around. AFAIK the bug has
12054 been fixed a while ago.
12056 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12057 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12059 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12061 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12062 `cd' doesn't always do it for us (bug#5067).
12064 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12065 on 2009-10-25 as part of some other change (bug#5067).
12067 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12069 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12071 (byte-compile-warnings): Use byte-compile-warning-types.
12072 (byte-compile-save-excursion): Warn about use of set-buffer right
12073 after save-excursion.
12075 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12076 the excursion as well.
12078 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12080 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12081 providing a Tramp related implementation of "su" and "sudo".
12082 (eshell-unix-initialize): Add "su" and "sudo".
12084 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12086 * net/socks.el (socks-send-command): Convert binary request to
12087 unibyte before sending. This fixes mishandling of some port
12088 numbers such as 129.
12090 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12092 * help.el (describe-bindings-internal): Remove `interactive'.
12094 * man.el (Man-completion-table): Trim a terminating "(".
12095 Remove the space between name page a section.
12096 Add the command's description on the `help-echo' property.
12097 Remove `process-connection-type' binding since it's unused by
12099 Provide completion for the "<section> <name>" format as well.
12100 (Man-default-man-entry): Remove spurious var shadowing the argument.
12102 2009-11-26 Kevin Ryde <user42@zip.com.au>
12104 * log-view.el: Add "Keywords: tools", since its other keywords
12105 aren't in finder-known-keywords, and following vc.el.
12107 * sha1.el (sha1-string-external): default-directory "/" in case
12108 otherwise non-existent. process-connection-type pipe for touch of
12109 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12111 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12113 Misc coding convention cleanups.
12114 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12115 hfy-init-kludge-hooks.
12116 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12117 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12118 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12120 (hfy-slant, hfy-weight): Use tables rather than code.
12121 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12122 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12123 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12124 (hfy-face-to-css): Remove `nconc' with single arg.
12125 (hfy-p-to-face-lennart): Use `or'.
12126 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12127 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12128 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12129 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12130 (hfy-force-fontification): Use run-hooks.
12132 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12134 Various minor fixes.
12135 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12136 Javascript belongs in the header, not the body.
12137 (hfy-javascript): Remove.
12138 (hfy-fontify-buffer): Don't insert it any more.
12139 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12140 Fix bug in invis handling when there were no invis props in a chunk.
12142 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12144 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12146 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12148 * finder.el (finder-mode-map): Add a menu.
12150 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12152 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12153 "unsigned" structs.
12155 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12156 fork" statement better.
12158 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12160 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12161 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12162 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12163 Reported by Clay Douglass.
12165 (verilog-auto-inst, verilog-auto-star-safe)
12166 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12167 Fix removing "// Interfaces" when saving .* expansions.
12168 Reported by Pierre-David Pfister.
12170 2009-11-26 Glenn Morris <rgm@gnu.org>
12172 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12175 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12177 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12178 Really use previous revision.
12180 2009-11-25 Kevin Ryde <user42@zip.com.au>
12182 * man.el (Man-completion-table): default-directory "/" in case
12183 doesn't otherwise exist. process-environment COLUMNS=999 so as
12184 not to truncate long names. process-connection-type pipe to avoid
12185 any chance of hitting the pseudo-tty TIOCGWINSZ.
12186 (man): completion-ignore-case t for friendliness and since man
12187 itself is case-insensitive on the command line.
12188 Further to Bug#3717.
12190 * arc-mode.el: Add "Keywords: files", so the details in its
12191 commentary can be reached from finder-by-keyword.
12192 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12193 editing mode, but it's comms related and sgml-mode.el has "comm"
12195 * textmodes/bibtex-style.el: Add "Keywords: tex".
12196 * international/isearch-x.el, international/ja-dic-cnv.el:
12197 * international/ja-dic-utl.el, international/kkc.el:
12198 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12200 2009-11-25 Juri Linkov <juri@jurta.org>
12202 * man.el (Man-completion-table): Modify regexp to include
12203 section names to completion strings. (Bug#3717)
12205 2009-11-25 Juri Linkov <juri@jurta.org>
12207 Search recursively in gzipped files. (Bug#4982)
12209 * progmodes/grep.el (grep-highlight-matches): Add new options
12210 `always' and `auto'. Doc fix.
12211 (grep-process-setup): Check `grep-highlight-matches' for
12212 `auto-detect' to determine the need to compute grep defaults.
12213 Move Windows/DOS specific --colors settings handling
12214 to `grep-compute-defaults'. Check `grep-highlight-matches'
12215 to get the value of "--color=".
12216 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12217 has the value `auto-detect'. Move Windows/DOS specific settings
12218 from `grep-process-setup'.
12219 (zrgrep): New command with alias `rzgrep'.
12221 2009-11-25 Juri Linkov <juri@jurta.org>
12223 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12224 to nil instead of switching off view-mode. (Bug#4896)
12226 2009-11-25 Juri Linkov <juri@jurta.org>
12228 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12230 * mwheel.el (mwheel-scroll-up-function)
12231 (mwheel-scroll-down-function): New defvars.
12232 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12233 `scroll-up', and `mwheel-scroll-down-function' instead of
12236 * doc-view.el (doc-view-scroll-up-or-next-page)
12237 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12238 Use this ARG in the call to image-scroll-up/image-scroll-down.
12239 Change `interactive' spec to "P". Goto next/previous page only
12240 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12241 SPC/DEL case). Doc fix.
12242 (doc-view-next-line-or-next-page)
12243 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12245 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12246 `doc-view-scroll-up-or-next-page', and buffer-local
12247 `mwheel-scroll-down-function' to
12248 `doc-view-scroll-down-or-previous-page'.
12250 2009-11-25 Juri Linkov <juri@jurta.org>
12252 Provide additional default values (directories at other Dired
12253 windows) via M-n in the minibuffer of some Dired commands.
12255 * dired-aux.el (dired-diff, dired-compare-directories)
12256 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12257 `minibuffer-default' in `minibuffer-with-setup-hook'.
12258 (dired-dwim-target-directory): Find a window that displays Dired
12259 buffer instead of failing when the next window is not Dired.
12260 Use `get-window-with-predicate' to find for the next Dired window.
12261 (dired-dwim-target-defaults): New function.
12263 * ediff-util.el (ediff-read-file-name):
12264 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12265 in `minibuffer-with-setup-hook'.
12267 2009-11-25 Juri Linkov <juri@jurta.org>
12269 Provide additional default values (file name at point or at the
12270 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12272 * minibuffer.el (read-file-name-defaults): New function.
12273 (read-file-name): Reset `minibuffer-default' to nil when
12274 it duplicates initial input `insdef'.
12275 Bind `minibuffer-default-add-function' to lambda that
12276 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12277 (minibuffer-insert-file-name-at-point): New command.
12279 * files.el (file-name-at-point-functions): New defcustom.
12280 (find-file-default): Remove defvar.
12281 (find-file-read-args): Don't use `find-file-default'.
12282 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12283 to `read-file-name'.
12284 (find-file-literally): Use `read-file-name' with
12285 `confirm-nonexistent-file-or-buffer'.
12287 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12289 * dired.el (dired-read-dir-and-switches):
12290 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12291 to `read-file-name'.
12292 (dired-file-name-at-point): New function.
12293 (dired-mode): Add hook `dired-file-name-at-point' to
12294 `file-name-at-point-functions'.
12296 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12298 Really make the *Completions* window soft-dedicated (bug#5030).
12299 * window.el (window--display-buffer-2): Add `dedicated' argument.
12300 (display-buffer): Pass it when needed so the dedicated flag is set
12301 after calling set-window-buffer, which would otherwise reset it.
12303 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * progmodes/meta-mode.el (meta-complete-symbol):
12306 * progmodes/etags.el (complete-tag):
12307 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12308 Use completion-in-region.
12310 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12311 (dabbrev-completion): Use completion-in-region.
12312 (dabbrev--abbrev-at-point): Simplify regexp.
12314 * abbrev.el (abbrev--before-point): Use word-motion functions
12315 if :regexp is not specified (bug#5031).
12317 * subr.el (string-prefix-p): New function.
12319 * man.el (Man-completion-cache): New var.
12320 (Man-completion-table): Use it.
12322 * vc.el (vc-print-log-internal): Make `limit' optional for better
12323 compatibility (e.g. with vc-annotate.el).
12325 2009-11-24 Kevin Ryde <user42@zip.com.au>
12327 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12328 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12330 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12331 when .el source file not found or other error.
12333 2009-11-24 Markus Triska <markus.triska@gmx.at>
12335 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12337 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12339 Handle the [back] button properly (bug#4979).
12340 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12341 Use help-setup-xref, help-buffer, and with-help-window.
12342 (describe-char): Add `buffer' argument.
12343 Pass proper command to help-setup-xref. Don't meddle with
12344 help-xref-stack-item directly.
12345 (describe-text-category): Use with-help-window and help-buffer.
12347 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12348 for the displayed buffer (bug#4887).
12350 * man.el (Man-completion-table): New function.
12353 2009-11-24 David Reitter <david.reitter@gmail.com>
12355 * vc-git.el (vc-git-registered): Use checkout directory (where
12356 .git is) rather than the file's directory and a relative path spec
12357 to work around a bug in git.
12359 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12361 Improve handling of processes on remote hosts.
12363 * eshell/esh-util.el (eshell-path-env): New defvar.
12364 (eshell-parse-colon-path): New defun.
12365 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12367 * eshell/esh-ext.el (eshell-search-path):
12368 Use `eshell-parse-colon-path'.
12369 (eshell-remote-command): Remove argument HANDLER.
12370 (eshell-external-command): Check for FTP remote connection.
12372 * eshell/esh-proc.el (eshell-gather-process-output):
12373 Use `file-truename', in order to start also symlinked files.
12374 Apply `start-file-process' instead of `start-process'.
12375 Shorten `command' to the local file name part.
12377 * eshell/em-cmpl.el (eshell-complete-commands-list):
12378 Use `eshell-parse-colon-path'.
12380 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12382 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12383 to `eshell-directory-change-hook'.
12385 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12387 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12388 because it could be enabled automatically if view-read-only is non-nil.
12390 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12392 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12393 made on 2009-11-22.
12395 2009-11-24 Glenn Morris <rgm@gnu.org>
12397 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12398 deleted variable bookmark-bmenu-bookmark-column.
12400 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12402 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12404 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12406 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12407 two slashes to the "file:" prefix.
12408 (browse-url-file-url): De-munge Cygwin filenames before passing
12409 them to Windows browser.
12410 (browse-url-default-windows-browser): Use call-process.
12412 2009-11-23 Juri Linkov <juri@jurta.org>
12414 Implement DocView Continuous mode. (Bug#4896)
12415 * doc-view.el (doc-view-continuous-mode): New defcustom.
12416 (doc-view-mode-map): Bind C-n/<down> to
12417 `doc-view-next-line-or-next-page', C-p/<up> to
12418 `doc-view-previous-line-or-previous-page'.
12419 (doc-view-next-line-or-next-page)
12420 (doc-view-previous-line-or-previous-page): New commands.
12422 2009-11-23 Juri Linkov <juri@jurta.org>
12424 Implement Isearch in comint input history. (Bug#3746)
12425 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12426 `isearch-mode-hook'.
12427 (comint-history-isearch): New defcustom.
12428 (comint-history-isearch-backward)
12429 (comint-history-isearch-backward-regexp): New commands.
12430 (comint-history-isearch-message-overlay): New buffer-local variable.
12431 (comint-history-isearch-setup, comint-history-isearch-end)
12432 (comint-goto-input, comint-history-isearch-search)
12433 (comint-history-isearch-message, comint-history-isearch-wrap)
12434 (comint-history-isearch-push-state)
12435 (comint-history-isearch-pop-state): New functions.
12437 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12439 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12441 (tramp-handle-make-symbolic-link)
12442 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12444 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12445 (tramp-handle-process-file): Use it.
12447 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12449 * window.el (move-to-window-line-last-op): Remove.
12450 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12452 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12454 Make M-r mirror the new cycling behavior of C-l.
12455 * window.el (move-to-window-line-last-op): New var.
12456 (move-to-window-line-top-bottom): New command.
12457 (global-map): Bind M-r move-to-window-line-top-bottom.
12459 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12461 * dired-x.el (dired-guess-shell-alist-default):
12462 Support xz format. (Bug#4953)
12464 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12466 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12467 last-command-char/last-command-event.
12468 (viper-prefix-arg-value): Do correct conversion of event-char for
12471 * emulation/viper-util.el, emulation/viper.el:
12472 Use viper-last-command-char instead of
12473 last-command-char/last-command-event.
12475 * ediff-init.el, ediff-mult.el, ediff-util.el:
12476 Replace last-command-char and last-command-event
12477 with (ediff-last-command-char) everywhere.
12479 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12480 created in fundamental mode.
12482 * ediff.el (ediff-version): Revert the change of interactive-p to
12483 called-interactively-p.
12485 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12487 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12488 generation from word-movement command names.
12490 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12492 * cus-start.el (all): Add native condition for font-use-system-font.
12494 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12496 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12497 Correct the patch from 2009-11-18. (Bug#3910)
12499 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12501 * progmodes/subword.el: Rename from lisp/subword.el.
12503 * subword.el: Rename to progmodes/subword.el.
12505 * Makefile.in (ELCFILES): Adapt to subword.el move.
12507 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12508 Stefan Monnier <monnier@iro.umontreal.ca>
12510 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12511 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12512 (bookmark-bmenu-show-filenames): Use push.
12513 (bookmark-bmenu-hide-filenames): Use local var instead of
12514 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12515 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12516 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12517 filenames now that the bookmark names are always available.
12519 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12521 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12522 (bookmark-search-pattern): Move and leave unbound.
12523 (bookmark-bmenu-mode-map): Change binding.
12524 (bookmark-read-search-input): Simplify.
12525 Don't use text-char-description. Don't error on non-char events.
12526 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12527 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12528 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12529 Use a local var for the timer.
12530 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12531 (i.e. bookmark-bmenu-search).
12533 2009-11-21 Glenn Morris <rgm@gnu.org>
12535 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12537 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12539 * net/browse-url.el (browse-url-default-windows-browser):
12540 Use cygstart for cygwin.
12542 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12544 * bookmark.el: Formatting and doc fixes only:
12545 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12546 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12547 Minor grammar and punctuation fixes in doc string.
12548 (bookmark-read-search-input): Adjust to fit within 80 columns.
12550 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12552 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12553 (c-backward-into-nomenclature): Adapt to subword renaming.
12555 * subword.el (subword-forward, subword-backward, subword-mark)
12556 (subword-kill, subword-backward-kill, subword-transpose)
12557 (subword-downcase, subword-upcase, subword-capitalize)
12558 (subword-forward-internal, subword-backward-internal):
12559 Rename from forward-subword, backward-subword, mark-subword,
12560 kill-subword, backward-kill-subword, transpose-subwords,
12561 downcase-subword, upcase-subword, capitalize-subword,
12562 forward-subword-internal, backward-subword-internal.
12564 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12566 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12568 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12570 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12571 (bookmark-bmenu-filter-alist-by-regexp)
12572 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12573 (bookmark-bmenu-search): New command.
12574 (bookmark-bmenu-mode-map): Bind it.
12576 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12578 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12579 backward-subword to quit the byte-compiler.
12581 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12583 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12585 * progmodes/cc-cmds.el (c-update-modeline)
12586 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12587 Refer to subword.el functions instead of cc-subword.el.
12589 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12590 subword.el functions instead of cc-subword.el.
12592 * progmodes/cc-subword.el: Rename to subword.el.
12593 * subword.el: Rename from progmodes/cc-subword.el.
12594 (subword-mode-map): Rename from c-subword-mode-map.
12595 (subword-mode): Rename from c-subword-mode.
12596 (global-subword-mode): New global minor mode.
12597 (forward-subword): Rename from c-forward-subword.
12598 (backward-subword): Rename from c-backward-subword.
12599 (mark-subword): Rename from c-mark-subword.
12600 (kill-subword): Rename from c-kill-subword.
12601 (backward-kill-subword): Rename from c-backward-kill-subword.
12602 (transpose-subwords): Rename from c-tranpose-subword.
12603 (downcase-subword): Rename from c-downcase-subword.
12604 (capitalize-subword): Rename from c-capitalize-subword.
12605 (forward-subword-internal): Rename from c-forward-subword-internal.
12606 (backward-subword-internal): Rename from c-backward-subword-internal.
12608 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12610 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12611 from a dired buffer.
12612 (vc-dired-deduce-fileset): New function.
12613 (vc-root-diff, vc-print-root-log): Use it.
12615 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12616 nil LIMIT argument to vc-print-log-internal.
12618 2009-11-20 Glenn Morris <rgm@gnu.org>
12620 * Makefile.in (ELCFILES): Regenerate.
12622 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12624 * calc/calc.el (calc-set-mode-line):
12625 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12626 (math-format-number): Rename `math-format-complement-signed' to
12627 `math-format-twos-complement'.
12629 * calc/calc-bin.el (math-format-twos-complement): Rename from
12630 math-format-complement-signed.
12631 (calc-radix): Rename `calc-complement-signed-mode' to
12632 `calc-twos-complement-mode'.
12633 (calc-octal-radix, calc-hex-radix): Add an argument for
12636 * calc/calc-embed.el (calc-embedded-mode-vars):
12637 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12639 * calc/calc-ext.el (calc-init-extensions):
12640 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12641 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12643 * calc/calc-units.el (math-build-units-table-buffer):
12644 Let `calc-twos-complement-mode' be nil.
12646 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12649 * calc/calc-vec.el (calcFunc-vunpack):
12650 * calc/calc-aent.el (calc-do-calc-eval):
12651 * calc/calc-forms.el (math-format-date):
12652 * calc/calc-graph.el (calc-graph-plot):
12653 * calc/calc-math.el (math-use-emacs-fn):
12654 * calc/calccomp.el (math-compose-expr):
12655 Let `calc-twos-complement-mode' be nil.
12657 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12659 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12660 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12661 * minibuffer.el (completion-in-region-functions): New hook.
12662 (completion-in-region): New function.
12663 * emacs-lisp/lisp.el (lisp-complete-symbol):
12664 * pcomplete.el (pcomplete-std-complete): Use it.
12666 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12668 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12669 (latex-complete-alist): New vars.
12670 (latex-string-prefix-p, latex-complete-bibtex-keys)
12671 (latex-complete-envnames, latex-complete-refkeys)
12672 (latex-complete-data): New functions.
12673 (latex-complete, latex-indent-or-complete): New commands.
12675 * window.el (display-buffer-mark-dedicated): New var.
12676 (display-buffer): Obey it.
12677 * minibuffer.el (minibuffer-completion-help): Use it.
12679 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12681 * filecache.el (file-cache-add-file): Use push and cons.
12682 (file-cache-delete-file-regexp): Use push.
12683 (file-cache-complete): Use completion-in-region.
12685 * simple.el (with-wrapper-hook): Fix thinko.
12687 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12688 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12689 Use with-current-buffer and string-to-number.
12690 (hfy-fallback-colour-values): Use assoc-string.
12691 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12692 (hfy-face-at): Remove unused var `found-face'.
12693 (hfy-compile-stylesheet): Remove unused var `css'.
12694 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12696 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12697 Use with-current-buffer.
12698 (hfy-text-p): Use expand-file-name and fewer setq.
12700 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12702 * htmlfontify.el, hfy-cmap.el: New files.
12704 2009-11-19 Juri Linkov <juri@jurta.org>
12706 * minibuffer.el (completions-format): New defcustom.
12707 (completion--insert-strings): Implement vertical format.
12709 * simple.el (switch-to-completions): Move point to the first
12710 completion when point was at the beginning of the buffer.
12712 2009-11-19 Juri Linkov <juri@jurta.org>
12714 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12716 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12718 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12720 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12721 (mail-signature): Change default to t.
12722 (mail-from-style): Deprecate `system-default' value.
12723 (mail-insert-from-field): For default value of mail-from-style,
12724 default to `angles' unless `angles' needs quoting and `parens'
12726 (mail-citation-prefix-regexp): Use citation regexp from
12729 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12731 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12732 Set variables for computing the prompt for reading password.
12734 2009-11-19 Glenn Morris <rgm@gnu.org>
12736 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12738 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12740 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12741 (newsticker-treeview-listwindow-height): Fix custom type.
12743 2009-11-19 Kenichi Handa <handa@m17n.org>
12745 * descr-text.el (describe-char-padded-string): Compose with TAB
12746 only if there's a font for CH.
12747 (describe-char): Fix the condition for detecting a trivial composition.
12749 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12751 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12752 more accurate version of the regexp. (Bug#3910)
12754 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12756 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12758 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12760 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12761 (font-setting-change-default-font): Fix typo in docstring.
12763 2009-11-18 Alan Mackenzie <acm@muc.de>
12765 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12767 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12769 * font-setting.el (font-use-system-font): Move ...
12771 * cus-start.el (all): ... to here.
12773 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12775 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12776 Don't set `ad-return-value' if `ad-do-it' doesn't.
12778 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12781 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12783 * menu-bar.el: Put "Use system font" in Option-menu.
12784 (menu-bar-options-save): Add font-use-system-font.
12786 * loadup.el: If feature system-font-setting or font-render-setting is
12787 there, load font-setting.
12789 * Makefile.in (ELCFILES): Add font-settings.el.
12790 * font-setting.el: New file.
12792 2009-11-17 Glenn Morris <rgm@gnu.org>
12794 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12796 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12797 Preserve point in the list buffer. (Bug#4939)
12799 (newsticker--treeview-list-update-highlight)
12800 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12802 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12804 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12807 * calc/calc-ext.el (calc-init-extensions): Remove references to
12810 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12812 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12813 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12816 2009-11-16 Kevin Ryde <user42@zip.com.au>
12818 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12819 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12821 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12822 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12823 Ignore trailing spaces by omit-nulls to split-string (fixing
12824 regression from Emacs 21 due to the incompatible split-string
12825 change). (Bug #4928.)
12827 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12829 * vc.el (vc-log-show-limit): Default to 2000.
12830 (vc-print-log-internal): Insert buttons to request more entries
12831 when limiting the output.
12833 * vc-sccs.el (vc-sccs-print-log):
12834 * vc-rcs.el (vc-rcs-print-log):
12835 * vc-cvs.el (vc-cvs-print-log):
12836 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12839 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12841 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12842 error when `tramp-gvfs-dbus-event-vector' is set.
12843 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12845 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12847 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12849 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12851 * net/dbus.el (dbus-unregister-service): New defun.
12852 (dbus-register-property): Register the handlers of
12853 "org.freedesktop.DBus.Properties" for SERVICE.
12854 (dbus-property-handler): Fix docstring.
12856 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12858 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12859 Quote doc string reference in defvaralias as it is not in special form.
12860 (byte-compile-output-docform): Doc fix.
12862 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12864 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12865 (calc-complement-signed-mode): New variables.
12866 (calc-set-mode-line): Add indicator for twos-complements.
12867 (math-format-number): Format twos-complement notation.
12869 * calc/calc-bin.el (calc-word-size): Reset the variables
12870 `math-2-word-size' and `math-half-2-word-size'.
12871 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12872 (calc-symclip): New functions.
12874 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12876 * calc/calc-embed.el (calc-embedded-mode-vars):
12877 Add `calc-complement-signed-mode' to the list of modes.
12879 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12880 (calc-b-oper-keys): Add `calc-symclip' to list.
12882 * calc/calc-ext.el (math-read-number-fancy): Read complement
12884 (calc-init-extensions): Add binding for `calc-symclip'.
12885 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12887 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12889 (calc-modes-menu): Add item for twos complement mode.
12891 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12893 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12895 * register.el (jump-to-register, insert-register): Handle Semantic
12896 tags. From commented-out advice in semantic/senator.el.
12898 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12900 * vc.el (vc-log-show-limit): New variable.
12901 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12902 when using a prefix argument.
12903 (vc-print-log-internal): Add new argument LIMIT.
12905 * vc-svn.el (vc-svn-print-log):
12906 * vc-mtn.el (vc-mtn-print-log):
12907 * vc-hg.el (vc-hg-print-log):
12908 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12909 pass it to the log command when set. Make the BUFFER argument
12912 * vc-sccs.el (vc-sccs-print-log):
12913 * vc-rcs.el (vc-rcs-print-log):
12914 * vc-git.el (vc-git-print-log):
12915 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12916 ignore it. Make the BUFFER argument non-optional
12918 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12920 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12922 * dired.el (dired-mode-map): Move encryption items to "Operate"
12925 * strokes.el (strokes-update-window-configuration): Make strokes
12926 buffer current before erasing (Bug#4906).
12928 2009-11-15 Juri Linkov <juri@jurta.org>
12930 * simple.el (set-mark-default-inactive): Add :type, :group
12931 and :version. (Bug#4876)
12933 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12935 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12936 (archive-unique-fname): ... here. (Bug#4929)
12938 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12940 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12943 * novice.el (disabled-command-function): Add useful args.
12944 Setup the help buffer so that [back] works.
12945 Remove redundant call to help-mode.
12946 (disabled-command-function): Use `case'.
12947 (en/disable-command): New function extracted from enable-command.
12948 (enable-command, disable-command): Use it.
12950 2009-11-14 Glenn Morris <rgm@gnu.org>
12952 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12953 constants. (Bug#4913)
12955 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12957 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12959 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12960 defined in C that have no doc-strings. (Bug#1063)
12962 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12964 * cus-edit.el (data, files):
12965 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12967 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12969 * simple.el (shell-command): Doc fix (Bug#4891).
12971 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12973 2009-11-14 Glenn Morris <rgm@gnu.org>
12975 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12976 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12977 If they are already loaded, eval-after-load will do the right thing.
12979 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12982 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12984 * simple.el (x-selection-owner-p): Declare.
12985 (read-mail-command): Use custom radio type rather than choice.
12986 (completion-no-auto-exit): Doc fix.
12988 * custom.el (defgroup):
12989 * epg-config.el (epg): Doc fixes.
12991 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12993 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12994 * international/ccl.el (define-ccl-program): Do not purecopy the
12995 docstring, defconst does it anyway.
12997 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12999 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13002 * x-dnd.el (x-dnd-maybe-call-test-function):
13003 * window.el (split-window-vertically):
13004 * whitespace.el (whitespace-help-on):
13005 * vc-rcs.el (vc-rcs-consult-headers):
13006 * userlock.el (ask-user-about-lock-help)
13007 (ask-user-about-supersession-help):
13008 * type-break.el (type-break-force-mode-line-update):
13009 * time-stamp.el (time-stamp-conv-warn):
13010 * terminal.el (te-set-output-log, te-more-break, te-filter)
13011 (te-sentinel, terminal-emulator):
13012 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13013 (term-write-input-ring, term-check-source, term-start-output-log):
13014 (term-display-buffer-line, term-dynamic-list-completions):
13015 (term-ansi-make-term, serial-term):
13016 * subr.el (selective-display):
13017 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13018 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13019 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13020 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13021 (speedbar-remove-localized-speedbar-support)
13022 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13023 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13024 (speedbar-buffers-line-directory):
13025 * simple.el (shell-command-on-region, append-to-buffer)
13026 (prepend-to-buffer):
13027 * shadowfile.el (shadow-save-todo-file):
13028 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13029 (scroll-bar-maybe-set-window-start):
13030 * sb-image.el (speedbar-image-dump):
13031 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13032 (load-save-place-alist-from-file):
13033 * ps-samp.el (ps-print-message-from-summary):
13034 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13035 (ps-background-image, ps-begin-job, ps-do-despool):
13036 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13037 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13038 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13039 (pr-call-process, pr-file-list, pr-interface-save):
13040 * novice.el (disabled-command-function)
13041 (enable-command, disable-command):
13042 * mouse.el (mouse-buffer-menu-alist):
13043 * mouse-copy.el (mouse-kill-preserving-secondary):
13044 * macros.el (kbd-macro-query):
13045 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13046 * informat.el (batch-info-validate):
13047 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13048 * hippie-exp.el (try-expand-dabbrev-visible):
13049 * help-mode.el (help-make-xrefs):
13050 * help-fns.el (describe-variable):
13051 * generic-x.el (bat-generic-mode-run-as-comint):
13052 * finder.el (finder-mouse-select):
13053 * find-dired.el (find-dired-sentinel):
13054 * filesets.el (filesets-file-close):
13055 * files.el (list-directory):
13056 * faces.el (list-faces-display, describe-face):
13057 * facemenu.el (list-colors-display):
13058 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13059 * epg.el (epg--process-filter, epg-cancel):
13060 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13061 (epa--read-signature-type):
13062 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13063 (emerge-file-names):
13064 * ehelp.el (electric-helpify):
13065 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13066 * ediff-vers.el (rcs-ediff-view-revision):
13067 * ediff-util.el (ediff-setup):
13068 * ediff-mult.el (ediff-append-custom-diff):
13069 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13071 * echistory.el (Electric-command-history-redo-expression):
13072 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13073 * disp-table.el (describe-display-table):
13074 * dired.el (dired-find-buffer-nocreate):
13075 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13076 * dabbrev.el (dabbrev--same-major-mode-p):
13077 * chistory.el (list-command-history):
13078 * apropos.el (apropos-documentation):
13079 * allout.el (allout-obtain-passphrase):
13080 (allout-copy-exposed-to-buffer):
13081 (allout-verify-passphrase): Use with-current-buffer.
13083 2009-11-13 Glenn Morris <rgm@gnu.org>
13085 * Makefile.in (ELCFILES): Regenerate.
13087 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13089 * net/dbus.el (dbus-registered-objects-table): Rename from
13090 `dbus-registered-functions-table', because it contains also properties.
13091 (dbus-unregister-object): Unregister also properties.
13092 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13093 Use a timeout of 500 msec, in order to not block.
13094 (dbus-register-property, dbus-property-handler): New defuns.
13096 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13098 * simple.el (minibuffer-default-add-completions): Drop deprecated
13101 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13103 * textmodes/artist.el (artist-mouse-choose-operation):
13104 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13105 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13106 (artist-compute-up-event-key): New function.
13107 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13109 2009-11-13 Kenichi Handa <handa@m17n.org>
13111 * language/japan-util.el: Make sure that the value of jisx0208
13112 property is jisx0208 character.
13114 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13116 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13117 car or each item, not the whole list.
13119 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13121 * minibuffer.el (minibuffer-completion-help):
13122 Use minibuffer-hide-completions.
13124 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13126 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13127 (dired-revert): Use them (bug#4880).
13129 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13131 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13133 2009-11-12 Juri Linkov <juri@jurta.org>
13135 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13137 (find-file-literally-at-point): Alias of `ffap-literally'.
13139 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13141 * textmodes/ispell.el (ispell-skip-region-alist):
13142 * textmodes/css-mode.el (auto-mode-alist):
13143 * progmodes/compile.el (auto-mode-alist):
13144 * international/mule.el (ctext-non-standard-encodings-alist)
13145 (ctext-non-standard-encodings-regexp):
13146 * simple.el (shell-command-switch, text-read-only):
13147 * replace.el (occur-mode-map):
13148 * paths.el (rmail-file-name):
13149 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13150 * find-file.el (ff-special-constructs):
13151 * files.el (file-name-handler-alist):
13152 * composite.el: Purecopy strings.
13154 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13156 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13158 * widget.el (define-widget): Purecopy the docstring.
13159 * international/mule-cmds.el (charset): Do not purecopy the
13160 docstring here, define-widget does it.
13162 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13163 * textmodes/bibtex-style.el (auto-mode-alist):
13164 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13165 * progmodes/compile.el (compile-command):
13166 * language/korea-util.el (default-korean-keyboard):
13167 * international/mule-conf.el (file-coding-system-alist):
13168 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13169 * tooltip.el (tooltip-frame-parameters):
13170 * newcomment.el (comment-end, comment-padding):
13171 * dired.el (dired-trivial-filenames):
13172 * comint.el (comint-file-name-prefix): Purecopy initial values.
13174 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13176 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13177 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13179 (tramp-advice-make-auto-save-file-name)
13180 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13181 after removing the advice.
13183 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13185 * progmodes/grep.el (grep-regexp-alist):
13186 * international/mule-cmds.el (iso-2022-control-alist):
13187 * emacs-lisp/timer.el (timer-duration-words):
13188 * subr.el (version-separator, version-regexp-alist):
13189 * minibuffer.el (completion-styles-alist):
13190 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13191 Change defvars to defconsts.
13193 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13194 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13195 * international/mule-conf.el: Allow to be byte compiled.
13197 * international/mule.el (define-charset): Purecopy props.
13198 (load-with-code-conversion): Purecopy doc string and file name.
13199 (put-charset-property): Purecopy strings.
13200 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13202 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13203 (define-char-code-property): Correctly purecopy the table.
13205 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13207 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13209 * subr.el (add-hook): Purecopy strings.
13210 (eval-after-load): Purecopy load-history-regexp and the form.
13212 * custom.el (custom-declare-group): Purecopy load-file-name.
13214 * subr.el (menu-bar-separator): New defconst.
13215 * net/eudc.el (eudc-tools-menu):
13216 * international/mule-cmds.el (set-coding-system-map)
13217 (mule-menu-keymap):
13218 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13219 * vc-hooks.el (vc-menu-map):
13220 * replace.el (occur-mode-map):
13221 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13222 (menu-bar-edit-menu, menu-bar-goto-menu)
13223 (menu-bar-custom-menu, menu-bar-showhide-menu)
13224 (menu-bar-options-menu, menu-bar-tools-menu)
13225 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13226 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13227 (menu-bar-help-menu):
13228 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13229 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13231 * term/x-win.el (x-gtk-stock-map):
13232 * progmodes/vera-mode.el (auto-mode-alist):
13233 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13234 (inferior-lisp-program, inferior-lisp-load-command):
13235 * progmodes/hideshow.el (hs-special-modes-alist):
13236 * progmodes/gud.el (same-window-regexps):
13237 * progmodes/grep.el (grep-program, find-program, xargs-program):
13238 * net/telnet.el (same-window-regexps):
13239 * net/rlogin.el (same-window-regexps):
13240 * language/ethiopic.el (font-ccl-encoder-alist):
13241 * vc-sccs.el (vc-sccs-master-templates):
13242 * vc-rcs.el (vc-rcs-master-templates):
13243 * subr.el (cl-assertion-failed):
13244 * simple.el (next-error-overlay-arrow-position):
13245 * lpr.el (lpr-command):
13246 * locate.el (locate-ls-subdir-switches):
13247 * info.el (same-window-regexps, info)
13248 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13249 * image-mode.el (image-mode, auto-mode-alist):
13250 * hippie-exp.el (hippie-expand-ignore-buffers):
13251 * format.el (format-alist):
13252 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13254 * facemenu.el (facemenu-keybindings):
13255 * dired.el (dired-listing-switches, dired-chown-program):
13256 * diff.el (diff-switches, diff-command):
13257 * cus-edit.el (same-window-regexps):
13258 * bindings.el (mode-line-mule-info)
13259 (mode-line-buffer-identification): Purecopy strings.
13261 2009-11-11 Juri Linkov <juri@jurta.org>
13263 * simple.el (dired-get-filename) <declare-function>:
13264 Tell the byte-compiler about dired-get-filename.
13265 (shell-command): In Dired mode, get filename from the current line
13266 as the default value.
13268 2009-11-10 Glenn Morris <rgm@gnu.org>
13270 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13271 * calendar/holidays.el, progmodes/cperl-mode.el:
13272 Update x-popup-menu declarations.
13274 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13275 (list-load-path-shadows): Use dolist.
13276 (list-load-path-shadows): Use with-current-buffer.
13278 2009-11-10 Juri Linkov <juri@jurta.org>
13280 * minibuffer.el (read-file-name): Support a list of default values
13281 in `default-filename'. Use the first file name where only one
13282 element is required. Doc fix.
13284 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13286 * net/dbus.el (dbus-unregister-object): Release service, if no
13287 other method is registered for it.
13289 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13291 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13292 bookmark-sort-flag is non-nil (Bug#4653).
13294 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13296 * emulation/cua-base.el: Add CUA property to some CC mode commands
13299 2009-11-08 Kevin Ryde <user42@zip.com.au>
13301 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13302 at end of sentence (Bug#4818).
13304 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13306 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13307 Handle "see declaration of" MSFT statements (Bug#4100).
13309 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13311 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13312 (tramp-advice-file-expand-wildcards): Unload via
13313 `ad-remove-advice'.
13315 * net/trampver.el: Update release number.
13317 2009-11-08 Kevin Ryde <user42@zip.com.au>
13319 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13322 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13324 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13325 in order to keep context in SELinux.
13327 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13329 * dired-aux.el (dired-query): Place cursor in echo area and allow
13332 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13333 menu item if not on a directory (Bug#4701).
13335 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13337 Sync with Tramp 2.1.17.
13339 * net/tramp.el (tramp-handle-copy-directory): Don't use
13340 `file-remote-p' (due to compatibility).
13342 * net/tramp-compat.el (tramp-compat-copy-directory)
13343 (tramp-compat-delete-directory): New defuns.
13345 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13346 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13347 Use `tramp-compat-delete-directory'.
13349 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13350 (tramp-smb-handle-delete-directory):
13351 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13353 * net/trampver.el: Update release number.
13355 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13357 * tar-mode.el (tar-copy): Call write-region on the right buffer
13360 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13361 by hand, if necessary (Bug#4878).
13363 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13365 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13366 align size column (Bug#4839).
13368 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13371 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13373 * progmodes/ld-script.el (auto-mode-alist):
13374 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13376 * cus-face.el (custom-declare-face): Purecopy face spec.
13378 2009-11-06 Kenichi Handa <handa@m17n.org>
13380 * international/uni-bidi.el: Re-generated.
13381 * international/uni-category.el: Re-generated.
13382 * international/uni-combining.el: Re-generated.
13383 * international/uni-mirrored.el: Re-generated.
13385 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13387 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13388 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13389 (tex-start-options, slitex-run-command, latex-run-command)
13390 (tex-run-command, tex-directory):
13391 * textmodes/ispell.el (ispell-html-skip-alists)
13392 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13393 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13394 (adaptive-fill-regexp):
13395 * textmodes/dns-mode.el (auto-mode-alist):
13396 * progmodes/python.el (interpreter-mode-alist):
13397 * progmodes/etags.el (tags-compression-info-list):
13398 * progmodes/etags.el (tags-file-name):
13399 * net/browse-url.el (browse-url-galeon-program)
13400 (browse-url-firefox-program):
13401 * mail/sendmail.el (mail-signature-file)
13402 (mail-citation-prefix-regexp):
13403 * international/mule-conf.el (eight-bit):
13404 * international/latexenc.el (latex-inputenc-coding-alist):
13405 * international/fontset.el (x-pixel-size-width-font-regexp):
13406 * emacs-lisp/warnings.el (warning-type-format):
13407 * emacs-lisp/trace.el (trace-buffer):
13408 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13409 (emacs-lisp-mode-map):
13410 * calendar/holidays.el (holiday-solar-holidays)
13411 (holiday-bahai-holidays, holiday-islamic-holidays)
13412 (holiday-christian-holidays, holiday-hebrew-holidays)
13413 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13414 (hebrew-holidays-1, holiday-oriental-holidays)
13415 (holiday-general-holidays):
13416 * x-dnd.el (x-dnd-known-types):
13417 * tool-bar.el (tool-bar):
13418 * startup.el (site-run-file):
13419 * shell.el (shell-dumb-shell-regexp):
13420 * rfn-eshadow.el (file-name-shadow-tty-properties)
13421 (file-name-shadow-properties):
13422 * paths.el (remote-shell-program, news-directory):
13423 * mouse.el ([C-down-mouse-3]):
13424 * menu-bar.el (menu-bar-tools-menu):
13425 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13426 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13427 (jka-compr-compression-info-list):
13428 * isearch.el (search-whitespace-regexp):
13429 * image-file.el (image-file-name-extensions):
13430 * find-dired.el (find-ls-option):
13431 * files.el (directory-listing-before-filename-regexp)
13432 (directory-free-space-args, insert-directory-program)
13433 (list-directory-brief-switches, magic-fallback-mode-alist)
13434 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13435 (automount-dir-prefix):
13436 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13437 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13438 (face-font-registry-alternatives, face-font-registry-alternatives)
13439 (face-font-family-alternatives):
13440 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13441 (facemenu-foreground-menu, facemenu-face-menu):
13442 * epa-hook.el (epa-file-name-regexp):
13443 * dnd.el (dnd-protocol-alist):
13444 * textmodes/rst.el (auto-mode-alist):
13445 * button.el (default-button): Purecopy strings.
13447 2009-11-06 Glenn Morris <rgm@gnu.org>
13449 * Makefile.in (ELCFILES): Update.
13451 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13453 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13454 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13456 * nxml/xsd-regexp.el (xsdre-gen-categories):
13457 * nxml/xmltok.el (xmltok-parse-entity):
13458 * nxml/rng-parse.el (rng-parse-validate-file):
13459 * nxml/rng-maint.el (rng-format-manual)
13460 (rng-manual-output-force-new-line):
13461 * nxml/rng-loc.el (rng-save-schema-location-1):
13462 * nxml/rng-cmpct.el (rng-c-parse-file):
13463 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13464 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13466 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13468 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13469 Remove extra save-excursions and make-variable-buffer-local's.
13470 Suggested by Stefan Monnier.
13472 (verilog-getopt-file, verilog-module-inside-filename-p)
13473 (verilog-set-define): Merge GNU 1.35 and repair changes from
13474 switching to using with-current-buffer.
13476 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13477 being treated as a number and confusing AUTORESET.
13478 Reported by Dan Dever.
13480 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13481 Add verilog-auto-ignore-concat to fix backward compatibility with
13482 older verilog-modes. Reported by Dan Katz.
13484 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13485 containing closing anchors "...$".
13487 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13488 Reported by Wade Smith.
13490 (verilog-batch-execute-func): Comment on function usage.
13492 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13494 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13497 (verilog-label-re, verilog-calc-1): Support proper indent of named
13500 (verilog-backward-token, verilog-basic-complete-re)
13501 (verilog-beg-of-statement, verilog-indent-re): Support proper
13502 indent of the assert statement at the beginning of a block of text.
13504 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13505 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13508 2009-11-05 Glenn Morris <rgm@gnu.org>
13510 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13511 Emacs 19. (Bug#1531)
13512 (byte-compile-fix-header): Update for the above change.
13513 Drop test for epoch::version.
13515 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13516 * cus-dep.el (custom-make-dependencies):
13517 * finder.el (finder-compile-keywords):
13518 Use autoload-rubric's feature argument.
13520 * calendar/diary-lib.el (top-level): Make load behave more like require.
13522 * vc-git.el (vc-git-stash-map): Move definition before use.
13524 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13526 * custom.el (custom-declare-group): Purecopy standard-value.
13527 (custom-declare-group): Purecopy custom-prefix.
13529 * international/mule.el (load-with-code-conversion):
13530 Call do-after-load-evaluation unconditionally.
13532 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13534 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13536 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13538 2009-11-04 Glenn Morris <rgm@gnu.org>
13540 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13541 (byte-compile-compatibility): Remove option.
13542 (byte-compile-close-variables, byte-compile-fix-header)
13543 (byte-compile-insert-header, byte-compile-output-docform)
13544 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13545 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13546 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13547 (byte-compile-insert, byte-compile-defun):
13548 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13549 (byte-defop-compiler19): Remove.
13550 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13551 used by anything. Replace all calls with byte-defop-compiler.
13553 2009-11-04 Juri Linkov <juri@jurta.org>
13555 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13556 (menu-bar-options-menu): Don't quote the `prop' arg of
13557 `menu-bar-make-mm-toggle'.
13559 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13561 * calendar/calendar.el (cal-loaddefs):
13562 * calendar/diary-lib.el (diary-loaddefs):
13563 * calendar/holidays.el (hol-loaddefs):
13564 * eshell/esh-module.el (esh-groups): Load rather than require.
13566 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13568 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13570 (todo-top-priorities): Only display-buffer when called interactively.
13571 (todo-item-start): Don't save excursion point.
13572 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13573 (todo-insert-item-here, todo-file-item, todo-remove-item):
13574 Adjust uses of todo-item-start and todo-item-end.
13576 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13577 (autoload-rubric): Don't use any more.
13579 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13580 and only put a prop if it is non-nil.
13582 2009-11-03 Juri Linkov <juri@jurta.org>
13584 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13585 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13587 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13588 and "Menu" to make top-level menu item visually one unit (like
13589 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13590 multi-word menu items). Fix :help string for quit-window.
13592 2009-11-03 Glenn Morris <rgm@gnu.org>
13594 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13595 (byte-compile-file-form-define-abbrev-table)
13596 (byte-compile-file-form-custom-declare-variable)
13597 (byte-compile-variable-ref, byte-compile-defvar):
13598 Whether or not a warning is enabled should only affect whether we issue
13599 the warning, not whether or not we collect the relevant data.
13600 Eg warnings can be turned on and off throughout the course of a file.
13602 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13603 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13605 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13607 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13608 * play/mpuz.el (mpuz-create-buffer):
13609 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13610 (lm-print-y,s,noise, lm-print-w0, lm-init):
13611 * play/gomoku.el (gomoku-prompt-for-move):
13612 * play/fortune.el (fortune-in-buffer):
13613 * play/dissociate.el (dissociated-press):
13614 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13615 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13616 * mail/supercite.el (sc-eref-show):
13617 * mail/smtpmail.el (smtpmail-send-it):
13618 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13619 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13620 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13621 (rmail-summary-goto-msg, rmail-summary-expunge)
13622 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13623 (rmail-summary-add-label, rmail-summary-output-menu)
13624 (rmail-summary-output-body):
13625 * mail/rfc822.el (rfc822-addresses):
13626 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13627 * mail/mailpost.el (post-mail-send-it):
13628 * mail/hashcash.el (hashcash-generate-payment):
13629 * mail/feedmail.el (feedmail-run-the-queue)
13630 (feedmail-queue-send-edit-prompt-help-first)
13631 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13632 (feedmail-deduce-address-list):
13633 * eshell/esh-ext.el (eshell-remote-command):
13634 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13635 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13636 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13637 (viper-save-string-in-file, viper-valid-marker):
13638 * emulation/viper-keym.el (viper-toggle-key):
13639 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13640 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13641 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13642 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13643 (viper-exec-form-in-emacs, viper-brac-function):
13644 * emulation/viper.el (viper-delocalize-var):
13645 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13646 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13647 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13648 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13649 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13650 * emulation/edt.el (edt-electric-helpify):
13651 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13652 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13653 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13654 (cua-indent-to-global-mark-column):
13655 * calendar/diary-lib.el (calendar-mark-1):
13656 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13657 Use with-current-buffer.
13658 * emulation/viper.el (viper-delocalize-var): Use dolist.
13660 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13662 * comint.el (comint-replace-by-expanded-history-before-point):
13663 Replace !! with the previous input string literally (Bug#1795).
13665 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13667 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13668 to be made up of whitespace.
13670 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13672 * minibuffer.el (read-file-name): Don't use file dialogs for
13673 remote directories (Bug#99).
13675 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13677 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13679 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13681 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13682 instead of deleting the window or frame.
13684 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13686 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13687 Support face colors.
13689 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13690 New function. Support face colors (Bug#1168).
13691 (tex-common-initialization): Use it.
13693 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13694 mode allows it (Bug#1168).
13696 2009-10-31 Juri Linkov <juri@jurta.org>
13698 * facemenu.el (list-colors-display): Don't mark buffer as
13699 modified (Bug#3948).
13701 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13703 * international/mule-diag.el (list-character-sets-1):
13704 Minor message fix (Bug#3526).
13706 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13707 Fix face property (Bug#4834).
13708 (etags-list-tags, etags-tags-apropos-additional)
13709 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13712 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13715 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13717 * textmodes/two-column.el (2C-split):
13718 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13719 * textmodes/tex-mode.el (tex-set-buffer-directory):
13720 * textmodes/spell.el (spell-region, spell-string):
13721 * textmodes/reftex.el (reftex-erase-buffer):
13722 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13723 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13724 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13725 (reftex-select-item):
13726 * textmodes/reftex-ref.el (reftex-label-info-update)
13727 (reftex-offer-label-menu):
13728 * textmodes/reftex-index.el (reftex-index-change-entry)
13729 (reftex-index-phrases-info):
13730 * textmodes/reftex-global.el (reftex-create-tags-file)
13731 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13732 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13733 (reftex-view-crossref-from-bibtex):
13734 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13735 (reftex-extract-bib-entries-from-thebibliography)
13736 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13737 * textmodes/refbib.el (r2b-capitalize-title):
13738 (r2b-convert-buffer, r2b-help):
13739 * textmodes/page-ext.el (pages-directory)
13740 (pages-directory-goto-with-mouse):
13741 * textmodes/bibtex.el (bibtex-validate-globally):
13742 * textmodes/bib-mode.el (bib-capitalize-title):
13743 * textmodes/artist.el (artist-clear-buffer, artist-system):
13744 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13745 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13746 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13747 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13748 (xscheme-send-control-g-interrupt, xscheme-start-process)
13749 (xscheme-process-sentinel, xscheme-cd):
13750 * progmodes/verilog-mode.el (verilog-read-always-signals)
13751 (verilog-set-define, verilog-getopt-file)
13752 (verilog-module-inside-filename-p):
13753 * progmodes/sh-script.el:
13754 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13755 (python-pdbtrack-grub-for-buffer, python-execute-file):
13756 * progmodes/octave-inf.el (inferior-octave):
13757 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13758 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13759 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13760 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13761 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13762 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13763 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13764 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13765 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13766 (idlwave-shell-examine-display, idlwave-shell-run-region)
13767 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13768 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13769 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13770 (idlwave-help-get-help-buffer):
13771 * progmodes/gud.el (gud-basic-call, gud-find-class)
13772 (gud-tooltip-activate-mouse-motions-if-enabled):
13773 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13774 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13775 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13776 (ebrowse-tags-next-file):
13777 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13778 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13779 (ebnf-eps-finish-and-write):
13780 * progmodes/cpp.el (cpp-edit-save):
13781 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13782 * progmodes/cc-defs.el (c-emacs-features):
13783 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13784 (antlr-directory-dependencies):
13785 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13786 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13787 (ada-find-any-references, ada-make-filename-from-adaname)
13788 (ada-make-body-gnatstub):
13789 * obsolete/rnews.el (news-list-news-groups):
13790 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13791 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13792 * net/rcirc.el (rcirc-debug):
13793 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13794 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13795 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13796 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13797 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13798 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13799 (newsticker--treeview-list-clear-highlight)
13800 (newsticker--treeview-list-update-highlight)
13801 (newsticker--treeview-list-highlight-start)
13802 (newsticker--treeview-tree-update-highlight)
13803 (newsticker--treeview-get-selected-item)
13804 (newsticker-treeview-mark-list-items-old)
13805 (newsticker--treeview-set-current-node):
13806 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13807 * net/newst-backend.el (newsticker--get-news-by-funcall)
13808 (newsticker--get-news-by-wget, newsticker--image-get)
13809 (newsticker--image-sentinel):
13810 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13811 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13812 (eudc-ph-close-session):
13813 * net/eudc.el (eudc-save-options):
13814 * language/thai-word.el (thai-update-word-table):
13815 * language/japan-util.el (japanese-string-conversion):
13816 * international/titdic-cnv.el (tsang-quick-converter)
13817 (ziranma-converter, ctlau-converter):
13818 * international/mule-cmds.el (describe-language-environment):
13819 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13820 (skkdic-convert-postfix, skkdic-convert-prefix):
13821 (skkdic-convert-okuri-nasi, skkdic-convert):
13822 * emacs-lisp/re-builder.el (reb-update-overlays):
13823 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13824 * emacs-lisp/gulp.el (gulp-send-requests):
13825 * emacs-lisp/find-gc.el (trace-call-tree):
13826 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13827 (eieio-describe-generic):
13828 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13829 * emacs-lisp/edebug.el (edebug-outside-excursion):
13830 * emacs-lisp/debug.el (debugger-make-xrefs):
13831 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13832 * emacs-lisp/chart.el (chart-new-buffer):
13833 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13834 Use with-current-buffer.
13835 * textmodes/artist.el (artist-system): Don't call
13836 copy-sequence on a fresh string.
13837 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13839 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13841 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13842 is no item to edit. (Bug#4820)
13843 (todo-top-priorities): Restore point and restore narrowing in Todo
13846 2009-10-31 Glenn Morris <rgm@gnu.org>
13848 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13849 (comint-last-output-start, comint-last-input-start)
13850 (comint-last-input-end): Don't defvar when compiling.
13851 (ange-ftp-process-file): Use bound-and-true-p.
13853 * pcmpl-rpm.el (top-level): Move provide statement to end.
13854 (pcmpl-rpm): Remove unused custom group.
13856 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13858 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13860 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13861 (byte-compile-warnings): Add `constants' as an option.
13862 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13863 (display-call-tree): Update for byte-compile-fdefinition possibly
13864 returning `(macro lambda ...)'. (Bug#4778)
13865 (byte-compile-variable-ref, byte-compile-setq-default):
13866 Respect `constants' member of byte-compile-warnings.
13868 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13870 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13871 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13874 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13876 * textmodes/ispell.el (ispell-skip-region-alist):
13877 * international/mule-conf.el (eight-bit):
13878 * international/fontset.el (font-encoding-alist):
13879 * startup.el (pure-space-overflow-message):
13880 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13881 * paths.el (gnus-nntp-service, rmail-spool-directory)
13882 (term-file-prefix):
13883 * files.el (save-some-buffers-action-alist):
13884 * cmuscheme.el (same-window-buffer-names):
13885 * ielm.el (same-window-buffer-names):
13886 * shell.el (same-window-buffer-names):
13887 * mail/sendmail.el (same-window-buffer-names):
13888 * progmodes/inf-lisp.el (same-window-buffer-names):
13889 * bindings.el (mode-line-client)
13890 (mode-line-column-line-number-mode-map):
13891 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13892 (tibetan-precomposed-regexp): Purecopy string arguments.
13894 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13896 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13897 (calcDigit-nondigit):
13898 * calc/calc-yank.el (calc-copy-to-buffer):
13899 * calc/calc-units.el (calc-invalidate-units-table):
13900 * calc/calc-trail.el (calc-trail-yank):
13901 * calc/calc-store.el (calc-insert-variables):
13902 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13903 * calc/calc-prog.el (calc-read-parse-table):
13904 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13905 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13906 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13907 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13908 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13909 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13910 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13911 * calc/calc-ext.el (calc-realign):
13912 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13913 (calc-embedded-finish-edit, calc-embedded-make-info)
13914 (calc-embedded-finish-command, calc-embedded-stack-change):
13915 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13917 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13918 shell-dynamic-complete-filename in preference to
13919 comint-dynamic-complete-filename.
13921 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13922 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13923 Don't consider whether the display supports colors.
13924 (bookmark-import-new-list): Use dolist.
13925 (bookmark-bmenu-mode-map): Move initialization into declaration.
13926 (bookmark-bmenu-list): Use dolist, simplify.
13927 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13928 (menu-bar-final-items): Use push.
13930 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13932 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13933 it works on remote files.
13934 (vc-hg-diff): Don't pass any `--cwd' argument.
13936 2009-10-27 Kevin Ryde <user42@zip.com.au>
13938 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13939 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13940 (Further to Bug#3921).
13942 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13944 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13945 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13946 calling `tramp-imap-put-file'. Add file size to the call.
13947 (tramp-imap-get-file-entries): Compute also user name, file size,
13949 (tramp-imap-handle-insert-directory): Insert uid and gid.
13950 (tramp-imap-handle-file-attributes): Transform uid and gid
13951 according to `id-format'.
13952 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13953 size in header X-Size.
13955 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13957 * simple.el (transpose-subr): Give clearer error when the mark
13958 is not set. (Bug#4807)
13960 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13962 * net/tramp.el (tramp-perl-file-truename): New defconst.
13963 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13964 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13965 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13966 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13968 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13969 Ignore `dired-call-process'.
13970 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13972 2009-10-26 Julian Scheid <julians37@gmail.com>
13974 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13975 (tramp-get-remote-readlink): New defun.
13976 (tramp-handle-file-truename): Use it.
13977 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13978 file exists if cache value present.
13979 (tramp-check-cached-permissions): New defun.
13980 (tramp-handle-file-readable-p): Use it.
13981 (tramp-handle-file-writable-p): Likewise.
13982 (tramp-handle-file-executable-p): Likewise.
13983 (tramp-handle-file-name-all-completions): Try using Perl to get
13984 partial completions. When perl not available, combine `cd' and
13985 `ls' into single remote operation and use shell expansion to get
13986 partial remote directory contents. Set `file-exists-p' cache for
13987 directory and any files returned by ls. Change cache handling to
13988 support partial directory contents. Use error message emitted by
13989 remote `cd' or Perl code for local tramp-error.
13990 (tramp-do-copy-or-rename-file-directly): Avoid separate
13991 tramp-send-command-and-check call.
13992 (tramp-handle-process-file): Merge three remote ops into one.
13993 Do not flush all caches when `process-file-side-effects' is set.
13994 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13995 file-attributes shows uid/gid to be set already.
13997 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13999 * textmodes/tex-mode.el (tex-dvi-view-command)
14000 (tex-show-queue-command, tex-open-quote):
14001 * progmodes/ruby-mode.el (auto-mode-alist)
14002 (interpreter-mode-alist): Purecopy strings.
14004 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14006 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14007 string for the hook, keymap and abbrev table.
14009 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14011 * x-dnd.el (x-dnd-xdnd-to-action):
14012 * startup.el (fancy-startup-text, fancy-about-text): Change to
14013 defconst from defvar.
14015 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14017 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14018 Purecopy initialization strings.
14020 * mail/sendmail.el (mail-header-separator)
14021 (mail-personal-alias-file):
14022 * mail/rmail.el (rmail-default-dont-reply-to-names)
14023 (rmail-ignored-headers, rmail-retry-ignored-headers)
14024 (rmail-highlighted-headers, rmail-secondary-file-directory)
14025 (rmail-secondary-file-regexp):
14026 * files.el (null-device, file-name-invalid-regexp)
14027 (locate-dominating-stop-dir-regexp)
14028 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14029 (interpreter-mode-alist): Use mapcar instead of mapc.
14031 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14033 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14034 (completion-ignored-extensions):
14035 (debug-ignored-errors): Purecopy strings.
14037 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14039 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14040 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14041 (pcomplete--here): Use push.
14043 * subr.el (all-completions): Declare the 4th arg obsolete.
14045 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14048 (pcomplete-unquote-argument): New function.
14049 (pcomplete--common-suffix): Always pay attention to case.
14050 (pcomplete--table-subvert): Quote and unquote the text.
14051 (pcomplete--common-quoted-suffix): New function.
14052 (pcomplete-std-complete): Use it and pcomplete-begin.
14054 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14055 we're inside a dedicated or minibuffer window.
14057 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14059 * bookmark.el: Update documentation, especially documentation
14060 of `bookmark-alist' and of the bookmark file format.
14061 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14063 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14065 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14066 keybindings apply to the mail buffer (Bug#4003). Shrink help
14069 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14070 (global-whitespace-mode, global-whitespace-newline-mode)
14071 (whitespace-toggle-options, global-whitespace-toggle-options):
14072 Doc fix (Bug#3660).
14074 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14075 of xmltok-start before the end tag was inserted (Bug#2840).
14077 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14078 patterns that are preceded by an open-paren (Bug#1320).
14080 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14082 * files.el (delete-directory): Delete symlinks to directories with
14083 delete-file (Bug#4739).
14085 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14087 * vc.el (vc-backend-for-registration): Rename from
14088 vc-get-backend-for-registration. Update callers.
14090 * international/mule-cmds.el (set-language-info-alist):
14092 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14093 (charset): Purecopy the name.
14094 (define-char-code-property): Purecopy string arguments.
14096 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14097 Purecopy string arguments.
14099 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14100 * ediff-hook.el (menu-bar-ediff-menu):
14101 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14102 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14104 2009-10-24 Glenn Morris <rgm@gnu.org>
14106 * comint.el (comint-dynamic-list-completions):
14107 * term.el (term-dynamic-list-completions): Use choose-completion rather
14108 than obsolete alias mouse-choose-completion.
14110 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14111 file-cache-choose-completion.
14112 (file-cache-choose-completion): Handle an optional event argument.
14113 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14115 * progmodes/octave-mod.el (octave-complete-symbol):
14116 Use choose-completion if mouse-choose-completion is ever removed.
14118 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14121 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14124 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14126 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14128 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14129 Ignore `pred' now that we receive one.
14130 Handle test-completion specially.
14132 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14134 * vc.el (vc-responsible-backend): Throw an error if not backend is
14135 found. Remove the REGISTER argument. Move the code dealing with
14137 (vc-get-backend-for-registration): ... here. New function.
14138 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14139 of vc-responsible-backend, pass the file name instead of the
14142 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14144 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14146 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14147 (pcomplete-comint-setup): Don't modify a global var via
14148 accidental side-effects.
14149 (pcomplete-shell-setup): Adjust call accordingly.
14150 (pcomplete-parse-comint-arguments): Use push.
14152 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14154 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14155 Allow uncapitalized info node names (Bug#3921).
14157 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14158 to the DEBUG file (Bug#3781).
14160 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14162 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14163 dictionary entry (Bug#4579).
14165 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14167 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14168 from `rfn-eshadow-update-overlay-hook' when unloading.
14169 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14170 "rsyncc". Adjust doc string.
14171 (tramp-temp-buffer-file-name): New buffer-local defvar.
14172 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14173 Keep temporary file when indicated by method ("rsync" and
14175 (tramp-handle-write-region): Handle APPEND.
14176 (tramp-delete-temp-file-function): New defun. Added to
14177 `kill-buffer-hook'.
14179 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14181 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14183 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14185 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14186 (color-name-rgb-alist, tty-standard-colors)
14187 (tty-color-mode-alist): Change to defconst.
14189 * simple.el (mark-inactive): Purecopy message.
14191 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14192 (global-map, yank-menu):
14193 * textmodes/ispell.el (ispell-menu-map):
14194 * net/eudc.el (eudc-tools-menu):
14195 * international/mule-cmds.el (describe-language-environment-map)
14196 (setup-language-environment-map, set-coding-system-map)
14197 (mule-menu-keymap):
14198 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14199 * replace.el (occur-mode-map):
14200 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14202 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14204 * calc/calc.el (math-read-number, math-read-number-simple):
14205 Use `save-match-data'.
14207 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14209 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14210 rather than fiddling with global-map bindings, since it should only
14211 affect per-terminal settings.
14212 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14214 * minibuffer.el (completion-table-with-terminator): Allow to specify
14215 the terminator-regexp.
14217 * simple.el (switch-to-completions): Look for *Completions* in other
14220 * pcomplete.el: Allow the use of completion-tables.
14221 (pcomplete-std-complete): New command.
14222 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14223 (pcomplete--here): Use a function for `form' rather than an expression,
14224 so it can be byte-compiled.
14225 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14226 Add edebug declaration.
14227 (pcomplete-show-completions): Remove unused var `curbuf'.
14228 (pcomplete-do-complete, pcomplete-stub):
14229 Don't assume `completions' is a list of strings any more.
14231 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14233 * find-dired.el (find-name-arg): Fix typo in docstring.
14235 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14237 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14238 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14240 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14243 * comint.el (comint-read-input-ring, comint-write-input-ring)
14244 (comint-substitute-in-file-name)
14245 (comint-dynamic-complete-as-filename)
14246 (comint-dynamic-simple-complete)
14247 (comint-dynamic-list-filename-completions)
14248 (comint-dynamic-list-completions)
14249 (comint-redirect-results-list-from-process): Minor simplifications.
14251 2009-10-21 Kevin Ryde <user42@zip.com.au>
14253 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14254 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14255 the first form. And insert a blank line after ";;; Code" since
14256 that's usual style. (Bug#4612)
14258 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14260 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14262 * minibuffer.el (completion-table-with-terminator): Properly implement
14263 boundaries, in case `terminator' appears in the suffix.
14264 (completion--embedded-envvar-table): Don't return boundaries if
14265 there's no valid completion. Simplify.
14266 (completion-file-name-table): New completion table extracted from
14267 completion--file-name-table.
14268 (completion--file-name-table): Use it.
14269 (read-file-name-predicate): Declare obsolete.
14270 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14271 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14272 completion-file-name-table, and use the `pred' argument.
14273 * files.el (locate-file-completion-table): Use the `pred' arg rather
14274 than read-file-name-predicate.
14275 (abbreviate-file-name): Use \` rather than ^ for BOS.
14277 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14279 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14280 vc-responsible-backend to register, it causes problems.
14282 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14284 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14286 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14288 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14289 (tramp-smb-handle-file-attributes): Use it.
14290 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14291 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14292 `mapcar'. Use `tramp-smb-get-stat-capability'.
14293 Add `dired-filename' text properties.
14294 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14295 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14298 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14300 * subr.el (read-key-delay): Reduce to 0.01.
14301 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14304 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14306 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14308 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14309 (Info-menu): Remove unused vars `last' and `completions'.
14310 (Info-index-nodes): Remove unused var `node'.
14312 * info.el (Info-complete-menu-item): Use complete-with-action.
14314 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14316 Make vc-annotate work through copies and renames.
14317 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14318 Return the file name too.
14319 (vc-annotate-revision-at-line)
14320 (vc-annotate-find-revision-at-line)
14321 (vc-annotate-revision-previous-to-line)
14322 (vc-annotate-show-log-revision-at-line): Update to get the file
14323 name from vc-annotate-extract-revision-at-line.
14324 (vc-annotate-show-diff-revision-at-line-internal): Change the
14325 argument to mean whether to show a file diff or not. Get the file
14326 name from vc-annotate-extract-revision-at-line.
14327 (vc-annotate-show-diff-revision-at-line):
14328 Update vc-annotate-show-diff-revision-at-line call.
14329 (vc-annotate-warp-revision): Add an optional file argument.
14331 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14332 (vc-git-annotate-extract-revision-at-line): Also return the file
14335 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14336 command. Remove unused code.
14337 (vc-hg-annotate-re): Update to match --follow output.
14338 (vc-hg-annotate-extract-revision-at-line): Also return the file
14341 * vc.el: Update annotate-extract-revision-at-line documentation.
14343 2009-10-18 Kevin Ryde <user42@zip.com.au>
14345 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14346 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14348 * net/browse-url.el (browse-url): Identify alist with "consp and
14349 not functionp" and let all other things go down the `apply' leg,
14350 as suggested by Stefan. (Further to bug#4531.)
14352 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14354 * minibuffer.el (read-file-name): Check for repeat before putting
14355 a default argument in file-name-history (Bug#4657).
14357 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14358 read syntax (Bug#4737).
14360 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14362 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14364 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14365 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14366 entries and make note of obsolete tags.
14368 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14370 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14372 2009-10-18 Glenn Morris <rgm@gnu.org>
14374 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14375 grep, so that binary files (eg international/uni-bidi.el) can match.
14376 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14377 now, and in any case the file header format has changed.
14379 2009-10-17 Glenn Morris <rgm@gnu.org>
14381 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14382 (flyspell-get-word, flyspell-large-region)
14383 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14385 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14387 * Makefile.in (ELCFILES): Add ede/shell.
14389 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14391 * term/common-win.el (x-colors): Purecopy it.
14393 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14395 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14396 permissive for when the buffer is empty.
14397 (tar-header-block-tokenize): Decode the username and groupname.
14398 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14400 2009-10-17 Eric Ludlam <zappo@gnu.org>
14402 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14403 contains multibyte characters, choose first applicable coding
14404 system automatically.
14406 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14408 * international/mule-cmds.el (select-safe-coding-system): If the file
14409 has a coding cookie, use it regardless of any other setting (bug#4712).
14411 2009-10-17 Glenn Morris <rgm@gnu.org>
14413 * foldout.el (foldout-mouse-swallow-events):
14414 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14416 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14417 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14418 (dired-keep-marker-symlink, dired-dwim-target)
14419 (dired-copy-preserve-time): Do not autoload these defcustoms.
14421 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14422 messages from messing up the file coding. (Bug#4623)
14424 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14426 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14427 if no match is found for the current dictionary. (Bug#4578)
14429 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14430 optional, since that is how it is documented, and this is often called
14431 with a nil argument. (Bug#4577)
14432 (flyspell-external-point-words, flyspell-auto-correct-word)
14433 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14434 (flyspell-word-search-backward): Remove nil argument in calls to
14435 flyspell-get-word, since it is not needed now.
14437 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14439 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14441 2009-10-16 Glenn Morris <rgm@gnu.org>
14443 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14445 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14447 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14448 (ange-ftp-file-size): New function.
14449 (ange-ftp-file-attributes): Use it.
14451 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14453 * net/tramp-smb.el (tramp-smb-version): New defvar.
14454 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14457 2009-10-16 Glenn Morris <rgm@gnu.org>
14459 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14460 Maybe copy some custom properties from old to new name. (Bug#4706)
14462 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14464 * subr.el (error, sit-for, start-process-shell-command)
14465 (start-file-process-shell-command): Set the calling convention
14466 after the function definition.
14468 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14470 * subr.el (error, sit-for, start-process-shell-command)
14471 (start-file-process-shell-command): Use the new
14472 set-advertised-calling-convention feature.
14474 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14476 * international/ucs-normalize.el (ucs-normalize-version):
14478 (check-range): Adjust for Unicode 5.2.
14480 2009-10-15 Juri Linkov <juri@jurta.org>
14482 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14483 to the `menu-item' format.
14485 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14487 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14488 if the environment variable does not exist.
14490 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14491 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14493 (tramp-smb-handle-add-name-to-file)
14494 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14495 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14496 (tramp-smb-handle-file-attributes)
14497 (tramp-smb-do-file-attributes-with-stat)
14498 (tramp-smb-handle-file-local-copy)
14499 (tramp-smb-handle-insert-directory)
14500 (tramp-smb-handle-make-directory)
14501 (tramp-smb-handle-make-directory-internal)
14502 (tramp-smb-handle-make-symbolic-link)
14503 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14504 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14505 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14506 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14507 Handle long file names.
14508 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14509 process is running.
14510 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14511 Read share names with "-g" option.
14513 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14515 * net/rcirc.el (rcirc-view-log-file): New command.
14516 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14517 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14520 2009-10-15 Glenn Morris <rgm@gnu.org>
14522 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14523 from the second command-line argument.
14524 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14525 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14526 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14527 w32-batch-update-autoloads.
14528 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14529 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14531 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14532 the headers cannot be located. Simplify, subtracting superflous
14535 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14537 Replace completion-base-size by completion-base-position to fix bugs
14538 such as (bug#4699).
14539 * simple.el (completion-base-position): New var.
14540 (completion-base-size): Mark as obsolete.
14541 (choose-completion): Make it work for mouse events as well.
14542 Pass the new base-position to choose-completion-string.
14543 (choose-completion-guess-base-position): New function, extracted from
14544 choose-completion-delete-max-match.
14545 (choose-completion-delete-max-match): Use it. Make obsolete.
14546 (choose-completion-string): Use the new base-position info.
14547 (completion-root-regexp): Delete.
14548 (completion-setup-function): Preserve completion-base-position.
14549 Eliminate obsolete base-size manipulation.
14550 * minibuffer.el (display-completion-list): Don't mess with base-size.
14551 (minibuffer-completion-help): Set completion-base-position instead.
14552 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14554 * textmodes/bibtex.el (bibtex-complete):
14555 * emacs-lisp/crm.el (crm--choose-completion-string):
14556 Adjust to new calling convention.
14557 * complete.el (partial-completion-mode): Use minibufferp to avoid
14558 bumping into incompatible change to choose-completion-string-functions.
14559 * ido.el (ido-choose-completion-string): Make its calling convention
14561 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14562 base-size manipulation.
14563 (comint-dynamic-list-input-ring): Use dotimes and push.
14564 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14565 fundamental-mode. Use `or'.
14567 2009-10-14 Juri Linkov <juri@jurta.org>
14569 * misearch.el (multi-isearch-next-buffer-from-list)
14570 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14572 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14574 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14577 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14578 string we return is all made up of text from the completions rather
14579 than part from the completions and part from the input (bug#4219).
14581 * ido.el (ido-everywhere): Use define-minor-mode.
14583 * buff-menu.el (list-buffers, ctl-x-map):
14584 Mark the entry points with ;;;###autoload cookies.
14586 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14588 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14589 correctly in the detached head case.
14590 (vc-git-print-log): Remove unused binding.
14592 * vc.el (vc-responsible-backend): When a directory is passed for
14593 for registration create a VC repository if no backend is
14594 responsible for the directory argument.
14595 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14597 * vc.el: Move comments about RCS and SCCS ...
14599 * vc-sccs.el: ... here, respectively.
14601 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14603 * minibuffer.el (completion--file-name-table): Return nil if there's
14604 no file completion, even if substitute-in-file-name changed
14605 the string (bug#4708).
14607 2009-10-13 Juri Linkov <juri@jurta.org>
14609 * files-x.el (read-file-local-variable-value): Don't filter out
14610 minor modes from mode name completion (bug#4664).
14612 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14614 * international/mule-cmds.el (ucs-names): Remove exclusion of
14615 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14617 2009-10-13 Kenichi Handa <handa@m17n.org>
14619 * international/uni-name.el: Regenerated.
14621 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14623 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14624 should be automatically buffer-local, but isn't.)
14626 2009-10-12 Sam Steingold <sds@gnu.org>
14628 * progmodes/compile.el (compilation-next-error-function): Fix the
14629 timestamps if the buffer has been visited before.
14630 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14631 non-anchored patterns, like the perl one (bug#3928).
14633 2009-10-12 Glenn Morris <rgm@gnu.org>
14635 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14638 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14640 * proced.el (proced-unload-function): New function.
14642 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14643 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14646 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14648 2009-10-11 Juri Linkov <juri@jurta.org>
14650 * files-x.el (read-file-local-variable-value):
14651 Provide default value only for bound variables (bug#4664).
14653 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14655 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14656 connection methods like smb.
14658 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14661 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14662 (tramp-smb-file-name-handler-alist): Add handlers for
14663 `add-name-to-file', `make-symbolic-link'.
14664 (tramp-smb-handle-add-name-to-file)
14665 (tramp-smb-do-file-attributes-with-stat)
14666 (tramp-smb-handle-make-symbolic-link)
14667 (tramp-smb-get-cifs-capabilities): New defuns.
14668 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14669 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14670 (tramp-smb-handle-file-local-copy)
14671 (tramp-smb-handle-make-directory-internal)
14672 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14673 The file name syntax depends on cifs capabilities.
14674 (tramp-smb-handle-file-attributes):
14675 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14676 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14677 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14679 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14681 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14682 (eieio-defclass): Apply deftype handler and setf-method properties
14684 (eieio-add-new-slot): Avoid union function from cl library.
14685 (eieio--typep): New function.
14686 (eieio-perform-slot-validation): Use it.
14688 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14690 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14691 Update documentation to refer to the variables documented in r1.135.
14694 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14696 * bookmark.el (Info-suffix-list): Remove this unused variable.
14697 (bookmark-current-point): Remove this obsolete variable.
14698 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14699 Adjust for removal of bookmark-current-point.
14701 (bookmarks-already-loaded, bookmark-current-buffer)
14702 (bookmark-yank-point): Document. (Bug#4188)
14704 2009-10-10 Glenn Morris <rgm@gnu.org>
14706 * frame.el (frame-height): Doc fix.
14708 * calendar/calendar.el (calendar-split-width-threshold): New option.
14709 (calendar-basic-setup): Use calendar-split-width-threshold.
14711 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14713 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14714 Ideographic Supplement" range (U+1F200..U+1F2FF).
14716 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14718 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14719 since the list will have been rebuilt anyway. (Bug#4349)
14721 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14723 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14724 (bookmark-bmenu-execute-deletions): Don't save here, as
14725 bookmark-delete will now do so if necessary.
14726 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14729 2009-10-09 Glenn Morris <rgm@gnu.org>
14731 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14733 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14735 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14736 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14737 argument now, so the two function's behaviors will match. (Bug#3645)
14739 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14741 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14742 (tramp-file-name-real-host, tramp-file-name-port):
14743 Apply `save-match-data'.
14745 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14746 case both directories are remote.
14747 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14748 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14750 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14752 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14754 2009-10-07 Glenn Morris <rgm@gnu.org>
14756 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14759 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14761 * files-x.el (read-file-local-variable): Include some
14762 non-user-variables in the completion table (bug#4664).
14764 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14766 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14769 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14770 (tramp-smb-file-name-handler-alist): Add handler for
14771 `copy-directory', `expand-file-name', `set-file-modes'.
14772 (tramp-smb-handle-copy-directory)
14773 (tramp-smb-handle-expand-file-name)
14774 (tramp-smb-handle-set-file-modes): New defuns.
14775 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14776 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14778 (tramp-smb-handle-insert-directory): Don't flush the cache.
14779 (tramp-smb-maybe-open-connection): Check for samba client and
14782 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14784 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14785 to not error out of search for "^lisp=" fails.
14787 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14789 * makefile.w32-in (WINS_UPDATES): New macro.
14790 (custom-deps, finder-data, autoloads): Use it.
14792 2009-10-07 Glenn Morris <rgm@gnu.org>
14794 * Makefile.in (autoloads): Revert previous change.
14795 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14796 the list of preloaded files passed on the command-line, get
14797 it from src/Makefile.
14799 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14800 show the original buffer rather than a random one.
14802 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14804 * help.el (describe-no-warranty): Place point in a slightly better
14805 position in the GPLv3 text.
14807 2009-10-06 Sam Steingold <sds@gnu.org>
14809 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14810 the comm attribute is present before calling regexp-quote.
14812 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14814 * play/animate.el (animate-string): For good effect, make sure
14815 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14817 * play/animate.el (animate-sequence, animate-birthday-present):
14818 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14820 2009-10-06 Glenn Morris <rgm@gnu.org>
14822 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14824 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14825 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14826 (batch-update-autoloads): Process a string value of autoload-excludes,
14827 set during the build process.
14828 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14830 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14831 inside with-parsed... macro so that `v' is defined.
14833 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14834 * progmodes/fortran.el (fortran-end-of-block)
14835 (fortran-beginning-of-block):
14836 Also push mark in the macro case.
14838 * emerge.el (emerge-show-file-name):
14839 * calc/calc.el (calc-quit):
14840 * calc/calc-misc.el (calc-big-or-small):
14841 * calc/calc-graph.el (calc-graph-view):
14842 * calc/calc-ext.el (calc-reset):
14843 * calendar/calendar.el (calendar-basic-setup):
14844 Use window-full-height-p.
14846 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14847 header we don't understand, don't insert another. (Bug#4624)
14848 If changing mime charset, insert the new one in the right place.
14850 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14852 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14853 (cal-tex-cursor-month): Correctly increment the end date for diary and
14854 holiday listing. (Bug#4626)
14856 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14858 * help-fns.el (describe-function-1): Don't burp if the function is not
14861 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14863 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14864 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14865 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14866 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14868 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14869 (eieio-default-superclass): Reflow docstrings.
14870 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14871 (eieio-unbind-method-implementations, defmethod)
14872 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14873 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14874 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14875 (eieio-slot-originating-class-p, eieio-slot-name-index)
14876 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14877 (constructor, initialize-instance, no-next-method, object-print)
14878 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14879 Fix typos in docstrings.
14880 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14881 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14882 (next-method-p): Doc fixes.
14883 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14884 Fix typos in error messages.
14885 (eieio-defmethod): Fix typo in description of generic method.
14887 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14888 (eieio-persistent-save-interactive, slot-missing):
14889 Fix typos in docstrings.
14890 (eieio-instance-inheritor-slot-boundp): Doc fix.
14892 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14893 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14895 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14896 (eieio-custom-object-apply-reset):
14897 Fix typos in docstrings and error messages.
14899 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14900 Fix typo in docstring.
14902 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14903 (eieio-browse-tree): Doc fix.
14904 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14905 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14906 Fix typos in docstrings.
14908 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14909 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14910 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14911 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14914 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14916 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14917 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14918 Set log-view-vc-backend so that diff can work.
14920 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14922 (vc-diff-internal): Autoload this instead of vc-version-diff.
14924 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14926 * simple.el (eval-expression): Doc fix.
14928 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14930 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14932 * files.el (directory-files-no-dot-files-regexp): New defconst.
14933 (delete-directory): Use it.
14934 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14936 * net/tramp.el (tramp-verbose): Fix docstring.
14937 (tramp-methods): Add recursive option to `tramp-copy-args'.
14938 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14939 "scp1_old", "scp2_old", "rsync", "rsyncc".
14940 (tramp-default-method): Check also for `auth-source-user-or-password'.
14941 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14942 Add handler for `copy-directory'.
14943 (tramp-handle-copy-directory): New defun.
14944 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14945 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14946 Optimize sent command.
14948 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14950 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14951 window if necessary.
14953 * calendar/calendar.el (calendar-basic-setup): Don't call
14954 switch-to-buffer in a dedicated window.
14956 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14958 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14959 don't do anything related to relocating, just return nil.
14960 (bookmark-error-no-filename): New error.
14961 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14962 bookmark has no file. Don't even attempt to handle things that
14963 are not files; the whole point of custom handlers is to keep that
14964 knowledge elsewhere anyway. Tighten some comments.
14965 (bookmark-file-or-variation-thereof): Remove now-unused function.
14966 (bookmark-location): Doc string fix.
14969 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14971 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14972 don't use a file dialog, because they usually don't know how to read
14973 a directory target from the user. (Bug#4230)
14974 Also, make sure the prompt can display directories as well as files.
14976 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14978 * bookmark.el (bookmark-set, bookmark-buffer-name):
14979 Improve doc strings. (Bug#1193)
14981 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14983 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14984 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14985 (bookmark-get-annotation, bookmark-set-annotation)
14986 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14987 (bookmark-set-position, bookmark-get-front-context-string)
14988 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14989 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14990 (bookmark-jump-other-window, bookmark-handle-bookmark)
14991 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14992 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14993 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14994 Improve doc strings to say whether bookmark can be a string or
14995 a record or both, and make other consistency and clarity fixes.
14996 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14997 (bookmark-default-annotation-text, bookmark-yank-word)
14998 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14999 (bookmark-import-new-list, bookmark-maybe-rename)
15000 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15001 (bookmark-bmenu-bookmark): Give these doc strings.
15002 (bookmark-bmenu-check-position): Give this a doc string, but also
15003 add a FIXME comment about how the function may be pointless.
15004 (bookmark-default-handler): Rework doc string and change a
15005 parameter name, to clarify that this takes a bookmark record
15006 not a bookmark name.
15007 (bookmark-set): Change a parameter name to indicate its meaning,
15008 and improve the doc string a bit.
15011 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15013 * bookmark.el (bookmark-alist): Document the new `handler' element
15014 in the param alist.
15015 (bookmark-make-record-function): Adjust documentation for above.
15018 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15020 * info.el (Info-bookmark-make-record): Document this function.
15021 (Info-bookmark-jump): Document with a doc string, not just a comment.
15024 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15026 * files.el (copy-directory): New defun.
15028 * dired-aux.el (dired-copy-file-recursive): Use it.
15030 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15032 * files-x.el (modify-dir-local-variable)
15033 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15036 * recentf.el (recentf-unload-function): New function.
15038 2009-10-04 Glenn Morris <rgm@gnu.org>
15040 * window.el (window-full-height-p): Add doc string.
15042 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15044 * window.el (window-full-height-p): New function. (Bug#4543)
15046 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15048 * vc.el: Remove commented out code.
15049 (vc-derived-from-dir-mode): Remove, unused.
15050 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15052 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15054 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15055 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15056 there could be recursive loading when `default-directory' is a
15057 remote file name. (Bug#4614)
15059 2009-10-03 Glenn Morris <rgm@gnu.org>
15061 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15063 (calendar-generate-window): Test for shrinkability rather than width.
15065 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15066 reusing existing buffers, in case we happen to visit two files with the
15067 same basename. (Bug#4593)
15069 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15071 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15072 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15073 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15074 subdirs of cedet as well.
15075 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15077 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15079 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15080 Obey advertised-signature-table.
15082 * help-fns.el (help-function-arglist): Don't check
15083 advertised-signature-table.
15084 (describe-function-1): Do it here instead so it also applies to subrs.
15086 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15088 * simple.el (start-file-process): Say in the doc-string, that file
15089 handlers might not support pty association, if PROGRAM is nil.
15091 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15092 HOST and USER are strings. They are nil, when there are
15093 incomplete entries in ~/.netrc, for example.
15094 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15095 root directory ("device busy" error otherwise).
15097 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15098 Flush file properties of created directory.
15100 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15102 * makefile.w32-in (WINS_BASIC): Remove cedet.
15103 (WINS_CEDET): Add cedet.
15104 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15106 2009-10-02 Kevin Ryde <user42@zip.com.au>
15108 * net/browse-url.el (browse-url): Pass any symbol in
15109 browse-url-browser-function to `apply', since if you've mistakenly put
15110 an unbound symbol then the error is clearer. (Bug#4531)
15112 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15114 * allout.el (allout-init, allout-back-to-current-heading)
15115 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15116 (allout-ascend, allout-up-current-level, allout-end-of-level)
15117 (allout-previous-visible-heading, allout-forward-current-level)
15118 (allout-backward-current-level, allout-show-children):
15119 * apropos.el (apropos-describe-plist):
15120 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15121 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15122 * completion.el (add-completion, add-permanent-completion):
15123 * descr-text.el (describe-text-category, describe-char):
15124 * desktop.el (desktop-lazy-abort):
15125 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15126 * dired.el (dired-build-subdir-alist):
15127 * ediff.el (ediff-version):
15128 * elide-head.el (elide-head, elide-head-show):
15129 * emerge.el (emerge-version):
15131 * face-remap.el (variable-pitch-mode):
15132 * faces.el (describe-face):
15133 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15135 * files.el (find-file-existing, auto-save-mode):
15136 * font-lock.el (font-lock-fontify-buffer):
15137 * help-fns.el (describe-function, describe-variable)
15138 (describe-syntax, describe-categories):
15139 * help.el (view-lossage, describe-bindings, describe-key)
15141 * hexl.el (hexl-current-address):
15142 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15143 * info.el (Info-goto-emacs-key-command-node):
15144 * log-edit.el (log-edit-insert-cvs-template)
15145 (log-edit-insert-cvs-rcstemplate):
15146 * menu-bar.el (menu-bar-mode):
15147 * mouse.el (mouse-appearance-menu):
15148 * newcomment.el (comment-indent-new-line):
15149 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15150 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15151 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15152 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15153 * recentf.el (recentf-mode):
15154 * savehist.el (savehist-mode, savehist-save):
15155 * shadowfile.el (shadow-copy-files):
15156 * simple.el (kill-ring-save, next-line, previous-line)
15157 (normal-erase-is-backspace-mode):
15158 * strokes.el (strokes-update-window-configuration)
15159 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15160 (strokes-xpm-for-stroke):
15161 * time.el (emacs-uptime, emacs-init-time):
15162 * tutorial.el (tutorial--describe-nonstandard-key)
15163 (tutorial--detailed-help):
15164 * type-break.el (type-break-mode)
15165 (type-break-mode-line-message-mode, type-break-query-mode)
15166 (type-break-guesstimate-keystroke-threshold):
15167 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15168 * version.el (emacs-version):
15169 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15170 * winner.el (winner-mode):
15171 * calendar/timeclock.el (timeclock-in, timeclock-out)
15172 (timeclock-status-string, timeclock-change)
15173 (timeclock-workday-remaining-string)
15174 (timeclock-workday-elapsed-string)
15175 (timeclock-when-to-leave-string):
15176 * calendar/todo-mode.el (todo-add-category):
15177 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15178 * emacs-lisp/autoload.el (update-file-autoloads):
15179 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15180 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15181 (checkdoc-message-text, checkdoc-defun):
15182 * emacs-lisp/debug.el (debugger-list-functions):
15183 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15184 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15185 (eieio-describe-generic):
15186 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15187 * emacs-lisp/shadow.el (list-load-path-shadows):
15188 * emulation/cua-base.el (cua-mode):
15189 * emulation/edt.el (edt-set-scroll-margins):
15190 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15191 (tpu-toggle-regexp, tpu-toggle-search-direction)
15192 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15193 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15194 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15195 (viper-set-parsing-style-toggling-macro)
15196 (viper-set-emacs-state-searchstyle-macros):
15197 * emulation/viper.el (viper-set-hooks):
15198 * eshell/esh-mode.el (eshell-truncate-buffer):
15199 * international/mule-cmds.el (prefer-coding-system)
15200 (describe-input-method, describe-language-environment):
15201 * international/mule-diag.el (list-character-sets)
15202 (describe-character-set, describe-coding-system)
15203 (describe-fontset, list-fontsets, list-input-methods):
15204 * mail/sendmail.el (mail-signature):
15205 * net/ange-ftp.el (ange-ftp-copy-file):
15206 * net/browse-url.el (browse-url):
15207 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15208 * net/quickurl.el (quickurl-add-url):
15209 * net/rcirc.el (names, topic):
15210 * net/xesam.el (xesam-mode):
15211 * play/5x5.el (5x5-new-game):
15212 * play/yow.el (apropos-zippy):
15213 * progmodes/ada-mode.el (ada-mode-version):
15214 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15216 (f90-beginning-of-block):
15217 * progmodes/fortran.el (fortran-end-of-block)
15218 (fortran-beginning-of-block):
15219 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15220 * progmodes/python.el (python-describe-symbol, python-shell):
15221 * term/ns-win.el (ns-print-buffer):
15222 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15223 * textmodes/flyspell.el (flyspell-mode-on):
15224 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15225 (pages-directory-for-addresses):
15226 * textmodes/table.el (table-recognize-cell)
15227 (table-query-dimension, table-generate-source)
15228 (table-insert-sequence, table--warn-incompatibility):
15229 * textmodes/tex-mode.el (tex-validate-buffer):
15230 * textmodes/texinfmt.el (texinfmt-version)
15231 (texinfo-format-buffer):
15232 Use `called-interactively-p' instead of `interactive-p'.
15234 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15236 * image-mode.el (image-toggle-display):
15237 * emacs-lisp/elp.el (elp-instrument-function):
15238 * emacs-lisp/advice.el (ad-make-advised-definition):
15239 * emacs-lisp/easy-mmode.el (define-minor-mode):
15240 * net/browse-url.el (browse-url-maybe-new-window):
15241 * progmodes/sh-script.el (sh-learn-buffer-indent):
15242 Pass new argument 'any to `called-interactively-p'.
15244 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15246 * international/uni-bidi.el:
15247 * international/uni-category.el:
15248 * international/uni-combining.el:
15249 * international/uni-comment.el:
15250 * international/uni-decimal.el:
15251 * international/uni-decomposition.el:
15252 * international/uni-digit.el:
15253 * international/uni-lowercase.el:
15254 * international/uni-mirrored.el:
15255 * international/uni-name.el:
15256 * international/uni-numeric.el:
15257 * international/uni-old-name.el:
15258 * international/uni-titlecase.el:
15259 * international/uni-uppercase.el:
15260 Regenerate from Unicode 5.2.0 data.
15262 2009-10-01 Glenn Morris <rgm@gnu.org>
15264 * Makefile.in (ELCFILES): Regenerate.
15266 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15268 * subr.el (interactive-p): Mark obsolete.
15269 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15270 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15271 advertised-signature-table for subroutines as well.
15273 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15274 (set-advertised-calling-convention): New function.
15275 (make-obsolete, define-obsolete-function-alias)
15276 (make-obsolete-variable, define-obsolete-variable-alias):
15277 Make the optional-ness of `when' obsolete.
15278 (define-obsolete-face-alias): Make `when' non-optional.
15279 * help-fns.el (help-function-arglist):
15280 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15281 Use advertised-signature-table.
15283 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15285 * files.el (delete-directory): New defun. The original function
15286 in fileio.c has been renamed to `delete-directory-internal'.
15288 * dired.el (dired-delete-file): Call `delete-directory' with
15289 RECURSIVE parameter.
15291 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15292 parameter RECURSIVE. Implementation is missing.
15294 * net/tramp.el (tramp-handle-make-directory): Flush upper
15295 directory's file properties.
15296 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15297 (tramp-handle-dired-recursive-delete-directory): Flush directory
15298 properties after the remove command only.
15300 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15301 Handle optional parameter RECURSIVE.
15303 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15304 Handle optional parameter RECURSIVE.
15306 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15307 connection timeout.
15308 (tramp-smb-handle-delete-directory): Handle optional parameter
15311 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15313 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15314 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15315 (byte-compile-defmacro): Use backquotes.
15317 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15319 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15320 has no associated file.
15321 (vc-resynch-buffer): Use vc-dir-buffers.
15323 2009-10-01 Glenn Morris <rgm@gnu.org>
15325 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15326 (chart-file-count):
15327 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15328 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15329 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15330 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15331 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15332 (eieio-copy-parents-into-subclass, make-instance, class-children)
15333 (eieio-generic-form):
15335 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15336 match-data. (Bug#4555).
15338 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15339 rather than parsing it as a regexp. This relaxes the layout
15340 requirements and makes errors easier to detect.
15341 (check-declare-verify): Check file is regular.
15342 (check-declare-directory): Doc fix.
15343 * subr.el (declare-function): Doc fix.
15345 * ibuffer.el (ibuffer-format-qualifier):
15346 * isearch.el (hi-lock-regexp-okay):
15347 * calc/calc.el (math-zerop):
15348 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15349 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15350 Remove unused declarations.
15352 2009-09-30 Eric Ludlam <zappo@gnu.org>
15354 * emacs-lisp/eieio.el (boolean-p): Delete.
15356 2009-09-30 Glenn Morris <rgm@gnu.org>
15358 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15360 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15361 filename is not a string.
15363 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15365 * files.el (safe-local-eval-forms): Fix typo.
15367 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15369 * vc-hooks.el (vc-dir-buffers): New var.
15370 (vc-state-refresh): New function.
15371 (vc-state): Use it.
15372 (vc-after-save): Always ask the backend to recompute the new state.
15373 Always call vc-dir if necessary, using vc-dir-buffers.
15374 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15375 Use vc-dir-buffers.
15376 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15377 (vc-dir-prepare-status-buffer, vc-dir-update)
15378 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15379 Don't call expand-file-name on default-directory.
15381 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15383 * speedbar.el (speedbar-item-delete):
15384 * calc/calc-prog.el (calc-kbd-if):
15385 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15387 * epa.el (epa-key-list-mode-map):
15388 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15390 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15391 (hs-show-hook): Fix typo in docstring.
15393 2009-09-29 Glenn Morris <rgm@gnu.org>
15395 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15396 file-name-nondirectory call preventing location of cedet files.
15397 (check-declare-verify): Use literal search rather than re-search.
15398 Add basic defmethod and defclass, and define-overloadable-function.
15400 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15401 Use tramp-compat-file-attributes rather than nonexistent
15402 tramp-compat-handle-file-attributes.
15404 * Makefile.in (lisptagsfiles4): New.
15405 (AUTOGENEL): Add cedet loaddefs files.
15406 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15407 (update-elclist, compile-always, backup-compiled-files)
15408 (bootstrap-clean): Add yet another directory level.
15409 (update-elclist): Use LC_COLLATE rather than COLLATE.
15410 (ELCFILES): Update, via `make update-elclist'.
15412 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15414 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15415 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15416 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15418 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15420 * Makefile.in (lisptagsfiles3): Define.
15421 (TAGS, TAGS-LISP): Use it.
15422 (update-elclist): Add third directory level to look for elc files.
15423 (compile-always): Likewise.
15424 (backup-compiled-files): Likewise.
15425 (bootstrap-clean): Likewise.
15426 (ELCFILES): Update.
15428 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15430 * Makefile.in (ELCFILES): Add CEDET files.
15432 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15434 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15436 * net/tramp.el (top): Require tramp-imap.
15438 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15439 Use `tramp-compat-handle-file-attributes'.
15441 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15443 * net/tramp-imap.el: New package.
15445 2009-09-28 Eric Ludlam <zappo@gnu.org>
15447 * emacs-lisp/chart.el:
15448 * emacs-lisp/eieio-base.el:
15449 * emacs-lisp/eieio-comp.el:
15450 * emacs-lisp/eieio-custom.el:
15451 * emacs-lisp/eieio-datadebug.el:
15452 * emacs-lisp/eieio-opt.el:
15453 * emacs-lisp/eieio-speedbar.el:
15454 * emacs-lisp/eieio.el: New files.
15456 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15458 * whitespace.el (whitespace-trailing-regexp)
15459 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15462 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15464 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15467 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15468 menu-bar-ediff-menu.
15470 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15471 define-overloadable-function.
15473 * progmodes/autoconf.el: Provide autoconf as well, so that this
15474 file can be `require'd.
15476 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15478 * emacs-lisp/autoload.el (generated-autoload-feature)
15479 (generated-autoload-load-name): New vars.
15480 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15481 (make-autoload): Recognize define-overloadable-function and
15482 defclass forms (for EIEIO).
15484 * Makefile.in (update-subdirs): Exclude cedet directory.
15486 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15488 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15490 * faces.el: Default light-background background for region face to
15491 ns_selection_color under NS.
15493 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15495 * net/imap-hash.el: New library, see NEWS.
15497 * Makefile.in (ELCFILES): Add imap-hash.el.
15499 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15501 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15502 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15503 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15504 definition where the docstring could be taken for the return value.
15506 2009-09-26 Glenn Morris <rgm@gnu.org>
15508 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15509 Add option to only show images below a certain size.
15510 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15511 save-excursion calls.
15513 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15515 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15516 subdirectories) and eieio.
15518 2009-09-26 Alan Mackenzie <acm@muc.de>
15520 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15521 Correct buggy bracketing. (Bug#4289)
15523 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15524 character constants (as case labels). (Bug#4289)
15526 2009-09-25 Juri Linkov <juri@jurta.org>
15528 * files.el (safe-local-eval-forms): Allow time-stamp in
15529 before-save-hook (Bug#4554).
15531 2009-09-25 Drew Adams <drew.adams@oracle.com>
15533 * menu-bar.el (list-buffers-directory): Doc fix.
15535 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15537 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15538 Try and avoid copying twice the same paragraph.
15539 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15540 Remove save-excursion.
15541 (log-edit-changelog-entry): Do it here instead.
15543 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15545 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15546 when available, instead of hardcoding mode names. Doc fix.
15548 * menu-bar.el (list-buffers-directory): Add docstring.
15549 Make automatically buffer-local.
15551 * dired.el (dired-mode):
15552 * files.el (cd-absolute):
15553 * pcvs.el (cvs-temp-buffer):
15554 * pcvs-util.el (cvs-get-buffer-create):
15555 * shell.el (shell-mode):
15556 * vc-dir.el (vc-dir-mode):
15557 Don't make `list-buffers-directory' buffer local.
15559 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15561 * comint.el (comint-exec, comint-run, make-comint):
15562 Doc fixes (Bug#4542).
15564 2009-09-25 Glenn Morris <rgm@gnu.org>
15566 * mail/rmailmm.el (rmail-mime): New custom group.
15567 Move all defcustoms in this file into this group.
15568 (rmail-mime-media-type-handlers-alist): Revert previous change.
15569 (rmail-mime-show-images): New option.
15570 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15571 references to it, since it wasn't actually used for anything.
15572 (rmail-mime-insert-image): New function.
15573 (rmail-mime-image): Use rmail-mime-insert-image.
15574 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15575 obey the value of `rmail-mime-show-images' option. Print the size of
15578 2009-09-25 David Engster <deng@randomsample.de>
15580 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15582 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15584 * whitespace.el: Does not highlight trailing spaces While point is
15585 at end of line. Does not highligt spaces at beginning of buffer
15586 while point is at beginning of buffer. Does not highlight spaces
15587 at end of buffer while point is at end of buffer. (Bug#4177)
15589 (whitespace-display-mappings): Adjust initialization.
15590 (whitespace-point, whitespace-font-lock-refontify): New vars.
15591 (whitespace-color-on, whitespace-color-off): Adjust code.
15592 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15593 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15594 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15596 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15598 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15600 * textmodes/sgml-mode.el: Remove xml-mode alias.
15602 * files.el (auto-mode-alist, conf-mode-maybe)
15603 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15605 2009-09-24 Alan Mackenzie <acm@muc.de>
15607 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15608 c-forward-conditionals, but it doesn't move point and doesn't set
15610 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15611 (c-down-conditional-with-else, c-backward-conditional)
15612 (c-forward-conditional): Refactor to use c-scan-conditionals.
15614 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15616 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15617 (help-default-arg-highlight): Remove.
15618 (help-highlight-arg): New function.
15619 (help-do-arg-highlight): Use it.
15620 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15622 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15624 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15625 Undo last change, which didn't fix the problem and introduced others.
15627 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15629 * progmodes/gdb-mi.el: Don't require speedbar.
15630 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15632 2009-09-24 Glenn Morris <rgm@gnu.org>
15634 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15636 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15638 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15639 there is no newline after the final mime boundary. (Bug#4539)
15640 Move markers on insertion so that any buttons inserted don't end up in
15641 the next part of a multipart message.
15642 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15643 (rmail-mime-bulk-handler): Optionally handle images.
15644 (rmail-mime-image): New button action.
15645 (rmail-mime-image-handler): New function.
15646 (rmail-mime-mode): New mode.
15647 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15649 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15651 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15652 than just dropping elements from it (bug#4504).
15654 * term.el (term-set-scroll-region): Don't move cursor any more.
15655 (term-handle-ansi-escape): Call term-goto here instead.
15656 Suggested by Ivan Kanis <apple@kanis.eu>.
15658 * term.el: Require CL.
15659 (term-ansi-reset): New function.
15660 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15661 (term-handle-colors-array): Simplify.
15663 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15665 * allout.el (allout-overlay-interior-modification-handler)
15666 (allout-obtain-passphrase):
15667 * epa-file.el (epa-file-write-region):
15668 * ps-print.el (ps-begin-job):
15669 * vc-hooks.el (vc-toggle-read-only):
15670 * vc-rcs.el (vc-rcs-rollback):
15671 * vc-sccs.el (vc-sccs-rollback):
15672 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15673 (vc-version-diff, vc-revert, vc-rollback):
15674 * wdired.el (wdired-check-kill-buffer):
15675 * emacs-lisp/authors.el (authors):
15676 * net/socks.el (socks-open-connection):
15677 * net/zeroconf.el (zeroconf-service-add-hook):
15678 * obsolete/vc-mcvs.el (vc-mcvs-register):
15679 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15680 (gdb-select-frame):
15681 * progmodes/grep.el (lgrep, rgrep):
15682 * progmodes/idlw-help.el (idlwave-help-check-locations)
15683 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15684 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15685 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15686 (reftex-toc-rename-label): Fix typos in error messages.
15688 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15689 (dired-copy-how-to-fn): Doc fix.
15690 (dired-files-attributes, dired-read-shell-command):
15691 Fix typos in docstrings.
15693 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15694 (dired-x-find-file-other-window): Reflow docstrings.
15695 (dired-omit-marker-char, dired-read-shell-command)
15696 (dired-x-submit-report): Fix typos in docstrings.
15698 * shell.el (shell-mode-hook):
15699 * view.el (View-scroll-line-forward):
15700 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15701 Fix typos in docstrings.
15703 * net/dig.el (dig-invoke): Fix typo in docstring.
15704 (query-dig): Reflow docstring.
15706 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15707 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15708 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15709 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15710 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15711 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15712 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15713 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15714 (idlwave-completion-map, idlwave-current-indent)
15715 (idlwave-custom-ampersand-surround, idlwave-customize)
15716 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15717 (idlwave-define-abbrev, idlwave-determine-class-special)
15718 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15719 (idlwave-end-block-reg, idlwave-end-of-statement)
15720 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15721 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15722 (idlwave-explicit-class-listed, idlwave-file-header)
15723 (idlwave-fill-paragraph, idlwave-find-class-definition)
15724 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15725 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15726 (idlwave-in-quote, idlwave-indent-action-table)
15727 (idlwave-indent-expand-table, idlwave-indent-line)
15728 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15729 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15730 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15731 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15732 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15733 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15734 (idlwave-outlawed-buffers, idlwave-popup-select)
15735 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15736 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15737 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15738 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15739 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15740 (idlwave-statement-type, idlwave-struct-skip)
15741 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15742 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15743 (idlwave-what-module-find-class): Fix typos in docstrings.
15744 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15745 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15746 (idlwave-find-module, idlwave-find-structure-definition)
15747 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15748 (idlwave-list-load-path-shadows, idlwave-next-statement)
15749 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15750 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15751 (idlwave-template): Reflow docstrings.
15753 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15754 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15755 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15756 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15757 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15758 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15759 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15760 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15761 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15762 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15763 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15764 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15765 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15766 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15767 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15768 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15769 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15770 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15771 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15772 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15773 Fix typos in docstrings.
15774 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15775 (idlwave-shell-hide-output, idlwave-shell-mode)
15776 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15779 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15781 2009-09-24 Ivan Kanis <apple@kanis.eu>
15783 * term.el (term-bold-attribute): New var.
15784 (term-handle-colors-array): Use it.
15786 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15788 * progmodes/gdb-mi.el (gdb-version): New variable.
15789 (gdb-non-stop-handler): Set gdb-version.
15790 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15791 Condition "--thread" option on gdb-version.
15792 (gdb-invalidate-threads): Remove unused argument.
15794 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15796 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15797 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15799 2009-09-23 Glenn Morris <rgm@gnu.org>
15801 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15802 replying to mail without References or Message-Id. (Bug#4525)
15804 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15806 * term/ns-win.el (ns-reg-to-script): New variable.
15808 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15810 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15812 2009-09-22 Sam Steingold <sds@gnu.org>
15814 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15815 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15816 to 1 because hg returns status 1 when nothing is found.
15817 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15819 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15821 * textmodes/fill.el: Convert to utf-8 encoding.
15822 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15825 * add-log.el (change-log-fill-forward-paragraph): New function.
15826 (change-log-mode): Use it so fill-region DTRT.
15827 Set fill-indent-according-to-mode here rather than in
15828 change-log-fill-paragraph.
15829 (change-log-fill-paragraph): Remove.
15831 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15833 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15834 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15836 2009-09-22 Glenn Morris <rgm@gnu.org>
15838 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15839 the scroll-bar scroll the calendar window rather than the buffer.
15841 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15842 commands that move point (as opposed to scrolling).
15844 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15846 * emacs-lisp/elint.el (elint): New custom group.
15847 (elint-log-buffer): Make it a defcustom.
15848 (elint-scan-preloaded, elint-ignored-warnings)
15849 (elint-directory-skip-re): New options.
15850 (elint-builtin-variables): Doc fix.
15851 (elint-preloaded-env): New variable.
15852 (elint-unknown-builtin-args): Add an entry for encode-time.
15853 (elint-extra-errors): Make it a variable rather than a constant.
15854 (elint-preloaded-skip-re): New constant.
15855 (elint-directory): Skip files matching elint-directory-skip-re.
15856 (elint-features): New variable, local to linted buffers.
15857 (elint-update-env): Initialize elint-features. Possibly add
15858 elint-preloaded-env to the buffer's environment.
15859 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15861 (elint-init-form): New function, extracted from elint-init-env.
15862 Make non-list forms a warning rather than an error.
15863 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15864 easy-menu-define, put that adds an error-condition, and provide.
15865 When requiring cl, also require cl-macs. Really require cl, to handle
15866 some cl macros. Store required libraries in the list elint-features,
15867 so as not to re-load them. Treat cc-require like require.
15868 (elint-init-env): Call elint-init-form to do the work.
15869 Handle eval-and-compile and such like.
15870 (elint-add-required-env): Do not clear messages.
15871 (elint-special-forms): Add handlers for function, defalias, if, when,
15873 (elint-form): Add optional argument to ignore elint-special-forms,
15874 useful to prevent recursive calls from handlers. Doc fix.
15875 Respect elint-ignored-warnings.
15876 (elint-form): Respect elint-ignored-warnings.
15877 (elint-bound-variable, elint-bound-function): New variables.
15878 (elint-unbound-variable): Respect elint-bound-variable.
15879 (elint-get-args): Respect elint-bound-function.
15880 (elint-check-cond-form): Add some simple handling for (f)boundp and
15882 (elint-check-defalias-form): New handler.
15883 (elint-check-let-form): Make an empty let a warning rather than an
15885 (elint-check-setq-form): Make an empty setq a warning rather than an
15886 error. Respect elint-ignored-warnings.
15887 (elint-check-defvar-form): Accept null doc-strings.
15888 (elint-check-conditional-form): New handler. Does some simple-minded
15889 checking of featurep and (f)boundp tests.
15890 (elint-put-function-args): New function.
15891 (elint-initialize): Use elint-scan-doc-file rather than
15892 elint-find-builtin-variables. Use elint-put-function-args.
15893 Possibly scan preloaded-file-list.
15894 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15895 extend to handle functions as well.
15897 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15899 * linum.el (linum-delete-overlays, linum-update-window):
15900 Do not modify the right margin. (Bug#3971)
15902 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15904 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15905 Use nxml-mode instead of xml-mode.
15907 2009-09-21 Kevin Ryde <user42@zip.com.au>
15909 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15911 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * net/dig.el (dig-mode): Use define-derived-mode.
15915 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15917 * vc-dispatcher.el (vc-do-command): Return the process object in
15918 the asynchronous case. Use when instead of if. Do not run
15919 vc-exec-after to display a message if not enabled. (Bug#4463)
15921 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15922 properties to the stash strings.
15923 (vc-git-stash-list): Return a list of strings.
15924 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15925 (vc-git-stash-show-at-point): New functions.
15926 (vc-git-stash-map): New keymap.
15928 * register.el (ctl-x-r-map): Define the keys here instead of
15931 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15933 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15934 list, to workaround performance problem (bug#4485).
15936 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15938 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15940 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15942 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15943 Document that this option is not recommended to use.
15945 2009-09-19 Glenn Morris <rgm@gnu.org>
15947 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15950 * calc/calc-alg.el (var):
15951 * calc/calcalg2.el (var): Define for compiler.
15953 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15955 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15956 Doc fix (Bug#3932).
15958 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15960 * time-stamp.el (time-stamp-month-dd-yyyy)
15961 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15962 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15963 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15964 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15965 Remove functions that have been obsolete since 1995 (Bug#4436).
15967 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15968 indent buffer only if called interactively (Bug#4452).
15970 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15971 Eli Zaretskii <eliz@gnu.org>
15973 This fixes bug#4197 (merged to bug#865, though not identical).
15974 * server.el (server-auth-dir): Add docstring note about FAT32.
15975 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15976 but warn against using them.
15978 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15980 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15981 older GDB where there is no has_more field.
15983 2009-09-19 Glenn Morris <rgm@gnu.org>
15985 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15987 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15989 * files.el (auto-mode-alist): Change default for XML files to nXML
15992 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15994 * server.el (server-ensure-safe-dir): Pass 'integer
15995 to `file-attributes', as suggested.
15997 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15999 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16000 (dired-query): Use read-key.
16002 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16004 * cus-start.el (ns-use-qd-smoothing): Remove.
16006 2009-09-18 Glenn Morris <rgm@gnu.org>
16008 * allout.el (top-level): Remove unnecessary progn.
16010 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16012 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16013 definition of abbrev table.
16015 * speedbar.el (speedbar-track-mouse):
16016 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16017 * net/eudc.el (eudc-expand-inline):
16018 * net/newst-backend.el (newsticker--cache-read-feed):
16019 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16020 condition-case handlers.
16022 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16024 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16025 (gdb-var-list): Add an element for has_more field.
16026 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16027 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16028 (gdb-var-update-handler-1): Parse output of dynamic variable
16029 objects (STL containers).
16030 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16031 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16033 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16035 (gud-speedbar-buttons): Make node expandable if expression "has more"
16038 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16040 * startup.el (emacs-quick-startup): Remove variable and all uses.
16041 (command-line): Set `inhibit-x-resources' instead.
16042 (command-line-1): Use `inhibit-x-resources' instead.
16044 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16046 * subr.el: Fix last change to avoid using the `unless' macro,
16047 which breaks bootstrapping.
16049 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16051 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16052 extended definitions, in case we reload subr.el after having
16054 (eval-next-after-load): Mark as obsolete.
16056 2009-09-17 Juri Linkov <juri@jurta.org>
16058 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16059 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16060 (menu-bar-showhide-menu, menu-bar-tools-menu)
16061 (menu-bar-describe-menu, menu-bar-help-menu)
16062 (minibuffer-local-completion-map, minibuffer-local-map):
16065 2009-09-17 Glenn Morris <rgm@gnu.org>
16067 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16068 arguments, whether or not it has a handler.
16070 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16072 * simple.el (hard-newline): Give it a doc-string.
16074 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16075 (lisp-mode-syntax-table): Give them doc-strings.
16077 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16079 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16080 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16081 (menu-bar-options-menu, menu-bar-showhide-menu)
16082 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16083 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16084 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16085 (menu-bar-options-menu, menu-bar-tools-menu)
16086 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16087 (menu-bar-help-menu):
16088 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16091 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16092 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16093 calls for the menu names and :help.
16095 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16097 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16098 to :minor-mode-function (bug#4455).
16100 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16102 * startup.el (command-line): Initialize the window-system after
16103 processing the command-line.
16105 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16106 page-delimiter matches the empty string.
16108 2009-09-16 Glenn Morris <rgm@gnu.org>
16110 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16111 byte-compile-not-obsolete-var. It's a list now.
16112 (byte-compile-not-obsolete-funcs): New variable.
16113 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16114 byte-compile-not-obsolete-funcs.
16115 (byte-compile-variable-ref, byte-compile-defvar): Update for
16116 byte-compile-not-obsolete-vars name-change and list nature.
16117 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16118 and variables behind (f)boundp tests.
16119 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16121 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16123 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16125 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16127 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16128 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16131 2009-09-15 Stephen Eglen <stephen@gnu.org>
16133 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16134 the virtual-buffers, use the name of the buffer specified by
16135 find-file-noselect, as the match may be a symlink. (This was a
16136 problem if the target and the symlink had different names.)
16138 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16140 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16142 * desktop.el (desktop-path): Check user-emacs-directory.
16144 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16146 * loadup.el: Use after-load-functions to GC after loading each file.
16147 Remove the explicit GC calls that used to be sprinkled around.
16149 * subr.el (after-load-functions): New hook.
16150 (do-after-load-evaluation): Run it. Use string-match-p to detect
16151 `obsolete' packages, rather than painfully extracting the relevant
16154 2009-09-15 Glenn Morris <rgm@gnu.org>
16156 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16157 free variable `doc'.
16159 * dired.el (dired-mode-map): Add menu entry for async shell command.
16161 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16162 variables, also consider the .elc files, since the .el files are
16163 normally gzipped (subsequent code locates the .el.gz from the .elc).
16165 * calc/calc-prog.el (arglist): Define for compiler.
16167 * calendar/diary-lib.el (diary-display-function): Change the default to
16169 (body): Define for compiler.
16171 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16172 (byte-compile-file-form, byte-compile-lambda)
16173 (byte-compile-top-level-body, byte-compile-form)
16174 (byte-compile-variable-ref, byte-compile-setq)
16175 (byte-compile-setq-default, byte-compile-body)
16176 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16177 (batch-byte-compile): Give some more local variables with common names
16178 a "bytecomp-" prefix to avoid masking warnings about free variables.
16180 * startup.el (command-line-1): Give local variables with common names a
16181 distinguishing prefix, so as not to hide free variable warnings during
16184 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16185 clever and add a suffix to make a unique name, just let the user decide
16186 whether or not to overwrite it. If the input is a directory, write the
16187 default filename to that directory. (Bug#4388)
16188 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16189 is a filename-as-a-directory.
16191 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16193 * textmodes/page.el (what-page): Don't move to beginning of line.
16194 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16196 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16198 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16200 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16202 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16203 * help.el (help-for-help-internal): Add purecopy calls for text.
16205 * vc.el (top): print-log method now takes an optional SHORTLOG
16206 argument. Add a new method: root.
16207 (vc-root-diff, vc-print-root-log): New functions.
16208 (vc-log-short-style): New variable.
16209 (vc-print-log-internal): Add support for showing short logs.
16211 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16212 vc-print-root-log and vc-print-root-diff.
16214 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16215 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16216 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16219 * vc-cvs.el (vc-cvs-print-log):
16220 * vc-mtn.el (vc-mtn-print-log):
16221 * vc-rcs.el (vc-rcs-print-log):
16222 * vc-sccs.el (vc-sccs-print-log):
16223 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16224 that is ignored for now.
16226 * vc-mtn.el (vc-mtn-annotate-command):
16227 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16229 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16231 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16232 to function-key-map, and give them ascii-character property.
16233 * term/x-win.el (x-alternatives-map):
16234 * term/ns-win.el (ns-alternatives-map):
16235 * term/internal.el (msdos-key-remapping-map):
16236 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16238 2009-09-14 Glenn Morris <rgm@gnu.org>
16240 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16241 temp-buffers (2009-09-12).
16243 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16245 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16246 the new read-key function.
16248 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16250 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16251 is defined (Bug#4405).
16253 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16255 * recentf.el (recentf-cleanup): Use a hash table to find
16256 duplicates (Bug#4407).
16258 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16260 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16261 kp-0 to ascii equivalents (Bug#4325).
16263 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16265 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16267 * eshell/em-hist.el:
16268 * eshell/em-dirs.el (eshell-complete-user-reference):
16269 Declare pcomplete functions and variables to avoid compiler warnings.
16271 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16273 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16274 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16275 * eshell/em-alias.el (eshell-aliases-file):
16276 * eshell/em-hist.el (eshell-history-file-name):
16277 Use expand-file-name instead of concat to make file names (Bug#4308).
16279 2009-09-13 Glenn Morris <rgm@gnu.org>
16281 * ediff-merg.el (ediff-do-merge):
16282 * filesets.el (filesets-run-cmd):
16283 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16284 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16285 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16286 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16287 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16288 Replace empty `let's with `progn'.
16290 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16292 * mail/sendmail.el (send-mail-function):
16293 * tooltip.el (tooltip-mode):
16294 * simple.el (transient-mark-mode):
16295 * rfn-eshadow.el (file-name-shadow-mode):
16296 * frame.el (blink-cursor-mode):
16297 * font-core.el (global-font-lock-mode):
16298 * files.el (temporary-file-directory)
16299 (small-temporary-file-directory, auto-save-file-name-transforms):
16300 * epa-hook.el (auto-encryption-mode):
16301 * composite.el (global-auto-composition-mode):
16302 Use custom-initialize-delay.
16303 * startup.el (command-line): Don't explicitly call
16304 custom-reevaluate-setting for all the above vars.
16305 * custom.el (custom-initialize-safe-set)
16306 (custom-initialize-safe-default): Delete.
16308 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16310 * term/x-win.el (x-initialize-window-system):
16311 * term/w32-win.el (w32-initialize-window-system):
16312 * term/ns-win.el (ns-initialize-window-system): Don't call
16313 mouse-wheel-mode since it's enabled globally by default already.
16315 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16316 actually define the variable, but only silences the byte-compiler.
16317 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16318 before looking it up.
16319 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16322 2009-09-12 Glenn Morris <rgm@gnu.org>
16324 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16326 (elint-add-required-env): Don't beep on error.
16327 (elint-forms): In case of error, return ENV unchanged.
16328 (elint-init-env): Skip non-list forms.
16329 (elint-log): Handle unknown file positions.
16331 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16333 * epg.el (epg-make-context): Add autoload cookie.
16334 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16335 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16336 (epg-verify-string, epg-start-sign, epg-sign-file)
16337 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16338 (epg-encrypt-string, epg-start-export-keys)
16339 (epg-export-keys-to-file, epg-export-keys-to-string)
16340 (epg-start-import-keys, epg-import-keys-from-file)
16341 (epg-import-keys-from-string, epg-start-receive-keys)
16342 (epg-receive-keys, epg-import-keys-from-server)
16343 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16344 (epg-sign-keys, epg-start-generate-key)
16345 (epg-generate-key-from-file, epg-generate-key-from-string):
16346 Remove autoload cookie.
16348 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16350 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16351 reevaluation of trash-directory.
16353 * mwheel.el: Fix last change.
16354 (mouse-wheel-mode): New defvar.
16355 (mouse-wheel-mode): Remove autoload cookie.
16357 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16359 * mwheel.el (mwheel-installed-bindings): New var.
16360 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16361 the bindings we set last time. Use custom-initialize-delay.
16362 * loadup.el: Load mwheel after term/*-win.el.
16363 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16364 and mouse-wheel-up-event now that their first evaluation is done
16365 sufficiently late to be correct.
16367 * startup.el (tutorial-directory): Make it a defcustom.
16368 Use custom-initialize-delay rather than eval-at-startup to set it.
16369 * image.el (image-load-path): Make it a defcustom.
16370 Use custom-initialize-delay rather than eval-at-startup to set it.
16371 * subr.el (eval-at-startup): Remove.
16372 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16374 * subr.el (do-after-load-evaluation): Warn the user after loading an
16377 2009-09-12 Glenn Morris <rgm@gnu.org>
16379 * proced.el (proced-mark-alt): Remove alias.
16380 (proced-mode-map): Remove proced-mark-alt.
16382 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16383 Elint file and directory. Remove initialization entry.
16385 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16387 (elint-current-buffer): Set mode-line-process.
16388 (elint-init-env): Handle define-derived-mode.
16389 Fix declare-function with unspecified arglist. Guard against odd
16390 defalias statements (eg iso-insert's 8859-1-map).
16391 (elint-add-required-env): Use a temp buffer.
16392 (elint-form): Just print the function/macro name, not the whole form.
16393 Return env unchanged if we fail to parse a macro.
16394 (elint-forms): Guard against parse errors.
16395 (elint-output): New function, to handle batch mode.
16396 (elint-log-message): Add optional argument. Use elint-output.
16397 (elint-set-mode-line): New function.
16399 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16401 * emacs-lisp/elp.el (elp-not-profilable): Add more
16402 functions (Bug#4233).
16404 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16406 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16407 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16409 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16411 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16412 (gdb-var-list-children): Use json parsing.
16414 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16416 * progmodes/js.el (js--proper-indentation): Handle the case where
16417 char-before is null. Reported by Deniz Dogan.
16419 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16421 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16423 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16425 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16426 (epg-digest-algorithm-alist): Add SHA224.
16427 (epg-context-set-passphrase-callback)
16428 (epg-context-set-progress-callback): Add description about
16431 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16433 * custom.el (custom-delayed-init-variables): New var.
16434 (custom-initialize-delay): New function.
16435 * startup.el (command-line): "Re"evaluate all vars in
16436 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16437 explicitly any more.
16438 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16439 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16441 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16443 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16445 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16446 (gdb-var-update-handler): Use json parsing.
16448 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16450 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16451 decode annotated text, regardless of language environment. (Bug#2741)
16453 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16455 * Makefile.in (autoloads): Make rmail.el writable as well.
16457 2009-09-11 Glenn Morris <rgm@gnu.org>
16459 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16461 * dired.el: Regenerate with extracted autoloads.
16462 * Makefile.in (autoloads): Make dired.el writable.
16464 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16465 * ibuffer.el: Regenerate with extracted autoloads.
16466 * Makefile.in (autoloads): Make ibuffer.el writable.
16468 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16469 * version.el (emacs-copyright, emacs-major-version)
16470 (emacs-minor-version): Reformat doc-strings for make-docfile.
16472 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16473 functions and variables, since they must be stuff specific to some other
16475 (apropos-print): Make mouse-click message less specific about button.
16477 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16478 that records where a macro was defined.
16479 * help-fns.el (describe-function-1): Mention if a function has a
16481 * help-mode.el (help-function-cmacro): New button.
16483 * locate.el (top-level): Always require dired.
16484 (locate-mode-map): Initialize inside the defvar.
16486 * net/ange-ftp.el (dired-compress-file): Declare.
16487 (ange-ftp-dired-compress-file): Add doc string.
16489 * term/ns-win.el (x-display-name, x-setup-function-keys):
16490 Unify doc-strings with X versions.
16492 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * emulation/crisp.el (crisp-mode-map): Move initialization
16496 (crisp-mode): Use define-minor-mode.
16498 * progmodes/xscheme.el (xscheme-evaluation-commands):
16499 Put a :advertised-binding property rather than using
16500 advertised-xscheme-send-previous-expression.
16501 (advertised-xscheme-send-previous-expression): Declare obsolete.
16502 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16504 (crisp-mode): Add corresponding bindings to
16505 undo's :advertised-binding instead.
16506 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16507 than using dired-advertised-find-file.
16508 (dired-advertised-find-file):
16509 * simple.el (advertised-undo):
16510 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16511 (widget-keymap): Put a :advertised-binding property rather
16512 than using advertised-widget-backward.
16513 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16514 than using advertised-undo.
16515 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16517 2009-09-10 Simon South <ssouth@slowcomputing.org>
16519 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16520 Mark mode is enabled and region is active; otherwise indent or
16521 insert TAB as usual.
16522 (delphi-mode): Update description of TAB-key binding.
16524 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16526 * subr.el (define-key-rebound-commands): Mark obsolete.
16527 * startup.el (precompute-menubar-bindings): Remove.
16528 (normal-top-level): Remove obsolete code that tried to precompute
16530 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16531 define-key-rebound-commands and precompute-menubar-bindings.
16533 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16535 * net/imap.el (imap-interactive-login): Better messages.
16536 (imap-open): Fix bug with renamed buffer on reconnect.
16537 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16538 for easier debugging and cleaner code. On successful (guessed based on
16539 server capabilities) secondary authentication, set imap-state
16541 (imap-last-authenticator): Define imap-last-authenticator as a variable
16544 2009-09-10 Glenn Morris <rgm@gnu.org>
16546 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16548 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16549 (byte-compile-file-form-autoload): Don't warn about unknown functions
16550 where the autoload statement comes after the use.
16551 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16552 that any handlers inside the body (eg require) are in turn respected.
16554 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16557 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16558 and syntax and abbrev tables basic docs, if they don't have any.
16560 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16562 * international/mule-cmds.el (top-level): Require cl when compiling.
16563 (view-hello-file): Use default-value rather than
16564 default-enable-multibyte-characters.
16566 * progmodes/fortran.el: Move all safe and risky properties into the
16569 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16570 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16571 * mail/undigest.el:
16572 Put autoloads in rmail.el rather than loaddefs.el.
16573 * mail/rmail.el: Regenerate with extracted autoloads.
16575 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16576 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16578 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16580 Reported in thread for Bug#4375.
16581 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16582 "-data-evaluate-expression" instead of print.
16583 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16584 (gdb-tooltip-print): Parse output from above MI command.
16585 (gdb): Revert 2009-08-11 change. User should detach inferior
16588 Remove the word "separate" from IO functions as inferior
16589 output is now never displayed in the GUD buffer.
16591 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16593 * startup.el (command-line-normalize-file-name): On Windows and
16594 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16596 2009-09-10 Juri Linkov <juri@jurta.org>
16598 * isearch.el (isearch-text-char-description): Propertize escape
16599 character sequences with the `escape-glyph' face. (Bug#4344)
16601 * simple.el (shell-command): Set asynchronous process filter to
16602 `comint-output-filter'. (Bug#4343)
16604 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16605 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16606 the list. Move "asm" to the bottom.
16607 (grep-find-ignored-directories): Add `choice' with nil value
16608 to empty the list easily.
16609 (grep-find-ignored-files): New option.
16610 (grep-files-history): Set to nil by default instead of '("ch" "el").
16611 (grep-compute-defaults): Add "<X>" to `grep-template'.
16612 (grep-read-files): Bind new local variables `default-alias' and
16613 `default-extension'. Use a list of default values for the file prompt.
16614 (lgrep): Add `--exclude=' command line options composed from
16615 `grep-find-ignored-files'.
16616 (rgrep): Add `-name' command line options composed from
16617 `grep-find-ignored-files'. (Bug#4301)
16619 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16621 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16624 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16626 * calendar/time-date.el (autoload):
16627 Expand define-obsolete-function-alias into defalias and make-obsolete
16628 for old Emacsen that Gnus supports.
16629 (with-no-warnings): Define it for old Emacsen.
16630 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16632 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16633 float-time is available; suppress compile warning for time-to-seconds.
16635 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16637 * net/imap.el (imap-message-map): Docstring fix.
16639 2009-09-09 Glenn Morris <rgm@gnu.org>
16641 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16642 line numbers too. (Bug#4374)
16644 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16646 * smerge-mode.el (smerge-remove-props, smerge-refine):
16647 Use with-silent-modifications (bug#4342).
16649 * subr.el (with-silent-modifications): New macro.
16651 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16653 * files.el (top-level): Require `cl' when compiling.
16655 2009-09-07 Glenn Morris <rgm@gnu.org>
16657 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16659 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16660 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16662 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16664 * vc-git.el (vc-git-annotate-command): Use separator to parse
16665 arguments correctly.
16667 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16669 * proced.el (proced-mode): Doc fix.
16671 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16673 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16675 (tramp-do-file-attributes-with-ls): Check for file existence at
16677 (tramp-do-file-attributes-with-stat): Likewise.
16678 (tramp-convert-file-attributes): Return nil when attr is nil.
16680 2009-09-05 Glenn Morris <rgm@gnu.org>
16682 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16683 properties to this button.
16684 (diary-fancy-display): Don't extend the button to the final newline.
16685 (diary-fancy-display-mode): Continue to define "q" as a local key.
16687 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16690 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16692 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16693 (byte-compile-dest-file-function): New option.
16694 (byte-compile-dest-file): Doc fix.
16695 Obey byte-compile-dest-file-function.
16696 (byte-compile-cl-file-p): New function.
16697 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16698 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16699 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16700 than for file being previously loaded.
16701 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16702 (byte-compile-file-form-require): Handle the case where requiring a file
16703 indirectly causes CL to be loaded.
16705 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16707 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16708 before killing the old buffer, since by the time `kill-buffer' is
16709 run so many buffer variables have been set to nil that it may not
16710 behave as expected. (Bug#4061)
16712 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16714 * files.el (find-alternate-file): If the old buffer is modified
16715 and visiting a file, behave similarly to `kill-buffer' when
16716 killing it, thus reverting to the pre-1.878 behavior; see
16717 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16718 for discussion. Also, consult `buffer-file-name' as a variable
16719 not as a function, for consistency with the rest of the code.
16721 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16723 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16724 also when adding a new directory.
16726 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16729 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16731 * files.el (locate-file-completion-table): Make it provide boundary
16732 information, so partial-completion works better.
16734 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16736 * mail/footnote.el (Footnote-text-under-cursor):
16737 Check footnote-text-marker-alist before using it (bug#4324).
16739 2009-09-04 Glenn Morris <rgm@gnu.org>
16741 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16742 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16743 * play/solitaire.el, play/tetris.el:
16744 Remove leading * from defcustom and defface docs.
16746 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16748 (diary-fancy-overriding-map): New variable.
16749 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16752 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16755 2009-09-03 Glenn Morris <rgm@gnu.org>
16757 * arc-mode.el (archive-mode):
16758 * dos-fns.el (set-default-process-coding-system):
16759 * man.el (Man-getpage-in-background):
16760 * menu-bar.el (menu-bar-describe-menu):
16761 * server.el (server-process-filter):
16762 * startup.el (command-line):
16763 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16764 * w32-fns.el (set-default-process-coding-system):
16765 * x-dnd.el (x-dnd-handle-file-name):
16766 * international/mule-cmds.el (mule-menu-keymap)
16767 (set-default-coding-systems, language-info-alist, set-language-info)
16768 (set-language-environment, standard-display-european-internal)
16769 (set-locale-environment):
16770 * international/mule-diag.el (mule-diag):
16771 * mail/emacsbug.el (report-emacs-bug):
16772 * mail/rmail.el (rmail-mode):
16773 * mail/sendmail.el (mail-setup):
16774 Use default-value rather than default-enable-multibyte-characters.
16776 * progmodes/f90.el: Move all safe properties into the defcustoms.
16777 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16779 * calendar/appt.el (appt-check):
16780 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16781 (diary-check-diary-file, diary-list-entries)
16782 (diary-include-other-diary-files, diary-simple-display)
16783 (diary-fancy-display, diary-print-entries)
16784 (diary-mark-included-diary-files, diary-make-entry):
16785 Don't call substitute-in-file-name on diary-file.
16787 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16788 Stefan Monnier <monnier@iro.umontreal.ca>
16790 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16791 (footnote-mode-map): Move initialization into the declaration.
16792 (footnote-minor-mode-map): Define it rather than changing global-map.
16793 (footnote-mode): Use define-minor-mode.
16795 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16797 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16798 (tramp-do-file-attributes-with-perl)
16799 (tramp-do-file-attributes-with-stat): Rename from
16800 `tramp-handle-file-attributes-with-*'.
16801 (tramp-handle-file-attributes): Use them.
16802 (tramp-do-directory-files-and-attributes-with-perl)
16803 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16804 `tramp-handle-directory-files-and-attributes-with-*'.
16805 (tramp-handle-directory-files-and-attributes): Use them.
16806 (tramp-method-out-of-band-p): Additional parameter SIZE.
16807 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16808 (tramp-handle-write-region): Use it.
16809 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16810 (tramp-handle-vc-registered): Check, whether the first run did
16811 return files to be tested.
16812 (tramp-advice-make-auto-save-file-name): Do not call directly
16813 `tramp-handle-make-auto-save-file-name', because this would bypass
16814 the locking mechanism.
16816 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16817 (file-remote-p, process-file, start-file-process, set-file-times)
16818 (tramp-compat-file-attributes): Compatibility functions shall not
16819 call directly `tramp-handle-*', because this would bypass the
16821 (tramp-compat-number-sequence): New defun.
16823 2009-09-02 Glenn Morris <rgm@gnu.org>
16825 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16826 alias for float-time.
16827 (time-to-number-of-days): In Emacs, use float-time.
16828 * net/newst-backend.el (time-add): Suppress warnings from compat
16830 * time.el (emacs-uptime, emacs-init-time):
16831 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16832 Use float-time rather than time-to-seconds.
16834 * minibuffer.el (completion-initials-expand): Fix typo.
16836 * faces.el (modeline, modeline-inactive, modeline-highlight)
16837 (modeline-buffer-id):
16838 * info.el (info-menu-5): Mark these face aliases as obsolete.
16840 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16842 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16844 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16845 no "--thread" option.
16846 (gdb-stopped): Don't print "Switched to thread" message when it is
16849 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16851 * minibuffer.el (completion-try-completion)
16852 (completion-all-completions): Remove ill-defined (and
16853 mistakenly installed and luckily never used nor documented)
16854 `completion-styles' property.
16855 (completion-initials-expand, completion-initials-all-completions)
16856 (completion-initials-try-completion): New functions.
16857 (completion-styles-alist): Add doc to each entry.
16858 Add new `initials' entry.
16860 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16862 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16863 MI command -var-evaluate-expression.
16864 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16865 and tweak for case of string child.
16866 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16868 2009-09-01 Glenn Morris <rgm@gnu.org>
16870 * add-log.el (change-log-date-face, change-log-name-face)
16871 (change-log-email-face, change-log-file-face, change-log-list-face)
16872 (change-log-conditionals-face, change-log-function-face)
16873 (change-log-acknowledgement-face):
16874 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16875 (custom-modified-face, custom-set-face, custom-changed-face)
16876 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16877 (custom-documentation-face, custom-state-face, custom-comment-face)
16878 (custom-comment-tag-face, custom-variable-tag-face)
16879 (custom-variable-button-face, custom-face-tag-face)
16880 (custom-group-tag-face-1, custom-group-tag-face):
16881 * diff-mode.el (diff-header-face, diff-file-header-face)
16882 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16883 (diff-added-face, diff-changed-face, diff-function-face)
16884 (diff-context-face, diff-nonexistent-face):
16885 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16886 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16887 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16888 (Info-title-4-face):
16889 * isearch.el (isearch-lazy-highlight-face):
16890 * log-view.el (log-view-file-face, log-view-message-face):
16891 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16892 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16893 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16895 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16896 (smerge-base-face, smerge-markers-face):
16897 * wid-edit.el (widget-documentation-face, widget-button-face)
16898 (widget-field-face, widget-single-line-field-face)
16899 (widget-inactive-face, widget-button-pressed-face):
16900 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16901 (woman-addition-face):
16902 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16903 (eshell-ls-executable-face, eshell-ls-readonly-face)
16904 (eshell-ls-unreadable-face, eshell-ls-special-face)
16905 (eshell-ls-missing-face, eshell-ls-archive-face)
16906 (eshell-ls-backup-face, eshell-ls-product-face)
16907 (eshell-ls-clutter-face):
16908 * eshell/em-prompt.el (eshell-prompt-face):
16909 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16910 * obsolete/old-whitespace.el (whitespace-highlight-face):
16911 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16912 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16913 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16914 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16915 (antlr-font-lock-literal-face):
16916 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16917 (ebrowse-root-class-face, ebrowse-file-name-face)
16918 (ebrowse-default-face, ebrowse-member-attribute-face)
16919 (ebrowse-member-class-face, ebrowse-progress-face):
16920 * progmodes/make-mode.el (makefile-space-face):
16921 * progmodes/sh-script.el (sh-heredoc-face):
16922 * textmodes/flyspell.el (flyspell-incorrect-face)
16923 (flyspell-duplicate-face):
16924 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16925 * textmodes/texinfo.el (texinfo-heading-face):
16926 Mark face aliases with "-face" suffix as obsolete.
16928 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16931 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16932 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16933 easy-menu-define wants to modify these.
16935 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16937 * net/browse-url.el (browse-url-file-url):
16938 * term/internal.el (dos-codepage-setup):
16939 Use default-value rather than default-enable-multibyte-characters.
16941 * progmodes/etags.el (etags-goto-tag-location):
16942 * progmodes/flymake.el (flymake-highlight-line)
16943 (flymake-goto-file-and-line, flymake-goto-line):
16944 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16945 (gdb-goto-breakpoint):
16946 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16947 * progmodes/python.el (python-find-function)
16948 (python-pdbtrack-track-stack-file):
16949 * progmodes/verilog-mode.el (verilog-surelint-off):
16950 * term/ns-win.el (ns-open-file-select-line):
16951 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16952 Use forward-line rather than goto-line.
16954 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16955 * textmodes/reftex-index.el (reftex-display-index):
16956 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16957 * textmodes/reftex-toc.el (reftex-toc):
16958 Remove unnecessary bindings of default-major-mode (all are followed by
16959 major-mode check and possible mode switch).
16961 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16963 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16964 Handle watchpoints (bug#4282).
16965 (def-gdb-thread-buffer-command): Enable thread to be selected by
16966 clicking without selecting threads buffer first.
16967 (gdb-current-context-command): Use selected frame so that "up",
16968 "down" etc work in the GUD buffer.
16969 (gdb-update): Find selected frame before rendering stack buffer.
16970 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16972 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16974 * progmodes/sym-comp.el (displayed-completions): Remove.
16975 (symbol-complete): Use minibuffer-complete.
16977 2009-08-31 Glenn Morris <rgm@gnu.org>
16979 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16981 * apropos.el (apropos-symbols-internal):
16982 Handle (obsolete) face aliases.
16984 * faces.el (describe-face): Adjust the output format to be more like
16985 describe-variable, and to mention (obsolete) face aliases.
16986 Adjust the whitespace so that help-setup-xref works.
16988 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16989 * calendar/diary-lib.el (diary-button-face):
16990 Mark these face aliases as obsolete.
16992 * calendar/calendar.el (calendar-today): Doc fix.
16994 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16996 * progmodes/gdb-mi.el (gdb-control-all-threads)
16997 (gdb-control-current-thread): Force tool bar update.
16998 (gdb-non-stop-handler): New function.
16999 (gdb-init-1): Use it to test if non-stop mode is supported.
17000 Remove unused gdbmi buffer type.
17002 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17004 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17005 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17007 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17009 * comint.el (comint-exec-1): Check command is non-null first.
17010 Part of gdb-mi.el change (2009-08-28).
17012 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17014 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17016 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17018 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17019 instead of `dolist' to avoid a recursive require when bootstrapping.
17021 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17023 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17025 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17027 * net/imap.el (imap-send-command): Simplify.
17028 (imap-wait-for-tag): point-max -> buffer-size.
17030 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17032 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17033 with constant argument.
17035 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17037 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17039 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17040 Change default, since most of our files don't have a history.
17041 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17044 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17047 * calc/calc.el: Improve commenting convention.
17048 (calc-digit-map, toplevel): Simplify.
17050 * comint.el (comint-insert-input): Be careful to only set point if we
17051 don't delegate to some other command.
17053 * proced.el (proced-signal-list): Make it an alist.
17054 (proced-grammar-alist): Capitalize names.
17055 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17056 Disable undo manually and make it read-only.
17057 Use completion-annotate-function.
17059 * minibuffer.el (minibuffer-message): If the current buffer is not
17060 a minibuffer, insert the message in the echo area rather than at the
17062 (completion-annotate-function): New variable.
17063 (minibuffer-completion-help): Use it.
17064 (completion--embedded-envvar-table): Environment vars are
17065 always case-sensitive.
17067 2009-08-30 Glenn Morris <rgm@gnu.org>
17069 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17070 from fortran-current-defun.
17071 (fortran-beginning-of-subprogram): Be more precise about finding the
17072 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17073 (fortran-end-of-subprogram): Simplify.
17074 (fortran-current-defun): Use fortran-start-prog-re.
17076 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17078 * subr.el (do-after-load-evaluation): Simplify.
17080 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17082 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17084 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17085 (vc-rcs-print-log): Use it.
17087 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17089 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17091 * paths.el (abbrev-file-name): Move to abbrev.el.
17092 * abbrev.el (abbrev-file-name): Move from paths.el.
17093 Obey user-emacs-directory.
17094 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17095 user-emacs-directory.
17096 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17097 abbrev-file-name and calc-settings-file any more.
17098 * startup.el (command-line): Recompute abbrev-file-name and
17099 abbreviated-home-dir.
17100 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17101 of the special code for when C-h bindings haven't been changed.
17102 (display-startup-echo-area-message): Use with-current-buffer.
17103 (command-line-1): Use a list of strings, rather than a list of lists
17104 of strings for longopts.
17106 * files.el (get-free-disk-space): Use / for default-directory.
17108 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17109 Use with-current-buffer.
17111 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17112 Recognize immutable variables like most-positive-fixnum.
17113 (byte-compile-setq-default): Check and warn if trying to assign
17114 to an immutable variable, or a non-variable.
17116 * progmodes/cc-vars.el (c-comment-continuation-stars):
17117 * progmodes/cc-engine.el (c-looking-at-bos):
17118 * progmodes/cc-cmds.el (c-toggle-auto-state)
17119 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17120 (c-comment-line-break-function): Add version of obsolescence.
17122 2009-08-28 Juri Linkov <juri@jurta.org>
17124 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17125 associated with `archive-mode'.
17127 * image.el (image-type-header-regexps): Use only JPEG magic number
17128 to determine JPEG images, and don't use `image-jpeg-p' because
17129 Emacs can display non-JFIF non-Exif JPEG images.
17131 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17133 * arc-mode.el (archive-mode):
17134 * emacs-lisp/re-builder.el (re-builder-unload-function):
17135 Protect against the default value of `major-mode' being nil.
17137 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17139 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17140 Fix typos in docstrings.
17142 * progmodes/js.el (js--macro-decl-re): Doc fix.
17143 (js--plain-method-re, js--split-name): Refloc docstring.
17144 (js--class-styles, js--make-merged-item, js--splice-into-items):
17145 Fix typos in docstrings; reflow docstrings.
17146 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17147 (js--variable-decl-matcher, js--inside-pitem-p)
17148 (js--parse-state-at-point, js--get-all-known-symbols)
17149 (js--symbol-history, js-find-symbol, js--js-references)
17150 (js--moz-interactor, js--js-encode-value, js--read-tab):
17151 Fix typos in docstrings.
17153 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17155 * textmodes/reftex.el (reftex-get-file-buffer-force):
17156 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17157 * emulation/viper.el (viper-go-away, viper-set-hooks):
17158 * emacs-lisp/re-builder.el (re-builder-unload-function):
17159 * emacs-lisp/bytecomp.el (byte-compile-file):
17160 * ses.el (ses-unload-function):
17161 * hexl.el (hexl-find-file):
17162 * files.el (normal-mode):
17163 * ehelp.el (with-electric-help):
17164 * autoinsert.el (auto-insert-alist):
17165 * arc-mode.el (archive-mode):
17166 Use (default-value 'major-mode) instead of default-major-mode.
17168 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17169 * international/mule.el (load-with-code-conversion):
17170 * emacs-lisp/debug.el (debug):
17171 * ediff-vers.el (ediff-rcs-get-output-buffer):
17172 * dired.el (dired-internal-noselect): Don't let-bind
17173 default-major-mode around code that doesn't use it.
17174 E.g. buffer creation via get-buffer-create doesn't use it.
17176 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17178 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17179 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17180 when writing the temp file. Otherwise, epa-file gets confused.
17181 (tramp-register-file-name-handlers): Make it a defun. Move also
17182 `epa-file-handler' to the front of `file-name-handler-alist'.
17184 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17186 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17187 start right after a ^M.
17188 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17189 (tramp-completion-file-name-regexp-separate)
17190 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17191 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17192 Don't modify last-coding-system-used by accident.
17193 (tramp-completion-file-name-handler): Apply the checks here,
17194 instead during registration.
17195 (tramp-register-file-name-handlers): Rename from
17196 `tramp-register-file-name-handler'. Register both
17197 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17198 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17200 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17202 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17203 Remove variable ...
17204 (gdb-init-1, gdb-display-separate-io-buffer)
17205 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17207 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17208 (gdb-inferior-filter): Use comint-output-filter to stop
17209 echoing and remove ^M characters.
17211 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17213 * emulation/viper-init.el (viper-restore-cursor-type):
17214 * emulation/cua-base.el (cua--update-indications):
17215 Replace default-cursor-type with (default-value 'cursor-type).
17217 * mail/sendmail.el (mail-recover-1):
17218 * international/mule-diag.el (describe-current-coding-system-briefly)
17219 (describe-current-coding-system):
17220 * international/mule-cmds.el (select-safe-coding-system)
17221 (select-message-coding-system)
17222 (set-language-environment-coding-systems, set-locale-environment):
17223 * hexl.el (hexl-insert-multibyte-char):
17224 * dos-w32.el (find-buffer-file-type-coding-system):
17225 * simple.el (what-cursor-position):
17226 Replace uses of default-buffer-file-coding-system
17227 with (default-value 'buffer-file-coding-system).
17229 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17230 Replace uses of default-cursor-in-non-selected-windows
17231 with (default-value 'cursor-in-non-selected-windows).
17232 Use with-current-buffer.
17234 * mail/feedmail.el: Use CL macros.
17235 (feedmail-run-the-queue, feedmail-send-it-immediately):
17236 * dos-w32.el (find-buffer-file-type): Replace uses of
17237 default-buffer-file-type with (default-value 'buffer-file-type).
17239 2009-08-28 Glenn Morris <rgm@gnu.org>
17241 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17242 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17243 Use default-value of major-mode rather than default-major-mode.
17245 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17247 * Makefile.in (update-elcfiles): Report left over elc files.
17249 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17250 expand-file-name and with-current-buffer.
17251 (mail-get-names, mail-directory): Use with-current-buffer.
17253 * vc.el (vc-read-revision): New function.
17254 (vc-version-diff, vc-merge): Use it.
17256 2009-08-27 Sam Steingold <sds@gnu.org>
17258 * simple.el (kill-do-not-save-duplicates): New user option.
17259 (kill-new): When it is non-nil, and the new string is the same as
17260 the latest kill, set replace to t to avoid duplicates in kill-ring.
17262 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17264 * net/tramp.el (tramp-handle-process-file): Do not flush all
17265 caches when `process-file-side-effects' is set.
17266 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17267 instead of `tramp-find-file-exists-command'.
17268 Unset `process-file-side-effects'.
17270 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17272 * net/tramp.el (tramp-methods): New method "rsyncc".
17273 (top): Add completion function for "rsyncc".
17274 (tramp-message-show-message): New defvar.
17275 (tramp-message, tramp-error): Use it.
17276 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17278 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17279 `tramp-methods' entry `copy-env' of "rsyncc".
17280 (tramp-vc-registered-read-file-names): New defconst.
17281 (tramp-vc-registered-file-names): New defvar.
17282 (tramp-handle-vc-registered): Implement optimization strategy.
17283 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17284 (tramp-vc-file-name-handler): New defun.
17285 (tramp-get-ls-command, tramp-get-test-command)
17286 (tramp-get-file-exists-command, tramp-get-remote-ln)
17287 (tramp-get-remote-perl, tramp-get-remote-stat)
17288 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17290 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17291 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17293 (tramp-get-file-property): Check for timestamps in
17294 `tramp-cache-inhibit-cache'.
17295 (tramp-set-file-property): Write timestamp.
17297 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17299 * language/japan-util.el (japanese-symbol-table): Add entries for
17302 * international/characters.el: Add category `j' to cp932-2-byte.
17304 2009-08-27 Kenichi Handa <handa@m17n.org>
17306 * international/fontset.el (build-default-fontset-data): New macro.
17307 (setup-default-fontset): Use build-default-fontset-data for CJK,
17308 tibetan, ethiopic, and ipa.
17310 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17312 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17313 (enable-multibyte-characters): Not customizable any more.
17315 * subr.el (default-mode-line-format, default-header-line-format)
17316 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17317 (default-direction-reversed, default-truncate-lines)
17318 (default-left-margin, default-tab-width, default-case-fold-search)
17319 (default-left-margin-width, default-right-margin-width)
17320 (default-left-fringe-width, default-right-fringe-width)
17321 (default-fringes-outside-margins, default-scroll-bar-width)
17322 (default-vertical-scroll-bar, default-indicate-empty-lines)
17323 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17324 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17325 (default-scroll-down-aggressively, default-fill-column)
17326 (default-cursor-type, default-buffer-file-type)
17327 (default-cursor-in-non-selected-windows)
17328 (default-buffer-file-coding-system, default-major-mode)
17329 (default-enable-multibyte-characters): Mark as obsolete.
17331 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17333 * vc-dir.el (vc-dir-update): Remove debug helper.
17335 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17337 2009-08-26 Sam Steingold <sds@gnu.org>
17339 * simple.el (save-interprogram-paste-before-kill): New user option.
17340 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17341 save the interprogram-paste into kill-ring before overriding it
17342 with the Emacs kill.
17344 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17346 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17347 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17348 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17349 and move to vc-rcs.el.
17350 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17352 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17353 (vc-rcs-update-changelog): Remove.
17354 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17355 and move to vc-rcs.el.
17357 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17358 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17360 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17361 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17362 vc.el, renamed to be RCS specific.
17364 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17366 (vc-cvs-update-changelog): Move here from vc.el.
17368 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17371 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17373 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17375 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17377 * vc-git.el (vc-git-register): Use "git add" for directories.
17378 (vc-git-stash, vc-git-stash-show): New functions.
17379 (vc-git-extra-menu-map): Bind them.
17381 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17382 directory correctly in case the item is a directory itself.
17384 * vc.el: Document the desired behavior for reverted files in the
17386 (vc-default-prettify-state-info): Remove function, unused.
17388 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17390 2009-08-26 Glenn Morris <rgm@gnu.org>
17392 * bindings.el (standard-mode-line-format): Reposition dashes in
17393 which-func entry. (Bug#4217)
17395 * files.el (enable-local-variables, enable-local-eval)
17396 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17398 (auto-mode-alist, ignored-local-variables)
17399 (save-some-buffers-action-alist): Move risky declarations to the
17401 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17402 (font-lock-defaults, format-alist, imenu--index-alist)
17403 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17404 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17405 (mode-line-modified, mode-line-mule-info, mode-line-position)
17406 (mode-line-process, mode-line-remote, outline-level)
17407 (parse-time-rules, rmail-output-file-alist)
17408 (special-display-buffer-names, vc-mode):
17409 Move risky declarations to the relevant files.
17410 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17411 (mode-line-modified, mode-line-process, mode-line-position)
17412 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17413 * font-core.el (font-lock-defaults):
17414 * format.el (format-alist):
17415 * vc-hooks.el (vc-mode):
17416 * window.el (special-display-buffer-names):
17417 * international/mule-cmds.el (input-method-alist):
17418 Define riskiness here (dumped file) rather than in files.el.
17419 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17420 * imenu.el (imenu-generic-expression, imenu--index-alist):
17421 * outline.el (outline-level):
17422 * time.el (display-time-string):
17423 * calendar/parse-time.el (parse-time-rules):
17424 * mail/rmailout.el (rmail-output-file-alist):
17425 Autoload riskiness here, rather than placing in files.el.
17427 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17429 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17431 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17433 * simple.el (process-file-side-effects): New defvar.
17435 * dired-aux.el (dired-show-file-type):
17436 * vc.el (vc-diff-internal):
17437 * vc-arch.el (vc-arch-diff):
17438 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17439 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17440 * vc-git.el (vc-git-registered, vc-git-working-revision)
17441 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17442 (vc-git--empty-db-p):
17443 * vc-hooks.el (vc-user-login-name):
17444 * vc-svn.el (vc-svn-registered, vc-svn-state)
17445 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17446 * progmodes/grep.el (grep-probe): Let-bind
17447 `process-file-side-effects' with nil.
17449 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17451 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17452 daemon. Replace ping by checking for running service for bluez
17453 and zeroconf. (Bug#4239)
17455 2009-08-25 Kevin Ryde <user42@zip.com.au>
17457 * net/dig.el (dig): Add autoload cookie.
17459 2009-08-25 Glenn Morris <rgm@gnu.org>
17461 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17462 load-history for absolute file-names.
17463 (byte-compile-file-form-require): Warn about use of the cl package.
17465 * format.el (format-alist): Doc fix.
17467 * play/bubbles.el (top-level): Don't require cl at run-time.
17469 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17472 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17474 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17476 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17478 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17480 * calc/calc-alg.el (math-trig-rewrite)
17481 (math-hyperbolic-trig-rewrite): New functions.
17482 (calc-simplify): Simplify trig functions when asked.
17484 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17486 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17488 2009-08-24 Kenichi Handa <handa@m17n.org>
17490 * language/ind-util.el (mapthread): Delete it.
17491 (combinatorial): New function.
17492 (indian--puthash-cv): Use combinatorial instead of mapthread.
17494 2009-08-22 Kevin Ryde <user42@zip.com.au>
17496 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17497 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17498 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17499 Clarify docstring that the value is strings not symbols.
17500 (checkdoc-list-of-strings-p): New function.
17502 2009-08-22 Glenn Morris <rgm@gnu.org>
17504 * files.el (auto-mode-alist):
17505 * hippie-exp.el (he-concat-directory-file-name):
17506 * lpr.el (lpr-windows-system, printer-name):
17507 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17508 * ps-print.el (ps-windows-system):
17509 * startup.el (command-line):
17510 * emulation/viper-ex.el (viper-glob-function):
17511 * international/mule-cmds.el (set-language-environment-coding-systems):
17512 * net/ange-ftp.el (ange-ftp-write-region):
17513 * obsolete/fast-lock.el (fast-lock-cache-name):
17514 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17515 unisoft-unix, vax-vms, win32, w32.
17517 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17518 given name if the pattern is not more specific.
17520 * calendar/lunar.el (lunar-phase-names): New option.
17521 (lunar-phase): Doc fix.
17522 (lunar-cycles-per-year): New constant.
17523 (lunar-index): New function.
17524 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17525 (lunar-phase-name): Use lunar-phase-names.
17526 (calendar-lunar-phases): Use format.
17527 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17529 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17530 Copy imenu-example--name-and-position function here for own use.
17531 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17533 * bs.el (bs--redisplay):
17534 * cus-edit.el (custom-redraw):
17535 * ibuffer.el (ibuffer-bury-buffer):
17536 * server.el (server-goto-line-column):
17537 * startup.el (command-line-1):
17538 * strokes.el (strokes-xpm-for-stroke):
17539 * term.el (term-display-buffer-line):
17540 * view.el (View-goto-line):
17541 * calc/calc.el (calc-do, calc-trail-buffer):
17542 * play/gamegrid.el (gamegrid-add-score-insecure):
17543 * progmodes/ada-mode.el (ada-compile-goto-error):
17544 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17545 (ebrowse-select-1st-to-9nth):
17546 * progmodes/cperl-mode.el (cperl-time-fontification):
17547 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17548 * progmodes/gud.el (gud-display-line):
17549 (idlwave-shell-display-line):
17550 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17551 * progmodes/make-mode.el (makefile-browser-toggle):
17552 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17553 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17554 * textmodes/picture.el (picture-draw-rectangle):
17555 * textmodes/reftex-index.el (reftex-index-goto-letter):
17556 (reftex-select-jump-to-previous):
17557 * textmodes/reftex-sel.el (reftex-find-start-point)
17558 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17559 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17560 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17561 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17562 * textmodes/two-column.el (2C-associated-buffer):
17563 Use forward-line rather than goto-line.
17565 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17568 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17569 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17570 (quick-check-list-to-regexp): Declare.
17572 * progmodes/make-mode.el (makefile-browser-insert-selection):
17573 Use goto-char rather than goto-line.
17575 * progmodes/prolog.el (compilation-error-regexp-alist)
17576 (compilation-forget-errors): Declare.
17578 2009-08-22 Juri Linkov <juri@jurta.org>
17580 * progmodes/grep.el (lgrep, rgrep): At the beginning
17581 set `dir' to `default-directory' unless `dir' is a non-nil
17582 readable directory. (Bug#4052)
17583 (lgrep, rgrep): Change a weird way to report an error
17584 from using `read-string' to using `error'.
17585 Instead of using interactive arguments in the function body,
17586 add new argument `confirm'.
17588 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17590 * textmodes/remember.el (remember-buffer):
17591 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17592 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17593 (icalendar-extract-ical-from-buffer):
17594 * net/newst-treeview.el (newsticker-groups-filename):
17595 * net/newst-backend.el (newsticker-cache-filename):
17596 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17597 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17598 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17599 (speedbar-buffers-line-path, speedbar-path-line)
17600 (speedbar-buffers-line-path):
17601 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17603 * epa.el (epa-display-verify-result):
17604 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17606 2009-08-21 Glenn Morris <rgm@gnu.org>
17608 * progmodes/js.el (inferior-moz-process): Fix declaration.
17610 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17612 * obsolete/rnewspost.el (news-mail-reply):
17613 Use goto-char rather than goto-line.
17615 * term/ns-win.el (ns-open-file-select-line):
17616 Use line-beginning-position rather than goto-line.
17618 * apropos.el (apropos-command):
17619 * ehelp.el (electric-helpify):
17620 * printing.el (pr-show-setup):
17621 * strokes.el (strokes-help):
17622 * tutorial.el (tutorial--describe-nonstandard-key)
17623 (tutorial--detailed-help):
17624 * woman.el (woman-mini-help, woman-display-extended-fonts):
17625 * calc/calc-help.el (calc-describe-key):
17626 * emulation/edt.el (edt-electric-helpify):
17627 * international/mule-diag.el (mule-diag):
17628 * play/yow.el (apropos-zippy):
17629 * progmodes/python.el (python-describe-symbol):
17630 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17631 * textmodes/table.el (*table--cell-describe-mode)
17632 (*table--cell-describe-bindings):
17633 Use help-print-return-message rather than the now obsolete alias.
17635 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17636 (calendar-cursor-to-visible-date):
17637 * play/5x5.el (5x5-position-cursor):
17638 * play/decipher.el (decipher):
17639 * play/gomoku.el (gomoku-goto-xy):
17640 * play/landmark.el (lm-goto-xy):
17641 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17642 (mpuz-paint-digit):
17643 Use forward-line, not goto-line.
17645 * mail/rmail.el (rmail-obsolete): Delete custom group.
17646 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17647 (rmail-remote-password, rmail-remote-password-required):
17648 Remove unneeded :set-after and :set properties.
17650 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17652 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17654 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17656 * loadup.el: Remove leftover macos code.
17658 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17659 Explicitly pass the date format to git blame so that user local
17660 so that the output format can be parsed.
17662 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17664 * net/dbus.el (top): Don't check for (getenv
17665 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17667 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17669 * log-edit.el (log-edit-strip-single-file-name): New var.
17670 (log-edit-insert-changelog): Use it. Bug#3571
17672 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17674 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17677 * help.el (help-print-return-message): Rename from
17678 print-help-return-message.
17680 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17681 cvs-mode-map parent hack.
17682 (log-view-mode): Derive from special-mode.
17684 * linum.el (linum-mode): window-size-change-functions is redundant.
17685 Adapt to new window-configuration-change-hook behavior.
17686 (linum-after-size, linum-after-config): Remove.
17688 * imenu.el (imenu-example--name-and-position)
17689 (imenu-example--lisp-extract-index-name)
17690 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17693 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17694 (inferior-prolog-mode): Use it.
17695 (inferior-prolog-load-file): Reset list of errors.
17697 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17699 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17701 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17703 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17705 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17706 is running already.
17708 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17710 * subr.el (listify-key-sequence-1): Use normal syntax since those
17711 integers are nowadays always represented by the same (positive) number
17713 (read-key-empty-map): New const.
17714 (read-key-delay): New var.
17715 (read-key): New function.
17716 (force-mode-line-update): Use with-current-buffer.
17717 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17718 (start-process-shell-command, start-file-process-shell-command):
17719 Discourage the use of command-args.
17721 2009-08-19 Glenn Morris <rgm@gnu.org>
17723 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17725 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17727 * simple.el (choose-completion-string): Don't rely on
17728 minibuffer-completing-file-name and ad-hoc checks to decide whether
17729 to continue completion or not.
17731 * minibuffer.el (minibuffer-hide-completions): New function.
17732 (completion--do-completion): Use it.
17733 (completions-annotations): New face.
17734 (completion--insert-strings): Use it.
17735 (completion-pcm--delim-wild-regex): Add docstring.
17736 (completion-pcm--string->pattern): Add support for 0-width delimiters
17737 in completion-pcm--delim-wild-regex.
17739 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17741 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17742 Remove unused var `buffer-modified-p'.
17744 * minibuffer.el (completion--do-completion): Move point for the #b001
17745 case as well (bug#4176).
17746 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17748 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17750 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17751 and :session buses.
17753 2009-08-18 Kenichi Handa <handa@m17n.org>
17755 * international/ucs-normalize.el (ucs-normalize-version):
17757 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17758 (utf-8-hfs): Make it perform normalization on encoding too.
17760 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17761 (sentence-end-without-space): Delete duplicated chars.
17762 (sentence-end-base): Likewise.
17764 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17765 (html-mode): Delete duplicated chars from sentence-end-base.
17767 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17768 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17770 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17772 * files.el (hack-one-local-variable): If the mode function is for
17773 a minor mode, pass it an argument (Bug#4148).
17775 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17777 * net/tramp.el (tramp-register-completion-file-name-handler):
17778 Check also for (member 'partial-completion completion-styles).
17780 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17782 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17785 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17787 * progmodes/cperl-mode.el: Merge upstream 6.2.
17788 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17789 (cperl-forward-re): Check cperl-brace-recursing.
17790 (cperl-highlight-charclass): New function.
17791 (cperl-find-pods-heres): Use it.
17792 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17793 (cperl-beautify-regexp-piece): Fix column calculation.
17794 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17795 (cperl-beautify-level): Don't process entire regexp.
17796 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17798 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17799 (cperl-init-faces): Build a list in the normal way.
17801 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17803 * calendar/parse-time.el (parse-time-string-chars): Save match
17806 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17808 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17809 (sql-product): Use it.
17810 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17811 (sql-set-product): Add completion.
17812 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17813 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17814 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17815 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17816 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17817 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17818 (sql-highlight-db2-keywords): Remove.
17819 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17820 (sql-highlight-product): Use derived-mode-p.
17821 (sql-set-sqli-buffer): Use with-current-buffer.
17822 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17825 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17827 * term.el: Fix commenting convention, turn comments into docstrings.
17829 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17831 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17833 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17835 * calendar/parse-time.el (parse-time-string-chars): Compute using
17836 character classes, to handle non-ascii characters (Bug#3190).
17838 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17840 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17841 another heredoc if the user adds another < (Bug#3226).
17843 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17844 Don't initialize based on window-system (Bug#4124).
17846 * facemenu.el (facemenu-read-color): Use a completion function
17847 that accepts any defined color, such as RGB triplets (Bug#3677).
17849 * files.el (get-free-disk-space): Change fallback default
17850 directory to /. Expand DIR argument before switching to fallback.
17851 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17853 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17855 * files.el (load-library): Doc fix.
17857 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17859 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17860 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17861 incremental search string.
17863 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17866 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17867 (ediff-merge-region-is-non-clash)
17868 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17869 Also check if the job is really a merge job.
17871 * ediff.el (ediff-current-file): New function.
17873 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17875 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17877 (js-insert-and-indent): Delete function.
17878 (js-mode-map): Don't bind keys to js-insert-and-indent.
17879 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17880 (js-end-of-defun): Rename from js--end-of-defun.
17881 (js-auto-indent-flag): Delete variable.
17883 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17885 * progmodes/js.el: Remove proclaim statement.
17886 Defvar which-func-imenu-joiner-function to silence compiler.
17888 * files.el (auto-mode-alist): Use js-mode for .js files.
17890 * progmodes/js2-mode.el: Remove file.
17892 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17894 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17896 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17898 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17899 Karl Landstrom <karl.landstrom@brgeight.se>
17901 * progmodes/js.el: New file.
17903 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17905 * timezone.el (timezone-parse-date): Add ability to understand ISO
17906 basic format (minimal separators) dates in addition to the
17907 already-supported extended format dates.
17909 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17911 * international/ucs-normalize.el: Add a `coding' file variable.
17913 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17915 2009-08-14 Sam Steingold <sds@gnu.org>
17917 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17919 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17921 * faces.el (help-argument-name): Define it here instead of
17922 help-fns.el, because in daemon mode help-fns.el may be loaded when
17923 faces are still uninitialized (Bug#1078).
17925 * help-fns.el (help-argument-name): Move defface to faces.el.
17927 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17929 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17930 create buffer with a pty but no process so that GDB can make the
17931 inferior the controlling process.
17933 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17935 * international/ucs-normalize.el: New file.
17937 2009-08-13 Richard Stallman <rms@gnu.org>
17939 * mail/rmail.el (rmail-get-attr-names):
17940 Accept an attribute header that is too short.
17942 * mail/rmail.el (rmail-forget-messages):
17943 Ignore nil elt in rmail-message-vector. Use dotimes.
17945 * progmodes/compile.el (compilation-goto-locus):
17946 Use next-error-move-function.
17948 * simple.el (next-error-move-function): New variable.
17950 2009-08-12 Juri Linkov <juri@jurta.org>
17952 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17953 always non-nil. (Bug#4052)
17955 * replace.el (read-regexp): Return empty string when
17956 `default-value' is nil.
17957 (keep-lines-read-args): Don't use empty string as the
17958 default value for `read-regexp'. (Bug#2495)
17960 2009-08-12 Juri Linkov <juri@jurta.org>
17962 * international/mule-cmds.el (ucs-insert): Change arguments
17963 from `arg' to `character', `count', `inherit' to be the same
17964 as in `insert-char'. Doc fix. (Bug#4039)
17966 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17968 2009-08-12 Juri Linkov <juri@jurta.org>
17970 * files-x.el: New file.
17972 * files.el: Move code that deals with adding/deleting
17973 file/directory-local variables to files-x.el.
17975 * Makefile.in (ELCFILES): Add files-x.elc.
17977 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17979 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17980 to use `goto-line'.
17981 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17983 (gdb-invalidate-disassembly): Do not refresh upon receiving
17984 'update signal. Instead, update all disassembly buffers only after
17986 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17987 (gdb-starting): Move -data-list-register-names...
17988 (gdb-stopped): ...here so it's sent when first thread stops.
17989 (gdb-registers-handler-custom): Do nothing if register names are
17992 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17993 from `gdb-mi.el' to avoid extra tangling.
17995 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17996 change which breaks `gud-def' definitions used in `gdb'.
17997 (gdb-update-gud-running): No extra fuss for updating frame number.
17999 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18001 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18002 (describe-language-environment-map, setup-language-environment-map)
18003 (set-coding-system-map): Move initialization into declaration.
18004 (set-language-info-alist): Last arg to define-key-after can be skipped.
18006 * international/quail.el (quail-completion-1): Simplify.
18007 (quail-define-rules): Use slightly more compact code.
18008 (quail-insert-decode-map): Propertize keys, compact columns.
18010 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18013 2009-08-10 Miles Bader <miles@gnu.org>
18015 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18016 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18017 (js2-instance-member, js2-private-member, js2-private-function-call)
18018 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18019 (js2-magic-paren, js2-external-variable):
18020 Remove "-face" suffix from face names.
18021 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18022 (js2-highlight-undeclared-vars, js2-peek-token)
18023 (js2-parse-function-params, js2-mode-show-errors)
18024 (js2-mode-show-warnings, js2-make-magic-delimiter)
18025 (js2-mode-highlight-magic-parens): Update to use new face names.
18027 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18029 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18030 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18032 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18034 * subr.el: Provide hashtable-print-readable.
18036 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18037 hs-c-like-adjust-block-beginning.
18038 (hs-hide-block-at-point): Stop hiding at the beginning of
18039 hs-block-end-regexp (Bug#700).
18041 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18043 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18045 (gdb-registers-handler-custom): Do not fail when register names
18048 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18050 * progmodes/gdb-mi.el (gdb-control-all-threads)
18051 (gdb-control-current-thread): Interactive setters for
18052 `gdb-gud-control-all-threads' to use in menu.
18053 (gdb-show-run-p): Show «Go» when process is not active.
18054 (gud-tool-bar-map): Add non-stop/A,T indicator.
18055 Uses gud/thread.xpm and gud/all.xpm.
18057 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18059 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18060 (nslookup-font-lock-keywords): Make it a variable.
18061 (net-utils-mode): New mode for viewing diagnostic network output.
18062 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18063 (net-utils-run-simple): New function.
18064 (ifconfig, iwconfig, netstat, arp, route): Use it.
18066 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18068 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18069 (gdb-memory-set-address, def-gdb-set-positive-number)
18070 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18071 after changing settings.
18072 (gdb-invalidate-disassembly): Update when first shown.
18073 (gdb-edit-locals-value): Fixed.
18074 (gdb-registers-handler-custom): Print registers in right order and
18075 allow changing register values (only for current thread yet).
18076 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18077 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18078 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18079 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18080 Thread info in mode name.
18081 (gdb-registers-mode-map): TAB to switch to locals.
18083 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18085 * mail/rmail.el (rmail-add-mbox-headers)
18086 (rmail-set-message-counters-counter): Search for
18087 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18089 2009-08-08 Glenn Morris <rgm@gnu.org>
18091 * Makefile.in (ELCFILES): Update.
18093 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18095 * mail/sendmail.el (mail-yank-original):
18096 Set buffer-file-coding-system from the one used by the message whose
18099 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18100 to "windows" when "pgnuplot" is used.
18101 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18102 Don't call accept-process-output if "pgnuplot" is used.
18103 (calc-graph-init): Don't send -display and -geometry to
18104 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18105 running "pgnuplot -V" with shell-command-to-string.
18107 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18110 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18112 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18115 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18117 * vc-dispatcher.el (vc-resynch-window): Update comment.
18119 * term.el (term-handle-ansi-escape): Add comments with the
18120 terminfo capabilities implemented.
18122 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18124 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18125 (gdb-var-create-handler): Rewritten using JSON parser.
18126 (gdb-propertize-header): Move earlier.
18127 (gdb-set-header): Remove to avoid duplication.
18128 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18129 Refresh disassembly buffers only after threads list have been
18131 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18134 2009-08-04 Juri Linkov <juri@jurta.org>
18136 * files.el: Commands to add/delete file/directory-local variables.
18137 (read-file-local-variable, read-file-local-variable-value)
18138 (read-file-local-variable-mode, modify-file-local-variable)
18139 (modify-file-local-variable-prop-line)
18140 (modify-dir-local-variable): New functions.
18141 (add-file-local-variable, delete-file-local-variable)
18142 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18143 (add-dir-local-variable, delete-dir-local-variable)
18144 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18145 (copy-dir-locals-to-file-locals-prop-line): New commands.
18147 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18149 * abbrev.el (insert-abbrev-table-description): Prettify output.
18150 Suggested by Karl Chen.
18152 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18154 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18155 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18156 (gdb-overlay-arrow-position, gdb-thread-position)
18157 (gdb-disassembly-position): Declare variables.
18158 (gdb-wait-for-pending): Function now.
18159 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18160 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18161 compilation goes smoothly.
18162 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18163 (gdb-non-stop-setting): New customization setting which replaces
18164 `gdb-non-stop' so changing it doesn't break active GDB session.
18165 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18166 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18167 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18168 (gdb-show-threads-by-default): New customization options.
18169 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18171 (gdb-get-buffer-create): Send buffers update signal when they are
18173 (gdb-invalidate-locals, gdb-invalidate-registers)
18174 (gdb-invalidate-breakpoints)
18175 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18176 (gdb-invalidate-memory): Accept update signal.
18177 (gdb-current-context-command): Use --frame option.
18178 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18179 Implement `gdb-frame-number' selection logic.
18180 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18181 whether to show GUD toolbar buttons.
18182 (gdb-thread-exited): Unselect current thread when it exits.
18183 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18184 (gdb-mark-line): Routine which sets overlay arrow or inverses
18185 video on fringeless displays.
18186 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18187 to build aligned columns of data in GDB buffers and set text
18188 properties line-by-line.
18189 (gdb-invalidate-breakpoints)
18190 (gdb-breakpoints-list-handler-custom)
18191 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18192 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18193 (gdb-registers-handler-custom): Align data columns.
18194 (gdb-locals-handler-custom): Now prints data like in variable
18196 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18197 Remove confusing buttons.
18198 (gdb-invalidate-threads): Append --frame.
18199 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18200 between breakpoints/threads buffers.
18201 (gdb-set-window-buffer): Now can ignore dedicated windows.
18202 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18203 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18204 (def-gdb-thread-buffer-gud-command): Replaces
18205 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18206 for fine thread control.
18207 (gdb-preempt-existing-or-display-buffer): New function used to
18208 display bound buffers without breaking window layout.
18209 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18210 (gdb-select-frame): New version of `gdb-frames-select' which now
18211 sets `gdb-frame-number' so commands may use --frame option instead
18212 of inner debugger state.
18213 (gdb-frame-handler): Do not set `gdb-frame-number'.
18214 (gdb-threads-mode-map): Select threads with mouse.
18216 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18217 avoid compilation warning.
18218 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18221 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18222 Argument `key' renamed to `buffer-type'.
18223 (gdb-current-context-buffer-name): Do not add thread info to
18224 buffer name when no thread is selected.
18225 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18226 command (bug 3794).
18227 (gdb-thread-selected): Handle `=thread-selected' notification.
18228 (gdb-wait-for-pending): New macro to deal with congestion problems.
18229 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18231 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18232 This fixes problem similar to one described in bug 3947.
18233 (gud-menu-map): More menu items.
18234 (gdb-init-1): Reset `gdb-thread-number' to nil.
18236 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18239 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18240 (gdb-current-context-command): Do not append --thread if
18241 `gdb-thread-number' is nil.
18242 (gdb-running-threads-count, gdb-stopped-threads-count):
18244 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18245 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18246 New customization options.
18247 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18249 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18250 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18251 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18252 set `gdb-thread-number' and update `gud-running' properly.
18253 (gdb-running): Update threads list when new threads appear.
18254 (gdb-stopped): Support non-stop operation and new thread switching
18256 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18257 (gdb-json-partial-output): New set of JSON routines.
18258 (def-gdb-auto-update-trigger): New `signal-list' optional
18260 (gdb-thread-list-handler-custom): Update `gud-running',
18261 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18262 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18263 (gdb-continue-thread, gdb-step-thread): New commands for fine
18264 thread execution control.
18265 (gud-menu-map): New menu items to switch non-stop options.
18266 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18267 (gdb-send): Mimic RET properly (bug 3794).
18269 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18270 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18272 (def-gdb-auto-update-handler): New nopreserve optional argument.
18273 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18275 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18276 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18277 (gdb-parent-mode): New mode to derive other GDB modes from.
18278 (gdb-display-disassembly-for-thread)
18279 (gdb-frame-disassembly-for-thread): New commands for threads
18282 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18283 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18284 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18285 (gdb-update): We now store all GDB buffers in a list so that they
18286 can be updated by traversing a list instead of calling invalidate
18287 triggers explicitly.
18288 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18289 pair for GDB buffer.
18290 (gdb-stack-buffer-name): Add thread information.
18291 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18292 handle pending triggers.
18293 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18294 (def-gdb-thread-buffer-simple-command)
18295 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18296 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18297 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18298 New commands which show buffers bound to thread.
18299 (gdb-stack-list-locals-regexp): Remove unused regexp.
18301 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18302 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18303 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18304 to (gud-comint-buffer) in *-buffer-name functions
18305 because (gdb-get-target-string) already does that.
18306 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18307 (gdb-changed-registers-handler): Rewritten without regexps.
18309 * progmodes/gdb-mi.el: Basic thread selection support.
18310 (gdb-thread-number): New variable.
18311 (gdb-current-context-command): New macro which adds --thread
18313 (gdb-threads-mode-map): Select thread with SPC.
18314 (gdb-thread-list-handler-custom): Mark current thread with overlay
18315 arrow. Synchronize GDB thread and Emacs thread.
18316 (gdb-select-thread): New command which selects current thread.
18317 (gdb-invalidate-frames, gdb-invalidate-locals)
18318 (gdb-invalidate-registers): Use --thread option.
18320 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18322 * net/tramp.el (top): Make check for tramp-gvfs loading more
18324 (tramp-handle-insert-file-contents): `unwind-protect' must be
18325 inside `with-parsed-tramp-file-name'.
18327 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18330 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18332 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18333 directory if CLASSPATH is not set.
18335 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18337 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18339 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18341 2009-08-02 Kevin Ryde <user42@zip.com.au>
18343 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18344 Update freshmeat link. Delete newsforge.com as it seems gone.
18346 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18348 * select.el (x-set-selection): Doc fix (Bug#4021).
18350 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18352 * help-fns.el (describe-variable): Treat list return values from
18353 dir-locals-find-file properly (Bug#4005).
18355 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18357 * net/tramp.el (tramp-debug-message): Print also microseconds.
18359 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18361 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18363 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18364 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18367 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18368 (tramp-get-file-property): Use it.
18370 * autorevert.el (auto-revert-handler):
18371 Allow `auto-revert-tail-mode' for remote files.
18373 2009-08-02 Jason Rumney <jasonr@gnu.org>
18375 * minibuffer.el (read-file-name): Treat confirm options to
18376 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18378 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18380 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18381 (font-lock-variable-name-face, font-lock-constant-face):
18382 Darken the colors for light backgrounds.
18384 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18386 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18387 month names. (Bug#3987)
18389 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18391 * simple.el (line-move-finish): Pass whole number to
18392 line-move-to-column.
18393 (line-move-visual): Perform hscroll to the recorded position.
18395 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18397 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18399 2009-07-29 Alan Mackenzie <acm@muc.de>
18401 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18403 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18405 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18406 (gdb-place-breakpoints): Use full path when setting breakpoints.
18408 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18410 * calc/calc.el (calc-mode-map): Add keybinding for
18411 `calc-transpose-lines'.
18413 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18415 * calc/calc-misc.el (calc-transpose-lines): New function.
18417 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18419 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18420 Simplify check for out-of-band methods.
18421 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18422 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18424 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18426 * vc-git.el (vc-git-checkin): Fix typo.
18428 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18430 * progmodes/js2-mode.el: New file.
18432 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18434 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18435 (gud-menu-map): Adjust tooltip accordingly.
18437 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18439 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18440 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18442 * add-log.el (change-log-mode-map): Add a menu.
18444 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18446 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18447 function returns nil.
18448 (dbus-handle-event): Handle special return value :ignore.
18449 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18451 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18453 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18456 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18460 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18462 * term/pc-win.el (x-display-name, x-colors)
18463 (x-select-enable-clipboard, x-select-text): Doc fix.
18465 * term/common-win.el (x-display-name, x-colors): Doc fix.
18467 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18468 (xw-defined-colors): Doc fix.
18470 * w32-fns.el (x-select-text, x-setup-function-keys)
18471 (x-get-selection, x-set-selection): Doc fix.
18473 * term/x-win.el (x-select-text, x-setup-function-keys)
18474 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18476 * select.el (x-set-selection): Doc fix.
18478 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18480 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18481 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18482 "IsNSSSupportAvailable" method is not available.
18483 Reported by Steve Youngs <steve@sxemacs.org>.
18485 2009-07-24 Kenichi Handa <handa@m17n.org>
18487 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18488 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18489 (build-unicode-category-table): Fix range checks.
18491 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18493 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18494 the buffer we try to sync is current when calling
18497 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18498 not show up to date files.
18500 2009-07-24 Glenn Morris <rgm@gnu.org>
18502 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18503 Add autoload cookies. If necessary, initialize.
18504 (elint-log): Handle non-file buffers.
18505 (elint-initialize): Add optional argument to reinitialize.
18506 (elint-find-builtin-variables): Save excursion.
18508 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18510 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18513 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18515 * vc.el (vc-print-log-internal): New function, split out from ...
18516 (vc-print-log): ... here.
18517 (vc-dir-move-to-goal-column): Declare.
18519 * vc-git.el (vc-git-add-signoff): New variable.
18520 (vc-git-checkin): Use it.
18521 (vc-git-toggle-signoff): New function.
18522 (vc-git-extra-menu-map): Bind it to menu.
18523 (vc-git--run-command-string): Accept a nil FILE argument.
18524 (vc-git-stash-list): New function.
18525 (vc-git-dir-extra-headers): Use it.
18527 2009-07-23 Glenn Morris <rgm@gnu.org>
18529 * help-fns.el (describe-variable): Describe ignored and risky local
18530 variables in a similar way to that in which we describe safe ones.
18532 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18533 (byte-compile-output-file-form, byte-compile-output-docform)
18534 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18535 Give some more local variables with common names a "bytecomp-" prefix,
18536 so as not to shadow things during compilation.
18537 * emacs-lisp/cl-macs.el (load-time-value)
18538 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18539 `outbuffer' to `bytecomp-outbuffer'.
18541 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18542 since the next two variables cover them automatically now.
18543 (elint-builtin-variables, elint-autoloaded-variables): New.
18544 (elint-unknown-builtin-args): Remove all members, since they can be
18545 parsed automatically now.
18546 (elint-extra-errors): New.
18547 (elint-env-add-env, elint-env-add-macro): Use cadr.
18548 (elint-current-buffer): Use or. Change final message.
18549 (elint-get-top-forms): Use line-end-position.
18550 (elint-init-env): Use cadr. Handle autoload, declare-function,
18552 (elint-add-required-env): Doc fix. Use or. Standardize error.
18553 (regexp-assoc): Remove unused function.
18554 (elint-top-form): Set elint-current-pos, to record the start of the
18555 top-level form, for compilation-mode.
18556 (elint-form): Trap errors in macro expansion. Use dolist.
18557 (elint-unbound-variable): Use elint-builtin-variables and
18558 elint-autoloaded-variables.
18559 (elint-get-args): Use cadr, or.
18560 (elint-check-cond-form): Use dolist, cadr.
18561 (elint-check-condition-case-form): Doc fix. Use cadr.
18562 Use elint-extra-errors.
18563 (elint-log): New function.
18564 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18565 Distinguish errors and warnings.
18566 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18567 Use a bytecomp-style format.
18568 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18569 (elint-get-log-buffer): Use compilation mode. Disable undo.
18570 Don't truncate lines.
18571 (elint-initialize): Set builtin and autoloaded variable lists.
18572 Only process elint-unknown-builtin-args if non-nil.
18573 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18575 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18577 2009-07-22 Kevin Ryde <user42@zip.com.au>
18579 * net/newst-backend.el (newsticker--parse-atom-1.0)
18580 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18581 (newsticker--parse-rss-1.0):
18582 * progmodes/idlwave.el (idlwave-mode):
18583 * progmodes/idlw-shell.el (idlwave-shell-mode):
18584 * progmodes/vera-mode.el (vera-mode):
18585 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18586 * progmodes/vhdl-mode.el (vhdl-mode):
18587 * textmodes/table.el (table-generate-source)
18588 (table--warn-incompatibility):
18589 Hyperlink urls in docstrings with URL `...'.
18591 2009-07-22 Glenn Morris <rgm@gnu.org>
18593 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18594 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18595 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18596 Remove leading * from defcustom docs.
18598 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18600 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18602 (list-load-path-shadows): Optionally, just return shadows as a string.
18604 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18606 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18608 * mail/rmailedit.el (rmail-edit-mode):
18609 Use auto-save-include-big-deletions.
18611 * mail/rmail.el (rmail-variables):
18612 Use auto-save-include-big-deletions.
18614 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18617 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18619 * calc/calc.el (calc-undo-length): New variable.
18620 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18622 2009-07-21 Richard Stallman <rms@gnu.org>
18624 * files.el (auto-save-mode): Handle buffer-save-size = -2
18627 2009-07-21 Glenn Morris <rgm@gnu.org>
18629 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18631 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18633 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18634 silence compiler. Instead...
18635 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18636 (ps-print-ensure-fontified): Update for above function name changes.
18638 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18639 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18640 silence compiler. Instead...
18641 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18642 (mh-show-buffer): Only define for compiler.
18643 (pr-mh-current-message): Update for above function name changes.
18645 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18647 (find-file-noselect, insert-file-1): Update for above change.
18649 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18651 * mail/mailclient.el (mailclient-send-it): Fix message.
18653 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18654 (edebug-eval): Check cl-debug-env is bound.
18655 (print-level, print-circle): Don't redefine built-in variables.
18657 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18658 (custom-print-vectors): Remove old comments from doc.
18660 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18661 (emerge-version): Make the variable an obsolete alias for the
18662 emacs-version variable. Make the function obsolete.
18663 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18664 Emerge options, rather than merging in into the main Options menu.
18665 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18666 and auto advance modes. Disable edit/fast items when not relevant.
18668 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18670 * term/vt420.el (terminal-init-vt420): Fix typo.
18672 2009-07-20 Sam Steingold <sds@gnu.org>
18674 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18675 variable (removed from compile.el on 2004-03-11).
18677 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18679 * files.el (hack-local-variables-filter): Fix last change.
18681 2009-07-19 Juri Linkov <juri@jurta.org>
18683 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18684 (dir-local-variables-alist): New buffer-local variable.
18685 (hack-local-variables-filter): If variable is not dir-local,
18686 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18687 because file-local overrides dir-local.
18688 (c-postprocess-file-styles) <declare-function>:
18689 Remove obsolete declaration.
18690 (hack-dir-local-variables): Add dir-local variable/value pair to
18691 `dir-local-variables-alist' and remove duplicates. Doc fix.
18693 * help-fns.el (describe-variable): Add information about
18694 file-local and dir-local variables.
18696 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18698 * files.el (hack-local-variables-filter): Rewrite.
18700 2009-07-19 Glenn Morris <rgm@gnu.org>
18702 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18703 Silence compiler by only defining on XEmacs.
18705 * international/mule.el (auto-coding-regexp-alist): Only match
18706 BABYL... at the start of buffer, not of lines. (Bug#3790)
18708 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18709 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18710 (cal-menu-context-mouse-menu): Doc fix.
18712 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18714 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18716 2009-07-18 Juri Linkov <juri@jurta.org>
18718 * info.el: Virtual Info keyword finder.
18719 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18720 (Info-finder-file): New variable.
18721 (Info-finder-find-file): New function.
18722 (finder-known-keywords, finder-package-info)
18723 (find-library-name, lm-commentary): Use defvar and
18724 declare-function to silence compiler warnings.
18725 (Info-finder-find-node): New function.
18726 (info-finder): New command.
18728 * subr.el (process-kill-buffer-query-function): New function.
18729 (add-hook)<kill-buffer-query-functions>: Add hook
18730 `process-kill-buffer-query-function'.
18732 2009-07-18 Alan Mackenzie <acm@muc.de>
18734 * progmodes/cc-mode.el (c-before-hack-hook)
18735 (c-postprocess-file-styles): Give invocation of `c-set-style'
18736 DONT-OVERRIDE parameter of t. Already set style variables will
18737 thus not be overridden by style settings given by `c-file-syle'.
18739 * files.el (hack-local-variables-filter): Remove entries with
18740 duplicate keys from `file-local-variables-alist'.
18742 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18744 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18745 x-set-selection if display-selections-p returns nil for the
18748 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18750 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18752 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18754 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18755 Accept nil in addition to a regexp.
18756 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18757 Accept nil in addition to a regexp.
18758 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18759 buffers that have an associated file. Handle nil values of
18760 desktop-buffers-not-to-save and desktop-files-not-to-save.
18763 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18764 (x-disown-selection-internal): New functions.
18766 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18768 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18770 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18771 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18773 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18775 * simple.el (set-mark): Revert last change.
18777 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18779 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18780 rendering of pngs is not possible instead of messaging a long
18783 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18785 * w32-fns.el (x-selection-owner-p): New function.
18787 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18788 (mouse-yank-at-click, mouse-yank-primary):
18789 If select-active-regions is non-nil, deactivate the mark before
18792 * simple.el (deactivate-mark, set-mark): Only save selection if we
18795 2009-07-17 Kenichi Handa <handa@m17n.org>
18797 * case-table.el (describe-buffer-case-table): Fix for the case
18798 that KEY is a cons.
18800 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18802 * vc-rcs.el (vc-rcs-find-file-hook):
18803 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18805 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18807 * net/tramp.el (tramp-wait-for-output): Handle the case when
18808 commands do not return a newline but a null byte before the shell
18811 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18813 * term/ns-win.el (ns-set-alpha): Don't declare.
18814 (ns-set-background-alpha): Remove function.
18816 2009-07-16 Kevin Ryde <user42@zip.com.au>
18818 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18819 y-or-n-p, for safety.
18821 2009-07-16 Richard Stallman <rms@gnu.org>
18823 * files.el (auto-save-mode): If buffer-saved-size is -2,
18826 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18827 (rmail-retry-ignored-headers): Add more uninteresting fields.
18829 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18831 * net/rcirc.el (rcirc): Use history variables.
18832 (rcirc-server-name-history, rcirc-nick-name-history)
18833 (rcirc-server-port-history): New variables.
18835 2009-07-15 Kenichi Handa <handa@m17n.org>
18837 * international/mule-cmds.el (set-language-environment-charset):
18838 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18841 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18842 Delete unibyte-display.
18844 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18846 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18848 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18850 * simple.el (deactivate-mark): Optional argument FORCE.
18851 (set-mark): Use deactivate-mark.
18853 * info.el (Info-search): No need to check transient-mark-mode
18854 before calling deactivate-mark.
18856 * select.el (x-set-selection): Doc fix.
18857 (x-valid-simple-selection-p): Allow buffer values.
18858 (xselect--selection-bounds): Handle buffer values.
18859 Suggested by David De La Harpe Golden.
18861 * mouse.el (mouse-set-region, mouse-drag-track):
18862 Call copy-region-as-kill before setting the mark, to let
18863 select-active-regions work.
18865 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18867 * simple.el (deactivate-mark): If select-active-regions is
18868 non-nil, copy the selection data into a string.
18869 (activate-mark): If select-active-regions is non-nil, set the
18870 selection to the current buffer.
18871 (set-mark): Update selection if select-active-regions is non-nil.
18873 * select.el (x-valid-simple-selection-p): Allow buffer values.
18875 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18877 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18878 and more featureful message-mode.
18880 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18882 * select.el (x-set-selection): Doc fix.
18883 (x-valid-simple-selection-p): Disallow selection data consisting
18884 of a list or cons of integers, since that is not used.
18885 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18886 (xselect-convert-to-string, xselect-convert-to-length)
18887 (xselect-convert-to-filename, xselect-convert-to-charpos)
18888 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18890 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18892 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18893 output in -break-info command (Emacs bug #3794).
18895 2009-07-14 Glenn Morris <rgm@gnu.org>
18897 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18898 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18899 (edebug-print-length, edebug-print-level, edebug-print-circle)
18900 (edebug-sit-for-seconds, edebug-view-outside)
18901 (edebug-bounce-point, edebug-set-global-break-condition)
18902 (edebug-Go-nonstop-mode, edebug-trace-mode)
18903 (edebug-Trace-fast-mode, edebug-continue-mode)
18904 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18905 (edebug-visit-eval-list): Doc fixes.
18907 * subr.el (def-edebug-spec): Doc fix.
18909 2009-07-14 Kenichi Handa <handa@m17n.org>
18911 * international/characters.el: Fix setting of category ?C.
18913 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18915 * term/ns-win.el (x-select-font): defalias x-select-font to
18916 ns-popup-font-panel instead of generate-fontset-menu.
18918 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18920 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18922 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18924 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18925 the PK\003\004 header (Bug#3770).
18927 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18929 * pcomplete.el (pcomplete-comint-setup): Check for
18930 shell-dynamic-complete-filename too.
18932 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18934 * simple.el (temporary-goal-column): Change the value for
18935 line-move-visual to a cons cell.
18936 (line-move-visual): Record or set the window hscroll, if
18937 necessary (Bug#3494).
18938 (line-move-1): Handle cons value of temporary-goal-column.
18940 2009-07-11 Kenichi Handa <handa@m17n.org>
18942 * international/mule-diag.el (describe-character-set): Don't show
18945 2009-07-10 Sam Steingold <sds@gnu.org>
18947 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18948 Omake sometimes indents the errors it prints, so allow all
18949 regexps to start with spaces.
18951 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18953 * cus-edit.el (customize-changed-options-previous-release):
18954 Bump value to 22.1. (Bug#3804)
18956 2009-07-08 Sam Steingold <sds@gnu.org>
18958 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18959 to be a cons cell (test . ignored-directory) to selectively ignore
18960 some directories depending on the location of the search.
18962 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18964 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18965 remote user is root, on the local host.
18966 (tramp-local-host-p): Either the local user or the remote user
18967 must be root. (Bug#3771)
18969 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18971 * progmodes/gdb-mi.el (gdb): Remove description of
18972 gdb-use-separate-io-buffer.
18973 (menu): Don't allow toggling of or enable
18974 gdb-use-separate-io-buffer from menubar.
18976 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18978 * mail/unrmail.el (unrmail): Make sure the message ends with two
18979 newlines (Bug#3769).
18981 2009-07-08 Glenn Morris <rgm@gnu.org>
18983 * calendar/calendar.el (calendar-current-date): Rework previous change.
18985 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18987 * calendar/calendar.el (calendar-current-date):
18988 Add an optional argument giving an offset from today.
18990 2009-07-08 Glenn Morris <rgm@gnu.org>
18992 * tutorial.el (tutorial--describe-nonstandard-key):
18993 Adjust the message for when a key has been unbound.
18994 (help-with-tutorial): Hide the arch-tag.
18996 2009-07-08 Kenichi Handa <handa@m17n.org>
18998 * international/fontset.el (setup-default-fontset): For each
18999 script, append (not set) font-specs.
19001 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19004 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19006 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19007 -data-list-register-names to ...
19008 (gdb-starting): ... here because GDB 7.0 requires execution to
19009 have started when using this MI command.
19010 (gdb-set-header): New function to distinguish select and
19011 unselected tabs in gdb buffers.
19012 (gdb-propertize-header): New macro that uses gdb-set-header.
19013 (gdb-breakpoints-header, gdb-locals-header): Use it.
19014 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19016 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19018 * Makefile.in (ELCFILES): Remove fadr.elc.
19020 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19022 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19023 may contain frame information, so `string-match' should be used.
19024 (gdb-update): Disassembly is invalidated through
19025 `gdb-get-selected-frame'.
19026 (gdb-pad-string): New function to pad string with spaces.
19027 (gdb-invalidate-disassembly): Invalidate only if the buffer
19029 (gdb-disassembly-handler-custom): Column alignment.
19030 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19032 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19034 (gdb-frame-handler): Match convention to for disassembly buffer
19036 (gdb-stack-list-frames-handler): Rewritten without regexps.
19037 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19038 not highlight breakpoints without line information.
19039 (gdb-input): Add trailing newline to command.
19041 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19043 (gdb-breakpoints-list-handler-custom): Replacement for
19044 `gdb-break-list-handler'. Using real parser instead of regexps
19046 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19047 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19048 to place breakpoints.
19049 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19051 (gdb-disassembly-handler-custom): Show overlay arrow.
19052 (gdb-disassembly-place-breakpoints): Show breakpoints in
19053 disassembly buffer.
19054 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19055 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19056 instead of parsing breakpoints buffer. Fixed old menu references
19061 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19062 (gdb-memory-address): New variable which holds top address of
19063 memory page shown in memory buffer.
19064 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19065 New customization variables.
19067 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19068 display the memory buffer.
19069 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19070 buffer display parameters.
19071 (def-gdb-memory-format, gdb-memory-format-binary)
19072 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19073 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19074 Functions for setting memory buffer format.
19075 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19076 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19077 unit size used in memory buffer.
19078 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19079 Switch to next/previous page of memory buffer.
19080 Now using (bindat-get-field) instead of fadr functions.
19082 2009-07-07 Sam Steingold <sds@gnu.org>
19084 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19085 non-top-level files.
19087 2009-07-07 Kenichi Handa <handa@m17n.org>
19089 * international/mule-cmds.el (reset-language-environment):
19090 Put the highset priority to the charset iso-8859-1.
19092 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19094 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19095 to the end of the line when locating the block (Bug#700).
19097 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19099 * net/tramp.el (tramp-handle-write-region): Flush file properties
19100 in case of short track.
19102 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19104 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19105 Coded custom representation of verilog error regular expressions
19106 to work with Emacs-22's new format.
19107 (verilog-error-regexp-xemacs-alist): Coded custom representation
19108 of verilog error regular expressions to work with XEmacs format.
19109 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19110 error recognition into XEmacs.
19111 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19112 error recognition into Emacs-22.
19114 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19116 * woman.el: Remove stand-alone closing parentheses.
19117 (woman-file-name, woman2-format-paragraphs)
19118 (woman-leave-blank-lines): Code cleanup.
19119 (woman-use-own-frame): Change default to nil.
19120 (woman-italic, woman-bold, woman-unknown, woman-addition):
19121 Change defaults to inherit from default faces.
19122 (woman2-process-escapes): Consume the newline after a stand-alone
19123 filler character (Bug#3651).
19125 2009-07-06 Glenn Morris <rgm@gnu.org>
19127 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19128 (top-level): Move provide to the end.
19129 (ffap): Remove defunct URL from custom group.
19131 * subr.el (eval-after-load): Doc fix.
19133 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19135 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19136 `calc-embedded-word' is called twice.
19138 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19140 * files.el (find-alternate-file-other-window, find-alternate-file):
19141 Obey confirm-nonexistent-file-or-buffer.
19143 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19145 * dired-aux.el (dired-show-file-type): Handle remote files.
19147 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19149 * desktop.el (desktop-globals-to-save):
19150 Add file-name-history (Bug#2750).
19152 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19154 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19156 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19158 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19159 property on entire argument since this is what eshell-lisp-command
19162 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19164 * net/tramp-gvfs.el (tramp-gvfs-methods)
19165 (tramp-gvfs-zeroconf-domain)
19166 (tramp-bluez-discover-devices-timeout): Add version flag.
19167 (tramp-gvfs-handler-mounted-unmounted)
19168 (tramp-gvfs-connection-mounted-p): Polish handling of
19169 incompatibilities between GVFS 0.2 and 1.0.
19171 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19173 * cus-start.el (all): Add make-pointer-invisible.
19175 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19177 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19178 formatted correctly.
19180 2009-07-02 Juri Linkov <juri@jurta.org>
19182 * info.el: Virtual Info files and nodes.
19183 (Info-virtual-files, Info-virtual-nodes): New variables.
19184 (Info-current-node-virtual): New variable.
19185 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19187 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19188 to check for a virtual file instead of checking a fixed list
19190 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19191 instead of ad-hoc processing of "dir" and (apropos history toc).
19192 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19193 instead of ad-hoc processing of "dir" and (apropos history toc).
19194 Reread a file when moving from a virtual node.
19195 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19196 (Info-directory-toc-nodes, Info-directory-find-file)
19197 (Info-directory-find-node): New functions.
19198 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19199 (Info-history): Move part of code to
19200 `Info-history-find-node'.
19201 (Info-history-toc-nodes, Info-history-find-file)
19202 (Info-history-find-node): New functions.
19203 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19204 (Info-toc): Move part of code to `Info-toc-find-node'.
19205 (Info-toc-find-node): New function.
19206 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19207 the current Info file name to references because now the node
19208 "*TOC*" belongs to the same Info manual.
19209 (Info-toc-build): Rename from `Info-build-toc'.
19210 (Info-toc-nodes): Rename input argument `file' to `filename'.
19211 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19212 instead of ad-hoc processing of ("dir" apropos history toc).
19213 (Info-index-nodes): Use Info-virtual-file-p
19214 to check for a virtual file instead of checking a fixed list
19216 (Info-index-node): Add check for `Info-current-node-virtual'.
19217 Raise `save-match-data' higher up the tree to contain
19218 `search-forward' too (bug fix).
19219 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19220 (Info-virtual-index-nodes): New variable.
19221 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19222 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19223 (Info-apropos-file, Info-apropos-nodes): New variables.
19224 (Info-apropos-toc-nodes, Info-apropos-find-file)
19225 (Info-apropos-find-node, Info-apropos-matches): New functions.
19226 (info-apropos): Move part of code to `Info-apropos-find-node' and
19227 `Info-apropos-matches'.
19228 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19229 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19230 for a virtual file instead of checking a fixed list of node names.
19232 * simple.el (async-shell-command): New command.
19234 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19236 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19237 instead of `mount-info'.
19239 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19241 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19242 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19244 2009-07-02 Kenichi Handa <handa@m17n.org>
19246 * international/mule.el (set-keyboard-coding-system): Force *-unix
19247 coding-system to avoid eol conversion.
19249 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19251 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19252 Add handler for `process-file', `shell-command' and
19253 `start-file-process'.
19254 (tramp-gvfs-handle-shell-command)
19255 (tramp-gvfs-handle-start-file-process)
19256 (tramp-gvfs-handle-process-file): New defuns.
19257 (tramp-synce-list-devices): Simplify check for existence of property.
19259 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19261 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19263 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19265 * language/korean.el (set-language-info-alist): Add korean-cp949,
19268 2009-07-01 Kenichi Handa <handa@m17n.org>
19270 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19272 * international/encoded-kb.el: Deleted.
19274 * international/mule.el (set-keyboard-coding-system): Perform the
19275 necessary setup here instead of calling encoded-kbd-setup-display.
19277 2009-07-01 Glenn Morris <rgm@gnu.org>
19279 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19281 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19283 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19285 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19287 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19288 Handle also the 'rename case, when setting file modes. (Bug#3712)
19289 (tramp-default-file-modes): Remove execute permissions.
19291 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19292 (top): Add a default for "synce" in `tramp-default-user-alist'.
19293 Add completion function for "synce" method.
19294 (tramp-hal-service, tramp-hal-path-manager)
19295 (tramp-hal-interface-manager, tramp-hal-interface-device):
19297 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19298 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19301 * net/trampver.el: Update release number.
19303 2009-06-30 Kenichi Handa <handa@m17n.org>
19305 * international/fontset.el (setup-default-fontset): Add CJK fonts
19306 for symbols and the other miscellaneous characters.
19308 * language/korea-util.el (setup-korean-environment-internal):
19309 Make char-width-table suitable for Korean environments.
19310 (exit-korean-environment): Cancel above.
19312 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19313 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19314 setup-function to make char-width-table suitable for respective
19315 environments, and an exit-function to cancel that.
19317 * language/japan-util.el (setup-japanese-environment-internal):
19318 Call use-cjk-char-width-table with arg `ja_JP'.
19320 * international/characters.el (cjk-char-width-table): Delete it.
19321 (cjk-char-width-table-list): New variable.
19322 (use-cjk-char-width-table): New arg local-name.
19323 (use-default-char-width-table): Fix for the case that Emacs is
19324 already using the default char-width-table.
19326 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19328 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19329 modes mandatory. (Bug#3712)
19331 2009-06-29 Alan Mackenzie <acm@muc.de>
19333 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19334 correction between the visible width of TABs and their number of bytes.
19336 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19338 * server.el (server-buffer-done): Prevent kill-buffer from
19339 prompting by clearing the buffer modification flag (Bug#3696).
19341 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19343 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19344 (verilog-endcomment-reason-re): Support unique case and priority case.
19345 (verilog-basic-complete-re): Support localparam lineup.
19346 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19347 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19349 (verilog-leap-to-case-head): Now support *nested* unique &
19350 priority case statements.
19351 (verilog-auto-lineup): Make just declarations the default (as it
19353 (verilog-leap-to-case-head): Support priority/unique case statements.
19354 (verilog-auto-lineup): Rework to give users radio buttons to
19355 select the various styles of automatic lineup.
19356 (verilog-error-regexp-alist): Rework to support the XEmacs style
19357 of error regular expressions from compilers, lint tools &
19358 simulators. Note that GNU Emacs has made it impossible for a mode
19359 to load such things.
19360 (electric-verilog-terminate-line, verilog-indent-declaration)
19361 (verilog-auto-wiure): Rework for radio button selection of
19362 auto-lineup selection of specification of auto lineup.
19363 (verilog-beg-of-statement-1): Redesign to support proper operation
19364 in additional code, based on testing with auto-lineup.
19365 (verilog-calculate-indent, assignments & declarations)
19366 (verilog-backward-token): Enhance to support auto-lineup of
19367 assignments & declarations.
19368 (verilog-in-directive-p, verilog-at-struct-p): New function for
19369 easy test of whether we are.
19370 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19371 to support safe execution at almost anyline.
19372 (verilog-calc-1): Properly support indenting deep inside generate
19374 (verilog-init-font): Remove definition & use of verilog-init-font,
19375 as it is redundant with font-lock-defaults.
19376 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19377 to avoid circular calls if syntax-ppss is a function (as is the
19378 case now in 22.x GNU Emacs) as that function would sometimes call
19379 itself, leading to (nearly) infinite recursion.
19380 (verilog-ovm-begin-re, verilog-ovm-end-re)
19381 (verilog-ovm-statement-re, verilog-leap-to-head)
19382 (verilog-backward-token): Add support for OVM macros. Some are
19383 complete statements, and others open and close scopes like begin
19385 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19386 (verilog-defun-level-generate-only-re): Really fix the defun-list
19388 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19389 coverpoint, constraint and cross statements.
19390 (verilog-defun-level-list, verilog-generate-defun-level-list)
19391 (verilog-all-defun-level-list): Redo these specifications - it is
19392 too hard to support eval-when compile aggregation of lists also
19393 built at when-compile time.
19394 (verilog-defun-level-list): Place defconsts of variables used in
19395 building regular expressions which are built in eval-when-compile
19396 bodies in the same eval-when-compile body to facilitate compile
19398 (verilog-beg-block-re-ordered): Support indenting
19399 virtual/protected tasks and functions.
19400 (verilog-defun-level-list, verilog-in-generate-region-p)
19401 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19402 indentation of some module items (generate items).
19403 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19404 across virtual/protected tasks and functions.
19406 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19408 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19409 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19410 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19411 in concatenations. Reported by Yishay Belkind.
19412 (verilog-auto-ascii-enum): Support one-hot state machines in
19413 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19414 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19415 modport in AUTOINST and add vl-modport for users.
19416 Reported by David Rogoff.
19417 (verilog-auto-inout-module, verilog-auto-inst)
19418 (verilog-decls-get-interfaces, verilog-insert-definition)
19419 (verilog-insert-one-definition, verilog-read-decls)
19420 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19421 (verilog-sig-modport, verilog-signals-combine-bus)
19422 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19423 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19424 Suggested by David Rogoff.
19425 (verilog-repair-open-comma): Fix non-insertion of comma when
19426 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19427 (verilog-make-width-expression): Simplify [A-1:0] expression
19428 widths to just {A{1'b0}}.
19429 (verilog-mode): Cleanup checkdoc warnings.
19430 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19431 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19432 inputs/outputs or data type. Suggested by Vasu Kandadi.
19433 (next-error-last-buffer): Fix byte-compiler warning.
19434 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19435 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19436 or shell command text during AUTO expansion. Suggested by Tad Truex.
19437 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19438 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19439 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19440 in AUTOINOUT. Reported by Matthew Lovell.
19441 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19442 causing use of <= assignments. Reported by Alex Reed.
19443 (verilog-read-decls): Fix triand, trior, wand, wor to be
19444 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19445 (verilog-extended-complete-re): Support import "DPI-C" functions.
19446 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19447 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19448 (verilog-insert-date, verilog-insert-year)
19449 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19450 Windows systems. Reported by Michael Potts.
19451 (verilog-read-module-name): Fix AUTOINST when the child module
19452 declaration's name is a tick define. Reported by Elliot Mednick.
19453 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19454 passed to next parameter's definition. Reported by Bruce T.
19455 (verilog-read-decls): Fix detecting "parameter int" when using
19456 AUTOINSTPARAM. Reported by Bruce T.
19457 (verilog-goto-defun): Fix goto not finding modules unless first
19458 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19459 (verilog-mode): Expand -f flag arguments on entry to mode so
19460 verilog-goto-defun will work. Reported by Lawrence Butcher.
19461 (verilog-getopt): Expand environment variables in -f file
19462 arguments. Suggested by Lawrence Butcher.
19463 (verilog-set-define): Fix "Symbol's value as variable is void"
19464 when reading enumerations.
19465 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19466 Suggested by Stephen Peltan.
19467 (verilog-read-defines): Fix reading of enumerations in include
19468 files. Reported by Steve Peltan.
19470 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19472 * files.el (trash-directory): Fix defcustom type.
19474 2009-06-28 Juri Linkov <juri@jurta.org>
19476 * help-fns.el (describe-function-1): Correctly locate adviced
19477 functions in hyperlink (Bug#2438).
19479 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19481 * files.el (trash-directory): Change default to nil.
19482 (move-file-to-trash): If trash-directory is nil and
19483 system-move-file-to-trash is unbound, perform freedesktop-style
19486 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19488 * files.el (move-file-to-trash): Add freedesktop trash
19491 2009-06-28 Glenn Morris <rgm@gnu.org>
19493 * autorevert.el (global-auto-revert-non-file-buffers)
19494 (global-auto-revert-mode): Doc fixes.
19496 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19498 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19500 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19502 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19503 opened an X connection before calling x-get-resource (Bug#3194).
19505 * play/doctor.el: Remove reference to obsolete website.
19506 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19508 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19510 Remove find-file-not-found-hook VC method. (Bug#2757)
19511 * vc-hooks.el (vc-file-not-found-hook)
19512 (vc-default-find-file-not-found-hook): Remove functions.
19513 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19514 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19517 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19519 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19521 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19522 compatibility function for `looking-back'.
19524 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19525 Use `ispell-looking-back'.
19527 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19529 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19530 rather than `filename'.
19532 2009-06-23 Miles Bader <miles@gnu.org>
19534 * face-remap.el (text-scale-set): New function.
19536 2009-06-23 Glenn Morris <rgm@gnu.org>
19538 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19540 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19542 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19544 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19546 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19547 Simplify Persian conditionals.
19549 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19550 variable `filename'.
19552 * comint.el (comint-insert-input): Doc fix.
19554 * Makefile.in (ELCFILES): Fix typo in previous change.
19556 2009-06-23 Miles Bader <miles@gnu.org>
19558 * cus-start.el: Add entry for `recenter-redisplay'.
19560 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19562 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19563 Add an optional argument for the backend, use it instead of
19564 calling vc-backend.
19565 (vc-mode-line): Add an optional argument for the backend.
19566 Pass the backend to vc-state and vc-working-revision. Move code for
19567 special handling for vc-state being a buffer to ...
19569 * vc-rcs.el (vc-rcs-find-file-hook):
19570 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19572 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19573 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19574 vc-stay-local-p and vc-mode-line calls.
19576 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19577 (vc-cvs-diff, vc-cvs-annotate-command)
19578 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19579 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19580 vc-mode-line calls.
19582 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19584 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19585 backend when calling vc-mode-line.
19586 (vc-register): Do not create a closure for calling the vc register
19587 function, call it directly.
19589 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19591 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19592 to make it obvious item can be clicked.
19594 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19596 2009-06-23 Kenichi Handa <handa@m17n.org>
19598 * language/korea-util.el (korean-key-bindings): Change the binding
19599 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19602 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19604 Sync with Tramp 2.1.16.
19606 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19608 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19609 when a loading of a package fails. Completion function for rsync
19610 is `tramp-completion-function-alist-ssh'.
19611 (all): Replace all calls of `split-string' and
19612 `tramp-split-string' by `tramp-compat-split-string'.
19613 (tramp-default-method): Use `tramp-compat-process-running-p'.
19614 (tramp-default-proxies-alist): Allow also Lisp forms.
19615 (tramp-remote-path): Add choice "Private Directories".
19616 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19617 (tramp-domain-regexp): Allow also "-", "_" and ".".
19618 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19619 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19620 (tramp-debug-message): Insert header line in debug buffer.
19621 (tramp-handle-directory-files-and-attributes-with-stat):
19622 Care about filenames with spaces, or starting with "-".
19623 (tramp-handle-dired-uncache): New defun.
19624 (tramp-handle-insert-directory): Don't flush the directory from
19625 cache, this is handled by `dired-uncache' now.
19626 (tramp-handle-insert-file-contents): Improve error handling.
19627 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19628 Quote `tramp-end-of-output'.
19629 (tramp-action-password): Improve trace message.
19630 (tramp-check-for-regexp): Both echoes must be present, before removing.
19631 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19632 (tramp-compute-multi-hops): Eval cons cells of
19633 `tramp-default-proxies-alist'.
19634 (tramp-maybe-open-connection): Use the same command pattern for
19635 first hop and further hops.
19636 (tramp-wait-for-output): Remove handling of newlines.
19637 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19638 (tramp-split-string): Remove function. It is handled in
19641 * net/tramp-cmds.el (tramp-bug):
19642 Recommend `tramp-cleanup-all-connections' in the bug mail.
19644 * net/tramp-compat.el (tramp-compat-split-string)
19645 (tramp-compat-process-running-p): New defuns.
19647 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19648 for `dired-uncache'.
19650 * net/tramp-gvfs.el: New package.
19652 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19653 Add handler for `dired-uncache'.
19654 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19656 * net/trampver.el: Update release number. Make version check fit
19659 2009-06-22 Jim Meyering <meyering@redhat.com>
19661 Automatically handle .xz suffix (XZ-compressed files), too.
19662 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19663 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19665 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19666 Nick Roberts <nickrob@snap.net.nz>
19668 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19669 repository (http://sphinx.net.ru/hg/gdb-mi/).
19671 2009-06-22 Glenn Morris <rgm@gnu.org>
19673 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19674 `mode' and `eval' entries. (Bug#3430)
19676 * Makefile.in (ELCFILES): Add fadr.elc.
19678 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19679 differing behavior of \n and ^ in strings. (Bug#3385)
19681 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19683 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19685 (lisp-indent-function): Make it a defcustom.
19687 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19689 * progmodes/gdb-ui.el: Replace with ...
19690 * progmodes/gdb-mi.el: ... this file.
19691 * progmodes/gud.el: Modify for gdb-mi.el.
19693 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19695 * fadr.el: New file.
19697 See ChangeLog.14 for earlier changes.
19699 ;; Local Variables:
19703 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19705 This file is part of GNU Emacs.
19707 GNU Emacs is free software: you can redistribute it and/or modify
19708 it under the terms of the GNU General Public License as published by
19709 the Free Software Foundation, either version 3 of the License, or
19710 (at your option) any later version.
19712 GNU Emacs is distributed in the hope that it will be useful,
19713 but WITHOUT ANY WARRANTY; without even the implied warranty of
19714 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19715 GNU General Public License for more details.
19717 You should have received a copy of the GNU General Public License
19718 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.