1 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3 * bookmark.el: Adjust parameter names and doc strings to resolve
4 confusion over whether "bookmark" meant a bookmark name or a
5 bookmark record. Along the way, shorten one function's name for
6 similar reasons. (Issue #7548)
7 (bookmark-name-from-record): New name for
8 `bookmark-name-from-full-record'. All callers changed.
9 (bookmark-get-bookmark, bookmark-get-bookmark-record)
10 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
11 (bookmark-get-annotation, bookmark-set-annotation)
12 (bookmark-get-filename, bookmark-set-filename)
13 (bookmark-get-position, bookmark-set-position)
14 (bookmark-get-front-context-string, bookmark-set-front-context-string)
15 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
16 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
17 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
18 Rename `bookmark' parameter to `bookmark-name-or-record', to
19 clearly show its role, and shorten or adjust doc strings accordingly.
20 (bookmark-set-name): Same, and pass the parameter directly to
21 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
22 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
23 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
24 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
25 and in some cases shorten doc string accordingly.
26 (bookmark-rename): Change `old' and `new' parameters to `old-name'
27 and `new-name', and adjust an internal variable to avoid confusion.
28 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
29 parameter in doc string.
31 2010-12-08 Glenn Morris <rgm@gnu.org>
33 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
34 from gdb's history file. (Bug#7575)
36 * mail/emacsbug.el (report-emacs-bug):
37 Try to handle some other mail clients.
39 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
41 * files.el (dir-locals-collect-variables): Don't let errors stop us.
43 (file-name-version-regexp): New var.
44 (file-name-sans-versions):
45 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
46 (jka-compr-get-compression-info): Use dolist.
47 (jka-compr-compression-info-list): Don't bother specifying
48 version/backup regexps.
50 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
52 * simple.el (just-one-space): Make argument n default to 1 if
55 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
57 * electric.el (electric-indent-post-self-insert-function):
58 Delete trailing newlines even if we don't reindent.
60 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
62 * minibuffer.el (completion-at-point): Remove the `arg'.
63 * bindings.el (complete-symbol): Move back from minibuffer.el.
65 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
67 * simple.el (just-one-space): Delete newlines for negative arg.
69 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
71 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
72 (ansi-color-filter-apply): Simplify.
73 (ansi-color-apply): Use `font-lock-face' rather than `face'.
75 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
77 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
79 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
81 * dired.el (dired-use-ls-dired): Set default to a special
83 (dired-insert-directory): When called the first time, check
84 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
86 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
88 * replace.el: Add "collect" feature to occur.
89 (occur-collect-regexp-history): New var.
90 (occur-read-primary-args): Return a replace string for nlines,
92 (occur): Extend the meaning of nlines.
94 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
96 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
97 (which-func-update-1): Distinguish symbols from strings.
98 (which-function): Stay within 80 columns.
100 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
102 * subr.el (with-demoted-errors): Distinguish symbols from strings.
104 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
106 (comment-style): Use comment-styles's docs to describe values.
108 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
110 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
111 and ns-show-prefs (Bug#7535).
113 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
116 2010-12-03 Glenn Morris <rgm@gnu.org>
118 * nxml/nxml-mode.el: Require rng-nxml.
119 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
122 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
123 * nxml/rng-nxml.el, nxml/rng-valid.el:
124 Remove leading `*' from defcustom docs.
126 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
127 (normal-top-level-add-to-load-path, tty-handle-args):
128 Convert comments to basic doc-strings.
130 * net/browse-url.el (browse-url-url-at-point)
131 (browse-url-default-browser): Remove autoload cookies.
133 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
134 Remove more undefined cl functions.
136 * vc/diff.el (diff-sentinel): Make new arguments optional.
137 * ibuf-ext.el (diff-sentinel): Update declaration.
139 2010-12-03 Daiki Ueno <ueno@unixuser.org>
141 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
142 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
143 (epg-context-set-passphrase-callback): Mention that the callback
144 is not called when used with GnuPG 2.x.
146 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
148 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
149 (tramp-file-name-port): Check also for `tramp-default-port'.
150 (tramp-get-connection-name): New defun.
151 (tramp-get-connection-process): Use it.
152 (tramp-debug-message): Extend function exclude list.
153 (tramp-drop-volume-letter): Fix doc string.
155 * net/tramp-cmds.el: Remove solved todo item.
162 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
163 and `tramp-default-user-alist', respectively.
165 * net/tramp-gw.el (tramp-gw-open-connection):
166 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
168 * net/tramp-imap.el (tramp-imap-make-iht): Use just
169 `tramp-file-name-port'.
171 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
172 and "psftp". Exchange "%k" marker with options.
173 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
174 Compute size of link target.
175 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
176 `tramp-current-*' up due to gateway methods. Optimze computing of
177 copy arguments. Use `tramp-get-connection-name' and
178 `tramp-get-connection-buffer'. Improve debug messages.
179 (tramp-compute-multi-hops): Remove port determination.
180 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
182 * net/trampver.el: Update release number.
184 2010-12-02 Glenn Morris <rgm@gnu.org>
186 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
187 Avoid infinite loop over windows. (Bug#7492)
189 * progmodes/flymake.el (flymake-check-file-limit):
190 Allow nil to mean "no limit".
191 (flymake-check-patch-master-file-buffer): Update for above change.
192 Allow a .tex file-name extension to be optional.
193 (flymake-master-tex-init): Also match \include statements.
195 2010-11-30 Sam Steingold <sds@gnu.org>
197 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
198 (nxml-parent-document-set): A function to set `nxml-parent-document'.
199 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
200 (nxml-mode-hook): Remove `defcustom' (auto-defined by
201 define-derived-mode').
202 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
203 users who want to call `nxml-parent-document-set'.
205 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
207 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
208 stand-alone lines, since that is handled by log-edit-match-to-eoh
211 2010-11-27 Eduard Wiebe <usenet@pusto.de>
213 * dired.el (dired-get-filename): Replace backslashes with slashes
214 in file names on MS-Windows, needed by `locate'. (Bug#7308)
215 * locate.el (locate-default-make-command-line): Don't consider
216 drive letter and root directory part of
217 `directory-listing-before-filename-regexp'. (Bug#7308)
218 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
220 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
222 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
223 of :smie-open/close-alist.
224 (smie-next-sexp): Make it accept a "start token" as argument.
225 (smie-indent-keyword): Be careful not to misidentify tokens that span
226 more than one line, as empty lines. Add argument `token'.
228 2010-11-27 Kenichi Handa <handa@m17n.org>
230 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
231 multipart subtypes, insert all as usual.
233 * mail/rmail.el: Require rfc2047.
235 2010-11-27 Kenichi Handa <handa@m17n.org>
237 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
238 (rmail-mime-entity-disposition)
239 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
240 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
241 (rmail-mime-save): Handle the case that the button's `data' is a
243 (rmail-mime-insert-text): New function.
244 (rmail-mime-insert-image): Handle the case that DATA is a MIME
246 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
247 (rmail-mime-insert-bulk): New function mostly copied from the old
248 rmail-mime-bulk-handler.
249 (rmail-mime-multipart-handler): Just call
250 rmail-mime-process-multipart.
251 (rmail-mime-process-multipart): New funciton mostly copied from
252 the old rmail-mime-multipart-handler.
253 (rmail-mime-show): Just call rmail-mime-process.
254 (rmail-mime-process): New funciton mostly copied from the old
256 (rmail-mime-insert-multipart, rmail-mime-parse)
257 (rmail-mime-insert, rmail-show-mime)
258 (rmail-insert-mime-forwarded-message)
259 (rmail-insert-mime-resent-message): New functions.
260 (rmail-insert-mime-forwarded-message-function): Set to
261 rmail-insert-mime-forwarded-message.
262 (rmail-insert-mime-resent-message-function): Set to
263 rmail-insert-mime-resent-message.
265 * mail/rmailsum.el: Require rfc2047.
266 (rmail-header-summary): Handle multiline Subject: field.
267 (rmail-summary-line-decoder): Change the default to
268 rfc2047-decode-string.
270 * mail/rmail.el (rmail-enable-mime): Change the default to t.
271 (rmail-mime-feature): Change the default to `rmailmm'.
272 (rmail-quit): Delete the specifal code for rmail-enable-mime.
273 (rmail-display-labels): Likewise.
274 (rmail-show-message-1): Check rmail-enable-mime, and use
275 rmail-show-mime-function for a MIME message. Decode the headers
276 according to RFC2047.
278 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
280 * progmodes/which-func.el (which-func-imenu-joiner-function):
281 Return a string, as expected.
282 (which-function-mode): Make sure we stop any previous timer before
285 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
287 * net/tramp.el (tramp-default-method-alist)
288 (tramp-default-user-alist, tramp-default-proxies-alist):
289 Adapt custom options type. (Bug#7445)
291 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
293 * progmodes/python.el: Add Ipython support (Bug#5390).
294 (python-shell-prompt-alist)
295 (python-shell-continuation-prompt-alist): New options.
296 (python--set-prompt-regexp): New function.
297 (inferior-python-mode, run-python, python-shell):
298 Require ansi-color. Use python--set-prompt-regexp to set the comint
299 prompt based on the Python interpreter.
300 (python--prompt-regexp): New var.
301 (python-check-comint-prompt)
302 (python-comint-output-filter-function): Use it.
303 (run-python): Use a pipe (Bug#5694).
305 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
307 * progmodes/python.el (run-python): Doc fix.
308 (python-keep-current-directory-in-path): New var (Bug#7454).
310 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
312 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
313 Prompt user before actually printing.
315 2010-11-27 Glenn Morris <rgm@gnu.org>
317 * startup.el (package-enable-at-startup, package-initialize):
318 Remove unnecessary declarations.
320 2010-11-27 Eli Zaretskii <eliz@gnu.org>
322 * international/characters.el (glyphless-char-display-control):
323 Exclude newline and TAB from the c0-control group.
325 2010-11-27 Glenn Morris <rgm@gnu.org>
327 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
328 (expand-mail-aliases): Remove unnecessary autoload.
330 * allout.el (allout-command-prefix, allout-mode-map): Declare.
332 * shell.el (shell-dir-cookie-re): Move definition before use.
334 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
335 Replace undefined CL functions.
337 2010-11-26 Eli Zaretskii <eliz@gnu.org>
339 * simple.el (prog-mode): Set bidi-paragraph-direction to
342 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
344 2010-11-26 Glenn Morris <rgm@gnu.org>
346 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
347 diary-outlook-formats can be sensitive to calendar-date-style.
348 (diary-outlook-formats): Simplify the default setting.
349 (diary-from-outlook-internal): Pass subject and body as arguments.
350 Use dolist rather than dotimes. Don't save the diary buffer.
351 (diary-from-outlook-gnus, diary-from-outlook-rmail):
352 Pass subject and body as explicit arguments to the -internal function.
354 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
356 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
357 parsing them. This makes mailto:...?subject=foo\nbar work.
359 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
361 * vc/diff.el (diff): Fix last change.
363 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
365 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
366 (pcase--dontcare-upats): New var.
367 (pcase-let, pcase-let*): Generate better code.
368 Accept the same bodies as `let'.
369 (pcase-dolist): New macro.
370 (pcase--trivial-upat-p): New helper function.
371 (pcase--expand): Strip leading "(let nil" if any.
373 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
375 * mail/mailclient.el (browse-url): Require.
376 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
377 use the external browser function to send the mail (bug#7469).
379 * net/browse-url.el (browse-url-browser-function): Revert the
380 default back to the previous value, since the new value broke
382 (browse-url-mailto-function): New variable for mailto: URLs.
383 (browse-url): Use the new variable for mailto: URLs.
385 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
387 * eshell/esh-cmd.el (eshell-parse-command):
388 * eshell/esh-arg.el (eshell-parse-arguments):
389 * eshell/em-script.el (eshell-source-file):
390 Use with-silent-modifications.
392 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
394 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
395 for a merge location.
397 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
398 (vc-bzr-merge-branch): Always prompt.
399 (vc-bzr-async-command): Use the full branch filename.
401 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
403 * shell.el (shell): Use current-buffer by default if it's already
404 a shell mode buffer and its process is dead.
405 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
407 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
409 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
410 Mention that the keywords should be comma separated.
412 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
414 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
415 Accept optional prefix arg meaning to prompt for a command.
416 (vc-update): Use vc-BACKEND-pull if available. Accept optional
417 prefix arg meaning to prompt for a command.
418 (vc-pull): Alias for vc-update.
420 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
421 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
422 (vc-bzr-merge-branch): New functions, implementing merge-branch
425 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
427 * Makefile.in: Fix up last merge.
429 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
430 (diff-sentinel): Get them as arguments instead.
431 (diff-old-file, diff-new-file, diff-extra-args): Remove.
432 (diff-file-local-copy, diff-better-file-name): New funs.
433 (diff-no-select): Rename from diff-into-buffer.
434 Support buffers additionally to files. Move `buf' arg. Don't display buf.
435 Prefer closures to buffer-local variables.
436 (diff): Adjust accordingly.
437 (diff-buffer-with-file): Move from files.el.
438 * files.el (diff-buffer-with-file): Move to vc/diff.el.
439 (diff-buffer-internal): Remove.
440 (diff-buffer-buffer): Remove.
441 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
442 the buffer name used, and so as not to mess up windows and frames.
444 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
446 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
447 (diff-buffer-internal): New function extracted from diff-buffer-with-file
448 (diff-buffer-with-file): Use it.
449 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
452 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
454 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
455 \ref's or \pageref's value as default instead of initial input.
457 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
459 * files.el (backup-by-copying-when-mismatch): The default value is
462 * startup.el (normal-top-level):
463 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
464 `backup-by-copying-when-mismatch'.
466 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
468 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
470 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
472 * progmodes/python.el (python-font-lock-keywords):
473 Highlight top-level augmented assignments (Bug#6445).
475 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
477 * term/ns-win.el (ns-right-control-modifier)
478 (ns-right-command-modifier): Defvar them.
480 * cus-start.el (all): Add ns-right-control-modifier and
481 ns-right-command-modifier (Bug#7458).
483 2010-11-20 Glenn Morris <rgm@gnu.org>
485 * emacs-lisp/authors.el (authors-ignored-files)
486 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
488 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
490 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
491 (report-emacs-bug-parse-query-results)
492 (report-emacs-bug-create-existing-bugs-buffer): Pass through
493 keywords used for querying the bug database to show them in the
494 existing bugs buffer.
496 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
498 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
500 * info.el (info-tool-bar-map): Add some :vert-only keywords.
502 2010-11-20 Eli Zaretskii <eliz@gnu.org>
504 * international/characters.el (glyphless-char-display-control):
505 Make it a defcustom, with update-glyphless-char-display as its
507 (top level): Don't call update-glyphless-char-display.
509 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
511 Sync with Tramp 2.2.0.
513 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
514 `file-remote-p' (due to compatibility).
516 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
517 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
519 * net/trampver.el: Update release number.
521 2010-11-20 Eli Zaretskii <eliz@gnu.org>
523 * faces.el (glyphless-char): Define value for `pc'.
525 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
527 Implemented a bug querying mechanism.
528 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
529 (report-emacs-bug-create-existing-bugs-buffer)
530 (report-emacs-bug-parse-query-results)
531 (report-emacs-bug-query-existing-bugs): New functions.
533 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
535 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
536 a \ref{} or \pageref{} macro, then use its value as initial input.
538 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
540 * calc/calc-units.el (math-build-units-table-buffer):
541 calc/README: Mention that the TeX specific units won't use the
542 `tex' prefix in TeX mode.
543 calc/calc-lang.el (math-variable-table): Don't use the `tex'
544 prefix for units in TeX mode.
546 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
548 * simple.el (kill-new, kill-append, kill-region):
549 * comint.el (comint-kill-region): Make the yank-handler argument
552 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
554 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
555 that are both openers (resp. closers) and something else.
556 (smie-grammar): Loosen definition of valid values.
557 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
558 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
559 (smie-indent-after-keyword): Adjust users.
560 (smie-indent-keyword): Don't indent empty lines.
562 * vc-hg.el (vc-hg-program): New var.
563 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
564 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
566 2010-11-18 Glenn Morris <rgm@gnu.org>
568 * emacs-lisp/autoload.el (autoload-find-destination): The function
569 coding-system-eol-type may return non-numeric values. (Bug#7414)
571 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
573 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
575 2010-11-18 Eli Zaretskii <eliz@gnu.org>
577 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
579 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
581 * textmodes/picture.el (picture-mouse-set-point): Don't use
582 posn-col-row; explicitly compute the motion based on the posn at
583 the window-start (Bug#7390).
585 2010-11-18 Glenn Morris <rgm@gnu.org>
587 * novice.el (disabled-command-function):
588 Fix 2009-11-15 change. (Bug#7384)
590 2010-11-18 Glenn Morris <rgm@gnu.org>
592 * calendar/calendar.el (diary-iso-date-forms): Make elements
593 mutually exclusive. (Bug#7377)
595 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
597 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
598 when filling the remaining "unconstrained" values.
600 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
602 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
605 * files.el (safe-local-variable-p): Gracefully handle errors.
607 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
608 Use smie-indent-virtual when indenting relative to an opener.
609 (smie-rule-separator): Use smie-rule-parent.
610 (smie-indent-keyword): Consult rules, even for openers at bol.
611 (smie-indent-comment-close): Try to align closer's content.
613 2010-11-18 Glenn Morris <rgm@gnu.org>
615 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
617 2010-11-18 Glenn Morris <rgm@gnu.org>
619 * printing.el (pr-menu-bind): Doc fix.
621 * speedbar.el (speedbar-toggle-images): Doc fix.
623 * progmodes/python.el (python-shell): Doc fix.
625 * wid-edit.el (widget-field-use-before-change)
626 (widget-use-overlay-change): Doc fixes.
628 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
630 Minor cleanup to improve style.
631 * textmodes/rst.el (rst-update-section): Use point-marker.
632 (rst-get-decoration): Eliminate unneeded assignment.
633 (rst-promote-region, rst-straighten-decorations)
634 (rst-section-tree, rst-adjust): Use point-marker.
635 (rst-toc-mode-mouse-goto): Avoid setq.
636 (rst-shift-region-guts, rst-shift-region-left)
637 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
638 (rst-convert-bullets-to-enumeration): Use copy-marker.
640 * minibuffer.el (completion-fail-discreetly): New var.
641 (completion--do-completion): Use it.
643 * electric.el (electric-pair-pairs): New var.
644 (electric-pair-post-self-insert-function): Use it.
645 (electric-layout-post-self-insert-function): Don't insert a before
646 newline unless it's actually needed.
648 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
650 * progmodes/python.el (run-python): Explain why we remove the current
651 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
653 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
655 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
657 * progmodes/octave-mod.el: Rely on elecric-*-modes.
658 (octave-mode-map): Don't bind ;, SPC, and LF.
659 (octave-auto-indent, octave-auto-newline): Remove.
660 (electric-layout-rules): Declare.
661 (octave-mode): Set electric-layout-rules.
662 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
663 (octave-reindent-then-newline-and-indent, octave-electric-semi)
664 (octave-electric-space): Remove.
666 * electric.el (electric-layout-mode): New minor mode.
667 (electric--after-char-pos): New function.
668 (electric-indent-post-self-insert-function): Use it.
669 (electric-layout-rules): New var.
670 (electric-layout-post-self-insert-function): New function.
671 (electric-indent-mode): Make them interact better.
673 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
675 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
676 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
677 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
679 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
681 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
682 Make sure to check inside the word (Bug#6761).
684 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
686 * startup.el (command-line): If the cursorColor resource is set,
687 change the cursor face-spec (Bug#7392).
689 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
691 The main features of the following allout.el changes are:
692 - implement user customization for the allout key bindings
693 - add a customization control by which the user can inhibit use of
694 a trailing Ctrl-H, so by default it's reserved for use with
695 describe-prefix-bindings
696 - adapt to new version of called-interactively-p, while
697 maintaining backwards compatibility with old version
698 - fix hotspot navigation so i works properly with meta-modified keys
700 * allout.el (allout-keybindings, allout-bind-keys)
701 (allout-keybindings-binding, allout-prefixed-keybindings)
702 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
703 (allout-keybindings-list, allout-mode-map-adjustments)
704 (allout-setup-mode-map): Establish allout-mode keymaps as user
705 customizable settings, and also establish a customizable setting which
706 regulates whether or not a trailing control-h is reserved for use with
707 describe-prefix-bindings - and inhibit it by default, so that control-h
708 *is* reserved for describe-prefix-bindings unless the user changes it.
710 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
711 and accurately between modified and unmodified events, and handle
712 modified events more comprehensively.
714 * allout.el (allout-substring-no-properties):
715 Alias to use or provide version of `substring-no-properties'.
716 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
718 * allout.el (allout-next-single-char-property-change):
719 Alias to use or provide version of `next-single-char-property-change'.
720 (allout-annotate-hidden, allout-hide-by-annotation):
721 Use `allout-next-single-char-property-change'.
723 * allout.el (allout-select-safe-coding-system):
724 Alias to use or provide version of `select-safe-coding-system'.
725 (allout-toggle-subtree-encryption):
726 Use `allout-select-safe-coding-system'.
728 * allout.el (allout-set-buffer-multibyte):
729 Alias to use or provide version of `set-buffer-multibyte'.
730 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
732 * allout.el (allout-called-interactively-p): Macro for using the
733 different versions of called-interactively-p identically, depending on
734 the subroutine's argument signature.
735 (allout-back-to-current-heading, allout-beginning-of-current-entry):
736 Use `(interactive "p")' instead of `(called-interactively-p)'.
738 * allout.el (allout-init, allout-ascend, allout-end-of-level)
739 (allout-previous-visible-heading, allout-forward-current-level)
740 (allout-backward-current-level, allout-show-children):
741 Use `allout-called-interactively-p' instead of `called-interactively-p'.
743 * allout.el (allout-before-change-handler):
744 Exempt edits to the (overlaid) character after the allout outline
745 bullet from edit confirmation prompt.
747 * allout.el (allout-add-resumptions):
748 Ensure that it respects correct buffer for keybindings.
750 * allout.el (allout-beginning-of-line):
751 Use `allout-previous-single-char-property-change' alias for the sake of
752 diverse compatibility.
754 * allout.el (allout-end-of-line):
755 Use `allout-mark-active-p' to encapsulate respect for mark activity.
757 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
759 * frame.el (frame-notice-user-settings): Don't clobber other
760 user-set parameters when calling face-set-after-frame-default in
761 response to background-color parameter (Bug#7373).
763 2010-11-13 Eli Zaretskii <eliz@gnu.org>
765 * international/characters.el (glyphless-char-display-control):
766 Rename from glyphless-char-control; all users changed. Doc fix.
767 Signal an error if display method is not one of the recognized
770 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
772 * net/tramp-compat.el (tramp-compat-line-beginning-position)
773 (tramp-compat-line-end-position): Remove them.
775 * net/tramp.el (tramp-parse-rhosts-group)
776 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
777 (tramp-parse-hosts-group, tramp-parse-passwd-group)
778 (tramp-parse-netrc-group, tramp-parse-putty-group)
779 * net/tramp-cmds.el (tramp-append-tramp-buffers)
780 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
781 (tramp-sh-handle-file-selinux-context)
782 (tramp-sh-handle-file-name-all-completions)
783 (tramp-sh-handle-insert-directory)
784 (tramp-sh-handle-expand-file-name, tramp-find-executable)
785 (tramp-wait-for-output, tramp-send-command-and-read)
786 * net/tramp-smb.el (tramp-smb-read-file-entry)
787 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
789 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
791 (tramp-remote-coding-commands): Add an alternative using "base64
792 -d -i". This is needed for older base64 versions from GNU
793 coreutils. Reported by Klaus Reichl
794 <Klaus.Reichl@thalesgroup.com>.
796 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
798 * simple.el (count-words-region): New function.
800 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
802 * shell.el (shell-dir-cookie-re): New custom variable.
803 (shell-dir-cookie-watcher): New function.
805 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
806 and compilation-mode (bug#7350).
808 * vc/smerge-mode.el (smerge-refine): Choose better default part to
809 highlight when one of them is empty.
811 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
813 (skeleton-newline): New function.
814 (skeleton-internal-1): Use it.
816 * simple.el (open-line): `newline' may strip trailing space.
818 2010-11-12 Kevin Ryde <user42@zip.com.au>
820 * international/mule-cmds.el (princ-list): Use mapc.
822 2010-11-12 Glenn Morris <rgm@gnu.org>
824 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
825 Use it to replace all instances of "*Compile-Log*"
827 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
829 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
832 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
834 * progmodes/modula2.el: Use SMIE and skeleton.
835 (m2-mode-syntax-table): (*..*) can be nested.
836 Add //...\n. Fix paren syntax.
837 (m2-mode-map): Remove LF and TAB bindings.
838 (m2-indent): Add safety property.
839 (m2-smie-grammar): New var.
840 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
841 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
842 (m2-mode): Use define-derived-mode.
843 (m2-newline, m2-tab): Remove.
844 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
845 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
846 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
847 (m2-import): Use define-skeleton.
849 2010-11-11 Glenn Morris <rgm@gnu.org>
851 * obsolete/lucid.el: Don't warn about any CL functions in this file.
853 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
854 (ls-lisp-verbosity): Add custom :set-after property.
855 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
856 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
857 (ls-lisp-insert-directory): Update caller.
858 (ls-lisp-set-options): New function.
859 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
862 * play/landmark.el (lm-prompt-for-move):
863 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
865 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
867 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
868 (idlwave-study-twins): Prefix dynamic local variable `name'.
869 (idlwave-routine-twin-compare): Update for above change.
871 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
872 Prefix dynamic local variables `name', `kwd', and `link'.
873 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
874 * progmodes/idlw-complete-structtag.el
875 (idlwave-complete-structure-tag-help):
876 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
877 (idlwave-complete-sysvar-tag-help)
878 (idlwave-complete-class-structure-tag-help):
879 Update for above name changes.
881 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
883 * net/browse-url.el (browse-url-browser-function): Change the
884 default to use `browse-url-mail' on mailto: URLs.
886 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
888 * emacs-lisp/package.el (package-read-all-archive-contents):
889 Reset package-archive-contents to nil before re-reading.
891 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
893 * textmodes/flyspell.el (flyspell-word): Do not re-check words
894 already found as misspellings by (flyspell-large-region), just
895 do highlighting (bug#7322).
897 2010-11-10 Glenn Morris <rgm@gnu.org>
899 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
901 * emulation/edt.el (edt-with-position): New macro.
902 (edt-find-forward, edt-find-backward, edt-find-next-forward)
903 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
904 (edt-paragraph-forward, edt-paragraph-backward): Use it.
906 * emulation/tpu-extras.el (tpu-with-position): New macro.
907 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
909 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
911 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
912 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
913 (texinfo-master-menu, texinfo-insert-node-lines)
914 (texinfo-multiple-files-update):
915 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
916 Use line-beginning-position.
918 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
919 No recent Emacs supports system-type `emx'.
921 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
922 (ada-command-separator, ada-default-prj-properties)
923 (ada-find-any-references): Update for above name change.
925 * dirtrack.el (dirtrack-directory-function)
926 (dirtrack-canonicalize-function):
927 * filecache.el (file-cache-completion-ignore-case)
928 (file-cache-case-fold-search, file-cache-ignore-case):
929 * term.el (serial-port-is-file-p): Cosmetic change.
931 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
932 Remove non-existent `windows-95' system-type.
933 * dired.el (dired-chown-program): Remove non-existent `linux'
936 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
937 (ping-program-options): Remove non-existent `linux' system-type.
939 * startup.el (package-initialize): Update declaration.
941 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
942 (ls-lisp-handle-switches): Use time-less-p.
943 (ls-lisp-format-time): Use float-time.
945 * textmodes/remember.el (remember-time-to-seconds): Remove.
946 (remember-store-in-mailbox): Use float-time.
948 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
950 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
951 never a real function.
952 (with-no-warnings): Remove compat stub, now unused.
953 (time-less-p): Doc fix.
954 (time-to-number-of-days): Simplify.
956 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
958 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
959 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
960 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
961 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
962 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
964 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
965 (eshell-shuffle-files, eshell-shorthand-tar-command)
966 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
967 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
968 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
969 Prefix dynamic local variable `matches'.
971 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
972 Prefix dynamic local variable `skeleton'.
974 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
976 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
977 in mail buffer; make yank-action always a command that yanks original
980 2010-11-09 Glenn Morris <rgm@gnu.org>
982 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
984 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
986 * minibuffer.el (minibuffer-completion-help): Specify the end of the
987 completion field (bug#7211).
989 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
990 Fix handling of backslash escapes.
991 (python-quote-syntax): Adjust accordingly.
993 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
995 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
996 (vc-mtn-workfile-branch): Adjust to new output format.
998 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1000 * international/mule-cmds.el (princ-list): Mark as obsolete.
1002 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * emacs-lisp/smie.el: New package.
1006 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1008 * files.el (backup-by-copying-when-mismatch):
1009 Set `permanent-local' property.
1011 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1012 `permanent-local' property for `backup-by-copying-when-mismatch'.
1014 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1016 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1018 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1020 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1021 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1022 AUTOINOUT for SV style multidimensional arrays, bug294.
1023 Reported by Eric Mastromarchi.
1024 (verilog-preprocess): Use with-current-buffer and
1025 font-lock-fontify-buffer to cleanup style issues.
1027 2010-11-09 Glenn Morris <rgm@gnu.org>
1029 * locate.el (locate, locate-mode): Doc fixes.
1031 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1033 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1034 user for confirmation.
1035 (server-force-stop): Use it.
1036 (server-start): Use server-force-stop for kill-emacs-hook, to
1037 avoid user interaction while killing Emacs.
1039 2010-11-09 Glenn Morris <rgm@gnu.org>
1041 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1042 (meta-indent-line): Simplify.
1044 * vc/emerge.el (emerge-line-number-in-buf):
1045 * textmodes/ispell.el (ispell-region):
1046 * textmodes/fill.el (current-fill-column):
1047 * progmodes/xscheme.el (xscheme-send-current-line):
1048 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1049 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1050 * progmodes/sh-script.el (sh-handle-prev-do):
1051 * progmodes/meta-mode.el (meta-indent-line):
1052 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1054 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1055 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1056 * progmodes/fortran.el (fortran-looking-at-if-then):
1057 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1058 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1059 (cperl-find-pods-heres):
1060 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1061 * net/quickurl.el (quickurl-list-insert):
1062 * net/ldap.el (ldap-search-internal):
1063 * net/eudc.el (eudc-expand-inline):
1064 * mail/sendmail.el (sendmail-send-it):
1065 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1066 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1067 (viper-brac-function):
1068 * calc/calc-yank.el (calc-do-grab-region):
1069 * calc/calc-keypd.el (calc-keypad-press):
1070 * term.el (term-move-columns, term-insert-spaces):
1071 * speedbar.el (speedbar-highlight-one-tag-line):
1072 * simple.el (current-word):
1073 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1074 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1076 * hippie-exp.el (he-line-beg):
1077 * epa.el (epa--marked-keys):
1078 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1079 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1080 (dired-relist-entry):
1081 * buff-menu.el (Buffer-menu-buffer):
1082 * array.el (current-line):
1083 * allout.el (allout-resolve-xref)
1084 (allout-latex-verbatim-quote-curr-line):
1085 Replace yet more uses of end-of-line etc with line-end-position, etc.
1087 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1089 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1090 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1091 (checkdoc-syntax-table): Initialize in the declaration.
1092 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1093 the mode on unconditionally.
1095 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1096 (extent-end-position, extent-start-position): Remove setf method for
1097 non-existing functions (bug#7319).
1099 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1102 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1103 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1104 (smie-prec2->grammar): Rename from smie-prec2-levels.
1105 (smie-grammar): Rename from smie-op-levels.
1106 (smie-indent--hanging-p): Rename from smie-hanging-p.
1107 (smie-rule-hanging-p): New alias.
1108 (smie-indent--bolp): Rename from smie-bolp.
1109 (smie-indent--hanging-p): New alias.
1110 (smie--token): New dynamically bound variable.
1111 (smie-indent--parent): New function.
1112 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1113 (smie-rule-next-p): Rename from smie-next-p.
1114 (smie-rule-prev-p): Rename from smie-prev-p.
1115 (smie-rule-sibling-p, smie-rule-parent)
1116 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1117 (smie-rule-separator-outdent): New var.
1118 (smie-indent--rule): Merge with smie-indent--column.
1119 (smie-indent-forward-token, smie-indent-backward-token):
1120 Also recognize close parens.
1121 (smie-indent-keyword): Don't use smie-indent--column any more.
1122 (smie-indent-after-keyword): Ignore closers by default.
1123 (smie-indent-line): Use with-demoted-errors.
1124 * progmodes/octave-mod.el (octave-smie-grammar):
1125 Rename from octave-smie-op-levels.
1126 (octave-smie-rules): Adjust to new behavior.
1127 * progmodes/prolog.el (prolog-smie-grammar):
1128 Rename from prolog-smie-op-levels.
1130 2010-11-07 Glenn Morris <rgm@gnu.org>
1132 * eshell/esh-util.el (subst-char-in-string)
1133 (directory-files-and-attributes): These compatibility definitions are
1134 not needed on any version of Emacs since at least 21.4.
1136 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1137 (verilog-get-end-of-line): Remove.
1138 (verilog-within-string, verilog-re-search-forward-substr)
1139 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1140 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1141 Use point-at-bol, point-at-eol.
1142 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1144 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1145 (electric-pascal-terminate-line, pascal-set-auto-comments)
1146 (pascal-indent-paramlist, pascal-indent-declaration)
1147 (pascal-get-lineup-indent, pascal-func-completion)
1148 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1149 Use point-at-bol, point-at-eol.
1150 * progmodes/flymake.el (flymake-line-beginning-position)
1151 (flymake-line-end-position): Remove.
1152 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1153 * eshell/esh-util.el (line-end-position, line-beginning-position):
1154 Remove compat definitions.
1156 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1158 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1159 Use line-end-position.
1161 * emacs-lisp/chart.el (chart-zap-chars):
1162 * play/decipher.el (decipher-set-map):
1163 * progmodes/ada-mode.el (ada-get-current-indent)
1164 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1165 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1166 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1167 (ada-get-all-references):
1168 * progmodes/cperl-mode.el (cperl-electric-paren)
1169 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1170 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1171 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1172 (cperl-word-at-point-hard):
1173 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1174 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1175 (idlwave-shell-display-line):
1176 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1177 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1178 * progmodes/js.el (js--re-search-forward-inner)
1179 (js--re-search-backward-inner):
1180 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1181 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1182 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1183 * textmodes/flyspell.el (flyspell-process-localwords):
1184 * textmodes/ispell.el (ispell-buffer-local-parsing)
1185 (ispell-buffer-local-dict, ispell-buffer-local-words):
1186 Use point-at-bol and point-at-eol.
1188 * speedbar.el (speedbar-generic-item-info)
1189 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1190 (speedbar-add-indicator, speedbar-check-vc-this-line)
1191 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1192 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1193 Replace more uses of end-of-line etc with line-end-position.
1195 2010-11-06 Glenn Morris <rgm@gnu.org>
1197 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1198 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1199 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1200 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1201 (texinfo-multiple-files-update):
1202 * textmodes/table.el (table--probe-cell-left-up)
1203 (table--probe-cell-right-bottom):
1204 * textmodes/picture.el (picture-tab-search):
1205 * textmodes/page-ext.el (pages-copy-header-and-position)
1206 (pages-directory-for-addresses):
1207 * progmodes/vera-mode.el (vera-get-offset):
1208 * progmodes/simula.el (simula-calculate-indent):
1209 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1210 * progmodes/prolog.el (end-of-prolog-clause):
1211 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1212 * progmodes/icon.el (indent-icon-exp):
1213 * progmodes/etags.el (tag-re-match-p):
1214 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1215 * progmodes/ebnf2ps.el (ebnf-begin-file):
1216 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1217 (dcl-save-local-variable):
1218 * play/life.el (life-setup):
1219 * play/gametree.el (gametree-looking-at-ply):
1220 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1221 * mail/sendmail.el (mail-mode-auto-fill):
1222 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1223 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1224 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1225 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1226 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1227 * type-break.el (type-break-file-keystroke-count):
1228 * term.el (term-replace-by-expanded-history-before-point)
1229 (term-skip-prompt, term-extract-string):
1230 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1231 (speedbar-contract-line, speedbar-toggle-line-expansion)
1232 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1233 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1234 * sort.el (sort-skip-fields):
1235 * skeleton.el (skeleton-internal-list):
1236 * simple.el (line-move-finish, line-move-to-column):
1237 * shell.el (shell-forward-command):
1238 * misc.el (copy-from-above-command):
1239 * makesum.el (double-column):
1240 * ebuff-menu.el (electric-buffer-update-highlight):
1241 * dired.el (dired-move-to-end-of-filename):
1242 * dframe.el (dframe-popup-kludge):
1243 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1244 * arc-mode.el (archive-get-lineno):
1245 Use line-end-position and line-beginning-position.
1247 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1248 (idlwave-study-twins): Prefix dynamic local `class'.
1249 (idlwave-routine-twin-compare): Update for above name change.
1251 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1252 Use boundp tests to silence compiler. Update for changed name of
1253 bytecomp-filename variable.
1255 * emulation/viper-cmd.el (viper-read-string-with-history):
1256 Prefix dynamic local `initial'.
1257 (viper-minibuffer-standard-hook): Update for above name change.
1259 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1260 (elint-init-form): Update for above name change.
1262 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1263 local variables `cbeg' and `cend' a prefix.
1264 (mail-extr-voodoo): Update for above name change.
1266 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1267 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1268 (reftex-toc-promote-action): Doc fix.
1270 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1271 `prompt', `data' a prefix.
1272 (reftex-select-post-command-hook, reftex-select-callback)
1273 (reftex-select-mouse-accept, reftex-select-read-cite):
1274 Update for above name changes.
1276 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1277 `refstyle' to reftex-refstyle.
1278 (reftex-offer-label-menu): Update for above name change.
1279 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1280 `refstyle' name change.
1282 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1283 with with-current-buffer.
1284 (diff, template): Give dynamic local variables a prefix.
1285 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1286 (emerge-line-number-in-buf): Update for above name change.
1287 (emerge-combine-versions-internal): Rename local `template' to
1288 emerge-combine-template.
1289 (emerge-combine-versions-edit): Update for above name change.
1291 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1293 * textmodes/reftex-cite.el
1294 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1295 entries with whitespace after \bibitem.
1296 (reftex-create-bibtex-file): Match entries containing numbers and
1297 symbol constituents. Make sure that entries with whitespace at
1298 various places are found.
1300 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1302 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1304 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1306 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1308 2010-11-05 Glenn Morris <rgm@gnu.org>
1310 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1311 (woman2-roff-buffer): Give local variable `request' a prefix.
1312 (woman0-macro): Rename argument `request' in the same way.
1313 (woman-request): New name for `request' dynamic variable.
1314 (woman-unquote, woman-forward-arg): Update for above name change.
1315 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1316 (woman1-unquote): New name for `unquote' dynamic variable.
1317 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1318 (woman-translations): Rename from `translations'. No longer global.
1319 (woman2-tr, woman-translate): Update for above name change.
1320 (woman-translate): Check for bound variable.
1321 (woman2-roff-buffer): Give local variable `translations' a prefix.
1323 * play/doctor.el: Give all local variables a prefix. Update callers.
1324 (doc$, doctor-put-meaning): Use backquote.
1326 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1327 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1329 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1330 variables bytes, ptr, op a prefix.
1331 (disassemble-offset): Update for above change.
1333 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1335 * emacs-lisp/package.el (package-unpack): Remove no-op.
1336 (package--builtins, package--dir): Doc fix.
1337 (package-activate-1, package-activate, package-install)
1338 (package-compute-transaction): Fix error message.
1339 (package-delete): Use delete-directory. Omit system packages.
1340 (package-initialize): Set package-alist to nil first.
1341 (package-menu-mark-delete, package-menu-mark-install): Don't add
1342 symbols that are inconsistent with the package state.
1343 (package-menu-execute): Perform deletions and installations as
1344 single batch operations.
1346 2010-11-03 Glenn Morris <rgm@gnu.org>
1348 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1349 (props): Remove unnecessary declaration.
1351 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1352 set-process-query-on-exit-flag.
1354 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1355 (reftex-toc-do-promote): Remove unused local `mpos'.
1356 (reftex-toc-restore-region): Make `mpos' local to this function.
1358 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1360 * play/landmark.el (lm-losing-threshold): Correct spelling.
1361 (lm-human-plays): Use new name.
1363 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1364 (gomoku-human-plays): Use new name.
1366 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1367 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1368 (gomoku-score-trans-table, gomoku-winning-threshold)
1369 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1371 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1373 * emacs-lisp/package.el: Don't put built-in packages in
1374 package-alist, to avoid loading inefficiencies.
1375 (package-built-in-p): Make VERSION optional, and treat it as a
1376 minimum acceptable version.
1377 (package-activate): Search separately for built-in packages.
1378 Emit a warning if a dependency fails.
1379 (define-package): Handle most common case, where there is no
1380 obsolete package, first.
1381 (package-compute-transaction): Print required version in error.
1382 (package--initialized): New variable.
1383 (list-packages): Use it.
1384 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1385 built-in packages in packages-alist; keep it separate.
1386 Set package--initialized.
1387 (describe-package): Avoid activating packages as a side-effect.
1388 Search separately for built-in packages.
1389 (describe-package-1): Handle the case where an elpa package is
1390 simultaneously built-in and available/installed.
1391 (package-installed-p, package--generate-package-list):
1392 Search separately for built-in packages.
1393 (package-load-descriptor): Doc fix.
1395 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1397 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1398 Handle __DATA__ and __END__.
1400 2010-11-02 Noah Friedman <friedman@splode.com>
1402 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1403 nil, do not ask to recompile files that are not already compiled,
1404 and do not recompile them.
1406 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1408 * emacs-lisp/package.el (package-initialize): Ensure that
1409 obsoleted built-in packages are not in package-activated-list
1411 (describe-package-1): Make the "installed" status override
1414 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1416 * subr.el (version-separator, version-regexp-alist): Remove '*'
1418 (version-list-<=, version<=, version=): Doc fix.
1420 2010-11-01 Kenichi Handa <handa@m17n.org>
1422 * faces.el (glyphless-char): Inherit underline for tty.
1424 2010-11-01 Kenichi Handa <handa@m17n.org>
1426 Implement various display methods for glyphless characters.
1428 * international/characters.el (char-acronym-table): New variable.
1429 (glyphless-char-control): New variable.
1430 (update-glyphless-char-display): New funciton.
1432 * faces.el (glyphless-char): New face.
1434 2010-11-01 Glenn Morris <rgm@gnu.org>
1436 * calendar/holidays.el (general-holidays, oriental-holidays)
1437 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1438 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1439 the definitions of their targets.
1441 * emacs-lisp/smie.el (smie): New custom group.
1442 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1444 * faces.el (xw-defined-colors, x-setup-function-keys):
1445 * mouse-sel.el (x-select-text):
1446 * term/w32console.el (x-setup-function-keys): Update declarations.
1448 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1450 * textmodes/ispell.el (comment-add): Declare.
1452 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1455 * info.el (finder-keywords-hash, package-alist): Declare.
1457 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1459 * finder.el (finder-compile-keywords): Don't use intern-soft,
1460 since package names may not yet exist in the obarray.
1462 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1464 * vc/vc-arch.el (vc-arch-checkin):
1465 * vc/vc-cvs.el (vc-cvs-checkin):
1466 * vc/vc-mtn.el (vc-mtn-checkin):
1467 * vc/vc-rcs.el (vc-rcs-checkin):
1468 * vc/vc-sccs.el (vc-sccs-checkin):
1469 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1470 since 2010-04-21 commit by Stefan Monnier.
1472 2010-11-01 Glenn Morris <rgm@gnu.org>
1474 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1476 * startup.el (package-enable-at-startup, package-initialize):
1479 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1482 2010-10-31 Julien Danjou <julien@danjou.info>
1484 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1485 (byte-recompile-directory):
1486 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1487 Use `byte-recompile-file'.
1489 2010-10-31 Glenn Morris <rgm@gnu.org>
1491 * cus-start.el: Handle standard values via a keyword.
1492 Only set version property if specified.
1493 (cursor-in-non-selected-windows, menu-bar-mode)
1494 (tool-bar-mode, show-trailing-whitespace):
1495 Do not specify standard values.
1496 (transient-mark-mode, temporary-file-directory): Use :standard.
1498 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1500 * term/x-win.el (x-get-selection-value): New function that gets
1501 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1503 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1505 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1506 preserve owner and group when editing files. (Bug#7289)
1508 2010-10-31 Glenn Morris <rgm@gnu.org>
1510 * speedbar.el (speedbar-mode):
1511 * play/fortune.el (fortune-in-buffer, fortune):
1512 * play/gomoku.el (gomoku-mode):
1513 * play/landmark.el (lm-mode):
1514 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1515 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1517 * select.el (x-selection): Mark it as an obsolete alias.
1519 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1521 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1522 major-mode (bug#7284).
1524 2010-10-31 Glenn Morris <rgm@gnu.org>
1526 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1527 rather than just an unused variable that inherits from the real one.
1529 2010-10-31 Alan Mackenzie <acm@muc.de>
1531 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1532 This fixes bug #7185.
1534 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1536 * startup.el (command-line): Search for package directories, and
1537 don't load package.el if none are found.
1539 * emacs-lisp/package.el (describe-package, list-packages):
1540 Call package-initialize if it has not been called yet.
1542 2010-10-30 Alan Mackenzie <acm@muc.de>
1544 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1545 which fontifies the tail of an enum.
1546 (c-basic-matchers-after): Insert a call to the above new function.
1547 This fixes bug #7264.
1549 2010-10-30 Glenn Morris <rgm@gnu.org>
1551 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1552 tool-bar-mode, transient-mark-mode. (Bug#7306)
1553 Include the :set property in the dumped Emacs.
1555 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1557 SMIE: change indent rules format, improve smie-setup.
1558 * emacs-lisp/smie.el (smie-precs-precedence-table)
1559 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1560 Mark them pure so the tables gets built at compile time.
1561 (smie-bnf-precedence-table): Store the closer-alist in the table.
1562 (smie-prec2-levels): Preserve the closer-alist.
1563 (smie-blink-matching-open): Be more forgiving in case of indentation.
1564 (smie-hanging-p): Rename from smie-indent--hanging-p.
1565 (smie-bolp): Rename from smie-indent--bolp.
1566 (smie--parent, smie--after): New dynamic vars.
1567 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1568 (smie-indent-rules): Remove.
1569 (smie-indent--offset-rule): Remove fun.
1570 (smie-rules-function): New var.
1571 (smie-indent--rule): New fun.
1572 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1573 (smie-indent-exps): Use it.
1574 (smie-setup): Setup paren blinking; add keyword args for token
1575 functions; extract closer-alist from op-levels.
1576 (smie-indent-debug-log): Remove var.
1577 (smie-indent-debug): Remove fun.
1578 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1579 (prolog-smie-rules): New fun to replace it.
1580 (prolog-mode-variables): Simplify.
1581 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1582 it's setup automatically.
1583 (octave-smie-indent-rules): Remove.
1584 (octave-smie-rules): New fun to replace it.
1585 (octave-mode): Simplify.
1587 2010-10-29 Glenn Morris <rgm@gnu.org>
1589 * files.el (temporary-file-directory): Remove (already defined in C).
1590 * cus-start.el: Add temporary-file-directory.
1592 * abbrev.el (abbrev-mode):
1593 * composite.el (auto-composition-mode):
1594 * menu-bar.el (menu-bar-mode):
1595 * simple.el (transient-mark-mode):
1596 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1597 that they do not define the associated variables twice.
1598 * simple.el (transient-mark-mode): Remove defvar.
1599 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1600 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1601 Handle multiple groups, and also custom-delayed-init-variables.
1602 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1604 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1606 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1607 (pcase-if): Add one minor optimization.
1608 (pcase-split-equal): Rename from pcase-split-eq.
1609 (pcase-split-member): Rename from pcase-split-memq.
1610 (pcase-u1): Add strings to the member optimization.
1611 Add `guard' variant of predicates.
1612 (pcase-q1): Add string patterns.
1614 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1618 2010-10-28 Glenn Morris <rgm@gnu.org>
1620 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1621 Move menu-bar related settings to ../menu-bar.el.
1622 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1623 Move ns-specific settings here from term/ns-win.el.
1625 * simple.el (x-selection-owner-p): Remove unused declaration.
1627 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1629 * minibuffer.el (completion-cycling): New var (bug#7266).
1630 (minibuffer-complete, completion--do-completion):
1631 Use completion--flush-all-sorted-completions.
1632 (minibuffer-complete): Only cycle if completion-cycling is set.
1633 (completion--flush-all-sorted-completions): Unset completion-cycling.
1634 (minibuffer-force-complete): Set completion-cycling.
1635 (completion-all-sorted-completions): Move declaration before first use.
1637 2010-10-28 Leo <sdl.web@gmail.com>
1639 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1640 which changes the order of matches seen by users (bug#7231).
1642 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1644 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1645 Don't confuse -omega as "-o mega".
1647 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1650 (log-edit-author): New dynamic var.
1651 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1652 to return the author if different from committer.
1653 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1655 * play/landmark.el: Adjust commenting convention.
1656 (lm-nil-score): Rename from nil-score.
1657 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1658 (OOOOscore): Move into a let in lm-score-trans-table.
1659 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1661 * electric.el (electric-indent-chars): Autoload.
1662 * progmodes/octave-mod.el (octave-mode):
1663 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1664 (ruby-mode-abbrev-table): Merge initialization and declaration.
1666 2010-10-27 Glenn Morris <rgm@gnu.org>
1668 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1671 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1673 * term/ns-win.el: Restore require of cl when compiling.
1674 (menu-bar-final-items): Remove non-existent `windows' menu.
1675 (ns-handle-nxopen): Optionally handle the temp-case.
1676 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1677 (ns-insert-file, ns-find-file): Use `pop'.
1679 2010-10-26 Glenn Morris <rgm@gnu.org>
1681 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1683 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1685 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1687 * term/common-win.el (x-setup-function-keys): Remove most of the
1688 keymappings. Comment on the remaining ones.
1690 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1692 * server.el (server-port): New option. (Bug#854)
1693 (server-start): Use server-port.
1695 2010-10-26 Glenn Morris <rgm@gnu.org>
1697 * term/ns-win.el (ns-version-string): Remove unused declaration.
1698 (ns-invocation-args): Change to x-invocation-args.
1699 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1700 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1701 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1702 Use x-invocation-args instead of ns-invocation-args.
1703 (ns-initialize-window-system, handle-args-function-alist):
1704 Use x-handle-args instead of ns-handle-args.
1705 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1706 * startup.el (command-line-ns-option-alist): Replace
1707 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1708 ns-handle-iconic with the x- equivalents.
1710 * term/common-win.el (x-select-enable-clipboard):
1711 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1713 * term/ns-win.el: No need to require cl when compiling.
1714 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1715 (xw-defined-colors): Use the common-win definitions.
1716 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1717 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1718 * term/common-win.el (x-select-text, x-alternatives-map)
1719 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1720 * loadup.el [ns]: Load common-win.
1722 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1724 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1725 recipients; expand mail aliases (Bug#7280).
1727 2010-10-25 Glenn Morris <rgm@gnu.org>
1729 * term/common-win.el (x-handle-switch): Simplify with pop.
1730 Optionally handle numeric switches.
1731 (x-handle-numeric-switch): Just call x-handle-switch.
1732 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1733 (x-handle-name-switch, x-handle-display, x-handle-args):
1736 * term/ns-win.el: Do not require easymenu.
1737 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1738 <spell>: Move adjustments to menu-bar.el.
1739 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1740 <separator-undo, spell>: Move ns-win's adjustments here.
1741 * loadup.el [ns]: Do not load easymenu.
1743 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1745 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1748 * startup.el (fancy-startup-tail): Instead of using inline images,
1749 refer to image files from etc/.
1751 * wid-edit.el (checkbox): Likewise.
1752 (widget-image-find): Center image specs.
1754 2010-10-24 Glenn Morris <rgm@gnu.org>
1756 * term/ns-win.el (x-select-text): Doc fix.
1757 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1758 (x-select-text): Move to term/common-win.
1759 * term/w32-win.el (xw-defined-colors): Move to common-win.
1760 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1761 (x-setup-function-keys, x-select-text): Move to common-win.
1762 * term/common-win.el (x-select-text, x-alternatives-map)
1763 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1766 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1768 * net/mairix.el (mairix-searches-mode-map):
1769 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1771 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1773 * verilog-mode.el (verilog-directive-re): Make this variable
1774 auto-built for efficiency of execution and updating.
1775 (verilog-extended-complete-re): Support 'pure' fucntion & task
1776 declarations (these have no bodies).
1777 (verilog-beg-of-statement): General cleanup to enable support of
1778 'pure' fucntion & task declarations (these have no bodies).
1779 These efforts together fix Verilog bug210 from veripool; which was also
1780 noticed by Steve Pearlmutter.
1781 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1782 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1783 Support `elsif. Reported by Shankar Giri.
1784 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1785 attribute handling for lining up declarations and assignments.
1786 (verilog-beg-of-statement-1): Fix issue where continued declaration
1787 is indented differently if it is after a begin..end clock.
1788 (verilog-in-attribute-p, verilog-skip-backward-comments)
1789 (verilog-skip-forward-comment-p): Support proper treatment of
1790 attributes by indent code. Reported by Jeff Steele.
1791 (verilog-in-directive-p): Fix comment to correctly describe function.
1792 (verilog-backward-up-list, verilog-in-struct-region-p)
1793 (verilog-backward-token, verilog-in-struct-p)
1794 (verilog-in-coverage-p, verilog-do-indent)
1795 (verilog-pretty-declarations): Use verilog-backward-up-list as
1796 wrapper around backward-up-list inorder to properly skip comments.
1797 Reported by David Rogoff.
1798 (verilog-property-re, verilog-endcomment-reason-re)
1799 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1800 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1801 of if). Reported by Max Bjurling and
1802 (verilog-calc-1): Fix for clocking block in modport
1803 declaration. Reported by Brian Hunter.
1805 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1807 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1808 (verilog-gate-keywords, verilog-read-sub-decls)
1809 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1810 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1811 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1812 (verilog-read-decls): Fix spaces in V2K module parameters causing
1813 mis-identification as interfaces, bug287.
1814 (verilog-read-decls): Fix not treating "parameter string" as a
1815 parameter in AUTOINSTPARAM.
1816 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1817 treating `elsif similar to `endif inside AUTOSENSE.
1818 (verilog-do-indent): Implement correct automatic or static task or
1819 function end comment highlight. Reported by Steve Pearlmutter.
1820 (verilog-font-lock-keywords-2): Fix highlighting of single
1821 character pins, bug264. Reported by Michael Laajanen.
1822 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1823 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1824 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1825 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1826 (verilog-pretty-expr): Fix interactive arguments, bug272.
1827 Reported by Mark Johnson.
1828 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1829 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1830 bug269. Suggested by Gary Delp.
1831 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1832 (verilog-preprocessor, verilog-set-compile-command):
1833 Create verilog-preprocess and verilog-preprocessor to show
1834 preprocessed output.
1835 (verilog-get-beg-of-line, verilog-get-end-of-line)
1836 (verilog-modi-file-or-buffer, verilog-modi-name)
1837 (verilog-modi-point, verilog-within-string): Move defmacro's
1838 before first use to avoid warning. Reported by Steve Pearlmutter.
1839 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1840 (verilog-colorize-region, verilog-highlight-buffer)
1841 (verilog-highlight-includes, verilog-highlight-modules)
1842 (verilog-highlight-region, verilog-mode): Rename colorize to
1843 highlight to match other packages. Disable module highlighting,
1844 as received speed complaints, reenable for experimentation only
1845 using new verilog-highlight-modules.
1846 (verilog-read-decls): Fix regexp stack overflow in very large
1847 AUTO_TEMPLATEs, bug250.
1848 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1849 (verilog-scan): Create verilog-save-buffer-state to standardize
1850 making insignificant changes that shouldn't call hooks.
1851 (verilog-save-no-change-functions, verilog-save-scan-cache)
1852 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1853 Create verilog-save-no-change-functions to wrap verilog-scan
1854 preservation, and fix to work with nested preserved calls.
1855 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1856 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1857 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1858 (verilog-submit-bug-report): Update variable list to be complete.
1859 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1860 breaking on-the-fly font-locking.
1861 (verilog-colorize-buffer, verilog-colorize-include-files)
1862 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1863 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1864 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1865 AUTOINST cell instance name, middle mouse button now finds-file on
1866 it. Suggested by Brad Dobbie.
1867 (verilog-alw-get-temps, verilog-auto-reset)
1868 (verilog-auto-sense-sigs, verilog-read-always-signals)
1869 (verilog-read-always-signals-recurse): Fix loop indexes being
1870 AUTORESET. AUTORESET now assumes any variables in the
1871 initialization section of a for() should be ignored.
1872 Reported by Dan Dever.
1873 (verilog-error-font-lock-keywords)
1874 (verilog-error-regexp-emacs-alist)
1875 (verilog-error-regexp-xemacs-alist): Fix error detection of
1876 Cadence HAL, reported by David Asher. Repair drift between the
1877 three similar error variables.
1878 (verilog-modi-lookup, verilog-modi-lookup-cache)
1879 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1880 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1881 Fix slow verilog-auto expansion on very large files.
1882 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1883 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1884 "{1*2{...". Broke in last revision.
1885 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1886 submodule connections with replications "{#{a},#{b}}".
1888 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1890 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1891 Fix typo in docstring.
1893 2010-10-24 Kenichi Handa <handa@m17n.org>
1895 * face-remap.el (text-scale-adjust): Call read-event with a proper
1898 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1900 * emacs-lisp/unsafep.el: Don't mark functions that display
1901 messages as safe. Suggested by Johan Bockgård.
1903 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1906 Turn comments into docstrings.
1908 * minibuffer.el (completion--replace): Move point where it belongs
1909 when there's a common suffix (bug#7215).
1911 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1913 Merge read-color and facemenu-read-color (Bug#7242).
1915 * faces.el (read-color): Use the completion code from
1916 facemenu-read-color. Require match in completion. Doc fix.
1918 * facemenu.el (facemenu-read-color): Alias for read-color.
1919 (facemenu-set-foreground, facemenu-set-background):
1922 * frame.el (set-background-color, set-foreground-color)
1923 (set-cursor-color, set-mouse-color, set-border-color):
1926 2010-10-24 Leo <sdl.web@gmail.com>
1928 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1929 argument of delete-file and delete-directory (Bug#7011).
1931 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1933 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1936 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1938 * emacs-lisp/package.el (package--generate-package-list): Make the
1939 *Packages* buffer read-only.
1941 2010-10-24 Alan Mackenzie <acm@muc.de>
1943 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1944 result of `c-beginning-of-decl-1' between invocations of a lambda
1945 function (Bug #7265).
1947 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1949 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1950 executable is not available on the system (Bug#7268).
1952 2010-10-24 Glenn Morris <rgm@gnu.org>
1954 * select.el (selection-coding-system, next-selection-coding-system):
1955 Sync doc with C versions.
1957 * w32-vars.el (x-select-enable-clipboard):
1958 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1959 * term/common-win.el (x-select-enable-clipboard): Move here.
1961 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1962 definition of C variable.
1964 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1965 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1966 Don't redefine things that are defined in C.
1967 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1968 (show-trailing-whitespace, auto-hscroll-mode)
1969 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1970 Set up the appropriate custom properties.
1972 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1975 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1976 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1977 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1978 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1980 2010-10-23 Glenn Morris <rgm@gnu.org>
1982 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1985 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1986 Sync docs with C version.
1988 * term/ns-win.el (xw-defined-colors):
1989 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1991 * term/pc-win.el (x-select-enable-clipboard):
1992 * term/x-win.el (x-select-enable-clipboard):
1993 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1995 * comint.el (comint-password-prompt-regexp): Make it less vague.
1998 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2000 * help.el (finder-by-keyword): Remove unnecessary autoload.
2002 2010-10-22 Glenn Morris <rgm@gnu.org>
2004 * loadup.el: Unconditionally load float-sup.
2005 * paren.el (show-paren-delay):
2006 * emacs-lisp/float-sup.el:
2007 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2008 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2009 (lazy-lock-stealth-verbose): Assume float support.
2010 * ps-print.el: Assume float support on Emacs.
2011 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2012 Remove non-float branch.
2014 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2015 src/Makefile no longer being pre-processed.
2017 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2019 * emacs-lisp/find-func.el (find-library): Use test-completion.
2021 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2023 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2025 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2027 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2028 space in stat format string.
2029 (tramp-send-command): Unset $PS1 when using here documents, in
2030 order not to get several prompts.
2031 (tramp-get-inline-coding): Return `nil' in case of errors.
2033 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2035 * hexl.el (hexl-mode, hexl-mode-exit):
2036 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2037 (hexl-revert-buffer-function): New function.
2038 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2040 2010-10-19 Alan Mackenzie <acm@muc.de>
2042 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2043 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2044 that these keywords aren't wrongly matched as identifiers.
2046 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2047 setting of c-new-BEG and c-new-END from c-before-change to
2048 c-after-change. (Bug#7181)
2050 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2052 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2055 * custom.el (custom-theme-set-variables): Likewise.
2056 (load-theme): Add custom-theme-set-faces and
2057 custom-theme-set-variables to safe-functions while loading.
2058 (custom-enabled-themes): Mark as risky.
2060 2010-10-18 Julien Danjou <julien@danjou.info>
2062 * bindings.el: Remove end dashes in default mode-line-format.
2064 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2066 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2067 to delete-forward-char.
2069 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2070 deletechar, and hence delete-forward-char.
2072 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * repeat.el (repeat): Use read-key (bug#6256).
2076 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2078 * emacs-lisp/unsafep.el: Don't mark functions that display
2079 messages as safe. Suggested by Johan Bockgård.
2081 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2083 * minibuffer.el (completion--replace): Move point where it belongs
2084 when there's a common suffix (bug#7215).
2086 2010-10-19 Kenichi Handa <handa@m17n.org>
2088 * international/characters.el: Add category '|' (word breakable)
2089 to fullwidth characters.
2091 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2093 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2094 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2095 order to make stat results a float. Patch by Andreas Schwab
2096 <schwab@linux-m68k.org>.
2098 2010-10-18 Julien Danjou <julien@danjou.info>
2100 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2101 hidden by `make-pointer-invisible'.
2103 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2105 * files.el (locate-file-completion-table): Strip non-matching elements
2106 before checking length of list (bug#7238).
2108 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2110 * custom.el (custom-theme-set-variables): Mark as a safe function.
2111 (load-theme): Check forms using unsafep.
2113 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2115 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2117 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2118 Fix aspell data file searching (bug#7230).
2120 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2122 * cus-theme.el (custom-theme--migrate-settings): New var.
2123 (customize-create-theme): Allow editing the `user' theme.
2124 (custom-theme-add-variable, custom-theme-add-var-1)
2125 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2126 to the front of each variable or face widget.
2127 (custom-theme-write): Save theme settings in the correct order.
2128 Optionally, remove saved settings from user customizations.
2129 (custom-theme-write-variables, custom-theme-write-faces):
2130 Save only the checked widgets.
2131 (customize-themes): Add a link for migrating custom settings.
2133 * custom.el (custom-declare-theme, provide-theme):
2134 Use custom-theme-name-valid-p.
2135 (custom-theme-name-valid-p): Remove checks that are now
2136 unnecessary since themes no longer obey load-path.
2138 * cus-edit.el (custom-variable-value-create): For the simple
2139 style, hide documentation string when hidden.
2141 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2143 * cus-edit.el (custom-variable, custom-face): Combine the
2144 :inhibit-magic and :display-style properties into a single
2145 :custom-style property.
2146 (custom-toggle-hide-variable, custom-toggle-hide-face):
2147 New functions. If hiding an edited value, save it to :shown-value.
2148 (custom-variable-value-create, custom-face-value-create): Use them.
2149 (custom-magic-reset): Allow magic property to be unset.
2151 * custom.el: Custom themes no longer use load-path.
2152 (custom-theme-load-path): New option. Change built-in theme
2154 (custom-enabled-themes): Add custom-theme-load-path dependency.
2155 (custom-theme--load-path): New function.
2156 (load-theme, custom-available-themes): Use it.
2158 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2159 (customize-themes): Link to custom-theme-load-path variable.
2160 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2161 :custom-style property.
2163 * themes/*.el: Moved to etc/.
2165 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2167 * textmodes/reftex-cite.el
2168 (reftex-extract-bib-entries-from-thebibliography): Do not move
2169 point when searching for \bibitem entries. Match entries with
2170 spaces or tabs in front of arguments.
2172 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2174 * cus-theme.el (customize-create-theme): Delete overlays after
2175 erasing. If given a THEME arg, display only the faces of that arg
2176 instead of custom-theme--listed-faces.
2177 (custom-theme-variable-menu, custom-theme-variable-action)
2178 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2179 (custom-theme-add-variable, custom-theme-add-face): Apply value
2180 from the theme settings, instead of the current value.
2181 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2182 (custom-theme-visit-theme): Allow calling outside theme buffers.
2183 (custom-theme-merge-theme): Don't enable the theme when merging.
2184 (custom-theme-write-variables, custom-theme-write-faces): Use the
2185 :shown-value properties to save buffer values, not global ones.
2186 (customize-themes): Display a warning about user customizations.
2188 * cus-edit.el (custom-variable-value-create)
2189 (custom-face-value-create): Obey new special properties
2190 :shown-value and :inhibit-magic.
2192 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2194 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2195 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2198 2010-10-14 Kenichi Handa <handa@m17n.org>
2200 * mail/rmail.el (rmail-show-message-1): Catch an error of
2201 base64-decode-region and just show an error message (bug#7165).
2203 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2204 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2205 a font-spec (bug#7197).
2207 2010-10-14 Glenn Morris <rgm@gnu.org>
2209 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2211 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2213 * international/mule.el (define-coding-system):
2214 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2215 * composite.el (compose-region): Fix typo in docstring.
2217 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2219 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2220 only after checking the theme-face property.
2222 * faces.el (face-spec-reset-face): Reset all attributes in one
2223 single call to set-face-attribute.
2224 (face-spec-match-p): Make it a defsubst.
2225 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2226 (x-create-frame-with-faces, tty-create-frame-with-faces)
2227 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2228 frame-set-background-mode, since they are recomputed immediately
2229 afterwards in face-set-after-frame-default.
2230 (face-set-after-frame-default): Minor optimization.
2231 (cursor): Provide non-trivial defface spec.
2233 * custom.el (custom-theme-recalc-face): Simplify.
2235 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2237 * calc/calc-alg.el (math-var): Rename from `var'.
2238 (math-is-polynomial, math-is-poly-rec): Replace `var'
2241 * calc/calcalg2.el (math-var): Rename from `var'.
2242 (calcFunc-table, math-scan-for-limits): Replace `var'
2245 2010-10-13 Glenn Morris <rgm@gnu.org>
2247 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2249 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2251 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2253 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2255 * net/tls.el (tls-program): Remove spurious %s from openssl.
2256 (tls-starttls-switches): Remove starttls hack.
2257 (open-tls-stream): Ditto.
2258 (tls-find-starttls-argument): Ditto.
2260 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2262 * image.el (image-library-alist): Declare as obsolete alias.
2263 (image-type-available-p): Use `dynamic-library-alist'.
2265 * term/w32-win.el (dynamic-library-alist):
2266 Use instead of `image-library-alist'.
2268 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2270 * subr.el (last): Make it faster. (Bug#7174)
2272 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2274 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2276 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2278 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2279 (describe-theme-1): Extract doc from unloaded themes.
2281 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2283 * themes/tango-theme.el:
2284 * themes/tango-dark-theme.el:
2285 * themes/wheatgrass-theme.el: New files.
2287 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2289 * cus-theme.el (describe-theme, customize-themes)
2290 (custom-theme-save): New commands.
2291 (custom-new-theme-mode-map): Bind C-x C-s.
2292 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2293 (customize-create-theme): New optional arg THEME.
2294 (custom-theme-revert): Use it.
2295 (custom-theme-visit-theme): Remove dead code.
2296 (custom-theme-merge-theme): Use custom-available-themes.
2297 (custom-theme-write): Make interactive.
2298 (custom-theme-write): Use custom-theme-name-valid-p.
2299 (describe-theme-1, custom-theme-choose-revert)
2300 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2302 (custom-theme-allow-multiple-selections): New option.
2303 (custom-theme-choose-mode): New major mode.
2305 * custom.el (custom-theme-set-variables): Remove dead code.
2306 Obey custom--inhibit-theme-enable.
2307 (custom--inhibit-theme-enable): New var.
2308 (provide-theme): Obey it.
2309 (load-theme): Replace load with manual read/eval, in order to
2310 check for correctness. Use custom-theme-name-valid-p.
2311 (custom-theme-name-valid-p): New function.
2312 (custom-available-themes): Use it.
2314 * cus-edit.el (custom--initialize-widget-variables): New function.
2315 (Custom-mode): Use it.
2317 * cus-face.el (custom-theme-set-faces): Remove dead code.
2318 Obey custom--inhibit-theme-enable.
2320 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2322 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2324 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2326 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2328 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2329 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2330 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2332 * cus-start.el (all): ns-right-alternate-modifier is new.
2334 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2336 * emacs-lisp/lisp.el (lisp-completion-at-point):
2337 Use emacs-lisp-mode-syntax-table for the whole function.
2339 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2341 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2342 instead of font-lock-mode before adding keywords.
2343 Remove hi-lock-mode off code. Remove inhibit hack.
2344 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2345 non-nil; removed hook inhibit hack.
2347 2010-10-12 Glenn Morris <rgm@gnu.org>
2349 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2350 (load-path-shadows-find): ... to this.
2351 (list-load-path-shadows): Update for above change.
2353 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2355 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2357 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2358 Fix comment for declare-function.
2360 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2362 * custom.el (custom-fix-face-spec): New function; code moved from
2363 custom-face-edit-fix-value.
2364 (custom-push-theme): Use it when checking if a face has been
2365 changed outside customize.
2366 (custom-available-themes): New function.
2367 (load-theme): Use it.
2369 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2371 * custom.el (custom-push-theme): Cleanup (use cond).
2372 (disable-theme): Recompute the saved-face property.
2373 (custom-theme-recalc-face): Follow face alias before setting prop.
2375 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2376 New variables, containing checkbox images.
2378 * startup.el (fancy-startup-tail):
2379 * wid-edit.el (checkbox): Use them.
2381 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2383 * shell.el (shell-mode-map):
2384 * progmodes/modula2.el (m2-mode-map):
2385 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2386 * play/mpuz.el (mpuz-mode-map):
2387 * play/landmark.el (lm-mode-map):
2388 * play/decipher.el (decipher-mode-map):
2389 * play/5x5.el (5x5-mode-map):
2390 * net/telnet.el (telnet-mode-map):
2391 * net/quickurl.el (quickurl-list-mode-map):
2392 * net/mairix.el (mairix-searches-mode-map):
2393 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2394 * net/dig.el (dig-mode-map):
2395 * mail/mspools.el (mspools-mode-map):
2396 * hexl.el (hexl-mode-map):
2397 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2398 (wordstar-C-o-map, wordstar-C-q-map):
2399 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2400 * emacs-lisp/chart.el (chart-map):
2401 * edmacro.el (edmacro-mode-map):
2402 * erc/erc-list.el (erc-list-menu-mode-map):
2403 * array.el (array-mode-map): Declare and define in one step.
2405 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2407 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2409 * epa.el (epa-passphrase-callback-function): Display filename
2410 passed as the 3rd arg.
2411 * epa-file.el (epa-file-passphrase-callback-function):
2412 Pass filename to epa-passphrase-callback-function.
2414 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2416 * cus-edit.el (custom-face-widget-to-spec)
2417 (custom-face-get-current-spec, custom-face-state): New functions.
2418 (custom-face-set, custom-face-mark-to-save)
2419 (custom-face-value-create, custom-face-state-set): Use them.
2421 * cus-theme.el (custom-theme--listed-faces): New var.
2422 (customize-create-theme): Use *Custom Theme* as the buffer name.
2423 Set revert-buffer-function. Optional arg BUFFER. Insert all
2424 faces listed in custom-theme--listed-faces.
2425 (custom-theme-revert): New function.
2426 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2428 (custom-theme-write): Prompt for theme name if empty.
2429 (custom-theme-write-variables): Use dolist.
2430 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2432 2010-10-09 Alan Mackenzie <acm@muc.de>
2434 Enhance fontification of declarators to take account of the
2435 presence/absence of "typedef".
2437 * cc-engine.el (c-forward-type): New &optional param
2439 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2440 presence of either or both of a "struct"-like keyword and "typedef".
2442 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2443 fontification of declarators which follow a "}".
2444 (c-font-lock-declarations): Fontify declarators according to the
2445 presence/absence of "typedef".
2447 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2449 (c-typedef-decl-key): New lang variable built from
2450 c-typedef-decl-kwds.
2452 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2454 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2455 since that's too annoying. Move the filter groups commands to
2458 * epa.el (epa-passphrase-callback-function): Say what we're
2459 querying the password for.
2461 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2462 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2464 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2466 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2467 (custom-magic-value-create): Pad button tags with spaces.
2468 (custom-face-edit): New variable.
2469 (custom-face-value-create): Determine whether to use the usual
2470 face editor here, instead of using custom-face-selected.
2471 Pass face defaults to custom-face-edit widget.
2472 (custom-face-selected, custom-display-unselected): Delete widgets.
2473 (custom-display-unselected-match): Function removed.
2474 (custom-face-set, custom-face-mark-to-save):
2475 Accept custom-face-edit widgets as the direct widget child.
2477 * wid-edit.el (widget--completing-widget): New var.
2478 (widget-default-complete): Bind it when doing completion.
2479 (widget-string-complete, widget-file-complete): Use it.
2481 2010-10-09 Glenn Morris <rgm@gnu.org>
2483 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2484 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2485 (holiday-hebrew-misc): Small simplifications.
2487 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2489 * net/browse-url.el: Don't require thingatpt, term, dired,
2490 executable, or w3-auto when compiling.
2491 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2493 (browse-url-text-emacs): Require term.
2495 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2497 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2499 2010-10-08 Glenn Morris <rgm@gnu.org>
2501 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2503 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2504 (shadows-compare-text-p): Make it an obsolete alias for...
2505 (load-path-shadows-compare-text): ... new name.
2506 (find-emacs-lisp-shadows): Update for above name change.
2507 (load-path-shadows-same-file-or-nonexistent): New name for the old
2508 shadow-same-file-or-nonexistent.
2510 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2512 * minibuffer.el (completion--some, completion--do-completion)
2513 (minibuffer-complete-and-exit, minibuffer-completion-help)
2514 (completion-basic-try-completion)
2515 (completion-basic-all-completions)
2516 (completion-pcm--find-all-completions): Use lexical-let to
2517 avoid some false matches in variable completion (Bug#7056)
2519 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2521 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2523 2010-10-08 Leo <sdl.web@gmail.com>
2525 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2526 return non-nil if the file exists (Bug#7090).
2528 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * minibuffer.el (completion--replace):
2531 Better preserve markers (bug#7138).
2533 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2535 * server.el (server-process-filter): Doc fix.
2537 2010-10-08 Drew Adams <drew.adams@oracle.com>
2539 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2541 2010-10-08 Glenn Morris <rgm@gnu.org>
2543 * vc/ediff-wind.el (ediff-setup-control-frame):
2544 * vc/ediff-ptch.el (ediff-default-backup-extension):
2545 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2546 (ediff-exec-process): Remove system-types emx, windows-95.
2548 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2550 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2552 * cus-edit.el (custom-variable, custom-face): Doc fix.
2553 (custom-face-edit): Add value-create attribute.
2554 (custom-face-edit-value-create)
2555 (custom-face-edit-value-visibility-action): New functions.
2556 Hide unused face attributes by default, and add a visibility toggle.
2557 (custom-face-edit-deactivate): Show empty values with shadow face.
2558 (custom-face-selected): Only use this for face specs with default
2560 (custom-face-value-create): Cleanup.
2562 * wid-edit.el (widget-checklist-value-create): Use dolist.
2563 (widget-checklist-match-find): Make second arg optional.
2565 2010-10-07 Glenn Morris <rgm@gnu.org>
2567 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2570 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2571 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2572 load-path-shadows-mode, update references.
2573 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2574 Rename variable and button.
2575 (list-load-path-shadows): Update button caller.
2577 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2580 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2581 (smie-merge-prec2s): Handle those new entries.
2582 (smie-prec2-levels): Only set precedence to nil for actual
2584 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2585 that is now unnecessary.
2587 2010-10-07 Miles Bader <miles@gnu.org>
2589 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2591 2010-10-07 Glenn Morris <rgm@gnu.org>
2593 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2594 (mail-position-on-field): Remove declarations.
2595 (mail-position-on-field): Autoload it.
2596 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2597 and mail-header-end. Don't require sendmail.
2599 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2600 (shadow-mode): New mode.
2601 (shadow-find-file): New button.
2602 (list-load-path-shadows): Use shadow-mode and buttons.
2604 * iimage.el (iimage-version): Remove.
2605 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2606 Turn into defcustoms.
2607 (iimage-mode-map): Give it a doc string.
2609 * calendar/appt.el (appt-activate): Give a warning rather than an error
2610 if there is no diary-file.
2612 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2614 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2615 Use `tramp-handle-find-backup-file-name'.
2617 2010-10-06 Glenn Morris <rgm@gnu.org>
2619 * font-core.el (font-lock-defaults-alist): Remove variable.
2620 (font-lock-mode): Doc fix.
2621 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2622 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2623 (font-lock-set-defaults): Doc fix.
2624 Do not consult font-lock-defaults-alist.
2626 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2628 * emacs-lisp/cl.el: No longer provide cl-19.
2630 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2632 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2633 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2634 New defuns, taken from tramp-smb.el.
2635 (tramp-coding-system-change-eol-conversion)
2636 (tramp-set-process-query-on-exit-flag): Remove.
2638 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2639 (tramp-compat-coding-system-change-eol-conversion)
2640 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2643 * net/tramp-gvfs.el:
2644 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2645 by `tramp-compat-set-process-query-on-exit-flag'.
2647 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2648 Use `tramp-handle-directory-files-and-attributes',
2649 `tramp-handle-file-exists-p' and
2650 `tramp-handle-file-newer-than-file-p'.
2651 (tramp-imap-handle-file-exists-p)
2652 (tramp-imap-handle-file-executable-p)
2653 (tramp-imap-handle-file-readable-p)
2654 (tramp-imap-handle-directory-files-and-attributes)
2655 (tramp-imap-handle-file-newer-than-file-p): Remove.
2657 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2658 by `tramp-compat-set-process-query-on-exit-flag' and
2659 `tramp-coding-system-change-eol-conversion' by
2660 `tramp-compat-coding-system-change-eol-conversion'.
2662 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2663 Use `tramp-handle-directory-files-and-attributes',
2664 `tramp-handle-file-exists-p' and
2665 `tramp-handle-file-newer-than-file-p'.
2666 (tramp-smb-handle-directory-files-and-attributes)
2667 (tramp-smb-handle-file-exists-p)
2668 (tramp-smb-handle-file-newer-than-file-p): Remove.
2669 (tramp-smb-maybe-open-connection):
2670 Replace `tramp-set-process-query-on-exit-flag' by
2671 `tramp-compat-set-process-query-on-exit-flag'.
2673 2010-10-05 Glenn Morris <rgm@gnu.org>
2675 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2677 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2679 Continue reorganization of load dependencies. (Bug#7156)
2681 * net/tramp.el (tramp-handle-file-local-copy-hook)
2682 (tramp-delete-temp-file-function): Move down.
2683 (tramp-exists-file-name-handler): Move up.
2684 (tramp-register-file-name-handlers): Simplify autoload.
2685 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2686 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2687 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2688 (tramp-handle-file-name-completion)
2689 (tramp-handle-file-name-directory)
2690 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2691 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2692 (tramp-handle-find-backup-file-name)
2693 (tramp-handle-insert-file-contents, tramp-handle-load)
2694 (tramp-handle-substitute-in-file-name)
2695 (tramp-handle-unhandled-file-name-directory)
2696 (tramp-mode-string-to-int, tramp-local-host-p)
2697 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2699 * net/tramp-gvfs.el (top):
2700 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2702 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2703 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2705 2010-10-04 Glenn Morris <rgm@gnu.org>
2707 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2708 (appt-activate): Give status messages.
2710 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2712 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2713 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2714 `gnutls-negotiate' (formerly `starttls-negotiate').
2715 Remove trivial wrapper `starttls-open-stream'.
2717 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2719 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2720 log-outgoing commands.
2721 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2722 to create a buffer local revert-buffer-function variable.
2723 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2724 revert-buffer-function lambda.
2726 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2728 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2729 `gnutls-boot'. Make TYPE the only required parameter.
2730 Allow TRUSTFILES and KEYFILES to be lists.
2731 (open-ssl-stream): Use it.
2733 2010-10-03 Glenn Morris <rgm@gnu.org>
2735 * subr.el (directory-sep-char): Remove obsolete variable.
2736 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2739 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2740 * vc/vc.el (vc-static-header-alist): Doc fix.
2741 * vc/vc-cvs.el (vc-cvs-header):
2742 * vc/vc-rcs.el (vc-rcs-header):
2743 * vc/vc-sccs.el (vc-sccs-header):
2744 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2745 * obsolete/vc-mcvs.el (vc-mcvs-header):
2746 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2749 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2751 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2752 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2754 2010-10-03 Glenn Morris <rgm@gnu.org>
2756 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2758 * textmodes/rst.el (rst-font-lock-keywords-function):
2761 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2763 * printing.el: Drop Emacs 20 code.
2765 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2766 without having used appt.el already).
2768 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2769 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2770 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2772 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2773 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2775 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2776 (charset-width, find-charset-region, chars-in-region, forward-point)
2777 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2778 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2779 Remove compatibility cruft (none of these are used by ps*.el).
2781 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2783 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2785 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2787 * server.el (server-process-filter, server-return-error):
2788 Give emacsclient time to shut down after receiving an error string.
2790 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2792 * files.el (remote-file-name-inhibit-cache): New defcustom.
2794 * time.el (display-time-file-nonempty-p):
2795 Use `remote-file-name-inhibit-cache'.
2797 * net/tramp.el (tramp-completion-reread-directory-timeout):
2800 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2801 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2802 `remote-file-name-inhibit-cache'. Check also for an integer
2803 value. Add/increase counter when `tramp-verbose' >= 10.
2804 (tramp-set-file-property): Add/increase counter when
2805 `tramp-verbose' >= 10.
2807 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2808 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2809 (tramp-bug): Set tramp-autoload cookie. Report all interned
2810 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2811 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2812 characters only in strings.
2814 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2815 to backward compatibility.
2817 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2818 (tramp-handle-file-name-all-completions)
2819 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2820 (tramp-open-connection-setup-interactive-shell):
2821 Call `tramp-cleanup-connection' directly.
2823 2010-10-02 Glenn Morris <rgm@gnu.org>
2825 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2827 * subr.el (char-bytes): Remove obsolete function.
2829 * isearch.el (isearch-return-char): Remove obsolete function.
2831 * mouse.el: No longer provide mldrag.
2832 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2833 Remove obsolete aliases.
2835 * comint.el (comint-kill-output): Remove obsolete alias.
2837 * composite.el (decompose-composite-char): Remove obsolete function.
2838 * ps-def.el (decompose-composite-char): Remove unused function.
2840 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2842 * outline.el (outline-visible): Remove obsolete function.
2844 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2845 * faces.el (internal-find-face, internal-get-face)
2846 (frame-update-faces, frame-update-face-colors)
2847 (x-frob-font-weight, x-frob-font-slant)
2848 (internal-frob-font-weight, internal-frob-font-slant)
2849 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2850 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2851 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2853 * emulation/viper-util.el (viper-get-face):
2854 * obsolete/lucid.el (find-face, get-face): Use facep.
2855 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2856 Remove unused functions.
2857 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2859 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2860 delete tempfile if interrupted during compilation.
2862 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2864 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2866 (tls-program): Add --insecure to be consistent with the defaults from
2867 openssl s_client. Now all three commands are insecure.
2869 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2871 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2872 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2873 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2875 2010-10-01 Glenn Morris <rgm@gnu.org>
2877 * obsolete/sc.el: Remove file.
2879 * files.el (temporary-file-directory): On darwin, also try
2880 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2882 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2884 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2885 Let's not break compatibility gratuitously, shall we?
2887 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2889 * net/tls.el (tls-starttls-switches): New variable.
2890 (tls-find-starttls-argument): Use it.
2891 (open-tls-stream): Ditto.
2893 * net/netrc.el (netrc-credentials): Return the value of the "default"
2895 (netrc-machine): Ditto.
2897 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2899 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2901 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2903 * server.el (server-start): Don't write pid to the authentication file.
2904 (server-create-tty-frame): Don't send pid.
2905 (server-process-filter): Send pid at the start of every connection.
2907 2010-09-30 Glenn Morris <rgm@gnu.org>
2909 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2910 (show-all-diary-entries): Remove obsolete function aliases.
2912 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2913 Remove options, obsolete since 22.1.
2914 (appt-display-format, appt-display-message):
2915 Remove backwards-compatibility code.
2916 (appt-check): No longer check appt-issue-message.
2917 (appt-make-list): No longer autoload it. Doc fix. No longer
2918 activate the package.
2920 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2922 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2923 (starttls-negotiate): Just call boot, and let the handshake be
2924 triggered from the read loop.
2926 2010-09-29 Glenn Morris <rgm@gnu.org>
2928 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2929 not displaying the diary.
2930 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2931 * calendar/appt.el (appt-check): No longer need to kill diary.
2933 * calendar/diary-lib.el (diary-list-entries): Move the
2934 "Preparing..." message entirely here.
2935 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2936 messages to diary-list-entries.
2937 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2938 diary-display-function.
2940 * calendar/diary-lib.el (diary-include-other-diary-files):
2941 Trap some recursive includes.
2943 * calendar/appt.el (appt-activate): Check diary file.
2945 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2947 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2950 * calendar/time-date.el: No need to require cl for Emacs 21.
2952 2010-09-28 Glenn Morris <rgm@gnu.org>
2954 * calendar/appt.el (appt-check): Minor simplification.
2956 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2958 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2961 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2963 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2964 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
2966 2010-09-27 Kenichi Handa <handa@m17n.org>
2968 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2971 2010-09-27 Kenichi Handa <handa@m17n.org>
2973 * international/mule.el (define-coding-system): Docstring fixed.
2975 * international/mule-diag.el (describe-character-set): Use princ
2976 with proper print-length and print-level instead of insert.
2978 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
2980 * window.el (walk-windows): Doc fix (bug#7105).
2982 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2984 * emacs-lisp/float-sup.el (e): Remove.
2986 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2988 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2990 (starttls-negotiate): Use it.
2992 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2994 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2997 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3001 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3003 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3005 * net/netrc.el (netrc-store-data): New function.
3007 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3009 * net/gnutls.el: GnuTLS glue code to set up a connection.
3011 2010-09-25 Julien Danjou <julien@danjou.info>
3013 * notifications.el: Call dbus-register-signal only if it is bound.
3015 2010-09-25 Glenn Morris <rgm@gnu.org>
3017 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3018 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3019 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3020 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3021 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3022 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3023 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3024 * eshell/esh-util.el, eshell/esh-var.el:
3025 Remove leading `*' from docs of faces and defcustoms.
3027 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3029 * eshell/em-ls.el (eshell-ls-archive-regexp):
3030 * eshell/esh-util.el (eshell-tar-regexp):
3031 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3032 * info.el (Info-suffix-list):
3033 * international/mule.el (auto-coding-alist):
3034 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3035 * progmodes/etags.el (tags-compression-info-list):
3036 Support xz compression.
3038 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3040 * files.el (get-free-disk-space): Don't assume the "df" output
3041 columns line up (Bug#6995).
3043 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3045 * finder.el (finder-unknown-keywords):
3046 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3047 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3049 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3051 * server.el (server-start): Revert part of 2010-08-08 change. Using
3052 address 127.0.0.1 for local host is now done in Fmake_network_process.
3054 2010-09-24 Glenn Morris <rgm@gnu.org>
3056 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3057 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3058 * textmodes/css-mode.el, textmodes/dns-mode.el:
3059 Move autoloaded auto-mode-alist entries to files.el.
3060 * files.el (auto-mode-alist): Move entries here.
3062 2010-09-23 Glenn Morris <rgm@gnu.org>
3064 * isearch.el (isearch-lazy-highlight-cleanup)
3065 (isearch-lazy-highlight-initial-delay)
3066 (isearch-lazy-highlight-interval)
3067 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3068 * net/net-utils.el (ipconfig-program-options):
3069 Move aliases to options before the associated definitions.
3071 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * newcomment.el (comment-normalize-vars): Better test validity of
3076 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3078 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3079 (float-e): New name for `e'.
3080 (degrees-to-radians, radians-to-degrees):
3081 * calendar/solar.el (solar-longitude):
3082 * calculator.el (calculator-registers, calculator-funcall):
3083 * textmodes/artist.el (artist-spray-random-points):
3084 * play/bubbles.el (bubbles--initialize-images): Use new names.
3086 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3088 Update to CEDET 1.0's version of EIEIO.
3090 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3092 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3093 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3094 (class-precedence-list): If class is nil, return nil.
3095 (eieio-generic-call): If class of first input arg is nil, don't
3096 look up static methods, and do check for primary methods.
3097 (initialize-instance): See if the default needs to be evaluated
3098 during the constructor.
3099 (eieio-perform-slot-validation-for-default): Don't do the check
3100 for values that will eventually be evaluated.
3101 (eieio-eval-default-p): New function.
3102 (eieio-default-eval-maybe): Use it.
3104 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3106 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3107 method-invocation-order.
3108 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3109 (eieio-class-precedence-dfs): Compute class precedence list using
3111 (eieio-class-precedence-bfs): Compute class precedence list using
3113 (eieio-class-precedence-c3): Compute class precedence list using
3115 (class-precedence-list): New function.
3116 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3117 (inconsistent-class-hierarchy): New error symbol.
3118 (call-next-method): Stow the replacement argument list for future
3119 call-next-method invocations.
3121 2010-09-23 Glenn Morris <rgm@gnu.org>
3123 * calendar/appt.el (appt-check): If not displaying the diary,
3124 use (diary 1) to only get the entries we need.
3125 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3126 that it is in day order. (Bug#7019)
3128 * calendar/appt.el (appt-check): Rather than showing the diary,
3129 just turn off invisible display, and only if needed.
3131 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3133 2010-09-23 Glenn Morris <rgm@gnu.org>
3135 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3136 (byte-compile-defvar, byte-compile-cl-warn):
3137 Start warnings with lower-case, like the majority.
3139 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3141 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3143 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3144 * files.el (auto-mode-alist): Move ld-script entries here, further down
3147 * vc/add-log.el: Don't require timezone when compiling.
3148 (timezone-make-date-sortable): Autoload it.
3149 (change-log-sortable-date-at): Don't require timezone.
3150 Use `ignore-errors'.
3152 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3153 Move alias before definition, so it does not need autoloading.
3155 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3156 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3157 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3158 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3159 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3160 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3161 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3162 * textmodes/tex-mode.el, textmodes/two-column.el:
3163 Remove leading `*' from docs of defcustoms etc.
3165 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3167 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3169 2010-09-22 Dan Christensen <jdc@uwo.ca>
3171 * calendar/time-date.el (date-to-time): Try using parse-time-string
3172 first before using the slower timezone-make-date-arpa-standard.
3174 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3176 * calendar/time-date.el (format-seconds): Comment fix.
3178 2010-09-22 Glenn Morris <rgm@gnu.org>
3180 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3181 is not automatically buffer-local.
3183 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3185 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3186 (smie-indent-comment): Be more careful with comment-start-skip.
3187 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3188 (smie-indent-functions): Use them.
3190 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3192 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3194 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3196 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3197 tool-bar-position. Don't modify frame parameters here.
3198 (menu-bar-options-save): Add tool-bar-position.
3200 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3202 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * textmodes/reftex-parse.el (reftex-what-macro)
3205 (reftex-context-substring): Let-bind forward-sexp-function to nil
3206 since we don't need/want to treat \begin...\end as a block (bug#7053).
3208 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3210 * simple.el (blink-matching-open): Use syntax-class.
3212 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3213 Set invisibility spec for pascal's outline mode.
3214 (pascal-outline-change): Clean up calling convention.
3215 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3217 * progmodes/prolog.el (prolog-smie-forward-token)
3218 (prolog-smie-backward-token): New functions.
3219 (prolog-mode-variables): Use them to parse "!," correctly.
3220 Set up smie-blink-matching for ".".
3222 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3224 (ispell-region, ispell-process-line): Update users.
3226 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3229 * textmodes/ispell.el: Fix commenting convention.
3230 (ispell-parse-output): Simplify, use push.
3231 (ispell-region): Use match-string-no-properties.
3232 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3233 (ispell-minor-mode): Use define-minor-mode.
3234 (ispell-message): Remove unused var `skip-regexp'.
3235 (ispell-add-per-file-word-list): Use dynamic let-binding.
3236 Try and use the proper comment marker.
3238 * mail/sendmail.el: Fix commenting convention.
3239 (sendmail-send-it): Use line-beginning-position.
3241 * help-fns.el (describe-variable): Add original value, if applicable.
3243 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3245 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3247 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3249 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3252 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3253 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3254 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3255 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3256 something like "." can also be a closer.
3257 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3258 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3259 Rename internal functions to use "--". Update callers.
3261 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3263 * fringe.el (fringe-styles): New var.
3264 (fringe-mode, fringe-query-style): Use it.
3266 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3268 * progmodes/sql.el: Version 2.8
3269 (sql-login-params): Update widget structure; changes still needed.
3270 (sql-product-alist): Add :list-all and :list-table features for
3271 SQLite, Postgres and MySQL products.
3272 (sql-redirect): Handle default value.
3273 (sql-execute, sql-execute-feature): New functions.
3274 (sql-read-table-name): New function.
3275 (sql-list-all, sql-list-table): New functions. User API.
3276 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3277 for above functions.
3278 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3279 for above functions.
3280 (sql-postgres-login-params): Add user and database defaults.
3281 (sql-buffer-live-p): Bug fix.
3282 (sql-product-history): New variable.
3283 (sql-read-product): New function. Use it.
3284 (sql-set-product, sql-product-interactive): Use it.
3285 (sql-connection-history): New variable.
3286 (sql-read-connection): New function. Use it.
3287 (sql-connect): New function.
3288 (sql-for-each-login): Redesign function interface.
3289 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3290 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3291 (sql-comint): Check for program. Existing live buffer.
3292 (sql-comint-postgres): Add port parameter.
3294 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * emacs-lisp/warnings.el: Fix commenting convention.
3297 (display-warning): Use special mode and make the buffer read-only.
3299 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3301 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3302 empty string when it follows a repeated or optional pattern.
3304 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3306 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3307 (indent-region): Use indent-according-to-mode.
3309 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3311 * fringe.el (fringe-mode): Doc fix.
3313 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3315 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3316 refreshing the preview buffer.
3318 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3320 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3321 (latex-syntax-propertize-rules): New consts; replace
3322 tex-font-lock-syntactic-keywords.
3323 (tex-env-mark, latex-env-before-change): New functions.
3324 (latex-electric-env-pair-mode): New minor mode.
3325 (tex-font-lock-verb): Change arguments; do move point.
3326 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3327 representation as a form of comment.
3328 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3329 (doctex-syntax-propertize-rules): New const; replaces
3330 doctex-font-lock-syntactic-keywords.
3331 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3333 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3334 (fortran-make-syntax-propertize-function): New function; replaces
3335 fortran-font-lock-syntactic-keywords.
3336 (fortran-mode): Use it.
3337 (fortran-line-length): Use it. Improve interactive spec.
3339 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3340 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3341 when adding surrounding \(..\).
3343 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3345 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3348 Use with-current-buffer.
3350 * isearch.el (isearch-face): Rename from `isearch'.
3351 (isearch-highlight): Use new name.
3353 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3355 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3356 5, for `half' width fringes. (Bug#6933)
3358 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3360 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3361 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3363 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3365 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3367 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3368 in calculating new frame position. Add more space between new and
3369 parent on the left (Bug#7048).
3371 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3373 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3376 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3378 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3380 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3381 obsolete alias for x-selection-value.
3383 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3385 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3387 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3390 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3392 * net/tramp-compat.el (tramp-compat-with-temp-message)
3393 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3394 (tramp-compat-process-put): New defuns.
3396 * net/tramp.el (top):
3397 * net/tramp-gvfs.el (top):
3398 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3400 * net/tramp.el (tramp-progress-reporter-update):
3401 Use `tramp-compat-funcall'.
3403 * net/tramp.el (tramp-process-actions):
3404 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3405 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3406 (tramp-get-remote-stat, tramp-get-remote-readlink):
3407 Use `tramp-compat-with-temp-message'.
3409 * net/tramp-sh.el (top): Require 'cl.
3410 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3411 (tramp-open-connection-setup-interactive-shell):
3412 Use `tramp-compat-process-put'.
3414 2010-09-15 Alan Mackenzie <acm@muc.de>
3416 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3418 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3420 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3422 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3423 `lexical' for warnings related to lexical scoping.
3424 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3425 global vars which don't have a prefix and could hence affect lexical
3426 scoping in unrelated files.
3428 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3430 * net/imap.el: Revert back to version
3431 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3434 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3436 * obsolete/old-whitespace.el (whitespace-unload-function):
3437 Explicitly pass `obarray' to `unintern' to avoid a warning.
3439 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3441 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3442 Add `when' argument. Update callers.
3444 * subr.el (unintern): Declare the obarray arg mandatory.
3446 2010-09-14 Glenn Morris <rgm@gnu.org>
3448 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3451 * calendar/diary-lib.el (diary-included-files): New variable.
3452 (diary-list-entries): Maybe initialize diary-included-files.
3453 (diary-include-other-diary-files): Append to diary-included-files.
3454 * calendar/appt.el (appt-update-list): Also check the members of
3455 diary-included-files. (Bug#6999)
3456 (appt-check): Doc fix.
3458 2010-09-14 David Reitter <david.reitter@gmail.com>
3460 * simple.el (line-move-visual): Do not truncate goal column to
3461 integer size. (Bug#7020)
3463 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3465 * repeat.el (repeat): Allow repeating when the last event is a click.
3466 Suggested by Drew Adams (bug#6256).
3468 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3470 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3471 Replace setting HGRCPATH to "" by some less invasive --config options.
3473 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * font-lock.el (font-lock-beginning-of-syntax-function):
3478 2010-09-14 Glenn Morris <rgm@gnu.org>
3480 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3481 and tool-bar modes. (Bug#6211)
3482 (menu-bar-mode): Move setting of standard-value after the
3483 minor-mode definition, otherwise it seems to have no effect.
3485 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3487 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3488 Fix typo. (Bug#6976)
3490 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3492 * whitespace.el: Allow cleaning up blanks without blank
3493 visualization (Bug#6651). Adjust help window for
3494 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3495 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3496 (whitespace-style): Add new value 'face. Adjust docstring.
3497 (whitespace-space, whitespace-hspace, whitespace-tab):
3498 Adjust foreground property face.
3499 (whitespace-line-column): Adjust docstring and type declaration.
3500 (whitespace-style-value-list, whitespace-toggle-option-alist)
3501 (whitespace-help-text): Adjust const initialization.
3502 (whitespace-toggle-options, global-whitespace-toggle-options):
3504 (whitespace-display-window, whitespace-interactive-char)
3505 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3506 (whitespace-help-scroll): New fun.
3508 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3510 * calendar/time-date.el (format-seconds): Comment fix.
3512 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3514 * progmodes/sql.el: Version 2.7.
3515 (sql-buffer-live-p): Improve detection.
3516 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3517 (sql-set-sqli-buffer): Use it.
3518 (sql-product-interactive): Run `sql-set-sqli-hook'.
3519 (sql-rename-buffer): Code cleanup.
3520 (sql-redirect, sql-redirect-value): New functions. More to come.
3522 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3524 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.
3525 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3526 (TRAMP_SRC): New macro.
3527 ($(lisp)/net/tramp-loaddefs.el): New target.
3529 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3531 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3533 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3535 * net/tramp.el (top): Don't show loading message. Require just
3536 'tramp-compat, everything else is required there.
3537 Use `ignore-errors' where appropriate.
3538 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3539 (tramp-terminal-type, tramp-end-of-output)
3540 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3541 (tramp-completion-function-alist-ssh)
3542 (tramp-completion-function-alist-telnet)
3543 (tramp-completion-function-alist-su)
3544 (tramp-completion-function-alist-putty, tramp-remote-path)
3545 (tramp-remote-process-environment, tramp-sh-extra-args)
3546 (tramp-actions-before-shell, tramp-uudecode)
3547 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3548 (tramp-perl-file-attributes)
3549 (tramp-perl-directory-files-and-attributes)
3550 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3551 (tramp-perl-encode, tramp-perl-decode)
3552 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3553 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3554 (tramp-handle-make-symbolic-link, tramp-handle-load)
3555 (tramp-handle-file-name-as-directory)
3556 (tramp-handle-file-name-directory)
3557 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3558 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3559 (tramp-do-file-attributes-with-ls)
3560 (tramp-do-file-attributes-with-perl)
3561 (tramp-do-file-attributes-with-stat)
3562 (tramp-handle-set-visited-file-modtime)
3563 (tramp-handle-verify-visited-file-modtime)
3564 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3565 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3566 (tramp-handle-file-selinux-context)
3567 (tramp-handle-set-file-selinux-context)
3568 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3569 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3570 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3571 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3572 (tramp-handle-file-ownership-preserved-p)
3573 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3574 (tramp-handle-directory-files-and-attributes)
3575 (tramp-do-directory-files-and-attributes-with-perl)
3576 (tramp-do-directory-files-and-attributes-with-stat)
3577 (tramp-handle-file-name-all-completions)
3578 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3579 (tramp-handle-copy-file, tramp-handle-copy-directory)
3580 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3581 (tramp-do-copy-or-rename-file-via-buffer)
3582 (tramp-do-copy-or-rename-file-directly)
3583 (tramp-do-copy-or-rename-file-out-of-band)
3584 (tramp-handle-make-directory, tramp-handle-delete-directory)
3585 (tramp-handle-delete-file)
3586 (tramp-handle-dired-recursive-delete-directory)
3587 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3588 (tramp-handle-insert-directory)
3589 (tramp-handle-unhandled-file-name-directory)
3590 (tramp-handle-expand-file-name)
3591 (tramp-handle-substitute-in-file-name)
3592 (tramp-handle-executable-find, tramp-process-sentinel)
3593 (tramp-handle-start-file-process, tramp-handle-process-file)
3594 (tramp-handle-call-process-region, tramp-handle-shell-command)
3595 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3596 (tramp-handle-insert-file-contents)
3597 (tramp-handle-insert-file-contents-literally)
3598 (tramp-handle-find-backup-file-name)
3599 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3600 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3601 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3602 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3603 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3604 (tramp-find-file-exists-command, tramp-open-shell)
3605 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3606 (tramp-open-connection-setup-interactive-shell)
3607 (tramp-local-coding-commands, tramp-remote-coding-commands)
3608 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3609 (tramp-inline-compress-commands, tramp-find-inline-compress)
3610 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3611 (tramp-send-command, tramp-wait-for-output)
3612 (tramp-send-command-and-check, tramp-barf-unless-okay)
3613 (tramp-send-command-and-read, tramp-mode-string-to-int)
3614 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3615 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3616 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3617 (tramp-method-out-of-band-p, tramp-local-host-p)
3618 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3619 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3620 (tramp-get-test-command, tramp-get-test-nt-command)
3621 (tramp-get-file-exists-command, tramp-get-remote-ln)
3622 (tramp-get-remote-perl, tramp-get-remote-stat)
3623 (tramp-get-remote-readlink, tramp-get-remote-trash)
3624 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3625 (tramp-get-local-uid, tramp-get-local-gid)
3626 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3628 (tramp-methods, tramp-default-method-alist)
3629 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3630 Move initialization to tramp-sh.el.
3631 (tramp-temp-name-prefix): Make it a defconst.
3632 (tramp-dissect-file-name): Don't check anymore for multi-hop
3634 (tramp-debug-outline-regexp): Add a docstring.
3635 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3636 (tramp-get-debug-buffer): Use it.
3638 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3639 initialization forms.
3640 (tramp-set-connection-property): Don't protect `tramp-message'
3641 call, it isn't necessary any longer.
3642 (tramp-dump-connection-properties): Use `ignore-errors'.
3644 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3645 'password-cache and 'auth-source.
3647 * net/tramp-gvfs.el (top):
3648 * net/tramp-smb.el (top): Require 'tramp-sh.
3650 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3652 * net/tramp-sh.el: New file, derived from tramp.el.
3653 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3654 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3655 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3656 Use `ignore-errors' where appropriate.
3657 (tramp-sh-file-name-handler-alist): Rename from
3658 `tramp-file-name-handler-alist'.
3659 (tramp-send-command-and-check): Return t or nil. Remove all
3660 `zerop' checks, where called.
3661 (tramp-handle-set-file-modes)
3662 (tramp-do-copy-or-rename-file-directly)
3663 (tramp-handle-delete-directory, tramp-handle-delete-file)
3664 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3665 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3666 (tramp-get-remote-ln): Set tramp-autoload cookie.
3668 * net/tramp-fish.el: Remove file.
3670 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3672 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3673 buffer-file-name to avoid file-locking. (Bug#7026)
3675 2010-09-13 Julien Danjou <julien@danjou.info>
3677 * notifications.el (notifications-notify): Add support for
3678 image-path and sound-name.
3679 (notifications-specification-version): Add this variable.
3681 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3683 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3685 2010-09-12 Leo <sdl.web@gmail.com>
3687 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3688 (rcirc-completion-start): New variables.
3689 (rcirc-nick-completions): Rename to rcirc-completions.
3690 (rcirc-nick-completion-start-offset): Delete.
3691 (rcirc-completion-at-point): New function for constructing
3692 completion data for both nicks and irc commands. Add to
3693 completion-at-point-functions in rcirc mode.
3694 (rcirc-complete): Rename from rcirc-nick-complete; use
3695 rcirc-completion-at-point.
3696 (defun-rcirc-command): Update rcirc-client-commands.
3698 2010-09-11 Glenn Morris <rgm@gnu.org>
3700 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3701 atomically, to avoid parallel build errors. (Bug#4196)
3703 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3705 * progmodes/sql.el: Version 2.6
3706 (sql-dialect): Synonym for "sql-product".
3707 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3708 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3709 Set "sql-buffer" to buffer name not buffer object so multiple sql
3710 interactive buffers work properly. Reverts misguided changes in
3712 (sql-comint): Make sure different buffer name is used if "*SQL*"
3713 buffer is for a different product.
3714 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3716 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3717 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3718 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3719 Accept new buffer name or prompt for one.
3720 (sql-port): Default to zero.
3721 (sql-comint-mysql): Handle "sql-port" as a numeric.
3722 (sql-port-history): Delete unused variable.
3723 (sql-get-login): Default "sql-port" to a number.
3724 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3725 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3726 "sqlite3" executables.
3727 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3728 (sql-buffer-live-p): New function.
3729 (sql-mode-menu, sql-send-string): Use it.
3730 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3732 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3733 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3735 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3737 * net/netrc.el (netrc-credentials): New convenience function.
3739 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3741 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3742 to replace texinfo-font-lock-syntactic-keywords.
3743 (texinfo-mode): Use it.
3745 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3746 Use syntax-propertize-function.
3748 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3749 replace sgml-font-lock-syntactic-keywords.
3750 (sgml-mode): Use it.
3752 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3753 since we don't use it.
3755 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3757 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3759 (vhdl-fontify-buffer): Adjust.
3761 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3762 replace tcl-font-lock-syntactic-keywords.
3765 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3766 replace simula-font-lock-syntactic-keywords.
3767 (simula-mode): Use it.
3769 * progmodes/sh-script.el (sh-st-symbol): Remove.
3770 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3771 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3772 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3773 (sh-font-lock-paren): Set syntax-multiline.
3774 (sh-font-lock-syntactic-keywords): Remove.
3775 (sh-syntax-propertize-function): New function to replace it.
3778 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3779 Define while compiling.
3780 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3781 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3782 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3783 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3784 (ruby-here-doc-end-syntax): Only define when
3785 syntax-propertize is not available.
3786 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3788 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3789 (electric-indent-chars): Silence bytecompiler.
3790 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3791 electric-indent-chars.
3793 * progmodes/python.el (python-syntax-propertize-function): New var to
3794 replace python-font-lock-syntactic-keywords.
3795 (python-mode): Use it.
3796 (python-quote-syntax): Simplify and adjust to new use.
3798 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3799 replace perl-font-lock-syntactic-keywords.
3800 (perl-syntax-propertize-special-constructs): New fun to replace
3801 perl-font-lock-special-syntactic-constructs.
3802 (perl-font-lock-syntactic-face-function): New fun.
3803 (perl-mode): Use it.
3805 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3806 to replace octave-font-lock-close-quotes.
3807 (octave-syntax-propertize-function): New function to replace
3808 octave-font-lock-syntactic-keywords.
3809 (octave-mode): Use it.
3811 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3812 replaces mixal-font-lock-syntactic-keywords.
3813 (mixal-mode): Use it.
3815 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3816 New var; replaces makefile-font-lock-syntactic-keywords.
3817 (makefile-mode): Use it.
3818 (makefile-imake-mode): Adjust.
3820 * progmodes/js.el (js--regexp-literal): Define while compiling.
3821 (js-syntax-propertize-function): New var; replaces
3822 js-font-lock-syntactic-keywords.
3825 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3826 replaces gdb-script-font-lock-syntactic-keywords.
3827 (gdb-script-mode): Use it.
3829 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3830 (fortran--font-lock-syntactic-keywords): New var.
3831 (fortran-line-length): Update syntax-propertize-function and
3832 fortran--font-lock-syntactic-keywords.
3834 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3836 * progmodes/cfengine.el (cfengine-mode):
3837 Use syntax-propertize-function.
3838 (cfengine-font-lock-syntactic-keywords): Remove.
3840 * progmodes/autoconf.el (autoconf-mode):
3841 Use syntax-propertize-function.
3842 (autoconf-font-lock-syntactic-keywords): Remove.
3844 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3845 (ada-after-change-function, ada-initialize-syntax-table-properties)
3846 (ada-handle-syntax-table-properties): Only define when
3847 syntax-propertize is not available.
3848 (ada-mode): Use syntax-propertize-function.
3850 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3851 (font-lock-fontify-syntactic-keywords-region): Move handling of
3852 font-lock-syntactically-fontified to...
3853 (font-lock-default-fontify-region): ...here.
3854 Let syntax-propertize-function take precedence.
3855 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3857 * emacs-lisp/syntax.el (syntax-propertize-function)
3858 (syntax-propertize-chunk-size, syntax-propertize--done)
3859 (syntax-propertize-extend-region-functions): New vars.
3860 (syntax-propertize-wholelines, syntax-propertize-multiline)
3861 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3862 (syntax-propertize): New functions.
3863 (syntax-propertize-rules): New macro.
3864 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3865 (syntax-ppss): Call syntax-propertize.
3867 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3869 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3871 * textmodes/ispell.el (ispell-init-process): Improve comments.
3872 XEmacs compatibility changes regarding (add-hook) 'local option
3873 and (set-process-query-on-exit-flag).
3875 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3877 * net/tramp-cache.el (tramp-parse-connection-properties):
3878 Set tramp-autoload cookie.
3880 2010-09-09 Glenn Morris <rgm@gnu.org>
3882 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3883 (imagemagick-register-types): Doc fix.
3885 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3889 * progmodes/js.el (require): Require is already "eval-and-compile".
3890 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3891 (js--re-search-backward): Use js--re-search-forward.
3893 * progmodes/fortran.el (fortran-line-length): Don't recompute
3894 syntactic keywords redundantly a second time.
3896 * progmodes/ada-mode.el: Replace "(set '" with setq.
3897 (ada-mode): Simplify.
3898 (ada-create-case-exception, ada-adjust-case-interactive)
3899 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3900 (ada-search-ignore-string-comment, ada-move-to-start)
3901 (ada-move-to-end): Use with-syntax-table.
3903 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3904 (font-lock-unfontify-region, font-lock-default-fontify-region):
3905 Update usage correspondingly.
3906 (font-lock-fontify-syntactic-keywords-region):
3907 Set parse-sexp-lookup-properties buffer-locally here.
3908 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3910 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3912 2010-09-08 Glenn Morris <rgm@gnu.org>
3914 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3915 Error if not compiled with -DBYTE_CODE_METER.
3917 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3918 Ignore dir-locals-file.
3920 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3924 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3925 for the `gnu' messages.
3926 (compilation-set-skip-threshold): New command.
3927 (compilation-start): Use \' rather than $.
3928 (compilation-forget-errors): Use clrhash.
3930 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3932 * textmodes/ispell.el (ispell-valid-dictionary-list):
3935 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3937 Migrate to Tramp 2.2. Rearrange load dependencies.
3938 (Bug#1529, Bug#5448, Bug#5705)
3940 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3941 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3942 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3944 * net/tramp.el (top): Remove all other tramp-* loads except
3945 tramp-compat.el. Remove all changes to tramp-unload-hook for
3946 other tramp-* packages. Rearrange defun order. Change calls of
3947 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3948 `tramp-compat-octal-to-decimal' to new function names.
3949 (tramp-terminal-type, tramp-initial-end-of-output)
3950 (tramp-methods, tramp-foreign-file-name-handler-alist)
3951 (tramp-tramp-file-p, tramp-completion-mode-p)
3952 (tramp-send-command-and-check, tramp-get-remote-path)
3953 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3954 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3955 (with-file-property, with-connection-property): Move to
3957 (tramp-local-call-process, tramp-decimal-to-octal)
3958 (tramp-octal-to-decimal): Move to tramp-compat.el.
3959 (tramp-handle-shell-command): Do not require 'shell.
3960 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3962 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3964 * net/tramp-cache.el (top): Require 'tramp. Add to
3965 `tramp-unload-hook'.
3966 (tramp-cache-data, tramp-get-file-property)
3967 (tramp-set-file-property, tramp-flush-file-property)
3968 (tramp-flush-directory-property, tramp-get-connection-property)
3969 (tramp-set-connection-property, tramp-flush-connection-property)
3970 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3972 (with-file-property, with-connection-property): New defuns, moved
3974 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3977 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3978 (tramp-version): Set tramp-autoload cookie.
3980 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3981 changes to tramp-unload-hook for other tramp-* packages. Add to
3982 `tramp-unload-hook'.
3983 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3984 (tramp-compat-call-process): New defuns, moved from tramp.el.
3986 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3987 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3988 Add to `tramp-unload-hook'. Change call of
3989 `tramp-compat-decimal-to-octal' to new function name.
3990 (tramp-fish-method): Make it a defconst.
3991 (tramp-fish-file-name-p): Make it a defsubst.
3992 (tramp-fish-method, tramp-fish-file-name-handler)
3993 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3995 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3996 `tramp-foreign-file-name-handler-alist'. Add to
3997 `tramp-unload-hook'.
3998 (tramp-ftp-method): Make it a defconst.
3999 (tramp-ftp-file-name-p): Make it a defsubst.
4000 (tramp-ftp-method, tramp-ftp-file-name-handler)
4001 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4003 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4004 `tramp-foreign-file-name-handler-alist'. Add to
4005 `tramp-unload-hook'. Change checks, whether package can be
4007 (tramp-gvfs-file-name-p): Make it a defsubst.
4008 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4009 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4010 (tramp-gvfs-handle-file-directory-p): New defun.
4011 (tramp-gvfs-file-name-handler-alist): Use it.
4013 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4014 `tramp-foreign-file-name-handler-alist'. Add to
4015 `tramp-unload-hook'.
4016 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4017 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4019 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4020 (tramp-gw-open-connection): Set tramp-autoload cookie.
4022 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4023 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4024 Add to `tramp-unload-hook'. Change checks, whether package can be
4026 (tramp-imap-file-name-p): Make it a defsubst.
4027 (tramp-imap-method, tramp-imaps-method)
4028 (tramp-imap-file-name-handler)
4029 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4031 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4032 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4033 Add to `tramp-unload-hook'. Change checks, whether package can be
4034 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4036 (tramp-smb-tunnel-method): Make it a defconst.
4037 (tramp-smb-file-name-p): Make it a defsubst.
4038 (tramp-smb-method, tramp-smb-file-name-handler)
4039 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4041 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4042 (tramp-uuencode-region): Set tramp-autoload cookie.
4044 * net/trampver.el (top) Add to `tramp-unload-hook'.
4045 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4046 cookie. Update release number.
4048 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4050 * textmodes/ispell.el (ispell-start-process): Make sure original
4051 arg list is properly initialized (Bug#6993, Bug#6994).
4053 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4055 * files.el (directory-abbrev-alist): Use \` as default regexp.
4057 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4058 chars like - or ] (bug#6984).
4059 (rx-any-condense-range): Explode 2-char ranges.
4061 2010-09-06 Glenn Morris <rgm@gnu.org>
4063 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4065 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4067 * textmodes/bibtex.el:
4068 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4070 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4072 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4073 since no callers use it.
4074 (imap-message-get): Ditto.
4075 (imap-message-put): Ditto.
4076 (imap-mailbox-map): Ditto.
4077 (imap-mailbox-put): Ditto.
4078 (imap-mailbox-get): Ditto.
4079 (imap-mailbox-get): Revert last change for this function.
4081 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4083 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4084 callers to use `imap-fetch' instead. According to the comments, this
4085 should be safe, since all other IMAP clients use the 1:* syntax.
4086 (imap-enable-exchange-bug-workaround): Remove.
4087 (imap-debug): Remove -- doesn't seem very useful.
4089 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4091 * net/imap.el (imap-log): New convenience function used throughout
4092 instead of repeating the same code all over the place.
4094 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4096 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4097 when mouse-drag-copy-region is non-nil (Bug#6956).
4099 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4101 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4102 Improve regexps (Bug#6987).
4103 (dired-sort-toggle): Search more robustly for -t flag.
4105 * files.el (get-free-disk-space): Search more robustly for
4106 "available" column. Suggested by Ehud Karni
4107 <ehud@unix.mvs.co.il>.
4109 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4111 * international/uni-bidi.el:
4112 * international/uni-category.el:
4113 * international/uni-combining.el:
4114 * international/uni-decimal.el:
4115 * international/uni-mirrored.el:
4116 * international/uni-name.el: Regenerate.
4118 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * electric.el (electric-indent-post-self-insert-function):
4121 Don't reindent with a sloppy indentation function.
4123 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4124 border case in change-log-mode.
4126 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4128 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4129 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4130 Recognize leading tab in gcc-include regexp. Ignore names with
4131 leading "from" or "in" in gnu regexp (Bug#6937).
4133 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4135 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4136 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4137 (ispell-start-process): Avoid setq and simplify logic.
4138 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4139 (kill-buffer-hook): Don't use it globally with code that uses
4140 expand-file-name since that may call kill-buffer via
4141 code_conversion_restore.
4143 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4145 * emacs-lisp/package.el (package-directory-list): Only call
4146 file-name-nondirectory on a string.
4148 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4150 * emacs-lisp/package.el (package--download-one-archive):
4151 Ensure that archive-contents is valid before saving it.
4152 (package-activate-1, package-mark-obsolete, define-package)
4153 (package-compute-transaction, package-list-maybe-add): Use push.
4155 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4157 Use SMIE's blink-paren for octave-mode.
4158 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4159 Backslashes do not escape single-quotes, single-quotes do.
4160 (octave-block-else-regexp, octave-block-end-regexp)
4161 (octave-block-match-alist): Remove.
4162 (octave-smie-bnf-table): New var, with old content.
4163 (octave-smie-op-levels): Use it.
4164 (octave-smie-closer-alist): New var.
4165 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4166 (octave-blink-matching-block-open): Remove.
4167 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4168 (octave-electric-space): Let self-insert-command run expand-abbrev and
4171 * electric.el (electricity): New group.
4172 (electric-indent-chars): New var.
4173 (electric-indent-post-self-insert-function): New fun.
4174 (electric-indent-mode): New minor mode.
4175 (electric-pair-skip-self): New custom.
4176 (electric-pair-post-self-insert-function): New function.
4177 (electric-pair-mode): New minor mode.
4179 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4180 calcAlg-blink-matching-open.
4181 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4182 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4183 Use the new blink-matching-check-function.
4185 Provide blink-matching support to SMIE.
4186 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4187 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4188 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4190 * simple.el (newline): Fix last change to properly remove itself from
4193 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4195 * simple.el (newline): Eliminate optimization.
4196 Use post-self-insert-hook to set hard-newline and things before
4197 running post-self-insert-hook.
4198 (blink-matching-check-mismatch): New function.
4199 (blink-matching-check-function): New variable.
4200 (blink-matching-open): Use them.
4201 Skip back forward over prefix chars skipped by forward-sexp.
4202 Don't check if the parens are backslash escaped.
4203 (blink-paren-post-self-insert-function): Check backslash escaping here.
4205 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4207 * emacs-lisp/package.el (package-menu-mode-map):
4208 Change package-menu-revert bindings to revert-buffer.
4209 (package-menu-mode): Set revert-buffer-function.
4210 (package-menu-revert): Doc fix.
4212 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4214 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4215 `default-directory' unless using Ispell per-directory personal
4216 dictionaries and not in a mini-buffer under XEmacs.
4217 (kill-buffer-hook): Do not kill ispell process on exit when
4218 `ispell-process-directory' is "~/". (Bug#6143)
4220 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4222 * simple.el (kill-new): Call interprogram-cut-function with only
4225 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4226 Remove cut buffer from error message.
4228 * term/x-win.el (x-select-text):
4229 * term/pc-win.el (x-selection-value):
4230 * term/ns-win.el (x-selection-value):
4231 * eshell/em-term.el:
4232 * w32-fns.el (x-get-selection-value):
4233 * mouse-sel.el (mouse-sel-set-selection-function):
4234 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4236 * term/x-win.el: Update documentation for x-last-selected-text-*.
4237 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4238 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4239 (x-select-text): Remove argument PUSH, update documentation.
4240 Remove cut-buffer code.
4241 (x-selection-value-internal): Was previously x-selection-value.
4242 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4243 Update documentation, remove cut-buffer code.
4244 Call x-selection-value-internal.
4245 (x-clipboard-yank): Call x-selection-value-internal.
4246 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4248 * term/pc-win.el (x-last-selected-text):
4249 x-cut-buffer-or-selection-value renamed to x-selection-value
4250 (x-select-text): Remove argument PUSH, update documentation.
4252 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4253 x-cut-buffer-or-selection-value renamed to x-selection-value
4254 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4255 (x-select-text): Remove argument PUSH, update documentation.
4257 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4259 * w32-fns.el (x-last-selected-text):
4260 x-cut-buffer-or-selection-value renamed to x-selection-value.
4261 (x-cut-buffer-max): Remove.
4262 (x-select-text): Remove argument PUSH, update documentation.
4264 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4266 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4268 * mouse-sel.el (mouse-sel-get-selection-function):
4269 x-cut-buffer-or-selection-value renamed to x-selection-value.
4270 (x-select-text): Remove optional push.
4272 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4274 * simple.el (blink-paren-function): Move from C to here.
4275 (blink-paren-post-self-insert-function): New function.
4276 (post-self-insert-hook): Use it.
4278 * emacs-lisp/pcase.el (pcase-split-memq):
4279 Fix overenthusiastic optimisation.
4280 (pcase-u1): Handle the case of a lambda pred.
4282 2010-08-31 Kenichi Handa <handa@m17n.org>
4284 * international/mule-cmds.el (standard-display-european-internal):
4285 Setup standard-display-table for 8-bit characters by storing 8-bit
4286 characters in the element vector.
4288 * disp-table.el (standard-display-8bit):
4289 Setup standard-display-table for 8-bit characters by storing 8-bit
4290 characters in the element vector.
4291 (standard-display-european): Likewise.
4293 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4295 * textmodes/nroff-mode.el (nroff-view): New command.
4296 (nroff-mode-map): Bind it to C-c C-c.
4298 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4300 * emacs-lisp/smie.el (smie-down-list): New command.
4302 Remove old indentation and navigation code on octave-mode.
4303 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4304 smie-down-list rather than add a binding for octave-down-block.
4305 (octave-mark-block, octave-blink-matching-block-open):
4306 Rely on forward-sexp-function.
4307 (octave-fill-paragraph): Don't narrow, so you can use
4308 indent-according-to-mode.
4309 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4310 (octave-in-block-p, octave-re-search-forward-kw)
4311 (octave-re-search-backward-kw, octave-indent-calculate)
4312 (octave-end-as-array-index-p, octave-block-end-offset)
4313 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4314 (octave-down-block, octave-backward-up-block, octave-up-block)
4315 (octave-before-magic-comment-p, octave-indent-line): Remove.
4317 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4319 * emacs-lisp/package.el (package--read-archive-file): Just use
4320 `read', to avoid copying an additional string.
4321 (package-menu-mode): Set header-line-format here.
4322 (package-menu-refresh, package-menu-revert): Signal an error if
4323 not in the Package Menu.
4324 (package-menu-package-list): New var.
4325 (package--generate-package-list): Operate on the current buffer;
4326 don't assume that it is *Packages*, since the user may rename it.
4327 Allow persistent package listings and sort keys using
4328 package-menu-package-list and package-menu-package-sort-key.
4329 (package-menu--version-predicate): Fix version calculation.
4330 (package-menu-sort-by-column): Don't select the window.
4331 (package--list-packages): Create the *Packages* buffer.
4332 Set package-menu-package-list-key.
4333 (list-packages): Sorting by status is now the default.
4334 (package-buffer-info): Use match-string-no-properties.
4335 (define-package): Add a &rest argument for future proofing, but
4337 (package-install-from-buffer, package-install-buffer-internal):
4338 Merge into a single function, package-install-from-buffer.
4339 (package-install-file): Change caller.
4341 * finder.el: Load finder-inf using `require'.
4342 (finder-list-matches): Sorting by status is now the default.
4343 (finder-compile-keywords): Simpify printing.
4345 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4347 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4348 (octave-mode-map): Remove special bindings for forward/backward-block
4349 and octave-backward-up-block. Use smie-close-block.
4350 (octave-continuation-marker-regexp): New var.
4351 (octave-continuation-regexp): Use it.
4352 (octave-operator-table, octave-smie-op-levels)
4353 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4354 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4355 (octave-mode): Use SMIE.
4356 (octave-close-block): Delete.
4358 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4360 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4361 CLIPBOARD, not in PRIMARY. (Bug#6944)
4363 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4367 (smie-indent-column): Allow indirection through variables.
4369 * composite.el (save-buffer-state): Delete, unused.
4370 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4371 (font-lock-default-fontify-region): Use with-syntax-table.
4372 * jit-lock.el (with-buffer-unmodified): Remove.
4373 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4375 Use `declare' in defmacros.
4376 * window.el (save-selected-window):
4377 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4378 * progmodes/python.el (def-python-skeleton):
4379 * net/dbus.el (dbus-ignore-errors):
4380 * jka-cmpr-hook.el (with-auto-compression-mode):
4381 * international/mule.el (with-category-table):
4382 * emacs-lisp/timer.el (with-timeout):
4383 * emacs-lisp/lisp-mnt.el (lm-with-file):
4384 * emacs-lisp/eieio.el (with-slots):
4385 * emacs-lisp/easymenu.el (easy-menu-define):
4386 * emacs-lisp/debug.el (debugger-env-macro):
4387 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4388 (Multiple-value-call, Multiple-value-prog1):
4389 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4390 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4391 edebug rule to definition.
4392 * emacs-lisp/lisp-mode.el (save-selected-window)
4393 (with-current-buffer, combine-after-change-calls)
4394 (with-output-to-string, with-temp-file, with-temp-buffer)
4395 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4396 (dolist, dotimes, when, unless):
4397 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4399 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4401 * finder.el: Require `package'.
4402 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4403 (finder-package-info): Var deleted.
4404 (finder-keywords-hash, finder--builtins-alist): New vars.
4405 (finder-compile-keywords): Compute package--builtins and
4406 finder-keywords-hash instead of finder-keywords-hash, respecting
4407 the "Package" header.
4408 (finder-unknown-keywords, finder-list-matches):
4409 Use finder-keywords-hash and package--list-packages.
4410 (finder-mode): Don't set font-lock-defaults.
4411 (finder-exit): We don't use "*Finder-package*" and "*Finder
4412 Category*" buffers anymore.
4414 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4415 (package--builtins): Set default value to nil.
4416 (package-initialize): Load precomputed value of package--builtins
4418 (package-alist, package-compute-transaction)
4419 (package-download-transaction): Improve docstring.
4420 (package-read-all-archive-contents): Do not change
4421 package--builtins here.
4422 (list-packages): Make package-list-packages an alias for this.
4423 Sort by status by default.
4424 (package--list-packages): Add optional PACKAGES arg.
4425 (describe-package-1): Use font-lock-face property. For built-in
4426 packages, insert file commentary.
4427 (package--generate-package-list): Rename from
4428 package-list-packages-internal; all callers changed. Add optional
4429 PACKAGES arg. Add alphabetical sort fallbacks.
4430 (package-menu--version-predicate, package-menu--status-predicate)
4431 (package-menu--description-predicate)
4432 (package-menu--name-predicate): New functions.
4434 * info.el (Info-finder-find-node): Search package-alist instead of
4435 finder-package-info.
4437 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4439 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4441 (version-to-list): Handle versions like "10.3d".
4443 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4445 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4446 (macroexp-accumulate): Use `declare'.
4448 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4450 * whitespace.el (whitespace-style): Adjust type declaration.
4452 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4454 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4455 empty argument to gvfs-copy.
4457 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4459 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4460 handle new TRASH arg of `delete-file'.
4462 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4464 * net/tramp.el (tramp-handle-insert-directory): Don't use
4465 `forward-word', its default syntax could be changed.
4467 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4468 Michael Albinus <michael.albinus@gmx.de>
4470 Implement compression for inline methods.
4472 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4473 (tramp-copy-size-limit): Allow also nil.
4474 (tramp-inline-compress-commands): New defconst.
4475 (tramp-find-inline-compress, tramp-get-inline-compress)
4476 (tramp-get-inline-coding): New defuns.
4477 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4478 replaced by `tramp-get-inline-coding'.
4479 (tramp-handle-file-local-copy, tramp-handle-write-region)
4480 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4482 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4484 Detect ssh 'ControlMaster' argument automatically in some cases.
4486 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4487 (tramp-default-method): Use it.
4489 2010-08-26 Karel Klíč <kklic@redhat.com>
4491 * net/tramp.el (tramp-file-name-for-operation):
4492 Add file-selinux-context.
4494 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4496 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4498 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4500 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4503 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4505 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4506 (js-paren-indent-offset, js-square-indent-offset)
4507 (js-curly-indent-offset): New options.
4508 (js--proper-indentation): Use them.
4510 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4512 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4513 instead of inspecting font-lock properties (Bug#6916).
4515 2010-08-26 David Reitter <david.reitter@gmail.com>
4517 * server.el (server-visit-files): Run pre-command-hook and
4518 post-command-hook for each buffer while it is current (Bug#6910).
4519 (server-execute): Do not run hooks here.
4521 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4523 Sync with Tramp 2.1.19.
4525 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4526 (tramp-reporter-dump-variable, tramp-load-report-modules)
4527 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4528 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4530 * net/tramp-compat.el (top): Do not autoload
4531 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4532 only when `start-file-process' is not bound.
4533 (byte-compile-not-obsolete-vars): Define if not bound.
4534 (tramp-compat-funcall): New defmacro.
4535 (tramp-compat-line-beginning-position)
4536 (tramp-compat-line-end-position)
4537 (tramp-compat-temporary-file-directory)
4538 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4539 (tramp-compat-copy-file, tramp-compat-copy-directory)
4540 (tramp-compat-delete-file, tramp-compat-delete-directory)
4541 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4543 (tramp-advice-file-expand-wildcards): Do not use
4544 `tramp-handle-file-remote-p'.
4545 (tramp-compat-make-temp-file): Simplify fallback implementation.
4546 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4547 (tramp-compat-copy-tree): Remove function.
4548 (tramp-compat-delete-file): New defun.
4549 (tramp-compat-delete-directory): Provide implementation for older
4551 (tramp-compat-file-attributes): Handle only
4552 `wrong-number-of-arguments' error.
4554 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4555 Add PRESERVE_SELINUX_CONTEXT.
4556 (tramp-fish-handle-delete-file): Add TRASH arg.
4557 (tramp-fish-handle-directory-files-and-attributes):
4558 Do not use `tramp-fish-handle-file-attributes.
4559 (tramp-fish-handle-file-local-copy)
4560 (tramp-fish-handle-insert-file-contents)
4561 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4563 * net/tramp-gvfs.el (top): Require url-util.
4564 (tramp-gvfs-mount-point): Remove.
4565 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4566 and `set-file-selinux-context'.
4567 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4568 (tramp-gvfs-handle-file-selinux-context)
4569 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4570 (with-tramp-dbus-call-method): Format trace message.
4571 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4572 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4573 Implement backup call, when operation on local files fails.
4574 Use progress reporter. Flush properties of changed files.
4575 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4576 Use `tramp-compat-delete-file'.
4577 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4578 (tramp-gvfs-handle-make-directory): Make more traces.
4579 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4580 (tramp-gvfs-url-file-name): Hexify file name in url.
4581 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4582 into account for the resulting file name.
4583 (tramp-gvfs-handler-askquestion): Preserve current message, in
4584 order to let progress reporter continue afterwards. (Bug#6257)
4585 Return dummy mountpoint, when the answer is "no".
4586 See `tramp-gvfs-maybe-open-connection'.
4587 (tramp-gvfs-handler-mounted-unmounted)
4588 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4589 attribute "default_location". Set "prefix" property.
4590 Handle default-location.
4591 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4592 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4593 exists. Raise an error, if not (due to a corresponding answer
4594 "no" in interactive questions, for example).
4595 Use `tramp-compat-funcall'.
4597 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4598 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4599 (tramp-imap-do-copy-or-rename-file)
4600 (tramp-imap-handle-insert-file-contents)
4601 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4602 (tramp-imap-handle-delete-file): Add TRASH arg.
4604 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4605 Add PRESERVE-SELINUX-CONTEXT.
4606 (tramp-smb-handle-copy-file)
4607 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4608 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4609 Use `with-progress-reporter'.
4610 (tramp-smb-handle-delete-file): Add TRASH arg.
4612 * net/tramp.el (tramp-methods): Move hostname to the end in all
4613 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4615 (tramp-verbose): Describe verbose level 9.
4616 (tramp-completion-function-alist)
4617 (tramp-file-name-regexp, tramp-chunksize)
4618 (tramp-local-coding-commands, tramp-remote-coding-commands)
4619 (with-connection-property, tramp-completion-mode-p)
4620 (tramp-action-process-alive, tramp-action-out-of-band)
4621 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4622 (tramp-exists-file-name-handler): Fix docstring.
4623 (tramp-remote-process-environment): Use `format' instead of
4624 `concat'. Protect version string by apostroph.
4625 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4627 (tramp-file-name-regexp-unified)
4628 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4629 not regard the volume letter as remote filename. (Bug#5447)
4630 (tramp-perl-file-attributes)
4631 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4632 (tramp-vc-registered-read-file-names): Read input as
4633 here-document, otherwise the command could exceed maximum length
4635 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4636 `set-file-selinux-context'.
4637 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4638 backtrace functions.
4639 (tramp-error-with-buffer): Don't show the connection buffer when
4640 we are in completion mode.
4641 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4642 (tramp-handle-file-selinux-context)
4643 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4644 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4646 (with-progress-reporter): New defmacro.
4647 (tramp-debug-outline-regexp): New defconst.
4648 (top, tramp-rfn-eshadow-setup-minibuffer)
4649 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4650 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4651 (tramp-completion-mode-p, tramp-check-for-regexp)
4652 (tramp-open-connection-setup-interactive-shell)
4653 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4654 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4655 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4656 Use `tramp-compat-funcall'.
4657 (tramp-handle-make-symbolic-link): Flush file properties.
4658 (tramp-handle-load, tramp-handle-file-local-copy)
4659 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4660 (tramp-handle-vc-registered, tramp-maybe-send-script)
4661 (tramp-find-shell): Use `with-progress-reporter'.
4662 (tramp-do-file-attributes-with-stat): Add space in format string,
4663 in order to work around a bug in pdksh. Reported by Gilles Pion
4665 (tramp-handle-verify-visited-file-modtime): Do not send a command
4666 when the connection is not established.
4667 (tramp-handle-set-file-times): Simplify the check for utc.
4668 (tramp-handle-directory-files-and-attributes)
4669 (tramp-get-remote-path): Use `copy-tree'.
4670 (tramp-completion-handle-file-name-all-completions): Ensure, that
4671 non remote files are still checked. Oops.
4672 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4673 Handle PRESERVE-SELINUX-CONTEXT.
4674 (tramp-do-copy-or-rename-file): Add progress reporter.
4675 (tramp-do-copy-or-rename-file-directly): Do not use
4676 `tramp-handle-file-remote-p'.
4677 (tramp-do-copy-or-rename-file-out-of-band):
4678 Use `tramp-compat-delete-directory'.
4679 (tramp-do-copy-or-rename-file-out-of-band)
4680 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4681 Use `format-spec-make'.
4682 (tramp-handle-delete-file): Add TRASH arg.
4683 (tramp-handle-dired-uncache): Flush directory cache, not only file
4685 (tramp-handle-expand-file-name)
4686 (tramp-completion-handle-file-name-all-completions)
4687 (tramp-completion-handle-file-name-completion):
4688 Use `tramp-connectable-p'.
4689 (tramp-handle-start-file-process): Set connection property "vec".
4690 Use it, in order to invalidate file caches. Check only for
4691 `remote-tty' process property.
4692 Implement tty setting. (Bug#4604, Bug#6360)
4693 (tramp-file-name-for-operation): Add `call-process-region' and
4694 `set-file-selinux-context'.
4695 (tramp-find-foreign-file-name-handler)
4696 (tramp-advice-make-auto-save-file-name)
4697 (tramp-set-auto-save-file-modes): Remove superfluous check for
4698 `stringp'. This is done inside `tramp-tramp-file-p'.
4699 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4700 operations when we are in completion mode. This gives the user
4701 the chance to correct the file name in the minibuffer.
4702 (tramp-completion-mode-p): Use `non-essential'.
4703 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4704 compatibility: Use `completion-ignore-case' if
4705 `read-file-name-completion-ignore-case' does not exist.
4706 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4707 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4709 (tramp-action-password): Hide password prompt before next run.
4710 (tramp-process-actions): Widen connection buffer for the trace.
4711 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4712 process property. Trace stty settings if `tramp-verbose' >= 9.
4713 Apply workaround for IRIX64 bug. Move argument of last
4714 `tramp-send-command' where it belongs to.
4715 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4716 front of `login-args'.
4717 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4718 on "/dev/null" instead of "/".
4719 (tramp-get-ls-command-with-dired): Make test for "--dired"
4721 (tramp-set-auto-save-file-modes): Adapt version check.
4722 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4723 (tramp-handle-process-file): Call the program in a subshell, in
4724 order to preserve working directory.
4725 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4726 `tramp-remote-sh' from `tramp-methods'.
4727 (tramp-get-ls-command): Make test for "--color=never" stronger.
4728 (tramp-check-for-regexp): Use (forward-line 1).
4730 * net/trampver.el: Update release number.
4732 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4734 * help.el (help-map): Bind `C-h P' to describe-package.
4736 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4738 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4739 when downloading archives.
4740 (describe-package-1): Add package commentary.
4741 (package-install-button-action): New function.
4742 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4743 (package-menu-view-commentary): Function removed.
4744 (package-list-packages-internal): Hide the `package' package too.
4746 2010-08-25 Kenichi Handa <handa@m17n.org>
4748 * language/misc-lang.el ("Arabic"): New language environment.
4749 Setup composition-function-table for Arabic characters.
4751 * international/fontset.el (setup-default-fontset): Fix typo for
4752 arabic OTF spec (fini->fina).
4754 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4756 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4759 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4761 * whitespace.el: Allow cleaning up blanks without blank
4762 visualization (Bug#6651). Adjust help window for
4763 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4764 instead of whitespace-line-column (from EmacsWiki). New version
4766 (whitespace-style): Add new value 'face. Adjust docstring.
4767 (whitespace-space, whitespace-hspace, whitespace-tab):
4768 Adjust foreground property face.
4769 (whitespace-line-column): Adjust docstring and type declaration.
4770 (whitespace-style-value-list, whitespace-toggle-option-alist)
4771 (whitespace-help-text): Adjust const initialization.
4772 (whitespace-toggle-options, global-whitespace-toggle-options):
4774 (whitespace-display-window, whitespace-interactive-char)
4775 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4776 (whitespace-help-scroll): New fun.
4778 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4780 * emacs-lisp/package.el (list-packages): Alias for
4781 package-list-packages.
4783 2010-08-24 Kevin Ryde <user42@zip.com.au>
4785 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4788 * progmodes/ruby-mode.el (ruby): Add defgroup.
4790 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4792 * progmodes/python.el: Add Ipython support (Bug#5390).
4793 (python-shell-prompt-alist)
4794 (python-shell-continuation-prompt-alist): New options.
4795 (python--set-prompt-regexp): New function.
4796 (inferior-python-mode, run-python, python-shell):
4797 Require ansi-color. Use python--set-prompt-regexp to set the comint
4798 prompt based on the Python interpreter.
4799 (python--prompt-regexp): New var.
4800 (python-check-comint-prompt)
4801 (python-comint-output-filter-function): Use it.
4802 (run-python): Use a pipe (Bug#5694).
4804 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4806 * progmodes/python.el (python-send-region): Send a different
4807 Python command if Ipython is in use.
4808 (python-check-version): Use a Python command to find the version.
4810 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4812 * mouse.el (mouse-yank-primary): Avoid setting primary when
4813 deactivating the mark (Bug#6872).
4815 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4817 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4818 with "else" (Bug#3991).
4820 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4822 * net/dbus.el: Accept UNIX domain sockets as bus address.
4823 (top): Don't initialize `dbus-registered-objects-table' anymore,
4824 this is done in dbusbind,c.
4825 (dbus-check-event): Adapt test for bus.
4826 (dbus-return-values-table, dbus-unregister-service)
4827 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4830 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4832 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4834 2010-08-22 Juri Linkov <juri@jurta.org>
4836 * simple.el (read-extended-command): New function with the logic
4837 for `completing-read' moved to Elisp from `execute-extended-command'.
4838 Use `function-called-at-point' in `minibuffer-default-add-function'
4839 to get a command name for M-n (bug#5364, bug#5214).
4841 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4843 * startup.el (command-line-1): Issue warning for ignored arguments
4844 --unibyte, etc (Bug#6886).
4846 2010-08-22 Leo <sdl.web@gmail.com>
4848 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4849 (ignore, bright, dim, keyword): Split list of nicknames before
4850 passing to rcirc-add-or-remove (Bug#6894).
4852 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4854 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4856 2010-08-22 Leo <sdl.web@gmail.com>
4858 Fix buffer-list rename&refresh after killing a buffer in ido.
4859 * ido.el: Revert Óscar's.
4860 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4861 Remember the buffers at head, rather than their name.
4862 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4864 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4865 Stefan Monnier <monnier@iro.umontreal.ca>
4867 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4868 extra backslash added to each line (bug#6890).
4870 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4872 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4874 2010-08-22 Glenn Morris <rgm@gnu.org>
4876 * menu-bar.el (menu-bar-games-menu): Add landmark.
4878 2010-08-22 Glenn Morris <rgm@gnu.org>
4880 * align.el (align-regexp): Make group and spacing arguments
4881 use the interactive defaults when non-interactive. (Bug#6698)
4883 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4884 expansion, so as not to need sendmail.
4885 (mail-text-start): Remove declaration.
4886 (rmail-retry-failure): Require sendmail.
4888 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4890 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4892 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4894 * progmodes/flymake.el (flymake-start-syntax-check-process):
4895 Use `start-file-process' in order to let it run also on remote hosts.
4897 2010-08-22 Kenichi Handa <handa@m17n.org>
4899 * files.el: Add `word-wrap' as safe local variable.
4901 2010-08-22 Glenn Morris <rgm@gnu.org>
4903 * woman.el (woman-translate): Case matters. (Bug#6849)
4905 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4907 * simple.el (kill-region): Doc fix (Bug#6787).
4909 2010-08-22 Glenn Morris <rgm@gnu.org>
4911 * calendar/diary-lib.el (diary-header-line-format):
4912 Fit it to the window, not the frame.
4914 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4916 * subr.el (ignore-errors): Add debug declaration.
4918 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4920 * whitespace.el (whitespace-color-off): Remove post-command-hook
4923 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4925 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4927 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4929 * cus-edit.el (custom-group-value-create): Add extra newline
4930 before end line (Bug#6876).
4932 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4934 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4935 when extending it. Before killing on the second click, check if
4936 the buffer is the correct one. Doc fix.
4937 (mouse-secondary-save-then-kill): Allow usage without first
4938 calling mouse-start-secondary, by defaulting to point. Don't save
4939 an empty secondary selection. Doc fix.
4941 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4943 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4944 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4946 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4947 Adjust initialization.
4948 (whitespace-bob-marker, whitespace-eob-marker)
4949 (whitespace-buffer-changed): New vars.
4950 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4951 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4952 (whitespace-post-command-hook, whitespace-display-char-on):
4954 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4955 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4957 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4959 * files.el (locate-file-completion-table): Only list the .el and .elc
4960 extensions if there's no other choice (bug#5955).
4962 * facemenu.el (facemenu-self-insert-data): New var.
4963 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4965 (facemenu-add-face): Use them.
4967 * simple.el (blink-matching-open): Obey forward-sexp-function.
4969 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4971 * simple.el (prog-mode-map): New var.
4972 (prog-indent-sexp): New command.
4974 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4976 * progmodes/prolog.el (smie): Require.
4978 * emacs-lisp/smie.el (smie-default-backward-token)
4979 (smie-default-forward-token): Strip properties.
4980 (smie-next-sexp): Be more careful with associative operators.
4981 (smie-forward-sexp-command): Generalize.
4982 (smie-backward-sexp-command): Simplify.
4983 (smie-closer-alist): New var.
4984 (smie-close-block): New command.
4985 (smie-indent-debug-log): New var.
4986 (smie-indent-offset-rule): Add a few more cases.
4987 (smie-indent-column): New function.
4988 (smie-indent-after-keyword): Use it.
4989 (smie-indent-keyword): Use it.
4990 Fix up the opener code's point position.
4991 (smie-indent-comment): Only applies at BOL.
4992 (smie-indent-debug): New command.
4994 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4995 declarations that are useful before running the macro.
4997 2010-08-18 Joakim Verona <joakim@verona.se>
4999 * image.el (imagemagick-types-inhibit): New variable.
5000 (imagemagick-register-types): New function.
5001 * image-mode.el (image-transform-properties): New function.
5002 (image-transform-set-scale, image-transform-fit-to-height)
5003 (image-transform-set-rotation, image-transform-set-resize)
5004 (image-transform-fit-to-width, image-transform-fit-to-height):
5006 (image-toggle-display-image): Support image transforms.
5008 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5010 * image.el (create-animated-image): Don't add heuristic mask to image
5013 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5015 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5016 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5018 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5020 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5022 Font-lock '...' strings, plus various simplifications and fixes.
5023 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5024 (octave-font-lock-close-quotes): New function.
5025 (octave-font-lock-syntactic-keywords): New var.
5026 (octave-mode): Use it. Set beginning-of-defun-function.
5027 (octave-mode-map): Don't override the <foo>-defun commands.
5028 (octave-mode-menu): Pass it directly to easy-menu-define;
5029 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5030 (octave-block-match-alist): Fix up last change so that
5031 octave-close-block uses the more specific keyword.
5032 (info-lookup-mode): Silence byte-compiler.
5033 (octave-beginning-of-defun): Not interactive any more.
5035 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5036 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5037 (octave-completion-at-point-function): Make sure point is within
5039 (octave-reindent-then-newline-and-indent):
5040 Use reindent-then-newline-and-indent.
5041 (octave-add-octave-menu): Remove.
5043 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5045 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5046 (report-emacs-bug-can-use-xdg-email): New functions.
5047 (report-emacs-bug): Set can-xdg-email to result of
5048 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5049 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5052 * net/browse-url.el (browse-url-default-browser): Add cond
5053 for browse-url-xdg-open.
5054 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5056 2010-08-17 Glenn Morris <rgm@gnu.org>
5058 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5059 (c-fontify-recorded-types-and-refs): Define for compiler.
5060 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5063 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5066 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5068 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5070 (tramp-handle-process-file): Call the program in a subshell, in
5071 order to preserve working directory.
5072 (tramp-action-password): Hide password prompt before next run.
5073 (tramp-process-actions): Widen connection buffer for the trace.
5075 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5077 * net/rcirc.el (rcirc-log-process-buffers): New option.
5078 (rcirc-print): Use it.
5079 (rcirc-generate-log-filename): New function.
5080 (rcirc-log-filename-function): Change default to
5081 rcirc-generate-log-filename (Bug#6828).
5083 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5085 * simple.el (deactivate-mark): If select-active-regions is `only',
5086 only set selection for temporarily active regions.
5088 * cus-start.el: Change defcustom for select-active-regions.
5090 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5092 * mouse.el (mouse--drag-set-mark-and-point): New function.
5093 (mouse-drag-track): Use LOCATION arg to push-mark.
5094 Use mouse--drag-set-mark-and-point to take click-count into
5095 consideration when updating point and mark (Bug#6840).
5097 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5099 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5100 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5102 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5104 * font-lock.el (lisp-font-lock-keywords-2):
5105 Add combine-after-change-calls, condition-case-no-debug,
5106 with-demoted-errors, and with-silent-modifications (Bug#6025).
5108 2010-08-14 Kevin Ryde <user42@zip.com.au>
5110 * emacs-lisp/copyright.el (copyright-update-year)
5111 (copyright-update): Temporary switch-to-buffer to ensure the
5112 buffer change being queried is visible (Bug#5394).
5114 2010-08-14 Tom Tromey <tromey@redhat.com>
5116 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5119 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5121 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5124 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5126 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5127 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5128 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5129 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5130 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5131 Call menu-bar-set-tool-bar-position.
5133 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5136 comment style (bug#6834).
5137 * progmodes/scheme.el (scheme-mode-syntax-table):
5138 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5139 "b" flag in "' 14b" syntax.
5141 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5142 for (un)commenting the region and performing completion.
5143 (octave-mode-menu): Use standard commands for help and completion.
5144 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5145 (octave-mode): Use define-derived-mode.
5146 Set completion-at-point-functions and don't set columns.
5147 Don't disable adaptive-fill-regexp.
5148 (octave-describe-major-mode, octave-comment-region)
5149 (octave-uncomment-region, octave-comment-indent)
5150 (octave-indent-for-comment): Remove.
5151 (octave-indent-calculate): Rename from calculate-octave-indent.
5152 (octave-indent-line, octave-fill-paragraph): Update caller.
5153 (octave-initialize-completions): No need to make an alist.
5154 (octave-completion-at-point-function): New function.
5155 (octave-complete-symbol): Use it.
5156 (octave-insert-defun): Use define-skeleton.
5158 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5159 (octave-mode-map): Use comment-dwim (bug#6829).
5161 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5163 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5164 indentation of inserted comment.
5166 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5168 * faces.el (region): Add type gtk that uses gtk colors.
5170 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5171 Handle theme-name change.
5173 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5175 * progmodes/sql.el: Version 2.5
5176 (sql-product-alist): Add :prompt-cont-regexp property for several
5178 (sql-prompt-cont-regexp): New variable.
5179 (sql-output-newline-count, sql-output-by-send):
5180 New variables. Record number of newlines in input text.
5181 (sql-send-string): Handle multiple filters and count newlines.
5182 (sql-send-magic-terminator): Count terminator newline.
5183 (sql-interactive-remove-continuation-prompt): Filters output to
5184 remove continuation prompts; one for each newline.
5185 (sql-interactive-mode): Set up new variables, prompt regexp and
5187 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5188 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5190 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5192 * emacs-lisp/pcase.el: New file.
5194 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5196 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5197 as here-document, otherwise the command could exceed maximum
5198 length of command line.
5199 (tramp-handle-vc-registered): Call script accordingly.
5200 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5202 2010-08-10 Kenichi Handa <handa@m17n.org>
5204 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5207 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5209 * emacs-lisp/package.el (package-version-split)
5210 (package--version-first-nonzero, package-version-compare):
5212 (package-directory-list, package-load-all-descriptors)
5213 (package--built-in, package-activate, define-package)
5214 (package-installed-p, package-compute-transaction)
5215 (package-read-all-archive-contents)
5216 (package--add-to-archive-contents, package-buffer-info)
5217 (package-tar-file-info, package-list-packages-internal):
5218 Use version-to-list and version-list-*.
5220 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5221 Use version-to-list.
5222 (package-upload-buffer-internal): Use version-list-<=.
5224 2010-08-09 Kenichi Handa <handa@m17n.org>
5226 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5229 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5231 * tutorial.el (tutorial--default-keys): C-d is now bound to
5232 delete-forward-char (Bug#6826).
5234 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5235 for `double' value of mouse-1-click-follows-link (Bug#6807).
5237 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5239 * replace.el (replace-highlight): Bind isearch-forward and
5240 isearch-error, ensuring that highlighting is updated if the user
5241 switches the search direction (Bug#6808).
5243 * isearch.el (isearch-lazy-highlight-forward): New var.
5244 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5245 (isearch-lazy-highlight-update): Use it.
5247 2010-08-08 Kenichi Handa <handa@m17n.org>
5249 * international/mule.el (define-charset): Store NAME as :base property.
5250 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5251 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5252 current priority. Force using the designation of the specific
5253 charset by adding `charset' text property. Improve the whole algorithm.
5255 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5257 * emulation/pc-select.el (pc-selection-mode-hook)
5258 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5259 (pc-selection-mode): Fix typos in docstrings.
5261 2010-08-08 Kenichi Handa <handa@m17n.org>
5263 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5264 ctext-non-standard-encodings-alist here.
5266 * international/mule.el (ctext-non-standard-encodings-alist):
5267 Add "koi8-r" and "microsoft-cp1251".
5268 (ctext-standard-encodings): New variable.
5269 (ctext-non-standard-encodings-table): List only elements for
5270 non-standard encodings.
5271 (ctext-pre-write-conversion): Adjust for the above change.
5272 Check ctext-standard-encodings.
5274 * international/mule-conf.el (compound-text): Doc fix.
5275 (ctext-no-compositions): Doc fix.
5276 (compound-text-with-extensions): Doc fix.
5278 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5282 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5284 * progmodes/which-func.el (which-func-format): Split help-echo text
5285 into lines, like other mode-line tooltips.
5287 * server.el (server-start): When using TCP sockets, force IPv4
5288 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5290 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5294 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5296 * term.el (term-delimiter-argument-list): Reflow docstring.
5297 (term-read-input-ring, term-write-input-ring, term-send-input)
5298 (term-bol, term-erase-in-display, serial-supported-or-barf):
5299 Fix typos in docstrings.
5301 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5305 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5307 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5309 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5311 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5312 Fix typo in docstring (bug#6747).
5314 2010-08-08 Leo <sdl.web@gmail.com>
5316 * eshell/esh-io.el (eshell-get-target): Better detection of
5317 read-only file (Bug#6762).
5319 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5321 * align.el (align-default-spacing): Doc fix.
5322 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5324 2010-08-08 Stephen Peters <speters@itasoftware.com>
5326 * calendar/icalendar.el
5327 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5328 (icalendar--get-weekday-numbers): New.
5329 (icalendar--convert-recurring-to-diary): Handle multiple byday
5330 values in weekly rules. (Bug#6766)
5332 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5334 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5335 (icalendar--create-uid, icalendar-export-region)
5336 (icalendar--parse-summary-and-rest): Code formatting.
5338 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5340 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5341 to italicize headers.
5342 (calc-highlight-selections-with-faces): New variable.
5343 (calc-selected-face, calc-nonselected-face): New faces.
5345 * calc/calccomp.el (math-comp-highlight-string): Use
5346 `calc-highlight-selections-with-faces' to determine how to highlight
5349 * calc/calc-sel.el (calc-show-selections): Change message to when
5350 using faces to highlight selections.
5352 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5354 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5355 Add SQLite 3 keywords, functions and datatypes.
5356 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5359 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5361 * simple.el (select-active-regions): Move to keyboard.c.
5362 (deactivate-mark): Used saved-region-selection.
5363 (select-active-region): Function removed.
5364 (activate-mark, set-mark, push-mark-command)
5365 (handle-shift-selection): Don't call it.
5366 (keyboard-quit): Avoid adding the region to the window selection.
5368 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5369 select-active-regions implementation.
5370 (mouse-yank-at-click): Doc fix.
5372 * cus-start.el: Add custom declaration for select-active-regions.
5374 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5376 * simple.el (delete-forward-char): Doc fix.
5378 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5379 after reading the tutorial.
5381 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5383 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5384 Fix for the case that a C style comment has its delimiters alone on
5385 their respective lines.
5387 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5389 * net/tramp.el (tramp-handle-start-file-process): Set connection
5391 (tramp-process-sentinel): Use it for flushing the cache.
5392 We cannot do it via the process buffer, the buffer could be deleted
5393 already when running the sentinel.
5395 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5397 * comint.el (comint-mode): Make directory tracking functions
5398 functional on remote files. (Bug#6764)
5400 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5402 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5404 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5406 * emacs-lisp/find-gc.el (find-gc-source-files):
5407 Rename unexec.c => unexcoff.c.
5409 * emacs-lisp/authors.el (authors-fixed-entries):
5410 Rename unexec.c => unexcoff.c.
5412 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5414 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5415 cache, not only file cache.
5416 (tramp-process-sentinel): New defun.
5417 (tramp-handle-start-file-process): Use it, in order to invalidate
5420 2010-08-03 Leo <sdl.web@gmail.com>
5422 * server.el (server-start): Simplify loop.
5424 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * frame.el (screen-height, screen-width, set-screen-width)
5427 (set-screen-height): Remove ancient compatibility aliases.
5429 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5430 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5432 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5433 that change current buffer.
5435 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5437 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5438 beginning of the string. Use `string-match-p'. (Bug#6765)
5440 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5442 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5444 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5446 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5447 (package--builtins): Tweak descriptions.
5448 (package-print-package): Upcase descriptions if necessary.
5449 Show all built-in packages in font-lock-builtin-face.
5450 (package-list-packages-internal): Omit "emacs" package.
5451 Show status of built-in packages as "built-in".
5453 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5455 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5456 before killing to preserve the primary selection (Bug#6701).
5458 * term/x-win.el (x-select-text): Doc fix.
5460 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5462 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5463 (objc-font-lock-extra-types):
5464 * progmodes/cc-mode.el (c-basic-common-init):
5465 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5466 (c++-make-template-syntax-table)
5467 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5468 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5469 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5470 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5471 * progmodes/cc-fonts.el (c-make-inverse-face)
5472 (c-basic-matchers-after):
5473 * progmodes/cc-engine.el (c-forward-keyword-clause)
5474 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5475 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5476 (c-guess-continued-construct, c-guess-basic-syntax):
5477 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5478 The above functions were modified or created.
5480 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5482 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5484 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5486 * files.el (bidi-paragraph-direction): Define safe local values.
5488 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5489 language-info-alist. Remove outdated FIXME in a comment.
5491 2010-07-31 Alan Mackenzie <acm@muc.de>
5493 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5494 Auto-fill broken in C/C++ modes.
5496 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5498 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5499 (menu-bar-showhide-tool-bar-menu-customize-disable)
5500 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5501 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5502 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5503 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5504 make a menu for Options => toolbar that can move it.
5506 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5508 * emacs-lisp/package-x.el (package--make-rss-entry):
5509 (package-maint-add-news-item, package--update-news)
5510 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5512 * emacs-lisp/package.el (package-archive-url): Rename from
5514 (package-install): Doc fix.
5515 (package-download-single, package-download-tar, package-install)
5516 (package-menu-view-commentary): Callers changed.
5518 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5520 * net/tramp.el (tramp-handle-start-file-process): Check only for
5521 `remote-tty' process property.
5522 (tramp-open-shell): Don't check for tty.
5523 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5526 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5529 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5531 * emacs-lisp/package.el (package-load-list, package-archives)
5532 (package-archive-contents, package-user-dir)
5533 (package-directory-list, package--builtins, package-alist)
5534 (package-activated-list, package-obsolete-alist): Mark as risky.
5536 2010-07-28 Phil Hagelberg <phil@evri.com>
5538 Add support for non-default package repositories.
5539 * emacs-lisp/package.el (package-archive-base): Var deleted.
5540 (package-archives): New variable.
5541 (package-archive-contents): Doc fix.
5542 (package-load-descriptor): Do nothing if descriptor file is missing.
5543 (package--write-file-no-coding): New function.
5544 (package-unpack-single): Use it.
5545 (package-archive-id): New function.
5546 (package-download-single, package-download-tar)
5547 (package-menu-view-commentary): Use it.
5548 (package-installed-p): Make second argument optional.
5549 (package-read-all-archive-contents): New function.
5550 (package-initialize): Use it.
5551 (package-read-archive-contents): Add ARCHIVE argument.
5552 (package--add-to-archive-contents): New function.
5553 (package-install): Don't call package-read-archive-contents.
5554 (package--download-one-archive): Store archive file in a
5555 subdirectory of package-user-dir.
5556 (package-menu-execute): Remove spurious line movement.
5558 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5560 * cus-start.el (tool-bar-style): Add text-image-horiz.
5562 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5564 * progmodes/gud.el (gud-common-init): Check for remoteness of
5565 `file', and not of `default-directory'.
5567 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5569 * net/tramp.el (tramp-methods): Move hostname to the end in all
5570 ssh `tramp-login-args'.
5571 (tramp-verbose): Describe verbose level 9.
5572 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5573 (tramp-open-connection-setup-interactive-shell): Trace stty
5574 settings if `tramp-verbose' >= 9.
5575 (tramp-handle-start-file-process): Implement tty setting.
5576 (Bug#4604, Bug#6360)
5578 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5579 `tramp-verbose' to 9.
5581 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5583 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5584 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5585 Remove references to package `lisp-re' (bug#4369).
5587 2010-07-27 Tom Tromey <tromey@redhat.com>
5589 * progmodes/js.el (js-mode):
5590 * progmodes/make-mode.el (makefile-mode):
5591 * progmodes/simula.el (simula-mode):
5592 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5594 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5596 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5598 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5599 (display-time-world-buffer-name, display-time-world-mode-map):
5600 Fix typos in docstrings.
5602 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5604 * image-mode.el (image-display-size): New function.
5605 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5606 (image-mode-fit-frame): Use it (Bug#6639).
5608 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5610 * dired.el (dired-buffers-for-dir): Handle list values of
5611 dired-directory (Bug#6636).
5613 2010-07-26 Sam Steingold <sds@gnu.org>
5615 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5616 Do not call `x-get-selection' the second time, reuse the value.
5618 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5620 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5621 which consist of control chars only. Suggested by Richard Stallman.
5623 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5625 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5626 exists before passing an error to find-file-not-found-functions
5629 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5631 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5632 Remove leading nil element, adjust values.
5633 (tetris-shapes, tetris-shape-scores):
5634 Change representation of shapes and remove some redundancy.
5635 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5636 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5637 Adjust for working with new representation of shapes.
5638 (tetris-shape-rotations): New function.
5639 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5640 (tetris-rotate-prev, tetris-rotate-next):
5641 Adjust for working with the new version of tetris-test-shape.
5643 2010-07-23 Markus Triska <markus.triska@gmx.at>
5645 * progmodes/ps-mode.el: Use comint (bug#5954).
5646 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5647 (ps-mode-other-newline): Simplify.
5648 (ps-run-mode): Derive from comint-mode instead of
5649 fundamental-mode, yielding input history etc.
5650 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5651 (ps-run-send-string): Adapt for comint-mode.
5652 (ps-run-newline): Remove now unneeded function.
5654 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5656 * net/tramp.el (tramp-methods): Move hostname to the end in all
5657 plink `tramp-login-args'.
5659 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5661 * net/tramp.el (tramp-open-shell): New defun.
5662 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5665 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5667 * net/tramp.el (tramp-file-name-regexp-unified)
5668 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5669 not regard the volume letter as remote filename. (Bug#5447)
5671 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5673 * custom.el (custom-declare-variable): Give a clearer error message
5674 when the docstring is missing (bug#6476).
5676 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5678 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5679 (sql-login-params): New widget definition.
5680 (sql-oracle-login-params, sql-mysql-login-params)
5681 (sql-solid-login-params, sql-sybase-login-params)
5682 (sql-informix-login-params, sql-ingres-login-params)
5683 (sql-ms-login-params, sql-postgres-login-params)
5684 (sql-interbase-login-params, sql-db2-login-params)
5685 (sql-linter-login-params): Use it.
5686 (sql-sqlite-login-params): Use it; Define "database" parameter as
5688 (sql-sqlite-program): Change to "sqlite3".
5689 (sql-comint-sqlite): Make sure database name is complete.
5690 (sql-for-each-login): New function.
5691 (sql-connect, sql-save-connection): Use it.
5692 (sql-get-login-ext): New function.
5693 (sql-get-login): Use it.
5694 (sql-make-alternate-buffer-name): Handle :file parameters.
5696 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5698 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5699 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5701 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5703 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5705 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5707 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5709 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5711 * net/tramp.el (tramp-get-ls-command)
5712 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5715 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5717 * progmodes/sql.el: Version 2.3.
5718 (sql-connection-alist): Changed keys from symbols to strings;
5719 enhanced the widget definition.
5720 (sql-mode-menu): Add submenu to select connections.
5721 (sql-interactive-mode-menu): Add "Save Connection" item.
5722 (sql-add-product): Fix menu item.
5723 (sql-get-product-feature): Improved error handling.
5724 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5725 (sql-make-alternate-buffer-name): Simplified.
5726 (sql-product-interactive): Handle missing product.
5727 (sql-connect): Support string keys, minor improvements.
5728 (sql-save-connection): New function.
5729 (sql-connection-menu-filter): New function.
5731 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5733 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5734 (tramp-open-connection-setup-interactive-shell):
5735 Apply workaround for IRIX64 bug. Move argument of last
5736 `tramp-send-command' where it belongs to.
5738 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5740 * net/tramp.el (tramp-perl-file-attributes)
5741 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5742 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5743 front of `login-args'.
5745 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5747 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5748 Set `show-trailing-whitespace' to nil.
5749 (display-time-world-display): Simplify.
5751 2010-07-18 Alan Mackenzie <acm@muc.de>
5753 Enhance `c-file-style' in file/directory local variables.
5754 * progmodes/cc-mode.el (c-count-cfss): New function.
5755 (c-before-hack-hook): Call `c-set-style' differently according to
5756 whether c-file-style was set in file or directory local
5759 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5761 * progmodes/sql.el: Version 2.2.
5762 (sql-product, sql-user, sql-database, sql-server, sql-port):
5763 Use defcustom :safe keyword rather than putting safe-local-variable
5765 (sql-password): Use defcustom :risky keyword rather than putting
5766 risky-local-variable property.
5767 (sql-oracle-login-params, sql-sqlite-login-params)
5768 (sql-solid-login-params, sql-sybase-login-params)
5769 (sql-informix-login-params, sql-ingres-login-params)
5770 (sql-ms-login-params, sql-postgres-login-params)
5771 (sql-interbase-login-params, sql-db2-login-params)
5772 (sql-linter-login-params): Add `port' option.
5773 (sql-get-product-feature): Add NO-INDIRECT parameter.
5774 (sql-comint-oracle, sql-comint-sybase)
5775 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5776 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5777 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5778 (sql-comint-linter): Rename sql-connect-* functions to
5780 (sql-product-alist, sql-mode-menu): Rename as above and
5781 :sqli-connect-func to :sqli-comint-func.
5782 (sql-connection): New variable.
5783 (sql-interactive-mode): Set it.
5784 (sql-connection-alist): New variable.
5785 (sql-connect): New function.
5786 (sql--alt-buffer-part, sql--alt-if-not-empty)
5787 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5789 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5791 * image-mode.el (image-bookmark-make-record): Do not set context
5792 in an image (Bug#6650).
5794 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5796 * simple.el (select-active-region): New function.
5797 (push-mark-command, set-mark, activate-mark)
5798 (handle-shift-selection): Use it.
5799 (deactivate-mark): Don't check for size of region.
5801 * mouse.el (mouse-drag-track): Use select-active-region.
5803 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5805 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5808 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5810 * term/x-win.el (x-select-enable-primary): Change default to nil.
5811 (x-select-enable-clipboard): Add :version keyword.
5813 * mouse.el (mouse-drag-copy-region):
5814 * simple.el (select-active-regions): Likewise.
5816 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5818 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5819 (vc-coding-system-for-diff): Use it to decide whether to inherit
5820 from the file the EOL format for reading the diffs of that file.
5823 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5825 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5826 unibyte, so compressed attachments are not compressed again.
5828 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5830 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5831 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5832 (tramp-find-shell): Simplify setting connection property.
5833 (tramp-get-ls-command): Make test for "--color=never" stronger.
5835 2010-07-15 Simon South <ssouth@member.fsf.org>
5837 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5838 blocks within record declarations (i.e. variant parts) correctly.
5840 2010-07-15 Simon South <ssouth@member.fsf.org>
5842 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5843 over literal tokens when parsing so newlines aren't "absorbed" by
5844 single-line comments. Corrects the indentation of case blocks
5845 that have a comment on the first line.
5847 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5849 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5850 by Drew Adams (Bug#5504).
5852 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5854 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5855 now that Unicode is used (Bug#6594).
5857 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5859 * term/x-win.el (x-select-enable-clipboard): Default to t.
5860 (x-initialize-window-system): Don't overwrite Paste menu item.
5862 * simple.el (select-active-regions): Default to t.
5863 (push-mark-command): Don't overwrite primary with empty string.
5865 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5866 (mouse-drag-copy-region): Default to nil.
5868 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5869 Cut/Copy/Paste menu bar items.
5871 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5873 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5874 Patch applied by Karl Fogel.
5876 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5877 and `bookmark-current-buffer' if they have been already set in
5878 another buffer (e.g gnus-art).
5880 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5881 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5883 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5885 * bookmark.el (bookmark-make-record-default): Allow unneeded
5886 information to be omitted from the record.
5888 Adjust declarations and calls:
5890 * info.el (bookmark-make-record-default): Adjust declaration.
5891 (Info-bookmark-make-record): Adjust call.
5893 * woman.el (bookmark-make-record-default): Adjust declaration.
5894 (woman-bookmark-make-record): Adjust call.
5896 * man.el (bookmark-make-record-default): Adjust declaration.
5897 (Man-bookmark-make-record): Adjust call.
5899 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5901 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5903 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5905 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5906 This is also from Thierry Volpiatto's patch in bug #6444. However,
5907 because it was extraneous to the functional change in that patch,
5908 and causes a re-indendation, I am committing it separately.
5910 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5912 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5913 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5914 Patch applied by Karl Fogel (Bug#6444).
5916 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5918 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5920 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5922 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5923 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5924 (ns-alternatives-map): Change S-tab binding to backtab
5927 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5930 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5932 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5935 * language/tv-util.el (tai-viet-re): Remove format.
5937 2010-07-12 Kenichi Handa <handa@m17n.org>
5939 * language/hebrew.el: Remove no-byte-compile declaration.
5940 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5941 composition-function-table for 3-character looking back.
5942 (hebrew-font-get-precomposed): New function.
5943 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5945 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5947 * mouse.el (mouse-drag-track): Handle select-active-regions
5950 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5952 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5953 empty argument to gvfs-copy.
5955 2010-07-10 Glenn Morris <rgm@gnu.org>
5957 * calendar/calendar.el (calendar-week-end-day): New function.
5958 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5959 Respect calendar-week-start-day. (Bug#6606)
5960 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5961 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5962 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5963 respect calendar-week-start-day.
5965 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
5967 * simple.el (use-region-p): Doc fix (Bug#6607).
5969 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5971 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5972 Add regexps for cucumber and ruby.
5974 2010-07-08 Daiki Ueno <ueno@unixuser.org>
5976 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5977 (epa-file-insert-file-contents): Hack to prevent
5978 find-file from opening empty buffer when decryption failed
5981 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5983 * textmodes/ispell.el (ispell-alternate-dictionary):
5984 Use file-readable-p.
5985 Return nil if no word-list is found at default locations.
5986 (ispell-complete-word-dict): Default to nil.
5987 (ispell-command-loop): Use 'word-list' when using lookup-words.
5988 (lookup-words): Use ispell-complete-word-dict or
5989 ispell-alternate-dictionary. Check for word-list availability
5990 and handle errors if needed with better messages (Bug#6539).
5991 (ispell-complete-word): Use ispell-complete-word-dict or
5992 ispell-alternate-dictionary.
5994 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5996 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5997 builtins (BufferError, BytesWarning, WindowsError; callables
5998 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6000 2010-07-07 Glenn Morris <rgm@gnu.org>
6002 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6003 (zone-shift-left): Ignore intangibility, and any errors from
6005 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6006 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6007 deleting, and copying text properties.
6008 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6009 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6010 to point-max is hard.
6011 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6012 (zone-fill-out-screen): Ignore intangibility.
6014 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6016 * menu-bar.el (menu-bar-mode):
6017 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6020 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6021 word/line selection (Bug#6565).
6023 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6025 * net/dbus.el (dbus-send-signal): Declare function.
6027 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6029 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6030 (dbus-register-property): New optional argument EMITS-SIGNAL.
6031 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6033 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6035 * mouse.el (mouse-drag-overlay): Variable deleted.
6036 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6037 (mouse--remap-link-click-p): New function.
6038 (mouse-drag-track): Handle dragging by using temporary Transient
6039 Mark mode, instead of a special overlay.
6040 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6043 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6046 2010-07-02 Juri Linkov <juri@jurta.org>
6048 * autoinsert.el (auto-insert-alist): Fix readability
6049 by using dotted pair notation for lambda.
6051 2010-07-02 Juri Linkov <juri@jurta.org>
6053 * faces.el (read-face-name): Rename arg `string-describing-default'
6054 to `default'. Doc fix. Display the default value in quotes
6055 in the prompt. With empty input, return the `default' arg,
6056 unless the default value is a string (in which case return nil).
6057 (describe-face): Replace the string `default' arg of `read-face-name'
6058 with the symbol `default'.
6060 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6062 * emulation/viper-cmd.el (viper-delete-backward-char)
6063 (viper-del-backward-char-in-insert)
6064 (viper-del-backward-char-in-replace, viper-change)
6065 (viper-backward-indent): Replace delete-backward-char with
6066 delete-char (Bug#6552).
6068 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6070 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6072 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6074 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6075 argument passed to frame-creation-function (Bug#5378).
6077 * faces.el (x-handle-named-frame-geometry)
6078 (x-handle-reverse-video, x-create-frame-with-faces)
6079 (face-set-after-frame-default, tty-create-frame-with-faces):
6080 Don't separately consult default-frame-alist. It is now passed as the
6083 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6085 * startup.el (command-line): Don't call tool-bar-setup in a
6088 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6090 * ruler-mode.el (ruler--save-header-line-format): New fun.
6091 (ruler-mode): Use it as a setter function, so as not to overwrite
6092 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6094 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6096 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6097 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6098 (vc-log-outgoing): Use it.
6099 (vc-diff-internal): Set diff-vc-backend.
6101 * vc/diff-mode.el (diff-vc-backend): New var.
6103 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6105 * dynamic-setting.el (font-setting-change-default-font):
6106 Remove call to message.
6108 2010-06-28 Kenichi Handa <handa@m17n.org>
6110 * international/quail.el (quail-insert-kbd-layout): Fix the
6111 showing of untranslated characters.
6113 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6115 * simple.el (delete-active-region): New option.
6116 (delete-backward-char): Implement in Lisp.
6117 (delete-forward-char): New command.
6119 * mouse.el (mouse-region-delete-keys): Deleted.
6120 (mouse-show-mark): Simplify.
6122 * bindings.el (global-map): Bind delete and DEL, the former to
6123 delete-forward-char.
6125 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6127 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6128 (ruby-mode): Bind indent-line-function (Bug#5119).
6130 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6132 * startup.el (command-line): Recognize "0" X resource value.
6134 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6136 * startup.el (command-line): Use X resources to set the value of
6137 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6139 * menu-bar.el (menu-bar-mode):
6140 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6141 Set init-value to t.
6143 * frame.el (frame-notice-user-settings): Don't change
6144 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6145 vice versa (Bug#2249).
6147 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6149 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6151 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6153 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6154 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6156 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6157 default directories are expanded (Bug#6143).
6159 2010-06-24 Juri Linkov <juri@jurta.org>
6161 * minibuffer.el (completions-format): Change default from nil to
6162 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6164 2010-06-24 Juri Linkov <juri@jurta.org>
6166 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6167 buffer-locally to lambda that re-runs the vc diff command.
6170 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6172 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6173 echo area is in use (Bug#3412).
6175 2010-06-22 Glenn Morris <rgm@gnu.org>
6177 * textmodes/texinfmt.el (texinfo-format-region)
6178 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6179 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6180 (texinfo-format-option, texinfo-noindent):
6181 Use line-beginning-position and line-end-position.
6183 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6184 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6185 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6188 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6190 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6191 forward-line fallout.
6193 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6195 * mouse.el (mouse-appearance-menu): Add docstring.
6197 * help.el (describe-key): Print up-event using key-description.
6199 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6201 * net/zeroconf.el (zeroconf-resolve-service)
6202 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6203 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6205 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6207 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6209 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6211 Avoid displaying files with a nil state in vc-dir.
6212 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6213 cases that cause insertion.
6214 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6217 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6219 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6221 2010-06-29 Leo <sdl.web@gmail.com>
6223 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6225 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6227 * generic-x.el (bat-generic-mode): Fix regexp for command line
6228 switches (Bug#5719).
6230 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6232 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6233 of nconc to avoid pure storage error (Bug#6239).
6235 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6237 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6238 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6239 bindings of bookmark-automatically-show-annotations (Bug#6515).
6241 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6243 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6244 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6246 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6248 * comint.el (make-comint, make-comint-in-buffer): Mention return
6249 value in the docstrings. (Bug#6498)
6251 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6253 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6254 since it is not present when using some non-default switches.
6256 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6258 * simple.el (compose-mail): Fix doc string to refer to
6259 `compose-mail-user-agent-warnings', instead of to the
6260 nonexistent `compose-mail-check-user-agent'.
6262 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6264 Fix an indentation bug:
6266 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6267 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6270 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6271 (c-clear->-pair-props-if-match-before): now return t when they've
6272 cleared properties, nil otherwise.
6273 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6274 by taking account of the existing value.
6276 * progmodes/cc-defs.el
6277 (c-clear-char-property-with-value-function): Fix this to clear the
6278 property rather than overwriting it with nil.
6280 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6282 * emacs-lisp/package.el (package-print-package): Add link to
6283 package description via describe-package.
6284 (describe-package-1): List package requirements. Add button to
6285 perform installation.
6286 (package-menu-describe-package): New command.
6288 * help-mode.el (help-package): New button type.
6290 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6292 * emacs-lisp/package.el: Move package-list-packages binding to
6294 (describe-package, describe-package-1, package--dir): New funs.
6295 (package-activate-1): Use package--dir.
6297 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6299 * help-mode.el (help-package-def): New button type.
6301 * menu-bar.el: Move package-list-packages binding here from
6304 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6306 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6308 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * emacs-lisp/edebug.el (edebug-read-list):
6311 Phase out old-style backquotes.
6313 2010-06-17 Juri Linkov <juri@jurta.org>
6315 * help-mode.el (help-mode): Set buffer-local variable
6316 revert-buffer-function to help-mode-revert-buffer.
6317 (help-mode-revert-buffer): New function.
6319 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6320 before popping to "*info*" (like in other Info functions).
6321 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6322 old-history-forward. Pop to old-buffer-name or "*info*" to
6323 recreate the killed buffer. Set Info-history-forward from
6324 old-history-forward.
6325 (Info-breadcrumbs-depth): Add :group and :version.
6327 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6329 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6331 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6333 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6334 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6336 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6338 * emacs-lisp/package.el (package-menu-mode-map):
6339 Move initialization into declaration.
6341 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6343 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6345 * emacs-lisp/package.el (package-archive-base): Point to
6347 (package-enable, package-load-list): New defcustoms.
6348 (package-user-dir, package-directory-list): Turn into defcustoms.
6349 Don't include package-user-dir in package-directory-list.
6350 (package--builtins-base): Don't include Emacs as a "package".
6351 (package-subdirectory-regexp): New var.
6352 (package-load-all-descriptors, package-compute-transaction)
6353 (package-download-transaction): Obey package-load-list.
6354 (package-activate-1): Rename from package-do-activate.
6355 (package-list-packages-internal): Check package-load-list.
6356 (package-load-descriptor, package-generate-autoloads)
6357 (package-unpack, package-unpack-single)
6358 (package--read-archive-file, package-delete):
6359 Use expand-file-name.
6361 * emacs-lisp/package-x.el: New file. Package uploading
6362 functionality split out from package.el.
6364 * startup.el (command-line): Load packages after reading init file.
6366 2010-06-17 Tom Tromey <tromey@redhat.com>
6368 * emacs-lisp/package.el: New file.
6370 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6372 Fix vc-annotate for renamed files when using Git.
6373 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6374 ls-files. Doe not pass the object as a file name to cat-file, it
6376 (vc-git-annotate-command): Pass the file name using -- to avoid
6377 ambiguity with the revision.
6378 (vc-git-previous-revision): Pass a relative file name.
6380 2010-06-22 Glenn Morris <rgm@gnu.org>
6382 * progmodes/js.el (js-mode-map): Use standard capitalization and
6383 ellipses for menu entries.
6385 * wid-edit.el (widget-complete): Doc fix.
6387 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6389 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6391 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6393 Fix annotating other revisions for renamed files in vc-annotate.
6394 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6395 VC backend. Use it when non-nil.
6396 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6399 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6400 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6401 Do not pass the file name to the 'previous-revision call when we
6402 don't want a file diff. (Bug#6489)
6404 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6406 Fix finding revisions for renamed files in vc-annotate.
6407 * vc/vc.el (vc-find-revision): Add an optional argument for
6408 the VC backend. Use it when non-nil.
6409 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6410 backend to vc-find-revision. (Bug#6487)
6412 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6414 Fix reading file names in Git annotate buffers.
6415 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6416 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6418 2010-06-20 Alan Mackenzie <acm@muc.de>
6420 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6421 in file local variables, set it first.
6423 2010-06-19 Glenn Morris <rgm@gnu.org>
6425 * descr-text.el (describe-char-unicode-data): Insert separating
6426 space when needed. (Bug#6422)
6428 * progmodes/idlwave.el (idlwave-action-and-binding):
6429 Fix typo in 2009-12-03 change. (Bug#6450)
6431 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6433 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6434 handling for `lambda' (misunderstanding).
6436 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6438 * calc/calc-poly.el (math-accum-factors): Make sure that
6439 constants aren't distributed after they are factored out.
6441 2010-06-16 Juri Linkov <juri@jurta.org>
6443 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6444 `list-colors-print'. (Bug#6332)
6446 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6448 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6451 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6453 * font-lock.el (font-lock-major-mode): Rename from
6454 font-lock-mode-major-mode to distinguish it from
6455 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6456 (font-lock-set-defaults):
6457 * font-core.el (font-lock-default-function): Adjust users.
6458 (font-lock-mode): Don't set it at all.
6460 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6462 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6464 2010-06-16 Glenn Morris <rgm@gnu.org>
6466 * calendar/appt.el (appt-time-msg-list): Doc fix.
6467 (appt-check): Let-bind appt-warn-time.
6468 (appt-add): Make the 3rd argument optional.
6469 Simplify argument names. Doc fix. Check for integer WARNTIME.
6470 Only add WARNTIME to the output list if non-nil.
6472 2010-06-16 Ivan Kanis <apple@kanis.eu>
6474 * calendar/appt.el (appt-check): Let the 3rd element of
6475 appt-time-msg-list specify the warning time.
6476 (appt-add): Add new argument with the warning time. (Bug#5176)
6478 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6480 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6481 older than version 1.6. (Bug#6361)
6483 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6485 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6486 used by cl-do-arglist. (Bug#6408)
6488 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6490 * textmodes/ispell.el (ispell-dictionary-base-alist):
6491 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6492 Suggested by Rolando Pereira (bug#6434).
6494 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6496 * facemenu.el (list-colors-sort): Doc fix.
6498 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6500 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6502 2010-06-14 Juri Linkov <juri@jurta.org>
6504 Add sort option `list-colors-sort'. (Bug#6332)
6505 * facemenu.el (color-rgb-to-hsv): New function.
6506 (list-colors-sort): New defcustom.
6507 (list-colors-sort-key): New function.
6508 (list-colors-display): Doc fix. Sort list according to the option
6510 (list-colors-print): Add HSV values to `help-echo' property of
6513 2010-06-14 Juri Linkov <juri@jurta.org>
6515 * compare-w.el: Move to the "vc" subdirectory.
6517 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6519 * image-mode.el (image-mode-map): Remap left-char and right-char.
6521 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6523 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6525 * term/common-win.el (x-colors): Add all the color names defined
6526 in rgb.txt (Bug#6332).
6528 * facemenu.el (list-colors-print): Don't print extra names if it
6529 will overflow the window width.
6531 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6534 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6536 * files.el (make-directory): Doc fix (bug#6396).
6538 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6540 * net/tramp.el (tramp-remote-process-environment): Protect version
6541 string by apostroph.
6542 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6544 (tramp-file-name-for-operation): Add `call-process-region'.
6545 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6547 * net/tramp-compat.el (top): Do not autoload
6548 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6549 only when `start-file-process' is not bound.
6550 (tramp-advice-file-expand-wildcards): Do not use
6551 `tramp-handle-file-remote-p'.
6552 (tramp-compat-make-temp-file): Handle the case, that
6553 `make-temp-file' has no third argument EXTENSION.
6555 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6557 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6559 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6561 2010-06-11 Juri Linkov <juri@jurta.org>
6563 * finder.el (finder-known-keywords): Add keyword "vc"
6564 for version control.
6566 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6567 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6568 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6569 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6571 2010-06-11 Juri Linkov <juri@jurta.org>
6573 Move version control related files to the "vc" subdirectory.
6574 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6575 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6576 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6577 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6578 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6579 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6580 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6581 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6582 Move files to the "vc" subdirectory.
6584 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6586 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6589 2010-06-11 Stephen Eglen <stephen@gnu.org>
6591 * shell.el: Bind `shell-resync-dirs' to M-RET.
6593 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6595 * notifications.el: Move file from lisp/net, because it is
6596 supposed to talk locally to the user.
6598 2010-06-10 Julien Danjou <julien@danjou.info>
6600 * net/notifications.el (notifications-on-action-signal)
6601 (notifications-on-closed-signal): Pass notification id as first
6602 argument to the callback functions. Add docstrings.
6603 (notifications-notify): Fix docstring.
6605 2010-06-10 Glenn Morris <rgm@gnu.org>
6607 * emacs-lisp/authors.el (authors-ignored-files)
6608 (authors-valid-file-names): Add some files.
6610 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6613 merge conflict, giving preference to the emacs-23 version of the code.
6615 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * emacs-lisp/advice.el (ad-compile-function):
6618 Define warning-suppress-types before we let-bind it (bug#6275).
6620 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6621 declare it, make it buffer-local and permanent-local (bug#6324).
6622 (vc-resynch-window): Adjust name.
6623 * vc-hooks.el (vc-find-file-hook): Adjust name.
6625 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6627 * net/notifications.el (notifications-notify): Fix docstring.
6629 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6631 Update to Unicode 6.0.0 beta.
6632 * international/charprop.el: Update copyright.
6633 * international/mule-cmds.el (ucs-names): Update character ranges.
6634 * international/uni-bidi.el:
6635 * international/uni-category.el:
6636 * international/uni-combining.el:
6637 * international/uni-comment.el:
6638 * international/uni-decimal.el:
6639 * international/uni-decomposition.el:
6640 * international/uni-digit.el:
6641 * international/uni-lowercase.el:
6642 * international/uni-mirrored.el:
6643 * international/uni-name.el:
6644 * international/uni-numeric.el:
6645 * international/uni-old-name.el:
6646 * international/uni-titlecase.el:
6647 * international/uni-uppercase.el: Regenerate.
6649 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6651 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6652 (smie-precs-precedence-table): Fix typo in docstring.
6654 * vc-mtn.el (log-edit-extract-headers): Declare function.
6656 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6658 * net/notifications.el (dbus-register-signal): Declare function.
6659 (notifications-notify): Fix typos and reflow docstring.
6661 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6663 Improve VC create/retrieve tag/branch.
6664 * vc.el (vc-create-tag): Do not read the directory name for VCs
6665 with repository revision granularity. Adjust the tag/branch
6666 prompt. Reset VC properties.
6667 (vc-retrieve-tag): Do not read the directory name for VCs
6668 with repository revision granularity. Reset VC properties.
6670 2010-06-09 Julien Danjou <julien@danjou.info>
6672 * net/notifications.el: New file.
6674 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6676 Add optional support for resetting VC properties.
6677 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6678 call vc-file-clearprops when true.
6679 (vc-resynch-buffer): Add new optional argument, pass it down.
6680 (vc-resynch-buffers-in-directory): Likewise.
6682 Improve support for special markup in the VC commit message.
6683 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6684 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6685 * vc-git.el (vc-git-checkin):
6686 * vc-bzr.el (vc-bzr-checkin): Likewise.
6688 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6690 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6691 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6693 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6695 * iimage.el: Remove images as soon as the underlying text is modified.
6696 (iimage-modification-hook): New function.
6697 (iimage-mode-buffer): Use it.
6699 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6701 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6702 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6703 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6704 (smie-indent-keyword): Add handling of open-paren keywords.
6705 (smie-indent-comment-continue): Don't assume comment-continue.
6707 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6709 * window.el (pop-to-buffer): Remove the conditional that
6710 compares new-window and old-window, so it will reselect
6711 the selected window unconditionally.
6712 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6714 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * emacs-lisp/smie.el (smie-indent-offset-after)
6717 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6718 (smie-indent-after-keyword): Use them.
6719 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6720 (smie-indent-keyword): Tweak the black magic.
6721 (smie-indent-comment-continue): Strip comment-continue before use.
6722 (smie-indent-functions): Indent comments before keywords.
6724 2010-06-06 Juri Linkov <juri@jurta.org>
6726 * isearch.el (isearch-lazy-highlight-search): Fix looping
6727 by checking for empty match. This syncs this loop with the
6728 similar loop in `isearch-search'. (Bug#6362)
6730 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6732 * net/dbus.el (dbus-register-method): Declare function.
6733 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6734 (dbus-introspect): Doc fix.
6735 (dbus-event-bus-name, dbus-introspect-get-interface)
6736 (dbus-introspect-get-argument): Reflow docstrings.
6738 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6740 vc-log-incoming/vc-log-outgoing fixes for Git.
6741 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6742 incoming/outgoing logs.
6743 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6744 instead of vc-git-compute-remote.
6745 (vc-git-compute-remote): Remove.
6747 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6749 * term/common-win.el (x-colors): Add "dark green" and "dark
6750 turquoise" (Bug#6332).
6752 2010-06-04 Juri Linkov <juri@jurta.org>
6754 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6755 Instead of setting `replace' to t and replacing the same string
6756 with itself, don't do certain actions when
6757 kill-do-not-save-duplicates is non-nil and string is equal to car
6758 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6759 interprogram-paste strings to kill-ring, and don't push the input
6760 argument `string' to kill-ring.
6761 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6763 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6765 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6767 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6769 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6770 (tramp-gvfs-handler-mounted-unmounted)
6771 (tramp-gvfs-connection-mounted-p): Handle default-location.
6773 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6774 move files to trash.
6776 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6778 * international/mule-cmds.el (nonascii-insert-offset)
6779 (nonascii-translation-table): Add obsolescence information.
6781 * international/mule.el (make-translation-table-from-vector): Doc fix.
6783 2010-06-03 Glenn Morris <rgm@gnu.org>
6785 * desktop.el (desktop-clear-preserve-buffers):
6786 Add "*Warnings*" buffer. (Bug#6336)
6788 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6790 vc-log-incoming/vc-log-outgoing improvements for Git.
6791 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6793 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6795 Add bindings for vc-log-incoming and vc-log-outgoing.
6796 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6797 and vc-log-outgoing.
6798 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6799 and vc-log-outgoing.
6801 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6803 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6804 (rcirc-handler-366): Always sort nicknames.
6806 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6808 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6810 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6812 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6814 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6816 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6817 (rcirc-sort-nicknames-join): Avoid setq.
6819 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6821 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6822 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6823 (rcirc-handler-366): Use them.
6825 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6827 Split smie-indent-calculate into more manageable chunks.
6828 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6829 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6830 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6831 (smie-indent-exps): Extract from smie-indent-calculate.
6832 (smie-indent-functions): New var.
6833 (smie-indent-functions): Use them.
6835 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6837 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6838 (smie-indent-calculate): Simplify and cleanup.
6840 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6842 * net/tramp-gvfs.el (top): Require url-util.
6843 (tramp-gvfs-mount-point): Remove.
6844 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6846 (with-tramp-dbus-call-method): Format trace message.
6847 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6848 Implement backup call, when operation on local files fails.
6849 Use progress reporter. Flush properties of changed files.
6850 (tramp-gvfs-handle-make-directory): Make more traces.
6851 (tramp-gvfs-url-file-name): Hexify file name in url.
6852 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6853 into account for the resulting file name.
6854 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6855 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6856 (tramp-gvfs-handler-mounted-unmounted)
6857 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6858 attribute "default_location". Set "prefix" property.
6859 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6860 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6861 exists. Raise an error, if not (due to a corresponding answer
6862 "no" in interactive questions, for example).
6864 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6866 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6868 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6870 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6873 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6875 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6876 * vc-git.el (vc-git-compute-remote): New function.
6877 (vc-git-log-outgoing): Use it instead of hard coding a value.
6878 (vc-git-log-incoming): New function.
6880 Improve state updating for VC tag commands.
6881 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6882 to update the state of all buffers in the directory.
6884 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6886 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6888 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6889 `file-directory-p' to the filename part rather than to the whole text.
6891 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6893 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6895 2010-05-31 Drew Adams <drew.adams@oracle.com>
6897 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6899 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6901 * subr.el (momentary-string-display): Just use read-event to read
6902 the exit event (Bug#6238).
6904 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6906 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6908 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6910 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6911 Suggested by Eli Zaretskii <eliz@gnu.org>.
6913 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6915 * minibuffer.el (completion-file-name-table): Don't return a boundary
6916 past the end of `string' (bug#6299).
6917 (completion--file-name-table): Delegate to completion-file-name-table
6918 for the `boundaries' case.
6920 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6922 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6925 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6926 `path-separator', but maintain compatibility with Emacs 20.2.
6928 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6930 * server.el (server-process-filter): Receive parent-id argument
6932 (server-create-window-system-frame): New arg. Pass parent-id as
6935 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6937 Bidi-sensitive word movement with arrow keys.
6938 * subr.el (right-arrow-command, left-arrow-command): Move to
6941 * bindings.el (right-char, left-char): Move from subr.el and
6942 rename from right-arrow-command and left-arrow-command.
6943 (right-word, left-word): New functions.
6944 (global-map) <right>: Bind to right-char.
6945 (global-map) <left>: Bind to left-char.
6946 (global-map) <C-right>: Bind to right-word.
6947 (global-map) <C-left>: Bind to left-word.
6949 * ls-lisp.el (ls-lisp-classify-file): New function.
6950 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6951 (ls-lisp-classify): Call ls-lisp-classify-file.
6952 (insert-directory): Remove blanks from switches.
6954 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6956 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6957 (ansi-color-drop-regexp): New constant.
6958 (ansi-color-apply, ansi-color-filter-region)
6959 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6960 (ansi-color-apply): Build string list before calling concat.
6962 2010-05-28 Juri Linkov <juri@jurta.org>
6964 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6965 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6968 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6970 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6971 to ignored backtrace functions.
6972 (with-progress-reporter): Expand docstring.
6973 (tramp-handle-delete-file): Implement TRASH argument.
6974 (tramp-get-remote-trash): New defun.
6976 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
6978 * net/tramp-compat.el (tramp-compat-delete-file):
6979 Use `symbol-value' for backward compatibility.
6981 * net/tramp.el (tramp-handle-make-symbolic-link)
6983 (tramp-do-copy-or-rename-file-via-buffer)
6984 (tramp-do-copy-or-rename-file-directly)
6985 (tramp-do-copy-or-rename-file-out-of-band)
6986 (tramp-handle-process-file, tramp-handle-call-process-region)
6987 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6988 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6989 (tramp-delete-temp-file-function): Use `delete-file' instead
6990 of `tramp-compat-delete-file'.
6992 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6993 (tramp-fish-handle-make-symbolic-link)
6994 (tramp-fish-handle-process-file): Use `delete-file' instead
6995 of `tramp-compat-delete-file'.
6997 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6998 Use `delete-file' instead of `tramp-compat-delete-file'.
7000 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7001 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7002 `tramp-compat-delete-file'.
7004 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7005 Use `delete-file' instead of `tramp-compat-delete-file'.
7007 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7008 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7009 (tramp-smb-handle-write-region): Use `delete-file' instead of
7010 `tramp-compat-delete-file'.
7011 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7013 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7015 * dired.el (dired-delete-file): New arg TRASH.
7016 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7017 (dired-do-flagged-delete, dired-do-delete): Use trash.
7019 * speedbar.el (speedbar-item-delete): Allow trashing.
7021 * files.el (delete-directory): New arg TRASH.
7023 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7024 (ange-ftp-rename-remote-to-remote)
7025 (ange-ftp-rename-local-to-remote)
7026 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7027 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7029 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7032 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7033 handle new TRASH arg of `delete-file'.
7035 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7036 (tramp-handle-make-symbolic-link, tramp-handle-load)
7037 (tramp-do-copy-or-rename-file-via-buffer)
7038 (tramp-do-copy-or-rename-file-directly)
7039 (tramp-do-copy-or-rename-file-out-of-band)
7040 (tramp-handle-process-file, tramp-handle-call-process-region)
7041 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7042 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7043 (tramp-delete-temp-file-function): Use null TRASH arg in
7044 tramp-compat-delete-file call.
7046 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7047 (tramp-fish-handle-delete-file)
7048 (tramp-fish-handle-make-symbolic-link)
7049 (tramp-fish-handle-process-file): Use null TRASH arg in
7050 `tramp-compat-delete-file' call.
7052 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7053 arg in `tramp-compat-delete-file' call.
7055 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7056 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7057 `tramp-compat-delete-file' call.
7059 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7060 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7061 `tramp-compat-delete-file' call.
7063 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7064 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7065 (tramp-smb-handle-write-region): Use null TRASH arg in
7066 tramp-compat-delete-file call.
7067 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7068 (tramp-smb-handle-delete-file): Rename arg.
7070 * diff.el (diff-sentinel):
7071 * epg.el (epg--make-temp-file, epg-decrypt-string)
7072 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7073 * jka-compr.el (jka-compr-partial-uncompress)
7074 (jka-compr-call-process, jka-compr-write-region):
7075 * server.el (server-sentinel): Remove optional arg from
7076 delete-file, reverting 2010-05-03 change.
7078 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7080 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7081 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7083 2010-05-27 Kenichi Handa <handa@m17n.org>
7085 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7086 element of GSTRING is nil.
7088 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7090 * emacs-lisp/smie.el (smie-forward-token-function)
7091 (smie-backward-token-function): New vars.
7092 (smie-backward-sexp, smie-forward-sexp)
7093 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7094 (smie-default-backward-token): Rename from smie-backward-token and
7096 (smie-default-forward-token): Rename from smie-forward-token and
7098 (smie-next-sexp): Handle nil results from next-token.
7099 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7101 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7103 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7104 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7106 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7108 * htmlfontify.el (hfy-face-resolve-face): New function.
7109 (hfy-face-to-style): Use it (Bug#6279).
7111 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7113 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7114 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7116 2010-05-26 Glenn Morris <rgm@gnu.org>
7118 * emulation/edt.el (edt-load-keys): Use locate-library.
7120 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7122 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7123 (log-edit-changelog-entries): Doc fix.
7124 (log-edit-changelog-insert-entries): Args changed.
7125 Rename relative filenames in ChangeLog entries. Delete tabs.
7126 (log-edit-insert-changelog-entries): Reorganize return value of
7127 `log-edit-changelog-entries' to pass filenames to
7128 log-edit-changelog-insert-entries.
7130 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7132 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7133 `image-dired-dired-insert-marked-thumbs' to
7134 `image-dired-dired-toggle-marked-thumbs'.
7136 * image-dired.el: Require cl when compiling.
7137 (image-dired-dired-toggle-marked-thumbs): Rename from
7138 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7139 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7140 to 'no-dir. Skip files whose names don't match
7141 `image-file-name-regexp'. When file has a thumbnail overlay,
7142 delete it. (Bug#5270)
7144 2010-05-25 Juri Linkov <juri@jurta.org>
7146 * image-mode.el (image-mode): Add image-after-revert-hook to
7148 (image-after-revert-hook): New function. (Bug#5669)
7150 2010-05-25 Juri Linkov <juri@jurta.org>
7152 * image.el (image-animated-p): When delay between animated images
7153 is 0, set it to 10 (0.1 sec). (Bug#6258)
7155 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7157 * net/tramp.el (tramp-handle-insert-directory): Don't use
7158 `forward-word', its default syntax could be changed.
7160 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7162 * net/tramp.el (tramp-progress-reporter-update): New defun.
7163 (with-progress-reporter): Use it.
7164 (tramp-process-actions):
7165 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7166 Preserve current message, in order to let progress reporter continue
7167 afterwards. (Bug#6257)
7169 2010-05-25 Glenn Morris <rgm@gnu.org>
7171 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7174 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7176 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7177 (rcirc-default-full-name): Change to "unknown".
7178 (rcirc-user-name-history): Add variable.
7180 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7181 Jonathan Rockway <jon@jrock.us>
7183 * net/rcirc.el (rcirc-server-alist): Add :pass.
7184 (rcirc): When prompting for connection parameters, also prompt for
7185 username and password.
7186 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7187 value to server when connecting.
7189 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7192 (smie-merge-prec2s): Pass the tables as separate args.
7193 (smie-bnf-precedence-table): Adjust call accordingly.
7194 (smie-prec2-levels): Set levels at the end.
7196 Replace Lisp calls to delete-backward-char by delete-char.
7197 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7198 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7199 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7200 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7201 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7202 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7203 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7204 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7205 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7206 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7207 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7208 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7209 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7210 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7211 delete-backward-char by calls to delete-char.
7213 2010-05-25 Kenichi Handa <handa@m17n.org>
7215 * language/hebrew.el (hebrew-shape-gstring): New function.
7216 Register it in composition-function-table for all Hebrew combining
7219 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * epa.el (epa--select-keys): Don't explicitly delete the window since
7222 that can fail (e.g. sole window in frame). Use dedication instead.
7224 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7226 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7228 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7230 * image.el (image-refresh): Define as an alias for image-flush.
7232 * image-mode.el (image-toggle-display-image): Caller changed.
7234 2010-05-21 Juri Linkov <juri@jurta.org>
7236 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7237 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7238 whitespace, call wildcard-to-regexp on substrings and concat them
7239 with "\\|". (Bug#6114)
7241 2010-05-21 Alan Mackenzie <acm@muc.de>
7243 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7244 Replace parameter `here' with `here-' and `here-plus', which sandwich
7245 any pertinent CPP construct.
7246 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7247 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7248 CPP construct from taking part in the scanning.
7250 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7252 * net/tramp.el (tramp-do-copy-or-rename-file)
7253 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7254 Tune `with-progress-reporter' messages.
7255 (tramp-handle-vc-registered):
7256 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7257 (tramp-fish-handle-insert-file-contents)
7258 (tramp-fish-maybe-open-connection):
7259 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7260 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7261 (tramp-imap-handle-insert-file-contents)
7262 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7264 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7266 * add-log.el (change-log-font-lock-keywords):
7267 Highlight all authors in multi-author entries.
7269 * smerge-mode.el (smerge-refine-ignore-whitespace)
7270 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7271 Fix typos in docstrings.
7272 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7274 2010-05-21 Glenn Morris <rgm@gnu.org>
7276 * progmodes/fortran.el (fortran-mode):
7277 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7279 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7280 having a relative path in src/Makefile.in.
7282 2010-05-20 Kevin Ryde <user42@zip.com.au>
7284 * help-mode.el (help-make-xrefs): For Info node links turn
7285 newlines into spaces. Link node names with newlines are matched
7286 by help-xref-info-regexp and buttonized, this change ensures they
7287 can be followed successfully with RET. (Bug#6206)
7289 2010-05-20 Juri Linkov <juri@jurta.org>
7291 * locate.el (locate): Use pop-to-buffer instead of
7292 switch-to-buffer-other-window. (Bug#6204)
7294 2010-05-20 Juri Linkov <juri@jurta.org>
7296 * replace.el (replace-highlight): Fix lazy-highlighting
7297 for `M-s w str M-% str RET'.
7299 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7301 * isearch.el (isearch-yank-word-or-char): Pull next subword
7302 when `subword-mode' is activated. (Bug#6220)
7304 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7306 * isearch.el (isearch-update-post-hook): New hook.
7307 (isearch-update): Use the new hook. (Bug#6225)
7309 2010-05-20 Juri Linkov <juri@jurta.org>
7311 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7312 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7315 2010-05-20 Juri Linkov <juri@jurta.org>
7317 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7320 2010-05-20 Juri Linkov <juri@jurta.org>
7322 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7323 FILE-NAME to read from the minibuffer when called interactively
7324 with prefix argument instead of using buffer-file-name.
7325 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7327 * dired.el: Update autoloads.
7329 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7331 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7332 nxml-finish-element, for consistency with SGML mode.
7334 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7337 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7339 * composite.el: Require cl when compiling.
7340 (reference-point-alist, compose-gstring-for-graphic)
7341 (compose-gstring-for-terminal): Fix typos in docstrings.
7343 2010-05-19 Juri Linkov <juri@jurta.org>
7345 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7346 set-window-parameter.
7348 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7350 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7352 (tramp-maybe-open-connection): Use it.
7354 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7356 * simple.el (move-end-of-line): Make sure we are at line beginning
7357 before backing up to end of previous line.
7359 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7361 * password-cache.el (password-cache-remove): Fix docstring.
7363 * net/secrets.el: Autoload the widget functions.
7364 (secrets-search-items, secrets-create-item)
7365 (secrets-get-attributes, secrets-expand-item): Attributes will be
7366 stored on the password database without leading ":", as all other
7368 (secrets-mode): Fix docstring.
7369 (secrets-show-secrets): Provide it as autoloaded command only when
7370 D-Bus support is available. Check existence of Secret Service API.
7372 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7374 * indent.el (indent-region): Deactivate region (bug#6200).
7376 2010-05-19 Glenn Morris <rgm@gnu.org>
7378 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7380 2010-05-19 Kenichi Handa <handa@m17n.org>
7382 * composite.el: Register compose-gstring-for-graphic in
7383 composition-function-table only for combining characters (Mn, Mc, Me).
7385 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7387 * calc/calc-trail.el (calc-trail-isearch-forward)
7388 (calc-trail-isearch-backward): Ensure that the new window
7389 point is set correctly.
7391 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7393 * subr.el (read-quoted-char): Resolve modifiers after key
7394 remapping (bug#6212).
7396 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7398 Add visualization code for secrets.
7399 * net/secrets.el (secrets-mode): New major mode.
7400 (secrets-show-secrets, secrets-show-collections)
7401 (secrets-expand-collection, secrets-expand-item)
7402 (secrets-tree-widget-after-toggle-function)
7403 (secrets-tree-widget-show-password): New defuns.
7405 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7407 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7408 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7409 handled in smie-next-sexp.
7410 (smie-indent-calculate): Provide a starting indentation (so the
7411 recursion is well-founded ;-).
7413 Fix handling of non-associative equal levels.
7414 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7415 when it's not needed.
7416 (smie-op-left, smie-op-right): New functions.
7417 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7418 Better handle equal levels to distinguish the associative case from
7419 the "multi-keyword construct" case.
7420 (smie-backward-sexp, smie-forward-sexp): Use it.
7422 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7424 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7426 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7427 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7429 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7431 Provide a simple generic indentation engine and use it for Prolog.
7432 * emacs-lisp/smie.el: New file.
7433 * progmodes/prolog.el (prolog-smie-op-levels)
7434 (prolog-smie-indent-rules): New var.
7435 (prolog-mode-variables): Use them to configure SMIE.
7436 (prolog-indent-line, prolog-indent-level): Remove.
7438 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7440 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7441 order before computing the averages.
7443 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7445 * calc/calc-vec.el (calc-histogram):
7446 (calcFunc-histogram): Allow vectors as inputs.
7447 (math-vector-avg): New function.
7449 * calc/calc-ext.el (math-group-float): Have the number of digits
7450 being grouped depend on the radix (Bug#6189).
7452 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7454 * version.el (emacs-copyright, emacs-version): Don't define here,
7455 now that emacs.c defines it.
7457 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7459 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7460 "Describe Language Environment" menu item.
7462 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7464 Bidi-sensitive movement with arrow keys.
7465 * subr.el (right-arrow-command, left-arrow-command): New functions.
7467 * bindings.el (global-map): Bind them to right and left arrow keys.
7469 Don't override standard definition of convert-standard-filename.
7470 * files.el (convert-standard-filename):
7471 Call w32-convert-standard-filename and dos-convert-standard-filename on
7472 the corresponding systems.
7474 * w32-fns.el (w32-convert-standard-filename): Rename from
7475 convert-standard-filename. Doc fix.
7477 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7478 (convert-standard-filename): Don't defalias.
7479 (register-name-alist, make-register, register-value)
7480 (set-register-value, intdos): Obsolete aliases for the
7481 corresponding dos-* functions and variables.
7482 (dos-intdos): Add a doc string.
7484 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7486 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7487 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7488 (math-compose-tex-func):
7489 * calc/calccomp.el (math-compose-expr):
7490 * calc/calc-ext.el (math-format-flat-expr-fancy):
7491 * calc/calc-store.el (calc-read-var-name):
7492 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7494 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7495 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7496 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7497 (math-standard-units): Add units.
7499 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7501 * progmodes/asm-mode.el (asm-mode):
7502 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7504 * pcomplete.el (pcomplete-completions-at-point): New function,
7505 extracted from pcomplete-std-complete.
7506 (pcomplete-std-complete): Use it.
7508 2010-05-15 Glenn Morris <rgm@gnu.org>
7510 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7511 Remove references to CVS, RCS and Old directories.
7513 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7515 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7518 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7520 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7521 (sh-mode-syntax-table): Give it a default value instead.
7522 (sh-header-marker): Make buffer-local.
7523 (sh-mode): Move make-local-variable to the corresponding setq.
7524 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7525 Use complete-with-action.
7527 * simple.el (prog-mode): New (abstract) major mode.
7528 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7529 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7531 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7533 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7534 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7535 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7536 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7537 (sql-escape-newlines-filter, sql-input-sender)
7538 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7540 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7542 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7544 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7545 latex-open-block and C-c / to latex-close-block.
7547 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7548 and C-c C-e to sgml-close-tag.
7550 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7552 * net/tramp.el (with-progress-reporter): Create reporter object
7553 only when the message would be displayed. Handle nested calls.
7554 (tramp-handle-load, tramp-handle-file-local-copy)
7555 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7556 (tramp-maybe-send-script, tramp-find-shell):
7557 Use `with-progress-reporter'.
7558 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7561 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7562 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7563 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7564 Use `with-progress-reporter'.
7566 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7568 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7569 process everytime when spellchecking from the minibuffer (bug#6143).
7571 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7573 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7575 * dos-fns.el: Add "dos-" prefix for namespace control.
7576 (convert-standard-filename): Define as alias for
7577 dos-convert-standard-filename but only if applicable.
7579 2010-05-12 Alan Mackenzie <acm@muc.de>
7581 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7582 Push the mark at the start of these functions when appropriate.
7584 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7586 * minibuffer.el (completion-cycle-threshold): New custom var.
7587 (completion--do-completion): Use it.
7588 (minibuffer-complete): Use cycling if appropriate.
7590 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7592 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7593 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7595 2010-05-11 Juri Linkov <juri@jurta.org>
7597 * scroll-all.el (scroll-all-check-to-scroll):
7598 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7600 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * iimage.el (iimage-mode-map): Move initialization into declaration.
7603 (iimage-mode-buffer): Use with-silent-modifications.
7604 Simplify calling convention. Adjust callers.
7605 (iimage-mode): Don't run hook redundantly.
7607 * minibuffer.el (completion-pcm--pattern->regex):
7608 Fix last change (bug#6160).
7610 2010-05-10 Juri Linkov <juri@jurta.org>
7612 Remove nodes visited during Isearch from the Info history.
7613 * info.el (Info-isearch-initial-history)
7614 (Info-isearch-initial-history-list): New variables.
7615 (Info-isearch-start): Record initial values of
7616 Info-isearch-initial-history and Info-isearch-initial-history-list.
7617 Add Info-isearch-end to isearch-mode-end-hook.
7618 (Info-isearch-end): New function.
7620 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7622 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7623 format string, in order to work around a bug in pdksh.
7624 Reported by Gilles Pion <gpion@lfdj.com>.
7625 (tramp-handle-verify-visited-file-modtime): Do not send a command
7626 when the connection is not established.
7627 (tramp-handle-set-file-times): Simplify the check for utc.
7629 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7631 Fix use of `filter-buffer-substring' (rework previous change).
7632 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7633 (cua-repeat-replace-region):
7634 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7635 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7636 (cua-cut-region-to-global-mark): Use it.
7638 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7640 * progmodes/sql.el: Version 2.1.
7641 (sql-product-alist): Redesign structure of product info.
7642 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7643 (sql-port, sql-port-history): New variables.
7644 (sql-interactive-product): New variable.
7645 (sql-send-terminator): New variable.
7646 (sql-imenu-generic-expression): Add "Types" imenu entry.
7647 (sql-oracle-login-params, sql-sqlite-login-params)
7648 (sql-mysql-login-params, sql-solid-login-params)
7649 (sql-sybase-login-params, sql-informix-login-params)
7650 (sql-ingres-login-params, sql-ms-login-params)
7651 (sql-postgres-login-params, sql-interbase-login-params)
7652 (sql-db2-login-params, sql-linter-login-params)
7653 (sql-oracle-scan-on): New variables.
7654 (sql-mode-map): Add C-c C-i to start interactive mode.
7655 (sql-mode-menu): Update existing menu entries.
7656 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7657 (sql-mode-oracle-font-lock-keywords)
7658 (sql-mode-postgres-font-lock-keywords)
7659 (sql-mode-ms-font-lock-keywords)
7660 (sql-mode-sybase-font-lock-keywords)
7661 (sql-mode-informix-font-lock-keywords)
7662 (sql-mode-interbase-font-lock-keywords)
7663 (sql-mode-ingres-font-lock-keywords)
7664 (sql-mode-solid-font-lock-keywords)
7665 (sql-mode-mysql-font-lock-keywords)
7666 (sql-mode-sqlite-font-lock-keywords)
7667 (sql-mode-db2-font-lock-keywords)
7668 (sql-mode-linter-font-lock-keywords): Update initialization to
7669 reduce run-time complexity.
7670 (sql-add-product, sql-del-product): New functions.
7671 (sql-set-product-feature, sql-get-product-feature): New functions.
7672 (sql-product-font-lock): Update product API.
7673 (sql-add-product-keywords): New function.
7674 (sql-highlight-product): Update product API.
7675 (sql-help-list-products): New function.
7676 (sql-help): Dynamically lists free and non-free products.
7677 (sql-get-login): Correct bug in handling history and added
7679 (sql-copy-column): Copy without properties.
7680 (sqli-input-sender): Apply filters to SQLi input.
7681 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7682 Implement as a filter.
7683 (sql-escape-newlines-filter): Implement as a filter.
7684 (sql-remove-tabs-filter): New function.
7685 (sql-send-magic-terminator): New function.
7686 (sql-send-string): Implement magic terminator.
7687 (sql-send-region): Use `sql-send-string'.
7688 (sql-interactive-mode): Use product API.
7689 (sql-product-interactive): Use product API.
7690 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7691 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7692 (sql-db2, sql-linter): Use `sql-product-interactive'.
7693 (sql-connect): New function.
7694 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7695 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7696 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7697 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7700 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7702 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7703 New custom variable.
7704 (completion-pcm--string->pattern): Use it.
7705 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7706 Make it handle any symbol as `any'.
7707 (completion-pcm--merge-completions): Extract common suffix for the new
7708 `prefix' symbol as well.
7709 (completion-substring--all-completions): Use the new `prefix' symbol.
7711 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7713 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7715 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7716 (tramp-compat-funcall): New defmacro.
7717 (tramp-compat-line-beginning-position)
7718 (tramp-compat-line-end-position)
7719 (tramp-compat-temporary-file-directory)
7720 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7721 (tramp-compat-copy-file, tramp-compat-copy-directory)
7722 (tramp-compat-delete-file, tramp-compat-delete-directory)
7723 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7724 * net/tramp.el (top, with-progress-reporter)
7725 (tramp-rfn-eshadow-setup-minibuffer)
7726 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7727 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7728 (tramp-completion-mode-p, tramp-check-for-regexp)
7729 (tramp-open-connection-setup-interactive-shell)
7730 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7731 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7732 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7733 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7734 (tramp-reporter-dump-variable, tramp-load-report-modules)
7735 (tramp-append-tramp-buffers)
7736 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7738 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7740 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7742 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7743 buffer-modtime. Adjust users.
7745 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7747 * international/mule.el (auto-coding-alist): Only purecopy
7748 car of each item, not the whole list (Bug#6083).
7750 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7752 * progmodes/js.el (js-mode): Make paragraph variables local before
7753 calling c-setup-paragraph-variables (Bug#6071).
7755 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7757 * composite.el (compose-region, reference-point-alist): Fix typos
7760 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7762 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7763 gnuplot's "set" command.
7765 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7767 * abbrev.el (last-abbrev-text): Doc fix.
7768 (abbrev-prefix-mark): Don't escape parenthesis.
7770 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7772 * composite.el (find-composition): Doc fix.
7774 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7776 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7777 (sql-oracle-program, sql-sqlite-options)
7778 (sql-query-placeholders-and-send): Doc fixes.
7779 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7780 (sql-imenu-generic-expression, sql-buffer)
7781 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7782 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7783 (sql-mode-sybase-font-lock-keywords)
7784 (sql-mode-informix-font-lock-keywords)
7785 (sql-mode-interbase-font-lock-keywords)
7786 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7787 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7788 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7789 (sql-product-feature, sql-highlight-product)
7790 (comint-line-beginning-position, sql-rename-buffer)
7791 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7792 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7793 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7794 Fix typos in docstrings.
7796 2010-05-08 Juri Linkov <juri@jurta.org>
7798 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7799 property instead of `invisible' and `after-string' (bug#5998).
7801 2010-05-08 Juri Linkov <juri@jurta.org>
7803 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7805 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7807 * filecache.el (file-cache-add-directory-list)
7808 (file-cache-add-directory-recursively): Fix typos in docstrings.
7810 2010-05-08 Kenichi Handa <handa@m17n.org>
7812 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7813 (gujarati-composable-pattern): Fix typo.
7815 2010-05-08 Kenichi Handa <handa@m17n.org>
7817 * language/indian.el (oriya-composable-pattern)
7818 (tamil-composable-pattern, malayalam-composable-pattern):
7819 Add two-part vowels to "v" (vowel sign).
7821 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7823 * files.el (copy-directory): Handle symlinks (Bug#5982).
7825 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7827 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7828 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7831 2010-05-08 Glenn Morris <rgm@gnu.org>
7833 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7835 * minibuffer.el (completion-at-point): Doc fix.
7837 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * electric.el (Electric-command-loop): Minor tweak.
7841 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7842 better with dedicated windows.
7844 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7846 * Version 23.2 released.
7848 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7849 Stefan Monnier <monnier@iro.umontreal.ca>
7851 Highlight vendor specific properties.
7852 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7853 (css-proprietary-property): New face.
7854 (css-font-lock-keywords): Use them.
7856 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7858 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7860 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7862 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7863 * files.el (auto-mode-alist): Remove redundant entries.
7865 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7866 * simple.el (auto-save-mode): Move from files.el.
7867 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7869 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7871 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7873 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7875 * mail/binhex.el (binhex-decode-region-internal)
7876 * mail/uudecode.el (uudecode-decode-region-internal)
7877 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7878 (dns-read-type, dns-query)
7879 * pgg-parse.el (pgg-parse-armor)
7880 * pgg.el (pgg-verify-region)
7881 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7884 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7886 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7888 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7890 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7891 * emulation/cua-base.el (cua-repeat-replace-region):
7892 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7893 (cua-cut-region-to-global-mark):
7894 Remove text properties with `set-text-properties'.
7896 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7898 * net/tramp.el (top, with-progress-reporter):
7899 Use `symbol-function' inside `funcall'.
7901 * net/tramp-compat.el (tramp-compat-file-attributes)
7902 (tramp-compat-delete-file, tramp-compat-delete-directory):
7903 Handle only `wrong-number-of-arguments' error.
7905 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7906 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7909 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7911 * minibuffer.el (completion--sreverse, completion--common-suffix):
7913 (completion-pcm--merge-completions): Extract common suffix when safe.
7915 * emacs-lisp/easy-mmode.el (define-minor-mode):
7916 Make :variable more flexible.
7917 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7919 2010-05-05 Juri Linkov <juri@jurta.org>
7921 Add `slow' and `history' tags to the desktop data.
7923 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7924 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7925 (Info-finder-find-node): Require `finder.el' to be able
7926 to restore node from the desktop.
7927 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7928 data `Info-history' and `slow' tag in the assoc list.
7929 (Info-restore-desktop-buffer): Don't restore nodes with the
7930 `slow' tag. Restore `Info-history'.
7932 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7934 Add FORCE argument to `delete-file'.
7936 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7937 forcing to delete the temporary file.
7938 (ange-ftp-delete-file): Add FORCE arg.
7939 (ange-ftp-rename-remote-to-remote)
7940 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7941 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7942 Force file deletion.
7944 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7946 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7947 (tramp-handle-make-symbolic-link, tramp-handle-load)
7948 (tramp-do-copy-or-rename-file-via-buffer)
7949 (tramp-do-copy-or-rename-file-directly)
7950 (tramp-do-copy-or-rename-file-out-of-band)
7951 (tramp-handle-process-file, tramp-handle-call-process-region)
7952 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7953 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7954 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7956 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7957 (tramp-fish-handle-make-symbolic-link)
7958 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7960 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7961 Use `tramp-compat-delete-file'.
7963 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7964 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7966 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7967 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7969 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7970 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7971 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7972 Use `tramp-compat-delete-file'.
7974 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7977 * subr.el (add-minor-mode): Use push.
7978 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7979 * emulation/edt.el (edt-select-mode): Simplify.
7981 Use define-minor-mode in more cases.
7982 * term/tvi970.el (tvi970-set-keypad-mode):
7983 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7984 (normal-erase-is-backspace-mode):
7985 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7986 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7987 (get-scroll-bar-mode): New function.
7988 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7990 Use define-minor-mode for less obvious cases.
7991 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7992 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7993 * international/iso-ascii.el (iso-ascii-mode):
7994 * frame.el (auto-raise-mode, auto-lower-mode):
7995 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7997 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
7999 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8000 in order to see error messages for failed logins.
8002 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8004 * diff.el (diff-sentinel):
8006 * epg.el (epg--make-temp-file, epg-decrypt-string)
8007 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8009 * jka-compr.el (jka-compr-partial-uncompress)
8010 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8012 * server.el (server-sentinel): Use delete-file's new FORCE arg
8015 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8017 Use define-minor-mode where applicable.
8018 * view.el (view-mode):
8019 * type-break.el (type-break-query-mode)
8020 (type-break-mode-line-message-mode):
8021 * textmodes/reftex.el (reftex-mode):
8022 * term/vt100.el (vt100-wide-mode):
8023 * tar-mode.el (tar-subfile-mode):
8024 * savehist.el (savehist-mode):
8025 * ibuf-ext.el (ibuffer-auto-mode):
8026 * composite.el (auto-composition-mode):
8027 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8028 Use define-minor-mode.
8029 (vhdl-mode): Use static mode-line format.
8030 (vhdl-mode-line-update): Delete.
8031 (vhdl-create-mode-menu, vhdl-activate-customizations)
8032 (vhdl-hs-minor-mode): Don't bother calling it.
8034 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8036 * simple.el (with-wrapper-hook): Move.
8037 (buffer-substring-filters): Mark obsolete.
8038 (filter-buffer-substring-functions): New variable.
8039 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8041 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8042 Michael Albinus <michael.albinus@gmx.de>
8044 Implement compression for inline methods.
8046 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8047 (tramp-copy-size-limit): Allow also nil.
8048 (tramp-inline-compress-commands): New defconst.
8049 (tramp-find-inline-compress, tramp-get-inline-compress)
8050 (tramp-get-inline-coding): New defuns.
8051 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8052 replaced by `tramp-get-inline-coding'.
8053 (tramp-handle-file-local-copy, tramp-handle-write-region)
8054 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8056 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8058 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8059 Remove unused functions.
8061 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8062 Set find-tag-default-function as a variable rather than a property.
8064 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8065 * progmodes/etags.el (tags-completion-at-point-function):
8066 Remove left over interactive spec. Add autoloading stub.
8067 (complete-tag): Use tags-completion-at-point-function.
8069 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8071 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8073 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8075 * ido.el (ido-init-completion-maps): Remove C-v binding.
8076 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8078 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8080 * minibuffer.el (tags-completion-at-point-function): New function.
8081 (completion-at-point-functions): Use it.
8083 * progmodes/etags.el (complete-tag): Revert last change.
8085 2010-04-29 Alan Mackenzie <acm@muc.de>
8087 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8088 off-by-one error (in end of macro position).
8090 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8092 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8093 firefox is absent. Don't autoload.
8094 (browse-url-galeon-program): Don't autoload.
8096 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8098 * bindings.el (complete-symbol): Move into minibuffer.el.
8100 * minibuffer.el (complete-tag): Move from etags.el. If tags
8101 completion cannot be performed, return nil instead of signalling
8103 (completion-at-point): Make it an alias for complete-symbol.
8104 (complete-symbol): Move from bindings.el, and replace with the
8105 body of completion-at-point.
8107 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8109 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8111 * net/tramp.el (tramp-remote-selinux-p): New defun.
8112 (tramp-handle-file-selinux-context)
8113 (tramp-handle-set-file-selinux-context): Use it.
8115 2010-04-28 Sam Steingold <sds@gnu.org>
8117 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8118 `safe-local-variable' if the value is a string or a symbol with
8119 the property `bug-reference-url-format'.
8121 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8123 * progmodes/bug-reference.el (bug-reference-url-format):
8124 Revert 2010-04-27 change due to security risk.
8126 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8128 Make it possible to locally disable a globally enabled mode.
8129 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8130 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8131 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8132 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8133 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8134 that subsequent hooks get a chance to disable it.
8136 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8139 Avoid re-enabling a minor mode after the user turned the minor mode
8140 off if MODE-enable-in-buffers is run twice (typically once from
8141 fundamental-mode's after-change-major-mode-hook and a second time from
8142 run-mode-hook's own after-change-major-mode-hook).
8144 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8146 2010-04-27 Sam Steingold <sds@gnu.org>
8148 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8149 `safe-local-variable' if the value is a string or a function, as
8150 documented and implemented on 2010-04-02.
8152 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8154 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8155 when method is 'kill.
8157 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8159 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8160 condition in default directory check.
8161 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8162 Kill ispell process when killing its associated buffer.
8164 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8166 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8167 but we aren't using it.
8169 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8171 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8172 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8174 2010-04-24 Glenn Morris <rgm@gnu.org>
8176 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8177 Ignore VCS-ignore files, and deleted nextstep preferences files.
8178 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8179 (authors-ambiguous-files): New list.
8180 (authors-valid-file-names): Add some deleted files.
8181 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8182 (authors-disambiguate-file-name): New function. (Bug#5501)
8183 (authors-canonical-file-name): Doc fix.
8184 Don't warn about obsolete files.
8185 (authors-canonical-file-name, authors-scan-el):
8186 Use authors-disambiguate-file-name.
8188 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8189 Add autoload cookies.
8190 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8191 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8192 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8193 They have definitions / compiler macros in cl.el.
8194 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8195 Replace manual autoloads with generated ones.
8196 (htmlfontify-unload-rgb-file): Remove autoload.
8197 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8199 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8201 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8202 (byte-compile-setq-default): Optimize for the
8203 single-var case and don't call byte-compile-form in this case to avoid
8204 inf-loop with byte-compile-set-default.
8206 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8208 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8210 Implement SELINUX backends.
8212 * net/tramp.el (tramp-file-name-handler-alist):
8213 Add `file-selinux-context' and `set-file-selinux-context'.
8214 (tramp-handle-file-selinux-context)
8215 (tramp-handle-set-file-selinux-context): New defuns.
8216 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8217 Handle PRESERVE-SELINUX-CONTEXT.
8219 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8220 Add `file-selinux-context' and `set-file-selinux-context'.
8221 (tramp-gvfs-handle-file-selinux-context)
8222 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8223 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8225 * net/ange-ftp.el (ange-ftp-copy-file):
8226 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8227 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8228 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8229 Add PRESERVE-SELINUX-CONTEXT.
8231 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8233 Synchronize with Tramp repository.
8235 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8236 (tramp-action-process-alive, tramp-action-out-of-band)
8237 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8238 (tramp-exists-file-name-handler): Fix docstring.
8239 (with-progress-reporter): New defmacro.
8240 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8241 (tramp-maybe-open-connection): Use it.
8243 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8245 Detect ssh 'ControlMaster' argument automatically in some cases.
8247 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8248 (tramp-default-method): Use it.
8250 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8252 * net/tramp.el (tramp-handle-copy-file): Add new optional
8253 parameter `preserve-selinux-context'.
8254 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8256 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8258 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8259 Ensure, that non remote files are still checked. Oops.
8261 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8265 * icomplete.el (icomplete-completions): Use `non-essential'.
8267 * net/tramp.el (tramp-connectable-p): New defun.
8268 (tramp-handle-expand-file-name)
8269 (tramp-completion-handle-file-name-all-completions)
8270 (tramp-completion-handle-file-name-completion): Use it.
8272 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8274 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8276 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8278 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8280 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8282 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8285 * info.el (info-tool-bar-map): Add labels.
8287 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8289 * cus-edit.el (custom-commands): Add labels for tool bar.
8290 (custom-buffer-create-internal, Custom-mode): Adjust for
8291 labels in custom-commands.
8293 * dynamic-setting.el: Renamed from font-setting.el.
8295 2010-04-21 John Wiegley <jwiegley@gmail.com>
8297 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8298 toggles the use of virtual buffers.
8299 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8300 (ido-toggle-virtual-buffers): New function.
8302 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8304 Use `define-derived-mode'; fix window selection; doc fixes.
8305 * play/tetris.el (tetris, tetris-update-speed-function)
8306 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8307 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8308 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8309 (tetris-pause-game): Fix typos in docstrings.
8310 (tetris-mode-map, tetris-null-map):
8311 Move initialization into declaration.
8312 (tetris-mode): Define with `define-derived-mode';
8313 set show-trailing-whitespace to nil.
8314 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8316 2010-04-21 Karel Klíč <kklic@redhat.com>
8318 * files.el (backup-buffer): Handle SELinux context, and return it
8319 if a backup was made by renaming.
8320 (backup-buffer-copy): Set SELinux context to the target file.
8321 (basic-save-buffer): Set SELinux context of the newly written file.
8322 (basic-save-buffer-1): Now it also returns any SELinux context.
8323 (basic-save-buffer-2): Set SELinux context of the newly created file,
8325 * net/tramp.el (tramp-file-name-for-operation):
8326 Add file-selinux-context.
8328 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8330 Make the log-edit comments use RFC822 format throughout.
8332 * vc.el (vc-checkin, vc-modify-change-comment):
8333 Adjust to new vc-start/finish-logentry.
8334 (vc-find-conflicted-file): New command.
8335 (vc-transfer-file): Adjust to new vc-checkin.
8336 (vc-next-action): Improve scoping.
8338 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8339 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8341 * vc-git.el (vc-git-log-edit-mode): Remove.
8342 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8343 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8345 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8346 (vc-start-logentry): Remove argument `extra'.
8347 (vc-finish-logentry): Remove extra args.
8349 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8350 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8351 (vc-bzr-conflicted-files): New function.
8353 * log-edit.el (log-edit-extra-flags)
8354 (log-edit-before-checkin-process): Remove.
8355 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8356 (log-edit-headers-alist): New var.
8357 (log-edit-header-contents-regexp): New const.
8358 (log-edit-match-to-eoh): New function.
8359 (log-edit-font-lock-keywords): Use them.
8360 (log-edit): Insert a "Summary:" header as default.
8361 (log-edit-mode): Mark font-lock rules as case-insensitive.
8362 (log-edit-done): Cleanup headers.
8363 (log-view-process-buffer): Remove.
8364 (log-edit-extract-headers): New function to replace it.
8366 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8368 * subr.el (default-direction-reversed): Remove obsolescence info.
8370 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8375 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8376 I.e. include text after point in the completion region.
8377 Also, return nil when we're not after/in a symbol.
8379 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8380 default enable-multibyte-characters.
8382 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8384 * international/mule.el: Help the user choose a valid coding-system.
8385 (read-buffer-file-coding-system): New function.
8386 (set-buffer-file-coding-system): Use it. Prompt the user if the
8387 coding-system cannot encode all the chars.
8389 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8390 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8391 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8392 Don't use *vc-bzr-shelve*.
8394 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8396 Fix the version number for added files.
8397 * vc-hg.el (vc-hg-working-revision): Check if the file is
8398 registered after hg parent fails (Bug#5961).
8400 2010-04-19 Glenn Morris <rgm@gnu.org>
8402 * htmlfontify.el (htmlfontify-buffer)
8403 (htmlfontify-copy-and-link-dir): Autoload entry points.
8405 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8407 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8408 name relative to the project root (Bug#5960).
8410 2010-04-19 Glenn Morris <rgm@gnu.org>
8412 * vc-git.el (vc-git-print-log): Doc fix.
8414 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8416 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8418 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8420 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8421 default settings (Bug#5928).
8423 2010-04-19 Glenn Morris <rgm@gnu.org>
8425 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8427 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8429 2010-04-19 Kenichi Handa <handa@m17n.org>
8431 * language/indian.el (malayalam-composable-pattern): Fix previous
8432 change (add U+0D4D "SIGN VIRAMA").
8433 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8434 (tamil-composable-pattern): Fix typo in the regexp.
8435 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8436 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8437 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8439 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8441 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8442 paragraph-separate (Bug#5821).
8444 2010-04-19 Juri Linkov <juri@jurta.org>
8446 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8448 * info.el (Info-find-node-2): Comment out code that skips
8450 (Info-mouse-follow-link): New command.
8451 (Info-link-keymap): New keymap.
8452 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8453 Return a string with links instead of inserting breadcrumbs
8455 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8456 Instead of putting the `invisible' text property over the Info
8457 header, make an overlay over the Info header with the `invisible'
8458 property and `after-string' set to the string returned by
8461 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8463 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8464 Reported by monkey@sandpframing.com.
8466 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8468 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8469 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8470 available in the "keyseq cache" any more.
8472 * custom.el (defcustom): Add edebug spec.
8474 2010-04-18 Juri Linkov <juri@jurta.org>
8476 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8478 * view.el (view-file, view-buffer): Move test for special mode-class
8479 from view-file to view-buffer.
8481 * tar-mode.el (tar-extract): Turn if's into one cond
8482 like in arc-mode.el.
8484 2010-04-18 Juri Linkov <juri@jurta.org>
8486 Add 7z archive format support (bug#5475).
8488 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8489 (archive-7z-extract): New defcustom.
8490 (archive-find-type): Add magic string for 7z.
8491 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8492 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8493 `buffer' arg of `call-process'.
8494 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8495 call the function `archive-7z-extract' with the variable
8496 `archive-7z-extract' let-bound to `archive-zip-extract'.
8497 (archive-7z-summarize, archive-7z-extract): New functions.
8499 * international/mule.el (auto-coding-alist):
8500 * files.el (auto-mode-alist): Add 7z file extension.
8502 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * loadup.el: Setup hash-cons for pure data.
8506 Fix duplicate entries in cedet's loaddefs.el files.
8507 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8508 Should make most file-local generated-autoload-file unnecessary.
8509 (print-readably): Silence warnings.
8510 (autoload-find-destination): Take load-name as an arg to make sure
8511 it's the same as the one that will be in the file.
8512 (autoload-generate-file-autoloads): Adjust to above changes.
8513 Try to make the dataflow a bit simpler.
8515 * cvs-status.el (cvs-refontify): Remove unused.
8517 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8519 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8521 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8522 twos-complement mode.
8524 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8526 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8527 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8528 (calc-inverse): Add "Option" to message, as appropriate.
8529 (calc-hyperbolic): Add "Option" to message, as appropriate.
8530 (calc-option, calc-is-option): New functions.
8532 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8533 (calc-option-prefix-help): New function.
8535 * calc/calc-misc.el (calc-help): Add "Option" entry.
8537 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8538 (calc-option-flag): New variable.
8539 (calc-do): Set `calc-option-flag to nil.
8540 (calc-set-mode-line): Add "Opt " as appropriate.
8542 2010-04-16 Juri Linkov <juri@jurta.org>
8544 Move scrolling commands from simple.el to window.el
8545 because their primitives are implemented in window.c.
8547 * simple.el (scroll-error-top-bottom)
8548 (scroll-up-command, scroll-down-command, scroll-up-line)
8549 (scroll-down-line, scroll-other-window-down)
8550 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8551 * window.el (scroll-error-top-bottom)
8552 (scroll-up-command, scroll-down-command, scroll-up-line)
8553 (scroll-down-line, scroll-other-window-down)
8554 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8555 Move from simple.el to window.el because their primitives are
8556 implemented in window.c.
8558 2010-04-16 Juri Linkov <juri@jurta.org>
8560 * isearch.el (isearch-lookup-scroll-key): Check both
8561 `isearch-scroll' and `scroll-command' properties.
8562 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8564 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8566 * simple.el (scroll-up-command, scroll-down-command)
8567 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8569 2010-04-15 Juri Linkov <juri@jurta.org>
8571 * simple.el (scroll-up-command, scroll-down-command)
8572 (scroll-up-line, scroll-down-line): Put `scroll-command'
8573 property on the these symbols. Remove them from
8574 `scroll-preserve-screen-position-commands'.
8576 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8577 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8578 Remove it from `scroll-preserve-screen-position-commands'.
8580 * isearch.el (isearch-allow-scroll): Doc fix.
8582 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8584 * net/tramp.el (tramp-error-with-buffer): Don't show the
8585 connection buffer when we are in completion mode.
8586 (tramp-file-name-handler): Catch the error for some operations
8587 when we are in completion mode. This gives the user the chance to
8588 correct the file name in the minibuffer.
8590 2010-04-15 Glenn Morris <rgm@gnu.org>
8592 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8594 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8596 Simplify by using `define-derived-mode'.
8597 * info.el (Info-mode):
8598 * calendar/todo-mode.el (todo-mode):
8599 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8600 (gomoku-mode-map): Move initialization into declaration.
8602 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8605 * ido.el (ido-file-name-all-completions-1):
8606 * minibuffer.el (minibuffer-completion-help):
8607 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8609 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8611 * simple.el (non-essential): New var.
8613 Add a new field `location' to bookmarks for non-file bookmarks.
8614 * bookmark.el (bookmark-location): Use the new field, if present.
8615 (bookmark-insert-location): Undo last change, not needed any more.
8616 * man.el (Man-bookmark-make-record):
8617 * woman.el (woman-bookmark-make-record): Add `location' field.
8619 2010-04-14 Juri Linkov <juri@jurta.org>
8621 * simple.el (scroll-error-top-bottom): New defcustom.
8622 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8624 * emulation/pc-select.el (pc-select-override-scroll-error):
8625 Obsolete in favor of `scroll-error-top-bottom'.
8627 2010-04-14 Juri Linkov <juri@jurta.org>
8629 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8630 `scroll-up-command' and `M-v' to `scroll-down-command'.
8632 * emulation/cua-rect.el (cua--init-rectangles):
8633 * forms.el (forms--change-commands):
8634 * image-mode.el (image-mode-map):
8635 Remap scroll-down-command and scroll-up-command
8636 in addition to scroll-down and scroll-up.
8638 2010-04-14 Juri Linkov <juri@jurta.org>
8640 * mwheel.el (scroll-preserve-screen-position-commands):
8641 Add mwheel-scroll to this list of commands.
8643 * simple.el (scroll-preserve-screen-position-commands):
8644 Add scroll-up-command, scroll-down-command, scroll-up-line,
8645 scroll-down-line to this list of commands.
8647 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * obsolete/complete.el: Move from lisp/complete.el.
8651 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8653 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8654 to the minor mode function now turns the mode ON unconditionally.
8656 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8658 * vc-dir.el (vc-dir-kill-line): New command.
8659 (vc-dir-mode-map): Bind it to C-k.
8661 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8663 * woman.el: Add bookmark declarations to silence the compiler.
8664 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8665 step to compatibility between man and woman bookmarks.
8666 Adjust for Man-default-bookmark-title renaming.
8667 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8669 * man.el: Add bookmark declarations to silence the compiler.
8670 (Man-name-local-regexp): Make it match NAME as well.
8671 (Man-getpage-in-background): Return the buffer.
8672 (Man-notify-when-ready): Use `case'.
8673 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8674 Don't hardcode "NAME". Simplify.
8675 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8676 Rename from Man-bookmark-make-record.
8677 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8678 we have the actual man-args. Use Man-getpage-in-background rather
8679 than `man' since the arg is already processed. Let bookmark.el do the
8680 window handling. Only wait for the relevant process.
8681 Don't forget to autoload.
8683 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8685 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8687 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8689 (woman-mode): Setup bookmark support.
8691 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8692 (man-bookmark-jump): New functions.
8693 (Man-mode): Setup bookmark support.
8695 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8697 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8698 recognize ssh-keygen prompt (Bug#2817).
8700 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8702 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8704 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8706 Synchronize with Tramp repository.
8708 * net/tramp.el (tramp-completion-function-alist)
8709 (tramp-file-name-regexp, tramp-chunksize)
8710 (tramp-local-coding-commands, tramp-remote-coding-commands):
8712 (tramp-remote-process-environment): Use `format' instead of `concat'.
8713 (tramp-handle-directory-files-and-attributes)
8714 (tramp-get-remote-path): Use `copy-tree'.
8715 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8716 compatibility: Use `completion-ignore-case' if
8717 `read-file-name-completion-ignore-case' does not exist.
8718 (tramp-do-copy-or-rename-file-directly): Do not use
8719 `tramp-handle-file-remote-p'.
8720 (tramp-do-copy-or-rename-file-out-of-band):
8721 Use `tramp-compat-delete-directory'.
8722 (tramp-do-copy-or-rename-file-out-of-band)
8723 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8724 Use `format-spec-make'.
8725 (tramp-find-foreign-file-name-handler)
8726 (tramp-advice-make-auto-save-file-name)
8727 (tramp-set-auto-save-file-modes): Remove superfluous check for
8728 `stringp'. This is done inside `tramp-tramp-file-p'.
8729 (tramp-debug-outline-regexp): New defconst.
8730 (tramp-get-debug-buffer): Use it.
8731 (tramp-check-for-regexp): Use (forward-line 1).
8732 (tramp-set-auto-save-file-modes): Adapt version check.
8734 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8735 Wrap call of `featurep' for 2nd argument.
8736 (tramp-compat-make-temp-file): Simplify fallback implementation.
8737 (tramp-compat-copy-tree): Remove function.
8738 (tramp-compat-delete-directory): Provide implementation for older
8741 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8742 Do not use `tramp-fish-handle-file-attributes.
8744 * net/trampver.el: Update release number.
8746 2010-04-10 Glenn Morris <rgm@gnu.org>
8748 * progmodes/compile.el (compilation-save-buffers-predicate):
8749 Add missing :version tag.
8751 2010-04-09 Sam Steingold <sds@gnu.org>
8753 * progmodes/compile.el (compilation-save-buffers-predicate):
8754 Remove the "autoload" cookie.
8756 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8757 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8758 and `bug-reference-prog-mode' can be used in hooks directly.
8760 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8762 Add --author support to git commit.
8763 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8764 (vc-git-log-edit-mode): New minor mode.
8765 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8768 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8770 * vc-hooks.el, vc-git.el: Improve documentation comments.
8772 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8774 Fix some of the problems in defsubst* (bug#5728).
8775 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8776 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8778 2010-04-07 Sam Steingold <sds@gnu.org>
8780 * progmodes/compile.el (compilation-save-buffers-predicate):
8781 New custom variable.
8782 (compile, recompile): Pass it to `save-some-buffers'.
8784 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8786 * wid-edit.el (widget-choose): Move cursor to the second line of
8787 the buffer (Bug#5695).
8789 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8791 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8792 * vc.el (vc-print-log-setup-buttons): New function split out from
8793 vc-print-log-internal.
8794 (vc-log-internal-common): New function, a parametrized version of
8795 vc-print-log-internal.
8796 (vc-print-log-internal): Just call vc-log-internal-common with the
8798 (vc-incoming-outgoing-internal):
8799 (vc-log-incoming, vc-log-outgoing): New functions.
8800 (vc-log-view-type): New permanent local variable.
8802 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8804 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8805 of the dynamic bound vc-short-log.
8806 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8808 * vc-git.el (vc-git-log-outgoing): New function.
8809 (vc-git-log-view-mode): Use vc-log-view-type instead
8810 of the dynamic bound vc-short-log.
8812 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8813 of the dynamic bound vc-short-log. Highlight the tag.
8814 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8815 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8816 (vc-hg-incoming-mode): Remove.
8817 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8819 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8821 Fix default-directory for vc-root-diff.
8822 * vc.el (vc-root-diff): Bind default-directory to the root
8823 directory for the diff command.
8825 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8827 * progmodes/verilog-mode.el (verilog-forward-sexp):
8828 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8829 word keywords, suggested by Steve Pearlmutter.
8830 (verilog-pretty-declarations): Support lineup of declarations in
8832 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8833 fix bug for /* / comments.
8834 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8835 Speed up and simplfy as this is never called with a bound.
8836 (verilog-pretty-declarations): Enhance to line up declarations
8837 inside a parameter list, suggested by Alan Morgan.
8838 (verilog-pretty-expr): Tune assignment regular expression match
8839 string for corner cases; also use markers instead of character
8840 number as indent changes the later.
8842 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8844 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8846 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8847 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8848 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8849 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8852 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8853 1800-2009 keywords, including "global.".
8855 2010-04-06 John Wiegley <jwiegley@gmail.com>
8857 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8858 appearing in buffer list (if a live buffer name matched a recentf
8859 file basename). Should use uniquify to offer a real solution.
8861 2010-04-06 John Wiegley <jwiegley@gmail.com>
8863 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8864 comment to code, and add a :version tag.
8865 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8867 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8869 Enable recentf-mode if using virtual buffers.
8870 * ido.el (recentf-list): Declare for byte-compiler.
8871 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8872 (ido-make-buffer-list): Simplify.
8873 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8875 2010-04-05 Juri Linkov <juri@jurta.org>
8877 Scrolling commands which scroll a line instead of full screen.
8878 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8880 * simple.el (scroll-up-line, scroll-down-line): New commands.
8881 Put property isearch-scroll=t on them.
8883 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8886 2010-04-05 Juri Linkov <juri@jurta.org>
8888 Scrolling commands which do not signal errors at top/bottom.
8889 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8891 * simple.el (scroll-up-command, scroll-down-command): New commands.
8892 Put property isearch-scroll=t on them.
8894 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8895 `scroll-down-command' and [next] from `scroll-up' to
8896 `scroll-up-command'.
8898 * emulation/cua-base.el: Put property CUA=move on
8899 `scroll-up-command' and `scroll-down-command'.
8900 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8901 and `scroll-down-command' to `cua-scroll-down'.
8903 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8905 * help.el (describe-mode): Return nil.
8907 2010-04-04 John Wiegley <jwiegley@gmail.com>
8909 * ido.el (ido-use-virtual-buffers): New variable to indicate
8910 whether "virtual buffer" support is enabled for IDO.
8911 (ido-virtual): Face used to indicate virtual buffers in the list.
8912 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8913 exists, but a virtual buffer of that name does (which would be why
8914 it was in the list), recreate the buffer by reopening the file.
8915 (ido-make-buffer-list): If virtual buffers are being used, call
8916 `ido-add-virtual-buffers-to-list' before the make list hook.
8917 (ido-virtual-buffers): New variable which contains a copy of the
8918 current contents of the `recentf-list', albeit pared down for the
8919 sake of speed, and with proper faces applied.
8920 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8921 create a list of "virtual buffers" to present to the user in
8922 addition to the currently open set. Note that this logic could
8923 get rather slow if that list is too large. With the default
8924 `recentf-max-saved-items' of 200, there is little speed penalty.
8926 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8928 * font-lock.el: Require CL when compiling.
8929 (font-lock-turn-on-thing-lock): Use `case'.
8931 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8933 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8936 2010-04-02 Juri Linkov <juri@jurta.org>
8938 * ehelp.el (electric-help-orig-major-mode):
8939 New buffer-local variable.
8940 (electric-help-mode): Set it to original major-mode. Doc fix.
8941 (with-electric-help): Use `electric-help-orig-major-mode' instead
8942 of (default-value 'major-mode). Doc fix.
8943 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8945 2010-04-02 Sam Steingold <sds@gnu.org>
8947 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8948 `vc-hg-command' with a list of flags.
8950 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8951 Also accept "patch" and "RFE".
8952 (bug-reference-fontify): `bug-reference-url-format' can also be a
8953 function to be able to handle the bug kind.
8954 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8956 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8958 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8959 value to fboundp, it may not be a symbol.
8961 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8963 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8965 2010-03-31 Juri Linkov <juri@jurta.org>
8967 * simple.el (next-line, previous-line): Re-throw a signal
8968 with `signal' instead of using `ding'.
8969 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8971 2010-03-31 Juri Linkov <juri@jurta.org>
8973 * simple.el (keyboard-escape-quit): Raise deselecting the active
8974 region higher than exiting the minibuffer.
8975 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8977 2010-03-31 Juri Linkov <juri@jurta.org>
8979 * image.el (image-animated-p): Use `image-metadata' instead of
8980 `image-extension-data'. Get GIF extenstion data from metadata
8981 property `extension-data'.
8983 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * simple.el (append-to-buffer): Simplify.
8987 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
8989 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8990 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8992 2010-03-31 Kenichi Handa <handa@m17n.org>
8994 * language/sinhala.el (composition-function-table): Fix regexp for
8995 the new Unicode specification.
8997 * language/indian.el (devanagari-composable-pattern)
8998 (tamil-composable-pattern, kannada-composable-pattern)
8999 (malayalam-composable-pattern): Adjust for the new Unicode
9001 (bengali-composable-pattern, gurmukhi-composable-pattern)
9002 (gujarati-composable-pattern, oriya-composable-pattern)
9003 (telugu-composable-pattern): New variables to cope with the new
9004 Unicode specification. Use them in composition-function-table.
9006 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9008 Make tmm-menubar work for the Buffers menu again (bug#5726).
9009 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9010 vectors rather than cons cells, as used in menu-bar-update-buffers.
9012 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9014 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9015 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9016 electric punctuation for "{}();,:" (Bug#5586).
9018 * mail/sendmail.el (mail-default-directory): Doc fix.
9020 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9022 * mail/sendmail.el (mail-default-directory): Doc fix.
9024 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9026 * subr.el (version-regexp-alist, version-to-list)
9027 (version-list-<, version-list-=, version-list-<=)
9028 (version-list-not-zero, version<, version<=, version=): Doc fix.
9031 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9033 * vc.el (vc-root-diff): Doc fix.
9035 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9037 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9039 * simple.el (append-to-buffer): Fix last change.
9041 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9043 * simple.el (append-to-buffer): Ensure that point is preserved if
9044 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9047 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9049 * files.el (auto-mode-case-fold): Change default to t.
9051 2010-03-30 Juri Linkov <juri@jurta.org>
9053 * dired-x.el (dired-omit-mode): Doc fix.
9055 2010-03-30 Juri Linkov <juri@jurta.org>
9057 * replace.el (occur-accumulate-lines): Move occur-engine related
9058 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9059 to be located after `occur-engine'.
9061 2010-03-30 Juri Linkov <juri@jurta.org>
9063 Make occur handle multi-line matches cleanly with context.
9064 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9066 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9067 (occur-engine): Add local variables `ret', `prev-after-lines',
9068 `prev-lines'. Use more arguments for `occur-context-lines'.
9069 Set first elem of its returned list to `data', and the second elem
9070 to `prev-after-lines'. Don't print the separator line.
9071 In the end, print remaining context after-lines.
9072 (occur-context-lines): Add new arguments `begpt', `endpt',
9073 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9074 after-lines of the previous match with before-lines of the
9075 current match and not overlap them. Return a list with two
9076 values: the output line and the list of context after-lines.
9078 2010-03-30 Juri Linkov <juri@jurta.org>
9080 * replace.el (occur-accumulate-lines): Fix a bug where the first
9081 context line at the beginning of the buffer was missing.
9083 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9085 * files.el: Make bidi-display-reordering safe variable for boolean
9088 2010-03-29 Phil Hagelberg <phil@evri.com>
9089 Chong Yidong <cyd@stupidchicken.com>
9091 * subr.el: Extend progress reporters to perform "spinning".
9092 (progress-reporter-update, progress-reporter-do-update):
9093 Handle non-numeric value arguments.
9094 (progress-reporter--pulse-characters): New var.
9096 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9098 * progmodes/compile.el (compilation-start): Fix regexp detection
9099 of initial cd command (Bug#5771).
9101 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9103 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9105 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9107 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9108 * progmodes/gdb-mi.el: Restore.
9109 * progmodes/gdb-ui.el: Remove.
9110 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9112 2010-03-25 Glenn Morris <rgm@gnu.org>
9114 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9115 all dired buffers, even tramp ones. (Bug#5755)
9117 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9119 Add "union tags" in mpc.el.
9120 * mpc.el: Remove backward compatibility code.
9121 (mpc-browser-tags): Change default.
9122 (mpc--find-memoize-union-tags): New var.
9123 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9124 (mpc-cmd-find): Handle the case where the playlist does not exist.
9126 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9127 (mpc-cmd-add): Use mpc-cmd-flush.
9128 (mpc-tagbrowser-tag-name): New fun.
9129 (mpc-tagbrowser-buf): Use it.
9130 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9132 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9135 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9136 Use replace-regexp-in-string.
9137 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9138 (makefile-imake-mode-syntax-table): Move init into defvar.
9139 (makefile-mode): Use define-derived-mode.
9141 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9142 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9143 not be present any more.
9145 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9147 * faces.el (set-face-attribute): Fix typo in docstring.
9148 (face-valid-attribute-values): Reflow docstring.
9150 2010-03-24 Glenn Morris <rgm@gnu.org>
9152 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9154 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9156 * indent.el (indent-for-tab-command): Doc fix.
9158 2010-03-24 Alan Mackenzie <acm@muc.de>
9160 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9161 Fix off-by-one error. Fixes bug #5747.
9163 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9165 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9166 (image-dired-read-comment): Doc fix.
9168 * json.el (json-object-type, json-array-type, json-key-type)
9169 (json-false, json-null, json-read-number):
9170 * minibuffer.el (completion-in-region-functions):
9171 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9172 (cal-tex-cursor-week):
9173 * emacs-lisp/trace.el (trace-function):
9174 * eshell/em-basic.el (eshell/printnl):
9175 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9176 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9177 * obsolete/levents.el (allocate-event, event-key, event-object)
9178 (event-point, event-process, event-timestamp, event-to-character)
9179 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9180 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9181 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9182 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9183 (reftex-highlight-selection): Fix typos in docstrings.
9185 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9187 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9189 2010-03-24 Glenn Morris <rgm@gnu.org>
9191 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9192 2008-02-13 without comment; mark it obsolete.
9193 (rmail-highlight-headers): Use rmail-highlight-face once more.
9195 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9197 * woman.el (woman2-process-escapes): Only consume the newline if
9198 the filler character is on a line by itself (Bug#5729).
9200 2010-03-24 Kenichi Handa <handa@m17n.org>
9202 * language/indian.el (devanagari-composable-pattern): Add more
9205 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9207 * net/trampver.el: Update release number.
9209 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9211 * net/tramp.el (tramp-find-executable):
9212 Use `tramp-get-connection-buffer'. Make the regexp for checking
9213 output of "wc -l" more robust.
9214 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9215 (tramp-open-connection-setup-interactive-shell): Remove workaround
9216 for OpenSolaris bug, it is not needed anymore.
9218 2010-03-24 Glenn Morris <rgm@gnu.org>
9220 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9222 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9224 * files.el (auto-mode-alist): Accept more verilog file patterns.
9226 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9228 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9230 2010-03-24 Glenn Morris <rgm@gnu.org>
9232 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9233 log-edit-before-checkin-process.
9235 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9237 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9239 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9240 (log-view-process-buffer, log-edit-extra-flags): Declare.
9242 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9244 2010-03-23 Sam Steingold <sds@gnu.org>
9246 Fix bug#5620: recalculate all markers on compilation buffer
9247 modifications, not on file modifications.
9248 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9249 the buffer modification time, for buffers not associated with files.
9250 (compilation-mode): Create it.
9251 (compilation-filter): Update it.
9252 (compilation-next-error-function): Use it instead of
9253 `visited-file-modtime' for timestamp.
9255 2010-03-23 Juri Linkov <juri@jurta.org>
9257 Implement Occur multi-line matches.
9258 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9260 * replace.el (occur): Doc fix.
9261 (occur-engine): Set `begpt' to the beginning of the first line.
9262 Set `endpt' to the end of the last match line. At first, count
9263 line numbers between `origpt' and `begpt'. Split out code from
9264 `out-line' variable to new let-bindings `match-prefix' and
9265 `match-str'. In `out-line' add non-numeric prefix to all
9266 non-first lines of multi-line matches. Finally, count lines
9267 between `begpt' and `endpt' and add to `lines'.
9269 2010-03-23 Juri Linkov <juri@jurta.org>
9271 * replace.el (occur-accumulate-lines, occur-engine):
9272 Use `occur-engine-line' instead of duplicate code.
9273 (occur-engine-line): New function created from duplicate code
9274 in `occur-accumulate-lines' and `occur-engine'.
9276 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9277 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9279 2010-03-23 Juri Linkov <juri@jurta.org>
9281 * finder.el: Remove TODO tasks.
9283 * info.el (Info-finder-find-node): Add node "all"
9284 with all package info. Handle a list of multiple keywords
9286 (info-finder): In interactive use with a prefix argument,
9287 use `completing-read-multiple' to read a list of keywords
9290 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9292 Add a new completion style `substring'.
9293 * minibuffer.el (completion-basic--pattern): New function.
9294 (completion-basic-try-completion, completion-basic-all-completions):
9296 (completion-substring--all-completions)
9297 (completion-substring-try-completion)
9298 (completion-substring-all-completions): New functions.
9299 (completion-styles-alist): New style `substring'.
9301 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9303 Get rid of .elc files after removal of the corresponding .el.
9304 * Makefile.in (compile-clean): New target.
9305 (compile-main): Use it.
9307 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9309 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9310 don't do make there. When compiling with separate object dir, there
9311 is no Makefile there.
9313 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9315 Get rid of the ELCFILES abomination, again.
9316 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9317 (all, compile): Don't call compile-last.
9318 (compile-main): Build the "elcfiles" list dynamically.
9319 (compile-targets): New (internal) target.
9321 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9323 * Makefile.in (top_srcdir): Define.
9324 (abs_top_builddir): Define.
9325 (srcdir): Don't append `/..'.
9326 (EMACS): Use ${abs_top_builddir}.
9327 (all, compile, compile-always, compile-last): Don't set emacswd.
9328 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9330 (lisp): Use $(srcdir) instead of @srcdir@.
9332 2010-03-21 Juri Linkov <juri@jurta.org>
9334 Fix message of multi-line occur regexps and multi-buffer header lines.
9335 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9337 * replace.el (occur-1): Don't display regexp if it is longer
9338 than window-width. Use `query-replace-descr' to display regexp.
9339 (occur-engine): Don't display regexp in the buffer header for
9340 multi-buffer occur. Display a separate header line with total
9341 match count and regexp for multi-buffer occur.
9342 Use `query-replace-descr' to display regexp.
9344 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9346 * net/secrets.el: Fix parenthesis.
9347 (secrets-enabled): Fix parenthesis.
9349 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9351 Use more relative file and directory names.
9352 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9353 (setwins, setwins_almost, setwins_for_subdirs):
9354 Don't `cd'; output relative names.
9355 (all, compile, compile-always, compile-last): Set emacswd.
9356 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9357 Just cd to the lisp source dir so we can use relative file names.
9359 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9361 2010-03-20 Glenn Morris <rgm@gnu.org>
9363 * textmodes/rst.el: Use faces for font-lock customization, and make the
9364 old -face variables obsolete.
9365 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9366 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9367 (rst-block-face, rst-external-face, rst-definition-face)
9368 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9369 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9371 (rst-font-lock-keywords-function): Update for above changes.
9373 2010-03-20 Juri Linkov <juri@jurta.org>
9376 * obsolete/s-region.el: Move to obsolete.
9378 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9380 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9382 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9384 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9386 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9388 Add special markup processing for commit logs.
9389 * log-edit.el (log-edit-extra-flags): New variable.
9390 (log-edit): Add new argument MODE. Use that mode when non-nil
9391 instead of the log-view-mode.
9392 (log-view-process-buffer): New function.
9394 * vc.el: Document that the checkin method takes optional
9395 arguments. Document new backend specific method: log-view-mode.
9396 (vc-default-log-edit-mode): New function.
9397 (vc-checkin): Use a backend specific log-view-mode.
9398 Pass extra arguments to the checkin method.
9399 (vc-modify-change-comment): Pass a dummy extra argument.
9401 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9403 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9404 (vc-finish-logentry): Process the log buffer before passing it
9405 down. Pass log-edit-extra-flags.
9407 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9409 (log-edit-extra-flags, log-edit-before-checkin-process):
9412 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9414 (log-edit-extra-flags, log-edit-before-checkin-process):
9416 (vc-hg-log-edit-mode): New derived mode.
9418 * vc-arch.el (vc-arch-checkin):
9419 * vc-cvs.el (vc-cvs-checkin):
9420 * vc-git.el (vc-git-checkin):
9421 * vc-mtn.el (vc-mtn-checkin):
9422 * vc-rcs.el (vc-rcs-checkin):
9423 * vc-sccs.el (vc-sccs-checkin):
9424 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9426 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9428 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9431 2010-03-19 Glenn Morris <rgm@gnu.org>
9433 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9435 2010-03-18 Glenn Morris <rgm@gnu.org>
9437 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9439 * replace.el (query-replace-history): Give it a doc string.
9440 (map-query-replace-regexp): Use query-replace-from-history-variable
9441 and query-replace-to-history-variable.
9443 * mail/hashcash.el (declare-function): Remove duplicate definition.
9445 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9446 Make it an obsolete alias for report-emacs-bug-address.
9447 (message-strip-special-text-properties): Declare.
9448 (report-emacs-bug): Remove test for a pretest bug address.
9449 Combine message-mode-specific code.
9451 * mail/supercite.el: Don't require sendmail.
9452 (mh-in-header-p): Declare rather than using with-no-warnings.
9453 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9454 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9456 * calendar/cal-french.el: Convert to utf-8.
9458 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9461 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9463 * net/secrets.el (secrets-enabled): New variable. Use it instead
9466 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9468 * net/secrets.el (top): Register the D-Bus signals only when the
9469 service "org.freedesktop.secrets" can be pinged.
9470 Provide subfeature `enabled'.
9472 2010-03-14 Juri Linkov <juri@jurta.org>
9474 Add finder unknown keywords.
9476 * finder.el (finder-unknown-keywords): New function.
9478 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9479 to create a Finder node with unknown keywords.
9481 2010-03-14 Juri Linkov <juri@jurta.org>
9483 * finder.el (finder-compile-keywords): Replace `princ' with
9484 `prin1' on a list of symbols interned from keyword strings.
9486 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9487 a comma, then split keywords using a comma and optional whitespace.
9488 Otherwise, split by whitespace.
9496 * progmodes/mixal-mode.el: Fix keywords.
9498 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9500 * Makefile.in (ELCFILES): Add net/secrets.elc.
9502 * net/secrets.el: New file.
9504 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9506 * facemenu.el (list-colors-display, list-colors-print): New arg
9507 callback. Use it to allow selecting colors.
9509 * wid-edit.el (widget-image-insert): Insert image prop even if the
9510 current display is non-graphic.
9511 (widget-field-value-set): New fun.
9512 (editable-field): Use it.
9513 (widget-field-value-get): Clean up unused var.
9514 (widget-color-value-create, widget-color--choose-action):
9515 New funs. Allow using list-colors-display to choose color.
9517 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9519 * cus-edit.el: Resort topmost custom groups.
9520 (custom-buffer-sort-alphabetically): Default to t.
9521 (customize-apropos): Use apropos-parse-pattern.
9522 (custom-search-field): New var.
9523 (custom-buffer-create-internal): Add custom-apropos search field.
9524 (custom-add-parent-links): Don't display parent doc.
9525 (custom-group-value-create): Don't sort top-level custom group.
9526 (custom-magic-value-create): Show visibility button before option name.
9528 (custom-variable-state): New fun, from custom-variable-state-set.
9529 (custom-variable-state-set): Use it.
9530 (custom-group-value-create): Hide options with standard values
9531 using the :hidden-states property. Use progress reporter.
9533 (custom-show): Simplify.
9534 (custom-visibility): Disable images by default.
9535 (custom-variable): New property :hidden-states.
9536 (custom-variable-value-create): Enable images for
9537 custom-visibility widgets. Use :hidden-states property to
9538 determine initial visibility.
9540 * wid-edit.el (widget-image-find): Give images center ascent.
9541 (visibility): Add :on-image and :off-image properties.
9542 (widget-visibility-value-create): Use them.
9544 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9546 * cus-edit.el (processes): Remove from development group.
9547 (oop, hypermedia): Delete group.
9548 (comm): Promote to top-level group.
9550 * net/browse-url.el (browse-url):
9551 * net/xesam.el (xesam):
9552 * net/tramp.el (tramp):
9553 * net/goto-addr.el (goto-address):
9554 * net/ange-ftp.el (ange-ftp): Put in comm group.
9556 * view.el (view): Remove from editing group.
9558 * uniquify.el (uniquify): Put in files group.
9560 * net/browse-url.el (browse-url):
9561 * ps-print.el (postscript): Put in external group.
9563 * cus-edit.el (outlines):
9564 * textmodes/text-mode.el (text-mode-hook):
9565 * textmodes/table.el (table):
9566 * textmodes/picture.el (picture):
9567 * outline.el (outlines): Put in wp group.
9569 * nxml/nxml-mode.el (nxml): Remove from wp group.
9571 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9573 * mail/metamail.el (metamail): Remove from hypermedia group.
9575 * cus-edit.el (abbrev):
9576 * whitespace.el (whitespace):
9577 * vcursor.el (vcursor):
9578 * reveal.el (reveal):
9579 * hl-line.el (hl-line): Put in convenience group.
9581 * epg-config.el (epg): Put in data group.
9583 * emulation/pc-select.el (pc-select): Put in emulations group.
9585 * calculator.el (calculator): Put in applications group.
9587 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9589 Add .dir-locals.el support for file-less buffers.
9590 * files.el (hack-local-variables): Split out code to apply local
9591 variable settings ...
9592 (hack-local-variables-apply): ... here. New function.
9593 (hack-dir-local-variables): Use the default directory for when the
9594 buffer does not have an associated file.
9595 (hack-dir-local-variables-non-file-buffer): New function.
9596 * diff-mode.el (diff-mode):
9597 * vc-annotate.el (vc-annotate-mode):
9598 * vc-dir.el (vc-dir-mode):
9599 * log-edit.el (log-edit-mode):
9600 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9602 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9604 Add support for shelving snapshots and for showing shelves.
9605 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9606 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9608 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9609 (vc-bzr-extra-menu-map): Map them.
9611 2010-03-11 Glenn Morris <rgm@gnu.org>
9613 * cus-edit.el (customize-changed-options-previous-release):
9616 * image.el (image-animate-max-time): Fix :version tag.
9618 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9622 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9624 * vc-git.el (vc-git-revision-table): Include remote branches.
9626 2010-03-10 Kim F. Storm <storm@cua.dk>
9629 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9631 * image.el (image-animate-max-time): New defcustom.
9632 (image-animated-types): New defconst.
9633 (create-animated-image, image-animate-timer)
9634 (image-animate-start, image-animate-stop, image-animate-timeout)
9635 (image-animated-p): New functions.
9637 * image-mode.el (image-toggle-display-image):
9638 Replace `create-image' with `create-animated-image'.
9640 2010-03-09 Miles Bader <miles@gnu.org>
9642 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9643 instead of "format:"; this ensures that the output is
9646 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9648 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9649 that all errors are caught, and that the return value is always a
9652 2010-03-08 Kenichi Handa <handa@m17n.org>
9654 * language/misc-lang.el (windows-1256): New coding system.
9655 (cp1256): New alias of windows-1256 (bug#5690).
9657 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9659 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9660 call to rfc822-bad-address. (Bug#5692)
9662 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9664 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9665 Use vc-git-root as default directory for revision path (Bug#5657).
9667 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9669 * calculator.el (calculator): Don't bind split-window-keep-point
9672 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * vc-git.el: Re-flow to fit into 80 columns.
9675 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9676 Remove spurious `quote' element in each case alternative.
9677 (vc-git-show-log-entry): Use prog1.
9678 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9680 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9682 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9684 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9686 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9687 definition, not the name (Bug#5481).
9689 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9691 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9692 argument with a local variable. (Bug#5670)
9694 2010-03-02 Juri Linkov <juri@jurta.org>
9696 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9698 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9700 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9701 error when FILENAME and NEWNAME are existing remote directories.
9703 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9706 2010-03-02 Glenn Morris <rgm@gnu.org>
9708 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9709 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9711 2010-03-01 Kenichi Handa <handa@m17n.org>
9713 * language/burmese.el (burmese-composable-pattern): Rename from
9714 myanmar-composable-pattern.
9716 * international/characters.el (script-list):
9717 * international/fontset.el (script-representative-chars):
9718 Change myanmar to burmese.
9719 (otf-script-alist): Likewise.
9720 (setup-default-fontset): Likewise. Re-fix :otf spec.
9722 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9724 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9726 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9728 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9730 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9732 * net/tramp.el (tramp-handle-write-region): START can be a string.
9733 Take care in the checks. Reported by Dan Davison
9734 <davison@stats.ox.ac.uk>.
9736 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9738 * net/dbus.el (dbus-introspect, dbus-get-property)
9739 (dbus-set-property, dbus-get-all-properties):
9740 Use `dbus-call-method' when noninteractive. (Bug#5645)
9742 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9744 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9745 * emacs-lisp/elint.el (elint-add-required-env):
9746 * calendar/icalendar.el (icalendar--add-diary-entry):
9747 * calc/calcalg2.el (math-tracing-integral):
9748 * files.el (recover-session-finish): Use with-current-buffer
9749 instead of save-excursion.
9751 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9753 Fix in-buffer completion when after-change-functions modify the buffer.
9754 * minibuffer.el (completion--replace): New function.
9755 (completion--do-completion): Use it and use relative movement.
9757 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9759 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9761 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9763 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9764 Allow the characters _<> in the stack entry (Bug#5653).
9766 2010-02-26 Kenichi Handa <handa@m17n.org>
9768 * language/burmese.el: Fix entries in composition-function-table.
9769 (myanmar-composable-pattern): New variable.
9771 * international/fontset.el (setup-default-fontset): Add an entry
9774 * international/characters.el (script-list): Add Myanmar
9777 2010-02-26 Glenn Morris <rgm@gnu.org>
9779 * custom.el (custom-initialize-delay): Doc fix.
9781 * mail/sendmail.el (send-mail-function): Autoload the call
9782 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9784 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9786 * files.el (hack-local-variables-filter): For eval forms, also
9787 check safe-local-variable-p (Bug#5636).
9789 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9791 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9792 setting the modes by `ignore-errors'. It might fail, for example
9793 if the file is not owned by the user but the group.
9794 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9796 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9798 * files.el (directory-listing-before-filename-regexp):
9799 Use stricter matching for iso-style dates, to avoid false matches with
9800 date-like filenames (Bug#5597).
9802 * htmlfontify.el (htmlfontify): Doc fix.
9804 * eshell/eshell.el (eshell): Doc fix.
9806 * startup.el (fancy-about-screen): In mode-line, apply
9807 mode-line-buffer-id face only to the buffer name (Bug#5613).
9809 2010-02-20 Kevin Ryde <user42@zip.com.au>
9811 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9812 In `watcom' anchor regexp to start of line, to avoid slowness
9815 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9817 * subr.el (remove-yank-excluded-properties): Explain in a comment
9818 why `category' property is removed.
9820 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9822 * isearch.el (isearch-update-post-hook, isearch-update):
9823 Revert 2010-02-17 change.
9825 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9827 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9828 (icalendar--convert-weekly-to-ical)
9829 (icalendar--convert-yearly-to-ical)
9830 (icalendar--convert-block-to-ical)
9831 (icalendar--convert-cyclic-to-ical)
9832 (icalendar--convert-anniversary-to-ical): Take care of time
9833 specifications where hour has 1-digit only (Bug#5549).
9835 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9837 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9838 of disassemble output in GDB 7.1.
9840 2010-02-19 Glenn Morris <rgm@gnu.org>
9842 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9843 property. (Bug#5593)
9845 2010-02-18 Sam Steingold <sds@gnu.org>
9847 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9849 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9851 Use abbreviated file names in bookmarks (bug#5591).
9852 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9853 calls to expand-file-name.
9854 (bookmark-relocate): Use abbreviated file names in bookmarks.
9855 (bookmark-load): Use abbreviated file names in messages.
9857 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9859 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9860 expand "." and "..". Reported by Thierry Volpiatto
9861 <thierry.volpiatto@gmail.com>.
9863 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9865 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9866 permissions of the temporary file to "0600". In case the remote
9867 file has no read permissions for the owner, there might be
9868 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9870 22010-02-18 Glenn Morris <rgm@gnu.org>
9872 * emacs-lisp/authors.el (authors-renamed-files-alist):
9873 Add entries for INSTALL.CVS.
9875 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9877 * vc-bzr.el: Fix typo in Known Bugs section.
9879 * isearch.el (isearch-update-post-hook): New hook.
9880 (isearch-update): Use the new hook.
9882 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9884 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9885 Fix errors in copying directories.
9886 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9887 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9888 (tramp-handle-delete-file)
9889 (tramp-handle-dired-recursive-delete-directory)
9890 (tramp-handle-write-region): Flush also the cache for the upper
9893 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9895 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9897 * cus-edit.el (hardware): Doc fix.
9899 * man.el (man): Add to external custom group.
9901 * delim-col.el (columns): Move to wp custom group.
9903 * doc-view.el (doc-view): Add to data custom group.
9905 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9907 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9908 by ispell-parse-output (Bug#5575).
9910 2010-02-16 Kenichi Handa <handa@m17n.org>
9912 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9913 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9914 (skkdic-convert): Use `euc-japan' coding system for writing.
9916 2010-02-16 Glenn Morris <rgm@gnu.org>
9918 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9919 tex-main-file before using it. (Bug#5562)
9921 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9923 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9924 warnings, since it is annoying for the user to see them each time he
9927 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9929 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9930 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9931 instead of PROC for caching "first-password-request". Otherwise,
9932 new processes would not profit from passwords already entered.
9934 * net/tramp-cache.el (tramp-dump-connection-properties):
9935 Don't save "first-password-request" property.
9937 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9939 * outline.el (outline-head-from-level):
9940 * simple.el (with-wrapper-hook):
9941 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9942 (elint-defun, elint-buffer-env, elint-top-form-logged)
9943 (elint-unbound-variable):
9944 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9945 Fix typos in docstrings.
9947 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9949 * files.el (insert-directory): When WILDCARD-REGEXP and
9950 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9951 whole directory. (Bug#5551)
9953 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9954 dired's alignment sanity. (Bug#5516)
9956 2010-02-14 Juri Linkov <juri@jurta.org>
9958 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9959 Remove remaining ^H with their preceding chars. (Bug#5566)
9961 2010-02-13 Glenn Morris <rgm@gnu.org>
9963 * simple.el (transpose-subr): Give it a doc-string.
9965 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9968 2010-02-12 Juri Linkov <juri@jurta.org>
9970 * arc-mode.el (archive-unique-fname): Make directories for nested
9971 archives. (Bug#5540)
9973 2010-02-12 Juri Linkov <juri@jurta.org>
9975 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9977 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9979 * subr.el (copy-overlay): Handle deleted overlays.
9981 * man.el (Man-completion-table): Don't signal an error if we can't run
9982 manual-program (bug#4056).
9984 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
9986 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9988 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9990 * info.el (Info-bookmark-jump): Simplify.
9992 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9993 (bookmark-default-handler): Accept new bookmark field `buffer'.
9995 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
9997 * iswitchb.el (iswitchb-completions): Revert last change.
9999 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10001 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10002 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10003 This prevents file names like "~/" being listed literally.
10005 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10007 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10008 Remove dead code. (Bug#5546)
10010 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10012 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10013 correctly (Bug#5548).
10015 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10017 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10018 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10020 2010-02-08 Kenichi Handa <handa@m17n.org>
10022 * international/mule-util.el (with-coding-priority): Add autoload
10023 cookie for putting `lisp-indent-function'.
10025 2010-02-07 Glenn Morris <rgm@gnu.org>
10027 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10028 Move F2003 named interfaces from keywords-2 to keywords-1, and
10029 use function-name-face rather than constant-face.
10030 Simplify "abstract interface" regexp.
10032 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10034 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10035 ID-FORMAT. Pass it to `file-attributes'.
10037 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10039 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10041 * faces.el (set-face-attribute): Allow calling
10042 internal-set-lisp-face-attribute with 'unspecified family and
10043 foundry argument (Bug#5536).
10045 2010-02-07 Glenn Morris <rgm@gnu.org>
10047 * progmodes/f90.el (f90-font-lock-keywords-2)
10048 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10049 Handle F2003 named interfaces.
10051 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10053 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10054 beg and end before calling c-get-state-before-change-functions.
10056 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10058 * vc-bzr.el (vc-bzr-dir-extra-headers):
10059 Disable the pending merges header.
10061 2010-02-05 Juri Linkov <juri@jurta.org>
10063 * doc-view.el (doc-view-mode):
10064 * image-mode.el (image-mode): Put property mode-class=special.
10067 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10069 * vc-svn.el (vc-svn-revision-table): New function.
10071 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10073 * net/ange-ftp.el (ange-ftp-insert-directory):
10074 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10075 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10076 Handle also directories. (Bug#5478)
10078 2010-02-05 Glenn Morris <rgm@gnu.org>
10080 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10082 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10084 * startup.el (command-line-1): Convert options beginning with a
10085 single dash as well (Bug#5519).
10087 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10089 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10090 * minibuffer.el (completion-initials-expand): Only check the presence
10091 of delims *within* the boundaries, since otherwise the / delim is
10092 always found for files.
10094 Fix up various corner case problems.
10095 * doc-view.el (doc-view-last-page-number): New function.
10096 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10097 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10098 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10099 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10100 (doc-view-convert-current-doc): Don't create the resolution.el file
10102 (doc-view-pdf/ps->png): Do it here instead.
10103 (doc-view-already-converted-p): Check that resolution.el is present.
10104 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10105 windows that are not yet showing images.
10107 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10109 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10110 `dired-uncache' for every elemnt which is an absolute file name.
10112 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10113 directory, handle its directory component.
10114 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10115 function is called permanently and creates noise, otherwise.
10117 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10118 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10119 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10121 2010-02-04 David Burger <dburger@google.com> (tiny change)
10123 * macros.el (apply-macro-to-region-lines):
10124 Minor simplification. (Bug#5485)
10126 2010-02-04 Glenn Morris <rgm@gnu.org>
10128 * mail/rmail.el (rmail-show-message-1): Handle malformed
10129 quoted-printable text. (Bug#5441)
10131 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10133 * simple.el (visual-line-mode): Capitalize lighter.
10135 2010-02-03 John Wiegley <jwiegley@gmail.com>
10137 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10138 list of files considered for "virtual buffer" completions.
10140 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10142 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10143 also in case of (and (not full) (not wildcard)). This is needed
10144 when dired is called with a list of files, which are not in
10145 `default-directory'. (Bug#5478)
10147 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10149 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10151 2010-02-02 Juri Linkov <juri@jurta.org>
10153 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10154 from unidiff to allow function-line after @@.
10156 2010-02-02 Juri Linkov <juri@jurta.org>
10158 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10159 '(RCS SCCS) with inverted condition.
10161 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10163 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10166 2010-02-01 Juri Linkov <juri@jurta.org>
10168 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10169 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10170 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10171 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10173 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10176 (doc-view-revert-buffer): New command.
10177 (doc-view-mode-map): Use it.
10179 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10181 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10182 pending merge is detected.
10184 2010-01-31 Juri Linkov <juri@jurta.org>
10186 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10187 beginning of interactive spec like all other grep commands do.
10188 Put "all" in front of "gz". (Bug#5260)
10190 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10192 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10194 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10196 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10197 regexp is incorrect (Bug#5476).
10199 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10201 * net/tramp.el (tramp-handle-insert-directory): Handle also
10202 symlinks, when FILENAME is not in `default-directory'.
10204 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10206 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10207 FILE is not in `default-directory'. (Bug#5478)
10209 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10210 of SWITCHES. Handle the case, FILENAME is not in
10211 `default-directory'. (Bug#5478)
10212 (tramp-register-file-name-handlers): Add safe-magic property.
10214 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10216 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10219 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10221 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10222 (flymake-master-make-header-init): Add other C++ filename masks.
10223 (flymake-find-possible-master-files)
10224 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10226 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10228 Fix some busybox annoyances.
10230 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10231 not responding." string.
10232 (tramp-open-connection-setup-interactive-shell): Dump stty
10233 settings. Enable "neveropen" arg for all `tramp-send-command'
10234 calls. Handle "=" in variable values properly.
10235 (tramp-find-inline-encoding): Raise an error, when no encoding is
10237 (tramp-wait-for-output): Check, whether PROC buffer is available.
10238 Remove spurious " ^H" sequences, sent by busybox.
10239 (tramp-get-ls-command): Suppress coloring, if possible.
10241 2010-01-28 Glenn Morris <rgm@gnu.org>
10243 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10245 * log-edit.el (log-edit-strip-single-file-name): Add missing
10246 :safe, :group, and :version tags.
10248 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10250 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10251 buffers. (Bug#5477)
10253 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10255 * files.el (delete-directory): Handle moving to trash without
10256 first doing recursion (Bug#5436).
10258 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10260 * vc-hooks.el (vc-path): Mark as obsolete.
10262 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10264 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10267 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10269 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10271 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10273 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10275 * vc-bzr.el (vc-bzr-revision-table): New function.
10277 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10279 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10280 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10282 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10284 Remove support for adding --signoff on commit.
10285 Future support will use an incompatible generic mechanism.
10286 * vc-git.el (vc-git-add-signoff): Remove variable.
10287 (vc-git-toggle-signoff): Remove function.
10288 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10290 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10291 Rename from xterm-set-background-mode. Return t if the background mode
10293 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10294 earlier, call it again in case the background mode has changed.
10296 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10298 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10301 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10303 * emacs-lisp/assoc.el (aelement): Doc fix.
10304 (aput, adelete, amake): Use lexical-let (Bug#5450).
10306 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10308 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10309 is the same as subprogram call, not declaration. (Bug#5435).
10311 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10313 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10314 (tramp-smb-maybe-open-connection): Use it.
10316 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10318 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10320 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10322 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10323 just because we see "encoding: 8bit".
10324 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10326 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10328 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10330 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10332 * jka-compr.el (jka-compr-load): If load-file is not in
10333 load-history, try its file-truename version. (bug#5447)
10335 2010-01-21 Alan Mackenzie <acm@muc.de>
10337 Fix a situation where deletion of a cpp construct throws an error.
10338 * progmodes/cc-engine.el (c-invalidate-state-cache):
10339 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10340 special cpp construct is still in the buffer.
10341 (c-parse-state): Record the special cpp with markers, not numbers.
10343 2010-01-21 Kenichi Handa <handa@m17n.org>
10345 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10346 process last-command-event, as it is now decoded first (Bug#5380).
10348 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10350 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10352 2010-01-20 Glenn Morris <rgm@gnu.org>
10354 * indent.el (tab-always-indent): Fix custom-type.
10356 2010-01-19 Alan Mackenzie <acm@muc.de>
10358 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10359 buffer throws "args out of range".
10360 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10361 playing the role of delimiter.
10363 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10365 * progmodes/ada-mode.el: Fix bug#5400.
10366 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10367 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10368 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10369 Improve comments in "is" portion. Handle null procedure declaration.
10370 (ada-move-to-end): Improve doc string.
10372 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10374 * ido.el (ido-cur-list): Initialize to nil.
10375 Remove obsolete information from commentary.
10376 (ido-choice-list): Initialize to nil.
10377 (ido-get-bufname): Reject minibuffers.
10378 (ido-make-buffer-list): If "default" is a nonexistent
10379 buffer, ignore it, as per the function's comment.
10380 (ido-kill-buffer-internal): New function.
10381 (ido-kill-buffer-at-head): Use it.
10382 (ido-visit-buffer): Likewise.
10384 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10386 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10388 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10390 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10391 Fix typos in chart titles.
10393 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10394 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10395 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10396 (describe-class, eieio-describe-generic, describe-generic):
10397 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10398 (eieio-speedbar-expand):
10399 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10400 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10401 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10402 (viper-del-backward-char-in-replace, viper-backward-indent)
10403 (viper-brac-function, viper-register-to-point, viper-submit-report):
10404 * net/tramp.el (tramp-remote-coding-commands):
10405 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10406 Fix typos in docstrings.
10408 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10410 * mail/sendmail.el (mail-yank-original): Set the mark if the
10411 specified function for yanking does not do it.
10413 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10415 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10417 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10418 resyncing a directory.
10420 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10422 * progmodes/ada-mode.el: Fix bug#1920.
10423 (ada-ident-re): Delete ., allow multibyte characters.
10424 (ada-goto-label-re): New; matches goto labels.
10425 (ada-block-label-re): New; matches block labels.
10426 (ada-label-re): New; matches both.
10427 (ada-named-block-re): Deleted; callers changed to use
10428 `ada-block-label-re' instead.
10429 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10430 Use `ada-block-label-re'.
10431 (ada-indent-on-previous-lines): Improve handling of goto labels.
10432 (ada-get-indent-block-start): Special-case block label.
10433 (ada-get-indent-label): Split into `ada-indent-block-label' and
10434 `ada-indent-goto-label'.
10435 (ada-goto-stmt-start, ada-goto-next-non-ws):
10436 Optionally ignore goto labels.
10437 (ada-goto-next-word): Simplify.
10438 (ada-indent-newline-indent-conditional): Insert newline before
10439 trying to fix indentation; doc fix.
10441 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10443 * calc/calc.el (calc-command-flags): Give it an initial value.
10445 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10447 * files.el (minibuffer-with-setup-hook):
10448 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10449 (artist-key-draw-continously, artist-key-do-continously-continously)
10450 (artist-key-set-point-continously, artist-mouse-draw-continously):
10451 Fix typos in docstrings.
10453 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10455 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10456 Never return t (Bug#3898).
10458 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10460 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10461 can parse the output of the external commands (Bug#5279).
10463 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10465 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10467 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10469 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10471 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10473 * startup.el (command-line): Remove unused --icon-type arg.
10474 Handle --display arg, passing it to command-line-1 (Bug#5392).
10476 2010-01-16 Mario Lang <mlang@delysid.org>
10478 * emacs-lisp/chart.el (chart-translate-namezone):
10479 * textmodes/artist.el (artist-compute-popup-menu-table):
10480 Remove duplicated words in doc-strings.
10482 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10484 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10485 to mairix-search to suppress threading (Bug#5342).
10487 2010-01-15 Kenichi Handa <handa@m17n.org>
10489 * international/mule-cmds.el (canonicalize-coding-system-name):
10490 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10492 2010-01-15 Glenn Morris <rgm@gnu.org>
10494 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10496 * wid-edit.el (widget-keymap): Doc fix.
10498 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10499 former seems to be more widely accepted by various svn versions.
10501 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10503 * find-cmd.el (find-constituents):
10504 * vc-arch.el (vc-arch-root):
10505 * window.el (window-body-height, pop-up-frames):
10506 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10507 * progmodes/ada-stmt.el (ada-if):
10508 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10509 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10510 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10511 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10513 * progmodes/flymake.el (flymake-post-syntax-check):
10514 Fix typo in error message.
10516 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10518 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10519 which is always a string. (Bug#5313)
10521 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10523 * progmodes/ada-xref.el (ada-default-prj-properties):
10524 Simplify previous change.
10526 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10528 * progmodes/ada-xref.el (ada-default-prj-properties):
10529 Default ada_project_path to $ADA_PROJECT_PATH.
10531 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10533 * progmodes/ada-mode.el (ada-create-keymap):
10534 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10536 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10538 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10539 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10540 (ada-get-current-indent, ada-imenu-generic-expression)
10541 (ada-which-function): Check for it.
10543 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10545 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10546 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10548 2010-01-14 Glenn Morris <rgm@gnu.org>
10550 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10552 2010-01-14 Kenichi Handa <handa@m17n.org>
10554 * composite.el (auto-composition-mode): Make it a buffer local
10555 variable (permanent-local).
10556 (auto-composition-function): Set the default value to
10557 auto-compose-chars.
10558 (auto-composition-mode): Make it a simple function, not a minor mode.
10559 (global-auto-composition-mode): Likewise.
10560 (turn-on-auto-composition-if-enabled): Delete it.
10562 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10564 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10566 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10568 * files.el (copy-directory): Compute target for recursive
10569 directories with identical names. (Bug#5343)
10571 2010-01-12 Glenn Morris <rgm@gnu.org>
10573 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10574 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10576 2010-01-11 Sam Steingold <sds@gnu.org>
10578 * imenu.el (imenu-default-create-index-function): Detect infinite
10579 loops caused by imenu-prev-index-position-function.
10581 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10583 * htmlfontify.el (htmlfontify-load-rgb-file)
10584 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10585 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10586 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10587 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10588 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10589 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10590 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10591 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10592 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10593 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10594 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10595 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10596 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10597 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10598 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10599 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10600 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10601 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10602 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10603 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10604 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10605 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10606 backslash-quoting from parentheses, etc.
10608 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10610 * progmodes/js.el: Autoload javascript-mode alias.
10612 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10614 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10615 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10616 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10617 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10618 Fix typos in docstrings.
10619 (ffap-url-regexp): Doc fix.
10620 (ffap-at-mouse): Fix typo in message.
10622 2010-01-11 Glenn Morris <rgm@gnu.org>
10624 * version.el (emacs-copyright): Set copyright year to 2010.
10626 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * format.el (format-annotate-function): Only set
10629 write-region-post-annotation-function after running to-fn so as not to
10630 affect nested write-region calls (bug#5273).
10632 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10634 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10637 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10639 * man.el (Man-goto-section): Signal error if the section is not
10642 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10644 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10645 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10647 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10649 * progmodes/compile.el: Don't treat compile-command as safe if
10650 compilation-read-command might be nil (Bug#4218).
10652 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10654 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10657 2010-01-08 Kenichi Handa <handa@m17n.org>
10659 * international/fontset.el (build-default-fontset-data):
10660 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10662 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10664 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10665 to `create-file-buffer' as it expects, not just a buffer name.
10666 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10667 to help uniquify. (Bug#3224)
10669 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10671 * font-setting.el (font-setting-change-default-font): Use user-spec
10674 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10676 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10678 2010-01-05 Tom Tromey <tromey@redhat.com>
10680 * progmodes/python.el (python-font-lock-keywords):
10681 Handle qualified decorators (Bug#881).
10683 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10685 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10686 in a lightweight checkout.
10688 2010-01-05 Kenichi Handa <handa@m17n.org>
10690 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10692 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10694 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10696 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10698 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10699 checkouts. (Bug#618)
10700 (vc-bzr-log-view-mode): Also highlight the author.
10701 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10702 (vc-bzr-shelve-menu-map):
10703 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10704 (vc-bzr-shelve-apply): Make prompt more explicit.
10706 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10708 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10709 They are valid characters in URL paths (rfc3986), and at least
10710 Firefox does not understand the encoded version (Bug#3166).
10712 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10714 * progmodes/octave-mod.el (octave-end-keywords)
10715 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10716 Add "end" keyword (Bug#3061).
10717 (octave-end-as-array-index-p): New function.
10718 (calculate-octave-indent): Use it.
10720 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10722 * bookmark.el: Consistently put the text property on the bookmark name.
10723 (bookmark-bmenu-marks-width): Bump back to 2, to include
10725 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10726 property on the bookmark name, instead of not putting it at all.
10727 (bookmark-bmenu-list): Fix where we put the text property.
10729 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10731 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10732 for showing buffer modified state (as added in the previous change).
10734 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10736 * bookmark.el: Show modified state of bookmark buffer more accurately.
10737 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10738 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10739 (with-buffer-modified-unmodified): New macro.
10740 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10741 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10742 Use new macro to preserve the buffer modified state.
10744 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10746 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10747 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10748 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10749 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10750 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10751 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10752 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10754 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10756 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10757 Make the lines in the generated doc string shorter. (Bug#4668)
10759 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10761 * net/rcirc.el: Add follow-link binding (Bug#4738).
10763 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10765 * Makefile.in (bzr-update): Rename from cvs-update.
10766 (cvs-update): New target for backward compatibility.
10768 * makefile.w32-in (bzr-update): Rename from cvs-update.
10769 (cvs-update): New target for backward compatibility.
10771 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10773 * bookmark.el: Remove gratuitous gratitude.
10775 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10777 * bookmark.el (bookmark-bmenu-any-marks): New function.
10778 (bookmark-bmenu-save): Clear buffer modification if no marks.
10780 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10782 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10783 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10784 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10785 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10787 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10788 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10789 To: emacs-devel {_AT_} gnu.org
10790 Subject: bookmark.el bug report
10791 Date: Mon, 28 Dec 2009 14:19:16 +0800
10792 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10794 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10796 * bookmark.el: Improvements suggested by Drew Adams:
10797 (bookmark-bmenu-ensure-position): New name for
10798 `bookmark-bmenu-check-position'. Just ensure the position,
10799 don't return any meaningful value.
10800 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10803 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10805 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10806 (bookmark-yank-point, bookmark-bmenu-check-position):
10807 Fix typos in docstrings.
10808 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10809 (bookmark-name-from-full-record, bookmark-get-position)
10810 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10811 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10812 Remove useless quoting of parenthesis, etc. in docstrings.
10814 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10815 (ediff-append-custom-diff): Fix typo in error message.
10816 (ediff-meta-mark-equal-files): Fix typos in messages.
10818 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10820 * net/imap-hash.el (imap-hash-make): Doc fix.
10821 (imap-hash-test): Fix typo in error message; reflow docstring.
10822 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10823 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10824 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10825 Fix typos in docstrings.
10826 (imap-hash-open-connection): Fix typo in error message.
10828 * play/gomoku.el (gomoku): Fix typos in docstring.
10830 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10831 (gdb-jsonify-buffer): Fix typos in docstring.
10832 (gdb-goto-breakpoint): Fix typo in error message.
10833 ("Display Other Windows"): Fix typo in help message.
10834 (gdb-speedbar-expand-node): Fix typo in question.
10836 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10837 (idlwave-html-system-help-location, idlwave-html-help-location)
10838 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10839 (idlwave-help-browser-generic-args, idlwave-help-directory)
10840 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10841 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10842 (idlwave-online-help, idlwave-help-html-link)
10843 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10844 Fix typos in docstrings.
10845 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10847 (idlwave-help-assistant-start): Fix typo in error message.
10849 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10850 (octave-electric-space): Fix typos in docstrings.
10852 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10854 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10856 2010-01-01 Juri Linkov <juri@jurta.org>
10858 * comint.el (comint-input-ring-size): Make it a defcustom and
10859 increase the default to 500 (Bug#5148).
10861 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10863 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10864 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10865 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10867 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10869 Show working revision correctly for mercurial.
10870 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10871 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10873 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10875 Declare some functions for the byte-compiler.
10876 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10877 (speedbar-timer-fn, speedbar-change-expand-button-char)
10878 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10880 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10882 This changeset reverts GDB Graphical Interface to use annotations.
10883 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10885 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10887 Make vc-dir work on subdirectories of the bzr root.
10888 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10889 Return file names relative to it.
10890 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10891 relative directory to vc-bzr-after-dir-status.
10893 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10895 * font-lock.el (font-lock-refresh-defaults): New function, which
10896 can be used to let font-lock react to external changes in
10897 variables like font-lock-defaults and keywords.
10898 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10900 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10902 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10904 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10906 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10908 Supersede color.diff settings in git log (bug#5211).
10910 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10911 escape chars in its output when the user has color.diff set to `always'.
10912 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10914 2009-12-26 Kevin Ryde <user42@zip.com.au>
10916 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10917 node. Keep previous "Index" name to work with past coreutils too.
10919 * man.el (man): Revise docstring a bit to show -a and -l as
10920 examples. Add -k description since support for it has otherwise
10921 been a secret. (Further to bug#3717.)
10922 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10923 "no matches" rather than "Can't find manpage", as the latter reads
10924 like -k was interpreted as a page name, which is not so. (Bug#5431)
10926 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10928 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10929 switches. Check also for //SUBDIRED// line.
10931 2009-12-25 Kenichi Handa <handa@m17n.org>
10933 * language/indian.el (devanagari-composable-pattern): Fix to
10934 handle ZWNJ and ZWJ. Use it in composition-function-table for
10936 (malayalam-composable-pattern): Fix previous change.
10938 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10940 * ps-print.el (ps-face-attributes): It was not returning the
10941 attribute face for faces specified as string. Reported by harven
10942 <harven@free.fr>. (Bug#5254)
10943 (ps-print-version): New version 7.3.5.
10945 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10947 * calendar/icalendar.el (icalendar--convert-tz-offset):
10948 Fix timezone names.
10949 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10950 (icalendar--add-diary-entry): Remove the trailing blank that
10951 diary-make-entry inserts.
10953 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10955 Make `file-expand-wildcards' work for remote files.
10957 * files.el (file-expand-wildcards): In case of remote files, check
10958 only local file name part for wildcards. Provide feature 'files
10959 and subfeature 'remote-wildcards. (Bug#5198)
10961 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10962 if there is already an established connection.
10963 (tramp-advice-file-expand-wildcards): Remove it.
10965 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10966 (tramp-advice-file-expand-wildcards): Move from tramp.el.
10967 Activate advice for older GNU Emacs versions. (Bug#5237)
10969 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
10971 Some doc fixes (more needed).
10973 * find-cmd.el (find-constituents): Reflow docstring.
10974 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10975 (find-generic): Doc fix.
10977 2009-12-17 Juri Linkov <juri@jurta.org>
10979 Fix regression from 23.1 to allow multiple modes in Local Variables.
10981 * files.el (hack-local-variables-filter): While ignoring duplicates,
10982 don't take `mode' into account.
10983 (hack-local-variables-filter, hack-dir-local-variables):
10984 Don't remove duplicate `mode' from local-variables-alist (like `eval').
10986 2009-12-17 Juri Linkov <juri@jurta.org>
10988 Make `dired-diff' safer. (Bug#5225)
10990 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10991 `current' or when `file' is a directory of the `current' file.
10993 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10995 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10996 unconditionally preloaded files.
10998 2009-12-16 Juri Linkov <juri@jurta.org>
11000 Revert to old 23.1 logic of using the file at the mark as default.
11001 * dired-aux.el (dired-diff): Use the file at the mark as default
11002 if it's not the same as the current file, and the target dir is
11003 the current dir or the mark is active. Add the current file
11004 as the arg of `dired-dwim-target-defaults'. Use the default file
11005 in the prompt. (Bug#5225)
11007 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11009 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11010 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11011 (tramp-check-for-regexp): Check also, when an echoing shell stops
11012 to echo sent commands.
11014 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11016 * Makefile.in: Revert last change (Bug#5191).
11018 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11020 * vc-hg.el (vc-hg-print-log): Fix argument order.
11021 (vc-hg-working-revision): Make sure the command is executed in a
11022 known environment so that we can parse the output. (Bug#4417)
11024 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11026 * progmodes/python.el (python-symbol-completions): Remove text
11027 properties from symbol string before calling python-send-receive.
11029 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11031 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11032 when there are values for both file and line. (Bug#5060)
11034 2009-12-14 Juri Linkov <juri@jurta.org>
11036 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11037 whitespace after the file name of the first line of unified format,
11038 because git-diff doesn't output whitespace and file modification time
11039 after the file name.
11041 2009-12-14 David Kastrup <dak@gnu.org>
11043 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11044 check if it already has the `display' property added by
11045 `Info-display-images-node', and not put the `invisible' property
11048 2009-12-13 Glenn Morris <rgm@gnu.org>
11050 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11051 (report-emacs-bug): In message-mode, sort manually before storing
11052 original report text. (Bug#5178)
11053 Remove superfluous save-excursion.
11055 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11057 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11058 when responding to "GetAll" properties.
11060 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11062 * simple.el (compose-mail): Remove mail-setup-with-from from
11063 customization checks.
11065 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11067 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11068 RAR archives created on Unix systems.
11070 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11073 the varalias that was accidentally removed by the 2009-11-19 change
11076 2009-12-12 Kenichi Handa <handa@m17n.org>
11078 * language/indian.el (indian-compose-regexp): New function.
11079 (malayalam-composable-pattern): Fix the pattern.
11080 (composition-function-table): Set malayalam-composable-pattern for
11081 Malayalam characters.
11083 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11085 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11086 rather than down-mouse-1, based on follow-link conventions.
11088 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11091 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11093 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11094 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11095 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11096 (verilog-leap-to-head, verilog-backward-token):
11097 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11099 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11101 * progmodes/verilog-mode.el (verilog-auto-lineup)
11102 (verilog-nameable-item-re): Cleanup user-visible spelling and
11103 documentation errors. One reported by Gary Delp.
11104 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11105 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11106 package, bug195. Reported by Pierre-David Pfister.
11108 2009-12-11 Glenn Morris <rgm@gnu.org>
11110 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11112 * mail/emacsbug.el: No longer require sendmail.
11113 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11114 (report-emacs-bug-orig-text): Doc fix.
11115 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11116 New local variables, to adapt to different mail-user-agents.
11117 (report-emacs-bug): Fix test for a gnu.org address.
11118 Use overlays for emphasis, since font-lock defeats 'face property.
11119 Pretest bugs also end up at the newsgroup these days.
11120 Stop message-mode stripping text properties.
11121 Set and use the new buffer-local variables.
11122 (report-emacs-bug-hook): Add doc-string.
11123 Remove some unnecessary save-excursions and simplify.
11124 Use the appropriate hook and send-command.
11126 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11127 capitalization of some menu entries.
11129 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11131 * whitespace.el (whitespace-display-char-on):
11132 Ensure `buffer-display-table' is unique when two or more windows are
11133 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11136 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11138 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11139 characters in the Attribute field.
11141 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11143 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11145 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11147 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11148 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11149 Disregard autoload-excludes.
11150 (update-directory-autoloads): Obey autoload-excludes here instead.
11151 But don't store its contents in no-autoloads and remove entries that
11152 refer to excludes files.
11154 2009-12-10 Glenn Morris <rgm@gnu.org>
11156 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11157 (expand-mail-aliases): Define for compiler.
11159 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11160 Define for compiler.
11162 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11163 appropriate for the mail-user-agent in use.
11165 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11167 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11169 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11171 Fix short log parsing and fontification.
11172 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11173 Fix fontification for the [merge] label.
11175 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11177 Drop some properties to avoid surprises (bug#5002).
11178 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11179 (hfy-fontify-buffer): Use it.
11181 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11184 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11185 Adjust all callers.
11186 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11187 args compulsory. Adjust callers.
11188 (ffap-gopher-at-point): Remove unused var `name'.
11190 Get rid of the ELCFILES abomination.
11191 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11192 (compile-elcfiles): New phony target.
11193 (compile-main): Compute ELCFILES dynamically.
11194 (compile-clean): New target to remove left-over elc files.
11195 (compile, all): Use it.
11197 2009-12-09 Kenichi Handa <handa@etlken>
11199 * international/mule-diag.el: Require help-mode instead of help-fns.
11201 2009-12-09 Kenichi Handa <handa@m17n.org>
11203 * international/mule-cmds.el (ucs-names): Supply sufficiently
11204 fine ranges instead of pre-calculating accurate ranges.
11205 Iterate with bigger gc-cons-threshold.
11207 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11209 Add support for stashing a snapshot of the current tree.
11210 * vc-git.el (vc-git-stash-snapshot): New function.
11211 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11213 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11215 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11216 instead of `(beginning|end)-of-line'.
11218 2009-12-08 Glenn Morris <rgm@gnu.org>
11220 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11222 * Makefile.in (ELCFILES): Regenerate.
11224 2009-12-07 Juri Linkov <juri@jurta.org>
11226 Don't lazy-highlight the comint output in history Isearch mode.
11228 * comint.el (comint-history-isearch-search): Instead of
11229 `comint-line-beginning-position', use `comint-after-pmark-p'
11230 to check if point if before the process mark, and go to
11231 `process-mark' in this case.
11233 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11235 * textmodes/tex-mode.el (latex-complete)
11236 (latex-indent-or-complete): Remove.
11237 (latex-mode): Set completion-at-point-functions instead.
11239 Provide a standard completion command and hook it into TAB.
11240 * minibuffer.el (completion-at-point-functions): New var.
11241 (completion-at-point): New command.
11242 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11243 * progmodes/python.el (python-mode-map): Use completion-at-point.
11244 (python-completion-at-point): Rename from python-partial-symbol and
11245 adjust for use in completion-at-point-functions.
11246 (python-mode): Setup completion-at-point for Python completion.
11247 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11248 extracted from lisp-complete-symbol.
11249 (lisp-complete-symbol): Use it.
11250 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11251 setup completion-at-point for Elisp completion.
11252 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11253 Use completion-at-point.
11254 * ielm.el (ielm-map): Use completion-at-point.
11255 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11256 * progmodes/sym-comp.el: Move to...
11257 * obsolete/sym-comp.el: Move from progmodes.
11259 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11261 Prevent save-buffer in Rmail buffers from using the coding-system
11262 of the current message, and from clobbering the encoding mnemonics
11263 in the mode line (Bug#4623).
11265 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11267 (rmail-message-encoding): New variable.
11268 (rmail-write-region-annotate): Record the encoding of the current
11269 message in rmail-message-encoding.
11270 (rmail-after-save-hook): New function, restores the encoding of
11271 the current message after the message collection is saved.
11273 2009-12-07 Juri Linkov <juri@jurta.org>
11275 * progmodes/grep.el (grep-read-files): Use `completing-read'
11276 instead of `read-string'. Set its `collection' arg to
11277 `read-file-name-internal'. (Bug#4301)
11279 2009-12-07 Juri Linkov <juri@jurta.org>
11281 Correctly restore original Isearch point. (Bug#4994)
11283 * isearch.el (isearch-mode): Move `isearch-push-state' after
11284 `(run-hooks 'isearch-mode-hook)'.
11285 (isearch-cancel): When `isearch-push-state-function' is defined,
11286 let-bind `isearch-cmds' to the first state (the last element of
11287 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11288 function and restores the original point). Otherwise, move point
11289 to `isearch-opoint'.
11291 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11293 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11294 chars that don't have names, so the table can be built much faster at
11297 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11299 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11300 change. Suggested by David Kastrup.
11302 * simple.el (compose-mail): Check for incompatibilities and warn.
11303 (compose-mail-user-agent-warnings): New option.
11305 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11307 Support showing a single log entry from vc-annotate.
11308 * vc.el (print-log): Add a new argument: START-REVISION.
11309 (vc-print-log-internal): Add a new optional argument and
11310 pass it to the backend.
11311 (vc-print-log, vc-print-root-log): Adjust callers.
11312 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11313 buffer already displays the requested log entry, use it.
11314 Otherwise display only the log entry in question.
11315 * vc-svn.el (vc-svn-print-log):
11316 * vc-mtn.el (vc-mtn-print-log):
11317 * vc-hg.el (vc-hg-state):
11318 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11319 (vc-git-show-log-entry): Return t on success.
11320 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11321 (vc-bzr-show-log-entry): Return t on success.
11322 * vc-rcs.el (vc-rcs-print-log):
11323 * vc-sccs.el (vc-sccs-print-log):
11324 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11326 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11328 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11329 Add menus to the meta mode. (Bug#5043)
11331 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11333 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11336 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11338 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11340 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11341 Berbain <raphael.berbain@gmail.com>.
11343 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11345 (tramp-initial-end-of-output): New defconst.
11346 (tramp-methods, tramp-find-shell)
11347 (tramp-open-connection-setup-interactive-shell)
11348 (tramp-maybe-open-connection): Use it.
11349 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11350 Handle existence of `#' and `$'.
11352 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11353 Use `tramp-initial-end-of-output'.
11355 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11357 Get the background mode from the terminal for xterm, and set
11359 * term/xterm.el (xterm-set-background-mode): New function.
11360 (terminal-init-xterm): Use it in case xterm supports background
11361 color queries. Recompute faces after getting the background
11364 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11366 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11367 number comment back on its own line, for easier parsing.
11369 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11371 Make it work for non-file buffers (bug#5102).
11372 * doc-view.el (doc-view-current-cache-dir):
11373 Use doc-view-buffer-file-name rather than buffer-file-name.
11374 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11376 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11378 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11379 author field is too short.
11381 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11383 * vc-git.el (vc-git-print-log): Handle a limit argument.
11384 Display the short log in graph form and with labels.
11385 (vc-git-log-view-mode): Handle labels.
11387 Make vc-revert change VC state from 'added to 'unregistered.
11388 * vc-git.el (vc-git-revert): Call git reset first.
11390 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11392 * net/newst-backend.el, net/newst-plainview.el:
11393 * net/newst-reader.el, net/newst-ticker.el:
11394 * net/newst-treeview.el, net/newsticker.el:
11395 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11397 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11399 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11401 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11402 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11403 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11404 Update annotation regexp.
11406 * simple.el (beginning-of-visual-line): Constrain to field
11407 boundaries (Bug#5106).
11409 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11411 * xml.el (xml-substitute-numeric-entities):
11412 Move newsticker--decode-numeric-entities in newst-backend.el to
11413 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11414 * net/newst-backend.el (newsticker--parse-generic-feed)
11415 (newsticker--parse-generic-items)
11416 (newsticker--decode-numeric-entities):
11417 Move newsticker--decode-numeric-entities in newst-backend.el to
11418 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11420 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11422 * progmodes/js.el (js--js-not): Add null to the list of values.
11424 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11426 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11428 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11430 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11431 delimiter if it is at the end of the current line.
11432 (bibtex-generate-url-list): Fix docstring.
11434 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11436 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11437 minibuffer's content with itself.
11438 Fold the confirm-after-completion case into the `confirm' case.
11439 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11441 2009-12-06 Kevin Ryde <user42@zip.com.au>
11443 * ffap.el (ffap-rfc-path): Make this a defcustom since
11444 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11446 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11447 manuals, similar to existing setup for help-mode. (Bug#3913.)
11449 2009-12-05 Juri Linkov <juri@jurta.org>
11451 Save and restore dired buffer's point positions too. (Bug#4880)
11453 * dired.el (dired-save-positions): Return in the first element
11454 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11456 (dired-restore-positions): First restore buffer's position.
11457 While restoring window's positions, check if window still displays
11458 the original buffer.
11460 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11462 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11465 * shell.el (shell): Require ansi-color (Bug#5113).
11467 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11469 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11471 2009-12-05 Alan Mackenzie <acm@muc.de>
11473 * progmodes/cc-mode.el (c-before-hack-hook)
11474 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11475 `c-file-style' to work again. This reversion restores the current
11476 software to its state in Emacs 23.1. (Bug#4146)
11478 2009-12-05 Kevin Ryde <user42@zip.com.au>
11480 * textmodes/sgml-mode.el (sgml-lexical-context):
11481 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11483 2009-12-05 Juri Linkov <juri@jurta.org>
11485 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11486 for virtual nodes. (Bug#4147)
11487 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11488 when moving from a virtual node.
11489 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11490 (Info-mode): Add `Info-virtual-index' to the docstring.
11492 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11494 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11495 track of the buffer position of the end of a BibTeX entry as this
11496 position may change during reformatting.
11497 (bibtex-format-entry): Remove whitespace before processing
11498 numerical fields so that we recognize the latter properly.
11499 (bibtex-reformat): Do not use push which changes the global value
11500 of bibtex-entry-format.
11501 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11502 (bibtex-field-re-init): Replace only space characters by regexp
11504 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11505 (bibtex-initialize): Also update bibtex-strings.
11506 (bibtex-kill-field): Preserve white space at end of entry.
11507 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11508 Update bibtex-reference-keys.
11510 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11512 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11513 point after a star, if that's the only place where modifications can
11516 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11518 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11521 2009-12-04 Juri Linkov <juri@jurta.org>
11523 * proced.el (proced): Call `(proced-update t)' to update process
11524 information instead of only running proced-post-display-hook.
11525 (proced-send-signal): Add a leading space to the buffer name
11526 " *Marked Processes*" to make this buffer ephemeral.
11528 2009-12-04 Juri Linkov <juri@jurta.org>
11530 * dired.el (dired-auto-revert-buffer): New defcustom.
11531 (dired-internal-noselect): Use it.
11533 2009-12-04 Juri Linkov <juri@jurta.org>
11535 Change roles of modes and functions in image-mode.el (Bug#5062).
11537 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11538 in `auto-mode-alist'.
11539 (image-mode-previous-major-mode): New variable.
11540 (image-minor-mode-map): Rename from `image-mode-text-map'.
11541 (image-mode): Move graceful error-handling code from
11542 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11543 (image-minor-mode): Remove all image-handling code.
11544 Replace `image-mode-text-map' with `image-minor-mode-map'.
11545 Check for `image-type' in mode-line format string.
11546 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11547 (image-mode-as-text): New function with most code from
11548 `image-mode-maybe'.
11549 (image-toggle-display-text): Move code that removes image
11550 properties from `image-toggle-display' to here.
11551 (image-toggle-display-image): New function with code that adds
11552 image properties copied from `image-toggle-display'.
11553 (image-toggle-display): Remove most code with leaving only code
11554 that toggles between `image-mode-as-text' and `image-mode'.
11556 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11558 * net/newst-treeview.el
11559 (newsticker--treeview-list-highlight-start): Restored call to
11560 save-excursion: Selected item was stuck.
11561 (newsticker--treeview-list-select): New.
11562 (newsticker--treeview-item-show-text)
11563 (newsticker--treeview-item-show)
11564 (newsticker--treeview-item-update): Use new
11565 newsticker-treeview-item-mode.
11566 (newsticker-treeview-update): Keep current item.
11567 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11568 (newsticker--treeview-first-feed): Doc change.
11569 (newsticker-treeview-list-menu)
11570 (newsticker-treeview-item-menu): Add menu entries.
11571 (newsticker-treeview-item-mode): New.
11573 * net/newst-backend.el (newsticker-customize): Delete other
11576 2009-12-04 Sam Steingold <sds@gnu.org>
11578 * log-view.el (log-view-mode-map): "q" calls quit-window,
11579 like in all the other non-self-insert buffers.
11581 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11584 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11585 key decoding rather than do it manually via last-input-event +
11587 (term-exec): Use delete-and-extract-region.
11588 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11589 (term-process-pager): Remove unused var `i'.
11590 (term-dynamic-simple-complete): Make obsolete.
11591 (serial-update-config-menu): Remove unused vars `y' and `str'.
11592 (term-update-mode-line): Remove unused var `temp'.
11594 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11596 Limit the number of log entries displayed by default.
11597 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11598 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11599 using a prefix argument.
11601 2009-12-03 Glenn Morris <rgm@gnu.org>
11603 * progmodes/idlwave.el (class): Restore still useful declaration.
11605 2009-12-03 Alan Mackenzie <acm@muc.de>
11607 Enhance `c-parse-state' to run efficiently in "brace deserts".
11609 * progmodes/cc-mode.el (c-basic-common-init):
11610 Call c-state-cache-init.
11611 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11612 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11613 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11615 * progmodes/cc-langs.el (c-before-font-lock-function):
11616 c-extend-and-neutralize-syntax-in-CPP has been renamed
11617 c-neutralize-syntax-in-and-mark-CPP.
11619 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11620 with `category' properties now, not `syntax-table' ones.
11622 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11623 enhanced (but slower) version of c-end-of-macro that won't land
11624 inside a literal or on another awkward character.
11625 (c-state-cache-too-far, c-state-cache-start)
11626 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11627 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11628 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11629 (c-state-min-scan-pos, c-state-brace-pair-desert)
11630 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11631 buffer local variables.
11632 (c-state-literal-at, c-state-lit-beg)
11633 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11634 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11635 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11636 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11637 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11638 (c-renarrow-state-cache)
11639 (c-append-lower-brace-pair-to-state-cache)
11640 (c-state-push-any-brace-pair, c-append-to-state-cache)
11641 (c-remove-stale-state-cache)
11642 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11643 (c-invalidate-state-cache-1, c-parse-state-1)
11644 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11645 (c-parse-state): Enhance and refactor.
11646 (c-debug-parse-state): Amend to deal with all the new variables.
11648 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11649 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11650 modify to use category text properties rather than syntax-table ones.
11651 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11652 to switch off/on the syntactic paren property of C++ template
11653 delimiters using the category property.
11654 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11655 template delims suppressed.
11656 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11657 New constant/macros which apply category properties to the start
11658 and end of preprocessor constructs.
11659 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11660 "comment out" the syntactic value of characters in preprocessor
11662 (c-with-cpps-commented-out)
11663 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11664 with characters in all or all but one preprocessor constructs
11667 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11669 * proced.el (proced-filter-alist): Use regexp-quote.
11671 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11674 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11675 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11676 arguments. Expand `default-directory'.
11678 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11679 the benefit of returning an expanded localname.
11680 (tramp-tramp-file-p): Handle the case NAME is not a string.
11682 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11684 Add support for bzr shelve/unshelve.
11685 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11686 (vc-bzr-extra-menu-map): New variables.
11687 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11688 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11689 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11690 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11691 (vc-bzr-dir-extra-headers): Display shelves.
11693 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11695 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * textmodes/bibtex.el (bibtex-complete-internal):
11698 Use completion-in-region.
11699 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11701 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11703 Support applying stashes. Improve UI.
11704 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11705 (vc-git-stash-apply, vc-git-stash-pop)
11706 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11707 (vc-git-stash-menu): New functions.
11708 (vc-git-stash-menu-map): New variable.
11709 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11711 2009-12-03 Glenn Morris <rgm@gnu.org>
11713 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11714 (vc-print-log-internal): Fix previous change.
11715 (vc-revert): Correct pluralization.
11717 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11719 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11720 it to be an alist any more.
11721 (makefile-complete): Use completion-in-region.
11723 * progmodes/octave-mod.el (octave-complete-symbol):
11724 Use completion-in-region.
11727 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11728 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11729 (idlwave-complete-class): Don't quote lambda.
11730 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11731 (idlwave-mode-map): Move initialization into declaration.
11732 (idlwave-action-and-binding): Use backquotes.
11733 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11735 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11736 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11737 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11738 `parts', and `all-parts'.
11739 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11740 (idlwave-convert-xml-system-routine-info): Remove unused string
11742 (idlwave-display-user-catalog-widget): Use dolist.
11743 (idlwave-scanning-lib): Declare dynamically-scoped var.
11744 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11745 (completion-highlight-first-word-only): Declare to silence bytecomp.
11746 (idlwave-popup-select): Tighten scope of `resp'.
11747 (idlwave-find-struct-tag): Remove unused var `beg'.
11748 (idlwave-after-load-rinfo-hook): Declare.
11749 (idlwave-sintern-class-info): Remove unused var `taglist'.
11750 (idlwave-find-class-definition): Remove unused var `list'.
11751 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11752 (idlwave-what-module-find-class): Remove unused var `classes'.
11754 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11756 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11758 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11760 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11761 buffers visited. Remove redundant current-buffer-saving.
11763 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11765 Use completion-in-buffer and remove uses of dynamic scoping.
11766 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11767 (pascal-buffer-to-use, pascal-flag): Don't declare.
11768 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11769 (pascal-get-completion-decl, pascal-keyword-completion):
11770 Add `pascal-str' argument, save-excursion,
11771 return the found completions, and don't filter with pascal-pred.
11772 (pascal-completion-cache): New var.
11773 (pascal-completion): Don't switch buffer any more (it was never
11774 necessary). Don't save-excursion any more (it's done by the called
11775 subroutines). Use a cache to avoid redundant computations.
11776 Use complete-with-action rather than pascal-completion-response and
11777 let it apply the predicate as well.
11778 (pascal-complete-word): Use completion-in-buffer when
11779 pascal-toggle-completions is nil.
11780 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11782 (pascal-comp-defun): Don't change buffer any more.
11783 Use complete-with-action rather than pascal-completion-response and
11784 let it apply the predicate as well.
11785 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11788 2009-12-02 Kenichi Handa <handa@m17n.org>
11790 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11791 shape for all Indic scripts.
11793 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11795 Use completion-in-buffer.
11796 * wid-edit.el (widget-field-text-end): New function.
11797 (widget-field-value-get): Use it.
11798 (widget-string-complete, widget-file-complete)
11799 (widget-color-complete): Use it and completion-in-region.
11800 (widget-complete): Don't narrow the buffer.
11802 2009-12-02 Glenn Morris <rgm@gnu.org>
11804 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11805 (rmail-select-summary): Use rmail-pop-to-buffer.
11806 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11807 rmail-pop-to-buffer, to prevent horizontal splits.
11809 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11810 save-excursion with save-current-buffer.
11811 Widen before searching. (Bug#5093)
11812 (diary-list-sexp-entries): Remove superfluous save-excursion.
11814 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11816 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11819 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11821 * ido.el (ido-file-internal): Handle filenames at point that do
11822 not have a directory part. (Bug#5049)
11824 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11826 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11827 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11829 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11831 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11832 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11835 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11837 * comint.el (comint-insert-input): Ignore clicks to the right of
11838 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11840 * vc.el (vc-print-log-internal): Don't wait for the process to
11841 terminate before setting up the major mode.
11843 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11846 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11849 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11851 2009-12-01 Glenn Morris <rgm@gnu.org>
11853 * window.el (window--display-buffer-2): Fix previous changes.
11855 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11857 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11859 2009-12-01 Glenn Morris <rgm@gnu.org>
11861 * Makefile.in (ELCFILES): Add mpc.elc.
11863 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11865 * mpc.el: New file.
11867 2009-12-01 Glenn Morris <rgm@gnu.org>
11869 * window.el (window-to-use): Define for compiler.
11871 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11872 consistent with others (no final period).
11874 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11875 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11877 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11879 Make vc-print-log buttons work.
11880 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11882 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11884 * savehist.el (savehist-autosave-interval): Allow setting to nil
11885 through customize. (Bug#5056)
11887 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11889 Fix references to jit-lock properties.
11890 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11891 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11892 (perl-font-lock-special-syntactic-constructs):
11893 Quote jit-lock-defer-multiline property.
11895 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11897 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11899 2009-11-30 Juri Linkov <juri@jurta.org>
11901 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11902 value `buffer' of `multi-isearch-next-buffer-current-function'.
11903 Use `(current-buffer)' when `buffer' is nil.
11904 (multi-isearch-next-buffer-from-list): Don't fallback to
11905 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11907 2009-11-30 Juri Linkov <juri@jurta.org>
11909 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11910 of buffers with `get-buffer' to `multi-isearch-buffers'.
11911 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11912 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11913 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11914 FILES with `expand-file-name' converting relative file names
11915 to absolute. Doc fix. (Bug#4727)
11917 2009-11-30 Juri Linkov <juri@jurta.org>
11919 * misearch.el (multi-isearch-read-buffers)
11920 (multi-isearch-read-matching-buffers): New functions.
11921 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11922 Use them in the `interactive' spec. Doc fix.
11923 (multi-isearch-read-files, multi-isearch-read-matching-files):
11925 (multi-isearch-files, multi-isearch-files-regexp):
11926 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11928 2009-11-30 Juri Linkov <juri@jurta.org>
11930 * doc-view.el (doc-view-continuous):
11931 Rename from `doc-view-continuous-mode'.
11932 (doc-view-menu): Move "Toggle display" to the top.
11933 Add submenu "Continuous" with radio buttons "Off"/"On"
11934 and "Save as Default".
11935 (doc-view-scroll-up-or-next-page)
11936 (doc-view-scroll-down-or-previous-page)
11937 (doc-view-next-line-or-next-page)
11938 (doc-view-previous-line-or-previous-page):
11939 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11941 2009-11-30 Juri Linkov <juri@jurta.org>
11943 * comint.el (comint-mode-map): Rebind `M-r' from
11944 `comint-previous-matching-input' to
11945 `comint-history-isearch-backward-regexp'.
11946 Unbind `M-s' to allow global key binding `M-s'.
11947 Add menu items for `comint-history-isearch-backward' and
11948 `comint-history-isearch-backward-regexp'. (Bug#3746)
11950 2009-11-30 Juri Linkov <juri@jurta.org>
11952 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11953 For def=recenter, replace `recenter' with `recenter-top-bottom'
11954 that is called with `this-command' and `last-command' let-bound
11955 to `recenter-top-bottom'. When the last `def' was not `recenter',
11956 set `recenter-last-op' to nil. (Bug#4981)
11958 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11960 Minor cleanup and simplification.
11961 * filecache.el (file-cache-add-directory)
11962 (file-cache-add-directory-recursively)
11963 (file-cache-add-from-file-cache-buffer)
11964 (file-cache-delete-file-regexp, file-cache-delete-directory)
11965 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11966 (file-cache-temp-minibuffer-message): Delete function.
11967 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11969 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11970 Don't signal an error when bumping into EOB in tr, s, or y.
11972 2009-11-29 Juri Linkov <juri@jurta.org>
11974 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11977 * descr-text.el (describe-char-unidata-list): Use lowercase name
11978 for "Unicode name" like in other tags.
11980 2009-11-29 Juri Linkov <juri@jurta.org>
11982 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11983 New compatibility macro.
11984 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11986 2009-11-29 Juri Linkov <juri@jurta.org>
11988 Add defcustom to define the cycling order of `recenter-top-bottom'.
11991 * window.el (recenter-last-op): Doc fix.
11992 (recenter-positions): New defcustom.
11993 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11994 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11996 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
11998 Improve integration of Tramp and ange-ftp in eshell.
12000 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12001 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12002 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12004 * eshell/esh-util.el (top): Require also Tramp when compiling.
12005 (eshell-directory-files-and-attributes): Check for FTP remote
12007 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12008 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12009 (eshell-file-attributes): Handle ".". Return `entry'.
12011 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12012 (ange-ftp-directory-files-and-attributes)
12013 (ange-ftp-real-directory-files-and-attributes): New defuns.
12015 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12016 shell with "exec" when possible. This prevents trailing prompts
12017 in `start-file-process'.
12019 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12021 Try and remove assumptions about point-min==1.
12022 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12023 (rng-compute-mode-line-string): Show the validation percentage in
12024 terms of the narrowed text, not the widened text.
12025 (rng-do-some-validation): Don't catch internal errors when debugging.
12026 (rng-first-error): Simplify.
12027 (rng-after-change-function): Remove work around. AFAIK the bug has
12028 been fixed a while ago.
12030 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12031 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12033 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12035 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12036 `cd' doesn't always do it for us (bug#5067).
12038 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12039 on 2009-10-25 as part of some other change (bug#5067).
12041 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12043 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12045 (byte-compile-warnings): Use byte-compile-warning-types.
12046 (byte-compile-save-excursion): Warn about use of set-buffer right
12047 after save-excursion.
12049 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12050 the excursion as well.
12052 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12054 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12055 providing a Tramp related implementation of "su" and "sudo".
12056 (eshell-unix-initialize): Add "su" and "sudo".
12058 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12060 * net/socks.el (socks-send-command): Convert binary request to
12061 unibyte before sending. This fixes mishandling of some port
12062 numbers such as 129.
12064 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12066 * help.el (describe-bindings-internal): Remove `interactive'.
12068 * man.el (Man-completion-table): Trim a terminating "(".
12069 Remove the space between name page a section.
12070 Add the command's description on the `help-echo' property.
12071 Remove `process-connection-type' binding since it's unused by
12073 Provide completion for the "<section> <name>" format as well.
12074 (Man-default-man-entry): Remove spurious var shadowing the argument.
12076 2009-11-26 Kevin Ryde <user42@zip.com.au>
12078 * log-view.el: Add "Keywords: tools", since its other keywords
12079 aren't in finder-known-keywords, and following vc.el.
12081 * sha1.el (sha1-string-external): default-directory "/" in case
12082 otherwise non-existent. process-connection-type pipe for touch of
12083 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12085 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12087 Misc coding convention cleanups.
12088 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12089 hfy-init-kludge-hooks.
12090 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12091 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12092 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12094 (hfy-slant, hfy-weight): Use tables rather than code.
12095 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12096 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12097 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12098 (hfy-face-to-css): Remove `nconc' with single arg.
12099 (hfy-p-to-face-lennart): Use `or'.
12100 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12101 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12102 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12103 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12104 (hfy-force-fontification): Use run-hooks.
12106 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12108 Various minor fixes.
12109 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12110 Javascript belongs in the header, not the body.
12111 (hfy-javascript): Remove.
12112 (hfy-fontify-buffer): Don't insert it any more.
12113 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12114 Fix bug in invis handling when there were no invis props in a chunk.
12116 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12118 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12120 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12122 * finder.el (finder-mode-map): Add a menu.
12124 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12126 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12127 "unsigned" structs.
12129 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12130 fork" statement better.
12132 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12134 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12135 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12136 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12137 Reported by Clay Douglass.
12139 (verilog-auto-inst, verilog-auto-star-safe)
12140 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12141 Fix removing "// Interfaces" when saving .* expansions.
12142 Reported by Pierre-David Pfister.
12144 2009-11-26 Glenn Morris <rgm@gnu.org>
12146 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12149 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12151 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12152 Really use previous revision.
12154 2009-11-25 Kevin Ryde <user42@zip.com.au>
12156 * man.el (Man-completion-table): default-directory "/" in case
12157 doesn't otherwise exist. process-environment COLUMNS=999 so as
12158 not to truncate long names. process-connection-type pipe to avoid
12159 any chance of hitting the pseudo-tty TIOCGWINSZ.
12160 (man): completion-ignore-case t for friendliness and since man
12161 itself is case-insensitive on the command line.
12162 Further to Bug#3717.
12164 * arc-mode.el: Add "Keywords: files", so the details in its
12165 commentary can be reached from finder-by-keyword.
12166 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12167 editing mode, but it's comms related and sgml-mode.el has "comm"
12169 * textmodes/bibtex-style.el: Add "Keywords: tex".
12170 * international/isearch-x.el, international/ja-dic-cnv.el:
12171 * international/ja-dic-utl.el, international/kkc.el:
12172 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12174 2009-11-25 Juri Linkov <juri@jurta.org>
12176 * man.el (Man-completion-table): Modify regexp to include
12177 section names to completion strings. (Bug#3717)
12179 2009-11-25 Juri Linkov <juri@jurta.org>
12181 Search recursively in gzipped files. (Bug#4982)
12183 * progmodes/grep.el (grep-highlight-matches): Add new options
12184 `always' and `auto'. Doc fix.
12185 (grep-process-setup): Check `grep-highlight-matches' for
12186 `auto-detect' to determine the need to compute grep defaults.
12187 Move Windows/DOS specific --colors settings handling
12188 to `grep-compute-defaults'. Check `grep-highlight-matches'
12189 to get the value of "--color=".
12190 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12191 has the value `auto-detect'. Move Windows/DOS specific settings
12192 from `grep-process-setup'.
12193 (zrgrep): New command with alias `rzgrep'.
12195 2009-11-25 Juri Linkov <juri@jurta.org>
12197 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12198 to nil instead of switching off view-mode. (Bug#4896)
12200 2009-11-25 Juri Linkov <juri@jurta.org>
12202 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12204 * mwheel.el (mwheel-scroll-up-function)
12205 (mwheel-scroll-down-function): New defvars.
12206 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12207 `scroll-up', and `mwheel-scroll-down-function' instead of
12210 * doc-view.el (doc-view-scroll-up-or-next-page)
12211 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12212 Use this ARG in the call to image-scroll-up/image-scroll-down.
12213 Change `interactive' spec to "P". Goto next/previous page only
12214 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12215 SPC/DEL case). Doc fix.
12216 (doc-view-next-line-or-next-page)
12217 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12219 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12220 `doc-view-scroll-up-or-next-page', and buffer-local
12221 `mwheel-scroll-down-function' to
12222 `doc-view-scroll-down-or-previous-page'.
12224 2009-11-25 Juri Linkov <juri@jurta.org>
12226 Provide additional default values (directories at other Dired
12227 windows) via M-n in the minibuffer of some Dired commands.
12229 * dired-aux.el (dired-diff, dired-compare-directories)
12230 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12231 `minibuffer-default' in `minibuffer-with-setup-hook'.
12232 (dired-dwim-target-directory): Find a window that displays Dired
12233 buffer instead of failing when the next window is not Dired.
12234 Use `get-window-with-predicate' to find for the next Dired window.
12235 (dired-dwim-target-defaults): New function.
12237 * ediff-util.el (ediff-read-file-name):
12238 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12239 in `minibuffer-with-setup-hook'.
12241 2009-11-25 Juri Linkov <juri@jurta.org>
12243 Provide additional default values (file name at point or at the
12244 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12246 * minibuffer.el (read-file-name-defaults): New function.
12247 (read-file-name): Reset `minibuffer-default' to nil when
12248 it duplicates initial input `insdef'.
12249 Bind `minibuffer-default-add-function' to lambda that
12250 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12251 (minibuffer-insert-file-name-at-point): New command.
12253 * files.el (file-name-at-point-functions): New defcustom.
12254 (find-file-default): Remove defvar.
12255 (find-file-read-args): Don't use `find-file-default'.
12256 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12257 to `read-file-name'.
12258 (find-file-literally): Use `read-file-name' with
12259 `confirm-nonexistent-file-or-buffer'.
12261 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12263 * dired.el (dired-read-dir-and-switches):
12264 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12265 to `read-file-name'.
12266 (dired-file-name-at-point): New function.
12267 (dired-mode): Add hook `dired-file-name-at-point' to
12268 `file-name-at-point-functions'.
12270 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12272 Really make the *Completions* window soft-dedicated (bug#5030).
12273 * window.el (window--display-buffer-2): Add `dedicated' argument.
12274 (display-buffer): Pass it when needed so the dedicated flag is set
12275 after calling set-window-buffer, which would otherwise reset it.
12277 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12279 * progmodes/meta-mode.el (meta-complete-symbol):
12280 * progmodes/etags.el (complete-tag):
12281 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12282 Use completion-in-region.
12284 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12285 (dabbrev-completion): Use completion-in-region.
12286 (dabbrev--abbrev-at-point): Simplify regexp.
12288 * abbrev.el (abbrev--before-point): Use word-motion functions
12289 if :regexp is not specified (bug#5031).
12291 * subr.el (string-prefix-p): New function.
12293 * man.el (Man-completion-cache): New var.
12294 (Man-completion-table): Use it.
12296 * vc.el (vc-print-log-internal): Make `limit' optional for better
12297 compatibility (e.g. with vc-annotate.el).
12299 2009-11-24 Kevin Ryde <user42@zip.com.au>
12301 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12302 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12304 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12305 when .el source file not found or other error.
12307 2009-11-24 Markus Triska <markus.triska@gmx.at>
12309 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12311 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12313 Handle the [back] button properly (bug#4979).
12314 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12315 Use help-setup-xref, help-buffer, and with-help-window.
12316 (describe-char): Add `buffer' argument.
12317 Pass proper command to help-setup-xref. Don't meddle with
12318 help-xref-stack-item directly.
12319 (describe-text-category): Use with-help-window and help-buffer.
12321 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12322 for the displayed buffer (bug#4887).
12324 * man.el (Man-completion-table): New function.
12327 2009-11-24 David Reitter <david.reitter@gmail.com>
12329 * vc-git.el (vc-git-registered): Use checkout directory (where
12330 .git is) rather than the file's directory and a relative path spec
12331 to work around a bug in git.
12333 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12335 Improve handling of processes on remote hosts.
12337 * eshell/esh-util.el (eshell-path-env): New defvar.
12338 (eshell-parse-colon-path): New defun.
12339 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12341 * eshell/esh-ext.el (eshell-search-path):
12342 Use `eshell-parse-colon-path'.
12343 (eshell-remote-command): Remove argument HANDLER.
12344 (eshell-external-command): Check for FTP remote connection.
12346 * eshell/esh-proc.el (eshell-gather-process-output):
12347 Use `file-truename', in order to start also symlinked files.
12348 Apply `start-file-process' instead of `start-process'.
12349 Shorten `command' to the local file name part.
12351 * eshell/em-cmpl.el (eshell-complete-commands-list):
12352 Use `eshell-parse-colon-path'.
12354 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12356 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12357 to `eshell-directory-change-hook'.
12359 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12361 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12362 because it could be enabled automatically if view-read-only is non-nil.
12364 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12366 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12367 made on 2009-11-22.
12369 2009-11-24 Glenn Morris <rgm@gnu.org>
12371 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12372 deleted variable bookmark-bmenu-bookmark-column.
12374 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12376 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12378 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12380 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12381 two slashes to the "file:" prefix.
12382 (browse-url-file-url): De-munge Cygwin filenames before passing
12383 them to Windows browser.
12384 (browse-url-default-windows-browser): Use call-process.
12386 2009-11-23 Juri Linkov <juri@jurta.org>
12388 Implement DocView Continuous mode. (Bug#4896)
12389 * doc-view.el (doc-view-continuous-mode): New defcustom.
12390 (doc-view-mode-map): Bind C-n/<down> to
12391 `doc-view-next-line-or-next-page', C-p/<up> to
12392 `doc-view-previous-line-or-previous-page'.
12393 (doc-view-next-line-or-next-page)
12394 (doc-view-previous-line-or-previous-page): New commands.
12396 2009-11-23 Juri Linkov <juri@jurta.org>
12398 Implement Isearch in comint input history. (Bug#3746)
12399 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12400 `isearch-mode-hook'.
12401 (comint-history-isearch): New defcustom.
12402 (comint-history-isearch-backward)
12403 (comint-history-isearch-backward-regexp): New commands.
12404 (comint-history-isearch-message-overlay): New buffer-local variable.
12405 (comint-history-isearch-setup, comint-history-isearch-end)
12406 (comint-goto-input, comint-history-isearch-search)
12407 (comint-history-isearch-message, comint-history-isearch-wrap)
12408 (comint-history-isearch-push-state)
12409 (comint-history-isearch-pop-state): New functions.
12411 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12413 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12415 (tramp-handle-make-symbolic-link)
12416 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12418 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12419 (tramp-handle-process-file): Use it.
12421 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12423 * window.el (move-to-window-line-last-op): Remove.
12424 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12426 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12428 Make M-r mirror the new cycling behavior of C-l.
12429 * window.el (move-to-window-line-last-op): New var.
12430 (move-to-window-line-top-bottom): New command.
12431 (global-map): Bind M-r move-to-window-line-top-bottom.
12433 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12435 * dired-x.el (dired-guess-shell-alist-default):
12436 Support xz format. (Bug#4953)
12438 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12440 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12441 last-command-char/last-command-event.
12442 (viper-prefix-arg-value): Do correct conversion of event-char for
12445 * emulation/viper-util.el, emulation/viper.el:
12446 Use viper-last-command-char instead of
12447 last-command-char/last-command-event.
12449 * ediff-init.el, ediff-mult.el, ediff-util.el:
12450 Replace last-command-char and last-command-event
12451 with (ediff-last-command-char) everywhere.
12453 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12454 created in fundamental mode.
12456 * ediff.el (ediff-version): Revert the change of interactive-p to
12457 called-interactively-p.
12459 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12461 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12462 generation from word-movement command names.
12464 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12466 * cus-start.el (all): Add native condition for font-use-system-font.
12468 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12470 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12471 Correct the patch from 2009-11-18. (Bug#3910)
12473 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12475 * progmodes/subword.el: Rename from lisp/subword.el.
12477 * subword.el: Rename to progmodes/subword.el.
12479 * Makefile.in (ELCFILES): Adapt to subword.el move.
12481 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12482 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12485 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12486 (bookmark-bmenu-show-filenames): Use push.
12487 (bookmark-bmenu-hide-filenames): Use local var instead of
12488 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12489 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12490 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12491 filenames now that the bookmark names are always available.
12493 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12495 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12496 (bookmark-search-pattern): Move and leave unbound.
12497 (bookmark-bmenu-mode-map): Change binding.
12498 (bookmark-read-search-input): Simplify.
12499 Don't use text-char-description. Don't error on non-char events.
12500 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12501 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12502 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12503 Use a local var for the timer.
12504 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12505 (i.e. bookmark-bmenu-search).
12507 2009-11-21 Glenn Morris <rgm@gnu.org>
12509 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12511 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12513 * net/browse-url.el (browse-url-default-windows-browser):
12514 Use cygstart for cygwin.
12516 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12518 * bookmark.el: Formatting and doc fixes only:
12519 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12520 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12521 Minor grammar and punctuation fixes in doc string.
12522 (bookmark-read-search-input): Adjust to fit within 80 columns.
12524 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12526 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12527 (c-backward-into-nomenclature): Adapt to subword renaming.
12529 * subword.el (subword-forward, subword-backward, subword-mark)
12530 (subword-kill, subword-backward-kill, subword-transpose)
12531 (subword-downcase, subword-upcase, subword-capitalize)
12532 (subword-forward-internal, subword-backward-internal):
12533 Rename from forward-subword, backward-subword, mark-subword,
12534 kill-subword, backward-kill-subword, transpose-subwords,
12535 downcase-subword, upcase-subword, capitalize-subword,
12536 forward-subword-internal, backward-subword-internal.
12538 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12540 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12542 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12544 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12545 (bookmark-bmenu-filter-alist-by-regexp)
12546 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12547 (bookmark-bmenu-search): New command.
12548 (bookmark-bmenu-mode-map): Bind it.
12550 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12552 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12553 backward-subword to quit the byte-compiler.
12555 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12557 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12559 * progmodes/cc-cmds.el (c-update-modeline)
12560 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12561 Refer to subword.el functions instead of cc-subword.el.
12563 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12564 subword.el functions instead of cc-subword.el.
12566 * progmodes/cc-subword.el: Rename to subword.el.
12567 * subword.el: Rename from progmodes/cc-subword.el.
12568 (subword-mode-map): Rename from c-subword-mode-map.
12569 (subword-mode): Rename from c-subword-mode.
12570 (global-subword-mode): New global minor mode.
12571 (forward-subword): Rename from c-forward-subword.
12572 (backward-subword): Rename from c-backward-subword.
12573 (mark-subword): Rename from c-mark-subword.
12574 (kill-subword): Rename from c-kill-subword.
12575 (backward-kill-subword): Rename from c-backward-kill-subword.
12576 (transpose-subwords): Rename from c-tranpose-subword.
12577 (downcase-subword): Rename from c-downcase-subword.
12578 (capitalize-subword): Rename from c-capitalize-subword.
12579 (forward-subword-internal): Rename from c-forward-subword-internal.
12580 (backward-subword-internal): Rename from c-backward-subword-internal.
12582 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12584 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12585 from a dired buffer.
12586 (vc-dired-deduce-fileset): New function.
12587 (vc-root-diff, vc-print-root-log): Use it.
12589 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12590 nil LIMIT argument to vc-print-log-internal.
12592 2009-11-20 Glenn Morris <rgm@gnu.org>
12594 * Makefile.in (ELCFILES): Regenerate.
12596 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12598 * calc/calc.el (calc-set-mode-line):
12599 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12600 (math-format-number): Rename `math-format-complement-signed' to
12601 `math-format-twos-complement'.
12603 * calc/calc-bin.el (math-format-twos-complement): Rename from
12604 math-format-complement-signed.
12605 (calc-radix): Rename `calc-complement-signed-mode' to
12606 `calc-twos-complement-mode'.
12607 (calc-octal-radix, calc-hex-radix): Add an argument for
12610 * calc/calc-embed.el (calc-embedded-mode-vars):
12611 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12613 * calc/calc-ext.el (calc-init-extensions):
12614 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12615 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12617 * calc/calc-units.el (math-build-units-table-buffer):
12618 Let `calc-twos-complement-mode' be nil.
12620 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12623 * calc/calc-vec.el (calcFunc-vunpack):
12624 * calc/calc-aent.el (calc-do-calc-eval):
12625 * calc/calc-forms.el (math-format-date):
12626 * calc/calc-graph.el (calc-graph-plot):
12627 * calc/calc-math.el (math-use-emacs-fn):
12628 * calc/calccomp.el (math-compose-expr):
12629 Let `calc-twos-complement-mode' be nil.
12631 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12633 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12634 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12635 * minibuffer.el (completion-in-region-functions): New hook.
12636 (completion-in-region): New function.
12637 * emacs-lisp/lisp.el (lisp-complete-symbol):
12638 * pcomplete.el (pcomplete-std-complete): Use it.
12640 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12642 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12643 (latex-complete-alist): New vars.
12644 (latex-string-prefix-p, latex-complete-bibtex-keys)
12645 (latex-complete-envnames, latex-complete-refkeys)
12646 (latex-complete-data): New functions.
12647 (latex-complete, latex-indent-or-complete): New commands.
12649 * window.el (display-buffer-mark-dedicated): New var.
12650 (display-buffer): Obey it.
12651 * minibuffer.el (minibuffer-completion-help): Use it.
12653 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12655 * filecache.el (file-cache-add-file): Use push and cons.
12656 (file-cache-delete-file-regexp): Use push.
12657 (file-cache-complete): Use completion-in-region.
12659 * simple.el (with-wrapper-hook): Fix thinko.
12661 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12662 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12663 Use with-current-buffer and string-to-number.
12664 (hfy-fallback-colour-values): Use assoc-string.
12665 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12666 (hfy-face-at): Remove unused var `found-face'.
12667 (hfy-compile-stylesheet): Remove unused var `css'.
12668 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12670 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12671 Use with-current-buffer.
12672 (hfy-text-p): Use expand-file-name and fewer setq.
12674 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12676 * htmlfontify.el, hfy-cmap.el: New files.
12678 2009-11-19 Juri Linkov <juri@jurta.org>
12680 * minibuffer.el (completions-format): New defcustom.
12681 (completion--insert-strings): Implement vertical format.
12683 * simple.el (switch-to-completions): Move point to the first
12684 completion when point was at the beginning of the buffer.
12686 2009-11-19 Juri Linkov <juri@jurta.org>
12688 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12690 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12692 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12694 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12695 (mail-signature): Change default to t.
12696 (mail-from-style): Deprecate `system-default' value.
12697 (mail-insert-from-field): For default value of mail-from-style,
12698 default to `angles' unless `angles' needs quoting and `parens'
12700 (mail-citation-prefix-regexp): Use citation regexp from
12703 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12705 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12706 Set variables for computing the prompt for reading password.
12708 2009-11-19 Glenn Morris <rgm@gnu.org>
12710 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12712 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12714 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12715 (newsticker-treeview-listwindow-height): Fix custom type.
12717 2009-11-19 Kenichi Handa <handa@m17n.org>
12719 * descr-text.el (describe-char-padded-string): Compose with TAB
12720 only if there's a font for CH.
12721 (describe-char): Fix the condition for detecting a trivial composition.
12723 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12725 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12726 more accurate version of the regexp. (Bug#3910)
12728 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12730 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12732 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12734 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12735 (font-setting-change-default-font): Fix typo in docstring.
12737 2009-11-18 Alan Mackenzie <acm@muc.de>
12739 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12741 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12743 * font-setting.el (font-use-system-font): Move ...
12745 * cus-start.el (all): ... to here.
12747 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12749 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12750 Don't set `ad-return-value' if `ad-do-it' doesn't.
12752 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12755 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12757 * menu-bar.el: Put "Use system font" in Option-menu.
12758 (menu-bar-options-save): Add font-use-system-font.
12760 * loadup.el: If feature system-font-setting or font-render-setting is
12761 there, load font-setting.
12763 * Makefile.in (ELCFILES): Add font-settings.el.
12764 * font-setting.el: New file.
12766 2009-11-17 Glenn Morris <rgm@gnu.org>
12768 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12770 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12771 Preserve point in the list buffer. (Bug#4939)
12773 (newsticker--treeview-list-update-highlight)
12774 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12776 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12778 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12781 * calc/calc-ext.el (calc-init-extensions): Remove references to
12784 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12786 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12787 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12790 2009-11-16 Kevin Ryde <user42@zip.com.au>
12792 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12793 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12795 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12796 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12797 Ignore trailing spaces by omit-nulls to split-string (fixing
12798 regression from Emacs 21 due to the incompatible split-string
12799 change). (Bug #4928.)
12801 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12803 * vc.el (vc-log-show-limit): Default to 2000.
12804 (vc-print-log-internal): Insert buttons to request more entries
12805 when limiting the output.
12807 * vc-sccs.el (vc-sccs-print-log):
12808 * vc-rcs.el (vc-rcs-print-log):
12809 * vc-cvs.el (vc-cvs-print-log):
12810 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12813 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12815 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12816 error when `tramp-gvfs-dbus-event-vector' is set.
12817 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12819 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12823 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12825 * net/dbus.el (dbus-unregister-service): New defun.
12826 (dbus-register-property): Register the handlers of
12827 "org.freedesktop.DBus.Properties" for SERVICE.
12828 (dbus-property-handler): Fix docstring.
12830 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12832 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12833 Quote doc string reference in defvaralias as it is not in special form.
12834 (byte-compile-output-docform): Doc fix.
12836 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12838 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12839 (calc-complement-signed-mode): New variables.
12840 (calc-set-mode-line): Add indicator for twos-complements.
12841 (math-format-number): Format twos-complement notation.
12843 * calc/calc-bin.el (calc-word-size): Reset the variables
12844 `math-2-word-size' and `math-half-2-word-size'.
12845 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12846 (calc-symclip): New functions.
12848 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12850 * calc/calc-embed.el (calc-embedded-mode-vars):
12851 Add `calc-complement-signed-mode' to the list of modes.
12853 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12854 (calc-b-oper-keys): Add `calc-symclip' to list.
12856 * calc/calc-ext.el (math-read-number-fancy): Read complement
12858 (calc-init-extensions): Add binding for `calc-symclip'.
12859 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12861 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12863 (calc-modes-menu): Add item for twos complement mode.
12865 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12867 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12869 * register.el (jump-to-register, insert-register): Handle Semantic
12870 tags. From commented-out advice in semantic/senator.el.
12872 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12874 * vc.el (vc-log-show-limit): New variable.
12875 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12876 when using a prefix argument.
12877 (vc-print-log-internal): Add new argument LIMIT.
12879 * vc-svn.el (vc-svn-print-log):
12880 * vc-mtn.el (vc-mtn-print-log):
12881 * vc-hg.el (vc-hg-print-log):
12882 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12883 pass it to the log command when set. Make the BUFFER argument
12886 * vc-sccs.el (vc-sccs-print-log):
12887 * vc-rcs.el (vc-rcs-print-log):
12888 * vc-git.el (vc-git-print-log):
12889 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12890 ignore it. Make the BUFFER argument non-optional
12892 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12894 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12896 * dired.el (dired-mode-map): Move encryption items to "Operate"
12899 * strokes.el (strokes-update-window-configuration): Make strokes
12900 buffer current before erasing (Bug#4906).
12902 2009-11-15 Juri Linkov <juri@jurta.org>
12904 * simple.el (set-mark-default-inactive): Add :type, :group
12905 and :version. (Bug#4876)
12907 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12909 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12910 (archive-unique-fname): ... here. (Bug#4929)
12912 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12914 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12917 * novice.el (disabled-command-function): Add useful args.
12918 Setup the help buffer so that [back] works.
12919 Remove redundant call to help-mode.
12920 (disabled-command-function): Use `case'.
12921 (en/disable-command): New function extracted from enable-command.
12922 (enable-command, disable-command): Use it.
12924 2009-11-14 Glenn Morris <rgm@gnu.org>
12926 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12927 constants. (Bug#4913)
12929 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12931 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12933 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12934 defined in C that have no doc-strings. (Bug#1063)
12936 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12938 * cus-edit.el (data, files):
12939 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12941 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12943 * simple.el (shell-command): Doc fix (Bug#4891).
12945 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12947 2009-11-14 Glenn Morris <rgm@gnu.org>
12949 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12950 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12951 If they are already loaded, eval-after-load will do the right thing.
12953 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12956 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12958 * simple.el (x-selection-owner-p): Declare.
12959 (read-mail-command): Use custom radio type rather than choice.
12960 (completion-no-auto-exit): Doc fix.
12962 * custom.el (defgroup):
12963 * epg-config.el (epg): Doc fixes.
12965 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12967 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12968 * international/ccl.el (define-ccl-program): Do not purecopy the
12969 docstring, defconst does it anyway.
12971 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12973 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12976 * x-dnd.el (x-dnd-maybe-call-test-function):
12977 * window.el (split-window-vertically):
12978 * whitespace.el (whitespace-help-on):
12979 * vc-rcs.el (vc-rcs-consult-headers):
12980 * userlock.el (ask-user-about-lock-help)
12981 (ask-user-about-supersession-help):
12982 * type-break.el (type-break-force-mode-line-update):
12983 * time-stamp.el (time-stamp-conv-warn):
12984 * terminal.el (te-set-output-log, te-more-break, te-filter)
12985 (te-sentinel, terminal-emulator):
12986 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12987 (term-write-input-ring, term-check-source, term-start-output-log):
12988 (term-display-buffer-line, term-dynamic-list-completions):
12989 (term-ansi-make-term, serial-term):
12990 * subr.el (selective-display):
12991 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12992 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12993 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12994 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12995 (speedbar-remove-localized-speedbar-support)
12996 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12997 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12998 (speedbar-buffers-line-directory):
12999 * simple.el (shell-command-on-region, append-to-buffer)
13000 (prepend-to-buffer):
13001 * shadowfile.el (shadow-save-todo-file):
13002 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13003 (scroll-bar-maybe-set-window-start):
13004 * sb-image.el (speedbar-image-dump):
13005 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13006 (load-save-place-alist-from-file):
13007 * ps-samp.el (ps-print-message-from-summary):
13008 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13009 (ps-background-image, ps-begin-job, ps-do-despool):
13010 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13011 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13012 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13013 (pr-call-process, pr-file-list, pr-interface-save):
13014 * novice.el (disabled-command-function)
13015 (enable-command, disable-command):
13016 * mouse.el (mouse-buffer-menu-alist):
13017 * mouse-copy.el (mouse-kill-preserving-secondary):
13018 * macros.el (kbd-macro-query):
13019 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13020 * informat.el (batch-info-validate):
13021 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13022 * hippie-exp.el (try-expand-dabbrev-visible):
13023 * help-mode.el (help-make-xrefs):
13024 * help-fns.el (describe-variable):
13025 * generic-x.el (bat-generic-mode-run-as-comint):
13026 * finder.el (finder-mouse-select):
13027 * find-dired.el (find-dired-sentinel):
13028 * filesets.el (filesets-file-close):
13029 * files.el (list-directory):
13030 * faces.el (list-faces-display, describe-face):
13031 * facemenu.el (list-colors-display):
13032 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13033 * epg.el (epg--process-filter, epg-cancel):
13034 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13035 (epa--read-signature-type):
13036 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13037 (emerge-file-names):
13038 * ehelp.el (electric-helpify):
13039 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13040 * ediff-vers.el (rcs-ediff-view-revision):
13041 * ediff-util.el (ediff-setup):
13042 * ediff-mult.el (ediff-append-custom-diff):
13043 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13045 * echistory.el (Electric-command-history-redo-expression):
13046 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13047 * disp-table.el (describe-display-table):
13048 * dired.el (dired-find-buffer-nocreate):
13049 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13050 * dabbrev.el (dabbrev--same-major-mode-p):
13051 * chistory.el (list-command-history):
13052 * apropos.el (apropos-documentation):
13053 * allout.el (allout-obtain-passphrase):
13054 (allout-copy-exposed-to-buffer):
13055 (allout-verify-passphrase): Use with-current-buffer.
13057 2009-11-13 Glenn Morris <rgm@gnu.org>
13059 * Makefile.in (ELCFILES): Regenerate.
13061 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13063 * net/dbus.el (dbus-registered-objects-table): Rename from
13064 `dbus-registered-functions-table', because it contains also properties.
13065 (dbus-unregister-object): Unregister also properties.
13066 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13067 Use a timeout of 500 msec, in order to not block.
13068 (dbus-register-property, dbus-property-handler): New defuns.
13070 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13072 * simple.el (minibuffer-default-add-completions): Drop deprecated
13075 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13077 * textmodes/artist.el (artist-mouse-choose-operation):
13078 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13079 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13080 (artist-compute-up-event-key): New function.
13081 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13083 2009-11-13 Kenichi Handa <handa@m17n.org>
13085 * language/japan-util.el: Make sure that the value of jisx0208
13086 property is jisx0208 character.
13088 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13090 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13091 car or each item, not the whole list.
13093 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13095 * minibuffer.el (minibuffer-completion-help):
13096 Use minibuffer-hide-completions.
13098 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13100 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13101 (dired-revert): Use them (bug#4880).
13103 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13105 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13107 2009-11-12 Juri Linkov <juri@jurta.org>
13109 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13111 (find-file-literally-at-point): Alias of `ffap-literally'.
13113 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13115 * textmodes/ispell.el (ispell-skip-region-alist):
13116 * textmodes/css-mode.el (auto-mode-alist):
13117 * progmodes/compile.el (auto-mode-alist):
13118 * international/mule.el (ctext-non-standard-encodings-alist)
13119 (ctext-non-standard-encodings-regexp):
13120 * simple.el (shell-command-switch, text-read-only):
13121 * replace.el (occur-mode-map):
13122 * paths.el (rmail-file-name):
13123 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13124 * find-file.el (ff-special-constructs):
13125 * files.el (file-name-handler-alist):
13126 * composite.el: Purecopy strings.
13128 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13130 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13132 * widget.el (define-widget): Purecopy the docstring.
13133 * international/mule-cmds.el (charset): Do not purecopy the
13134 docstring here, define-widget does it.
13136 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13137 * textmodes/bibtex-style.el (auto-mode-alist):
13138 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13139 * progmodes/compile.el (compile-command):
13140 * language/korea-util.el (default-korean-keyboard):
13141 * international/mule-conf.el (file-coding-system-alist):
13142 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13143 * tooltip.el (tooltip-frame-parameters):
13144 * newcomment.el (comment-end, comment-padding):
13145 * dired.el (dired-trivial-filenames):
13146 * comint.el (comint-file-name-prefix): Purecopy initial values.
13148 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13150 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13151 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13153 (tramp-advice-make-auto-save-file-name)
13154 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13155 after removing the advice.
13157 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13159 * progmodes/grep.el (grep-regexp-alist):
13160 * international/mule-cmds.el (iso-2022-control-alist):
13161 * emacs-lisp/timer.el (timer-duration-words):
13162 * subr.el (version-separator, version-regexp-alist):
13163 * minibuffer.el (completion-styles-alist):
13164 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13165 Change defvars to defconsts.
13167 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13168 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13169 * international/mule-conf.el: Allow to be byte compiled.
13171 * international/mule.el (define-charset): Purecopy props.
13172 (load-with-code-conversion): Purecopy doc string and file name.
13173 (put-charset-property): Purecopy strings.
13174 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13176 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13177 (define-char-code-property): Correctly purecopy the table.
13179 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13181 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13183 * subr.el (add-hook): Purecopy strings.
13184 (eval-after-load): Purecopy load-history-regexp and the form.
13186 * custom.el (custom-declare-group): Purecopy load-file-name.
13188 * subr.el (menu-bar-separator): New defconst.
13189 * net/eudc.el (eudc-tools-menu):
13190 * international/mule-cmds.el (set-coding-system-map)
13191 (mule-menu-keymap):
13192 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13193 * vc-hooks.el (vc-menu-map):
13194 * replace.el (occur-mode-map):
13195 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13196 (menu-bar-edit-menu, menu-bar-goto-menu)
13197 (menu-bar-custom-menu, menu-bar-showhide-menu)
13198 (menu-bar-options-menu, menu-bar-tools-menu)
13199 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13200 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13201 (menu-bar-help-menu):
13202 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13203 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13205 * term/x-win.el (x-gtk-stock-map):
13206 * progmodes/vera-mode.el (auto-mode-alist):
13207 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13208 (inferior-lisp-program, inferior-lisp-load-command):
13209 * progmodes/hideshow.el (hs-special-modes-alist):
13210 * progmodes/gud.el (same-window-regexps):
13211 * progmodes/grep.el (grep-program, find-program, xargs-program):
13212 * net/telnet.el (same-window-regexps):
13213 * net/rlogin.el (same-window-regexps):
13214 * language/ethiopic.el (font-ccl-encoder-alist):
13215 * vc-sccs.el (vc-sccs-master-templates):
13216 * vc-rcs.el (vc-rcs-master-templates):
13217 * subr.el (cl-assertion-failed):
13218 * simple.el (next-error-overlay-arrow-position):
13219 * lpr.el (lpr-command):
13220 * locate.el (locate-ls-subdir-switches):
13221 * info.el (same-window-regexps, info)
13222 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13223 * image-mode.el (image-mode, auto-mode-alist):
13224 * hippie-exp.el (hippie-expand-ignore-buffers):
13225 * format.el (format-alist):
13226 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13228 * facemenu.el (facemenu-keybindings):
13229 * dired.el (dired-listing-switches, dired-chown-program):
13230 * diff.el (diff-switches, diff-command):
13231 * cus-edit.el (same-window-regexps):
13232 * bindings.el (mode-line-mule-info)
13233 (mode-line-buffer-identification): Purecopy strings.
13235 2009-11-11 Juri Linkov <juri@jurta.org>
13237 * simple.el (dired-get-filename) <declare-function>:
13238 Tell the byte-compiler about dired-get-filename.
13239 (shell-command): In Dired mode, get filename from the current line
13240 as the default value.
13242 2009-11-10 Glenn Morris <rgm@gnu.org>
13244 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13245 * calendar/holidays.el, progmodes/cperl-mode.el:
13246 Update x-popup-menu declarations.
13248 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13249 (list-load-path-shadows): Use dolist.
13250 (list-load-path-shadows): Use with-current-buffer.
13252 2009-11-10 Juri Linkov <juri@jurta.org>
13254 * minibuffer.el (read-file-name): Support a list of default values
13255 in `default-filename'. Use the first file name where only one
13256 element is required. Doc fix.
13258 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13260 * net/dbus.el (dbus-unregister-object): Release service, if no
13261 other method is registered for it.
13263 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13265 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13266 bookmark-sort-flag is non-nil (Bug#4653).
13268 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13270 * emulation/cua-base.el: Add CUA property to some CC mode commands
13273 2009-11-08 Kevin Ryde <user42@zip.com.au>
13275 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13276 at end of sentence (Bug#4818).
13278 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13280 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13281 Handle "see declaration of" MSFT statements (Bug#4100).
13283 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13285 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13286 (tramp-advice-file-expand-wildcards): Unload via
13287 `ad-remove-advice'.
13289 * net/trampver.el: Update release number.
13291 2009-11-08 Kevin Ryde <user42@zip.com.au>
13293 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13296 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13298 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13299 in order to keep context in SELinux.
13301 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13303 * dired-aux.el (dired-query): Place cursor in echo area and allow
13306 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13307 menu item if not on a directory (Bug#4701).
13309 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13311 Sync with Tramp 2.1.17.
13313 * net/tramp.el (tramp-handle-copy-directory): Don't use
13314 `file-remote-p' (due to compatibility).
13316 * net/tramp-compat.el (tramp-compat-copy-directory)
13317 (tramp-compat-delete-directory): New defuns.
13319 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13320 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13321 Use `tramp-compat-delete-directory'.
13323 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13324 (tramp-smb-handle-delete-directory):
13325 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13327 * net/trampver.el: Update release number.
13329 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13331 * tar-mode.el (tar-copy): Call write-region on the right buffer
13334 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13335 by hand, if necessary (Bug#4878).
13337 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13339 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13340 align size column (Bug#4839).
13342 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13345 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13347 * progmodes/ld-script.el (auto-mode-alist):
13348 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13350 * cus-face.el (custom-declare-face): Purecopy face spec.
13352 2009-11-06 Kenichi Handa <handa@m17n.org>
13354 * international/uni-bidi.el: Re-generated.
13355 * international/uni-category.el: Re-generated.
13356 * international/uni-combining.el: Re-generated.
13357 * international/uni-mirrored.el: Re-generated.
13359 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13361 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13362 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13363 (tex-start-options, slitex-run-command, latex-run-command)
13364 (tex-run-command, tex-directory):
13365 * textmodes/ispell.el (ispell-html-skip-alists)
13366 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13367 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13368 (adaptive-fill-regexp):
13369 * textmodes/dns-mode.el (auto-mode-alist):
13370 * progmodes/python.el (interpreter-mode-alist):
13371 * progmodes/etags.el (tags-compression-info-list):
13372 * progmodes/etags.el (tags-file-name):
13373 * net/browse-url.el (browse-url-galeon-program)
13374 (browse-url-firefox-program):
13375 * mail/sendmail.el (mail-signature-file)
13376 (mail-citation-prefix-regexp):
13377 * international/mule-conf.el (eight-bit):
13378 * international/latexenc.el (latex-inputenc-coding-alist):
13379 * international/fontset.el (x-pixel-size-width-font-regexp):
13380 * emacs-lisp/warnings.el (warning-type-format):
13381 * emacs-lisp/trace.el (trace-buffer):
13382 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13383 (emacs-lisp-mode-map):
13384 * calendar/holidays.el (holiday-solar-holidays)
13385 (holiday-bahai-holidays, holiday-islamic-holidays)
13386 (holiday-christian-holidays, holiday-hebrew-holidays)
13387 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13388 (hebrew-holidays-1, holiday-oriental-holidays)
13389 (holiday-general-holidays):
13390 * x-dnd.el (x-dnd-known-types):
13391 * tool-bar.el (tool-bar):
13392 * startup.el (site-run-file):
13393 * shell.el (shell-dumb-shell-regexp):
13394 * rfn-eshadow.el (file-name-shadow-tty-properties)
13395 (file-name-shadow-properties):
13396 * paths.el (remote-shell-program, news-directory):
13397 * mouse.el ([C-down-mouse-3]):
13398 * menu-bar.el (menu-bar-tools-menu):
13399 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13400 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13401 (jka-compr-compression-info-list):
13402 * isearch.el (search-whitespace-regexp):
13403 * image-file.el (image-file-name-extensions):
13404 * find-dired.el (find-ls-option):
13405 * files.el (directory-listing-before-filename-regexp)
13406 (directory-free-space-args, insert-directory-program)
13407 (list-directory-brief-switches, magic-fallback-mode-alist)
13408 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13409 (automount-dir-prefix):
13410 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13411 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13412 (face-font-registry-alternatives, face-font-registry-alternatives)
13413 (face-font-family-alternatives):
13414 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13415 (facemenu-foreground-menu, facemenu-face-menu):
13416 * epa-hook.el (epa-file-name-regexp):
13417 * dnd.el (dnd-protocol-alist):
13418 * textmodes/rst.el (auto-mode-alist):
13419 * button.el (default-button): Purecopy strings.
13421 2009-11-06 Glenn Morris <rgm@gnu.org>
13423 * Makefile.in (ELCFILES): Update.
13425 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13428 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13430 * nxml/xsd-regexp.el (xsdre-gen-categories):
13431 * nxml/xmltok.el (xmltok-parse-entity):
13432 * nxml/rng-parse.el (rng-parse-validate-file):
13433 * nxml/rng-maint.el (rng-format-manual)
13434 (rng-manual-output-force-new-line):
13435 * nxml/rng-loc.el (rng-save-schema-location-1):
13436 * nxml/rng-cmpct.el (rng-c-parse-file):
13437 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13438 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13440 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13442 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13443 Remove extra save-excursions and make-variable-buffer-local's.
13444 Suggested by Stefan Monnier.
13446 (verilog-getopt-file, verilog-module-inside-filename-p)
13447 (verilog-set-define): Merge GNU 1.35 and repair changes from
13448 switching to using with-current-buffer.
13450 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13451 being treated as a number and confusing AUTORESET.
13452 Reported by Dan Dever.
13454 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13455 Add verilog-auto-ignore-concat to fix backward compatibility with
13456 older verilog-modes. Reported by Dan Katz.
13458 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13459 containing closing anchors "...$".
13461 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13462 Reported by Wade Smith.
13464 (verilog-batch-execute-func): Comment on function usage.
13466 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13468 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13471 (verilog-label-re, verilog-calc-1): Support proper indent of named
13474 (verilog-backward-token, verilog-basic-complete-re)
13475 (verilog-beg-of-statement, verilog-indent-re): Support proper
13476 indent of the assert statement at the beginning of a block of text.
13478 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13479 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13482 2009-11-05 Glenn Morris <rgm@gnu.org>
13484 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13485 Emacs 19. (Bug#1531)
13486 (byte-compile-fix-header): Update for the above change.
13487 Drop test for epoch::version.
13489 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13490 * cus-dep.el (custom-make-dependencies):
13491 * finder.el (finder-compile-keywords):
13492 Use autoload-rubric's feature argument.
13494 * calendar/diary-lib.el (top-level): Make load behave more like require.
13496 * vc-git.el (vc-git-stash-map): Move definition before use.
13498 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13500 * custom.el (custom-declare-group): Purecopy standard-value.
13501 (custom-declare-group): Purecopy custom-prefix.
13503 * international/mule.el (load-with-code-conversion):
13504 Call do-after-load-evaluation unconditionally.
13506 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13508 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13510 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13512 2009-11-04 Glenn Morris <rgm@gnu.org>
13514 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13515 (byte-compile-compatibility): Remove option.
13516 (byte-compile-close-variables, byte-compile-fix-header)
13517 (byte-compile-insert-header, byte-compile-output-docform)
13518 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13519 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13520 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13521 (byte-compile-insert, byte-compile-defun):
13522 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13523 (byte-defop-compiler19): Remove.
13524 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13525 used by anything. Replace all calls with byte-defop-compiler.
13527 2009-11-04 Juri Linkov <juri@jurta.org>
13529 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13530 (menu-bar-options-menu): Don't quote the `prop' arg of
13531 `menu-bar-make-mm-toggle'.
13533 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13535 * calendar/calendar.el (cal-loaddefs):
13536 * calendar/diary-lib.el (diary-loaddefs):
13537 * calendar/holidays.el (hol-loaddefs):
13538 * eshell/esh-module.el (esh-groups): Load rather than require.
13540 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13542 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13544 (todo-top-priorities): Only display-buffer when called interactively.
13545 (todo-item-start): Don't save excursion point.
13546 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13547 (todo-insert-item-here, todo-file-item, todo-remove-item):
13548 Adjust uses of todo-item-start and todo-item-end.
13550 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13551 (autoload-rubric): Don't use any more.
13553 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13554 and only put a prop if it is non-nil.
13556 2009-11-03 Juri Linkov <juri@jurta.org>
13558 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13559 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13561 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13562 and "Menu" to make top-level menu item visually one unit (like
13563 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13564 multi-word menu items). Fix :help string for quit-window.
13566 2009-11-03 Glenn Morris <rgm@gnu.org>
13568 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13569 (byte-compile-file-form-define-abbrev-table)
13570 (byte-compile-file-form-custom-declare-variable)
13571 (byte-compile-variable-ref, byte-compile-defvar):
13572 Whether or not a warning is enabled should only affect whether we issue
13573 the warning, not whether or not we collect the relevant data.
13574 Eg warnings can be turned on and off throughout the course of a file.
13576 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13577 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13579 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13581 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13582 * play/mpuz.el (mpuz-create-buffer):
13583 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13584 (lm-print-y,s,noise, lm-print-w0, lm-init):
13585 * play/gomoku.el (gomoku-prompt-for-move):
13586 * play/fortune.el (fortune-in-buffer):
13587 * play/dissociate.el (dissociated-press):
13588 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13589 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13590 * mail/supercite.el (sc-eref-show):
13591 * mail/smtpmail.el (smtpmail-send-it):
13592 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13593 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13594 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13595 (rmail-summary-goto-msg, rmail-summary-expunge)
13596 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13597 (rmail-summary-add-label, rmail-summary-output-menu)
13598 (rmail-summary-output-body):
13599 * mail/rfc822.el (rfc822-addresses):
13600 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13601 * mail/mailpost.el (post-mail-send-it):
13602 * mail/hashcash.el (hashcash-generate-payment):
13603 * mail/feedmail.el (feedmail-run-the-queue)
13604 (feedmail-queue-send-edit-prompt-help-first)
13605 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13606 (feedmail-deduce-address-list):
13607 * eshell/esh-ext.el (eshell-remote-command):
13608 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13609 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13610 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13611 (viper-save-string-in-file, viper-valid-marker):
13612 * emulation/viper-keym.el (viper-toggle-key):
13613 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13614 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13615 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13616 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13617 (viper-exec-form-in-emacs, viper-brac-function):
13618 * emulation/viper.el (viper-delocalize-var):
13619 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13620 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13621 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13622 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13623 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13624 * emulation/edt.el (edt-electric-helpify):
13625 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13626 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13627 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13628 (cua-indent-to-global-mark-column):
13629 * calendar/diary-lib.el (calendar-mark-1):
13630 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13631 Use with-current-buffer.
13632 * emulation/viper.el (viper-delocalize-var): Use dolist.
13634 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13636 * comint.el (comint-replace-by-expanded-history-before-point):
13637 Replace !! with the previous input string literally (Bug#1795).
13639 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13641 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13642 to be made up of whitespace.
13644 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13646 * minibuffer.el (read-file-name): Don't use file dialogs for
13647 remote directories (Bug#99).
13649 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13651 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13653 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13655 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13656 instead of deleting the window or frame.
13658 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13660 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13661 Support face colors.
13663 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13664 New function. Support face colors (Bug#1168).
13665 (tex-common-initialization): Use it.
13667 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13668 mode allows it (Bug#1168).
13670 2009-10-31 Juri Linkov <juri@jurta.org>
13672 * facemenu.el (list-colors-display): Don't mark buffer as
13673 modified (Bug#3948).
13675 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13677 * international/mule-diag.el (list-character-sets-1):
13678 Minor message fix (Bug#3526).
13680 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13681 Fix face property (Bug#4834).
13682 (etags-list-tags, etags-tags-apropos-additional)
13683 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13686 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13689 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13691 * textmodes/two-column.el (2C-split):
13692 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13693 * textmodes/tex-mode.el (tex-set-buffer-directory):
13694 * textmodes/spell.el (spell-region, spell-string):
13695 * textmodes/reftex.el (reftex-erase-buffer):
13696 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13697 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13698 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13699 (reftex-select-item):
13700 * textmodes/reftex-ref.el (reftex-label-info-update)
13701 (reftex-offer-label-menu):
13702 * textmodes/reftex-index.el (reftex-index-change-entry)
13703 (reftex-index-phrases-info):
13704 * textmodes/reftex-global.el (reftex-create-tags-file)
13705 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13706 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13707 (reftex-view-crossref-from-bibtex):
13708 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13709 (reftex-extract-bib-entries-from-thebibliography)
13710 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13711 * textmodes/refbib.el (r2b-capitalize-title):
13712 (r2b-convert-buffer, r2b-help):
13713 * textmodes/page-ext.el (pages-directory)
13714 (pages-directory-goto-with-mouse):
13715 * textmodes/bibtex.el (bibtex-validate-globally):
13716 * textmodes/bib-mode.el (bib-capitalize-title):
13717 * textmodes/artist.el (artist-clear-buffer, artist-system):
13718 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13719 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13720 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13721 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13722 (xscheme-send-control-g-interrupt, xscheme-start-process)
13723 (xscheme-process-sentinel, xscheme-cd):
13724 * progmodes/verilog-mode.el (verilog-read-always-signals)
13725 (verilog-set-define, verilog-getopt-file)
13726 (verilog-module-inside-filename-p):
13727 * progmodes/sh-script.el:
13728 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13729 (python-pdbtrack-grub-for-buffer, python-execute-file):
13730 * progmodes/octave-inf.el (inferior-octave):
13731 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13732 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13733 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13734 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13735 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13736 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13737 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13738 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13739 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13740 (idlwave-shell-examine-display, idlwave-shell-run-region)
13741 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13742 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13743 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13744 (idlwave-help-get-help-buffer):
13745 * progmodes/gud.el (gud-basic-call, gud-find-class)
13746 (gud-tooltip-activate-mouse-motions-if-enabled):
13747 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13748 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13749 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13750 (ebrowse-tags-next-file):
13751 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13752 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13753 (ebnf-eps-finish-and-write):
13754 * progmodes/cpp.el (cpp-edit-save):
13755 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13756 * progmodes/cc-defs.el (c-emacs-features):
13757 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13758 (antlr-directory-dependencies):
13759 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13760 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13761 (ada-find-any-references, ada-make-filename-from-adaname)
13762 (ada-make-body-gnatstub):
13763 * obsolete/rnews.el (news-list-news-groups):
13764 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13765 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13766 * net/rcirc.el (rcirc-debug):
13767 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13768 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13769 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13770 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13771 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13772 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13773 (newsticker--treeview-list-clear-highlight)
13774 (newsticker--treeview-list-update-highlight)
13775 (newsticker--treeview-list-highlight-start)
13776 (newsticker--treeview-tree-update-highlight)
13777 (newsticker--treeview-get-selected-item)
13778 (newsticker-treeview-mark-list-items-old)
13779 (newsticker--treeview-set-current-node):
13780 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13781 * net/newst-backend.el (newsticker--get-news-by-funcall)
13782 (newsticker--get-news-by-wget, newsticker--image-get)
13783 (newsticker--image-sentinel):
13784 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13785 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13786 (eudc-ph-close-session):
13787 * net/eudc.el (eudc-save-options):
13788 * language/thai-word.el (thai-update-word-table):
13789 * language/japan-util.el (japanese-string-conversion):
13790 * international/titdic-cnv.el (tsang-quick-converter)
13791 (ziranma-converter, ctlau-converter):
13792 * international/mule-cmds.el (describe-language-environment):
13793 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13794 (skkdic-convert-postfix, skkdic-convert-prefix):
13795 (skkdic-convert-okuri-nasi, skkdic-convert):
13796 * emacs-lisp/re-builder.el (reb-update-overlays):
13797 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13798 * emacs-lisp/gulp.el (gulp-send-requests):
13799 * emacs-lisp/find-gc.el (trace-call-tree):
13800 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13801 (eieio-describe-generic):
13802 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13803 * emacs-lisp/edebug.el (edebug-outside-excursion):
13804 * emacs-lisp/debug.el (debugger-make-xrefs):
13805 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13806 * emacs-lisp/chart.el (chart-new-buffer):
13807 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13808 Use with-current-buffer.
13809 * textmodes/artist.el (artist-system): Don't call
13810 copy-sequence on a fresh string.
13811 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13813 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13815 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13816 is no item to edit. (Bug#4820)
13817 (todo-top-priorities): Restore point and restore narrowing in Todo
13820 2009-10-31 Glenn Morris <rgm@gnu.org>
13822 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13823 (comint-last-output-start, comint-last-input-start)
13824 (comint-last-input-end): Don't defvar when compiling.
13825 (ange-ftp-process-file): Use bound-and-true-p.
13827 * pcmpl-rpm.el (top-level): Move provide statement to end.
13828 (pcmpl-rpm): Remove unused custom group.
13830 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13832 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13834 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13835 (byte-compile-warnings): Add `constants' as an option.
13836 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13837 (display-call-tree): Update for byte-compile-fdefinition possibly
13838 returning `(macro lambda ...)'. (Bug#4778)
13839 (byte-compile-variable-ref, byte-compile-setq-default):
13840 Respect `constants' member of byte-compile-warnings.
13842 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13844 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13845 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13848 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13850 * textmodes/ispell.el (ispell-skip-region-alist):
13851 * international/mule-conf.el (eight-bit):
13852 * international/fontset.el (font-encoding-alist):
13853 * startup.el (pure-space-overflow-message):
13854 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13855 * paths.el (gnus-nntp-service, rmail-spool-directory)
13856 (term-file-prefix):
13857 * files.el (save-some-buffers-action-alist):
13858 * cmuscheme.el (same-window-buffer-names):
13859 * ielm.el (same-window-buffer-names):
13860 * shell.el (same-window-buffer-names):
13861 * mail/sendmail.el (same-window-buffer-names):
13862 * progmodes/inf-lisp.el (same-window-buffer-names):
13863 * bindings.el (mode-line-client)
13864 (mode-line-column-line-number-mode-map):
13865 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13866 (tibetan-precomposed-regexp): Purecopy string arguments.
13868 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13870 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13871 (calcDigit-nondigit):
13872 * calc/calc-yank.el (calc-copy-to-buffer):
13873 * calc/calc-units.el (calc-invalidate-units-table):
13874 * calc/calc-trail.el (calc-trail-yank):
13875 * calc/calc-store.el (calc-insert-variables):
13876 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13877 * calc/calc-prog.el (calc-read-parse-table):
13878 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13879 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13880 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13881 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13882 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13883 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13884 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13885 * calc/calc-ext.el (calc-realign):
13886 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13887 (calc-embedded-finish-edit, calc-embedded-make-info)
13888 (calc-embedded-finish-command, calc-embedded-stack-change):
13889 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13891 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13892 shell-dynamic-complete-filename in preference to
13893 comint-dynamic-complete-filename.
13895 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13896 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13897 Don't consider whether the display supports colors.
13898 (bookmark-import-new-list): Use dolist.
13899 (bookmark-bmenu-mode-map): Move initialization into declaration.
13900 (bookmark-bmenu-list): Use dolist, simplify.
13901 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13902 (menu-bar-final-items): Use push.
13904 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13906 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13907 it works on remote files.
13908 (vc-hg-diff): Don't pass any `--cwd' argument.
13910 2009-10-27 Kevin Ryde <user42@zip.com.au>
13912 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13913 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13914 (Further to Bug#3921).
13916 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13918 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13919 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13920 calling `tramp-imap-put-file'. Add file size to the call.
13921 (tramp-imap-get-file-entries): Compute also user name, file size,
13923 (tramp-imap-handle-insert-directory): Insert uid and gid.
13924 (tramp-imap-handle-file-attributes): Transform uid and gid
13925 according to `id-format'.
13926 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13927 size in header X-Size.
13929 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13931 * simple.el (transpose-subr): Give clearer error when the mark
13932 is not set. (Bug#4807)
13934 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13936 * net/tramp.el (tramp-perl-file-truename): New defconst.
13937 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13938 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13939 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13940 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13942 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13943 Ignore `dired-call-process'.
13944 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13946 2009-10-26 Julian Scheid <julians37@gmail.com>
13948 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13949 (tramp-get-remote-readlink): New defun.
13950 (tramp-handle-file-truename): Use it.
13951 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13952 file exists if cache value present.
13953 (tramp-check-cached-permissions): New defun.
13954 (tramp-handle-file-readable-p): Use it.
13955 (tramp-handle-file-writable-p): Likewise.
13956 (tramp-handle-file-executable-p): Likewise.
13957 (tramp-handle-file-name-all-completions): Try using Perl to get
13958 partial completions. When perl not available, combine `cd' and
13959 `ls' into single remote operation and use shell expansion to get
13960 partial remote directory contents. Set `file-exists-p' cache for
13961 directory and any files returned by ls. Change cache handling to
13962 support partial directory contents. Use error message emitted by
13963 remote `cd' or Perl code for local tramp-error.
13964 (tramp-do-copy-or-rename-file-directly): Avoid separate
13965 tramp-send-command-and-check call.
13966 (tramp-handle-process-file): Merge three remote ops into one.
13967 Do not flush all caches when `process-file-side-effects' is set.
13968 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13969 file-attributes shows uid/gid to be set already.
13971 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13973 * textmodes/tex-mode.el (tex-dvi-view-command)
13974 (tex-show-queue-command, tex-open-quote):
13975 * progmodes/ruby-mode.el (auto-mode-alist)
13976 (interpreter-mode-alist): Purecopy strings.
13978 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13980 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13981 string for the hook, keymap and abbrev table.
13983 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13985 * x-dnd.el (x-dnd-xdnd-to-action):
13986 * startup.el (fancy-startup-text, fancy-about-text): Change to
13987 defconst from defvar.
13989 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13991 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13992 Purecopy initialization strings.
13994 * mail/sendmail.el (mail-header-separator)
13995 (mail-personal-alias-file):
13996 * mail/rmail.el (rmail-default-dont-reply-to-names)
13997 (rmail-ignored-headers, rmail-retry-ignored-headers)
13998 (rmail-highlighted-headers, rmail-secondary-file-directory)
13999 (rmail-secondary-file-regexp):
14000 * files.el (null-device, file-name-invalid-regexp)
14001 (locate-dominating-stop-dir-regexp)
14002 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14003 (interpreter-mode-alist): Use mapcar instead of mapc.
14005 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14007 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14008 (completion-ignored-extensions):
14009 (debug-ignored-errors): Purecopy strings.
14011 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14013 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14014 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14015 (pcomplete--here): Use push.
14017 * subr.el (all-completions): Declare the 4th arg obsolete.
14019 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14021 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14022 (pcomplete-unquote-argument): New function.
14023 (pcomplete--common-suffix): Always pay attention to case.
14024 (pcomplete--table-subvert): Quote and unquote the text.
14025 (pcomplete--common-quoted-suffix): New function.
14026 (pcomplete-std-complete): Use it and pcomplete-begin.
14028 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14029 we're inside a dedicated or minibuffer window.
14031 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14033 * bookmark.el: Update documentation, especially documentation
14034 of `bookmark-alist' and of the bookmark file format.
14035 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14037 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14039 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14040 keybindings apply to the mail buffer (Bug#4003). Shrink help
14043 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14044 (global-whitespace-mode, global-whitespace-newline-mode)
14045 (whitespace-toggle-options, global-whitespace-toggle-options):
14046 Doc fix (Bug#3660).
14048 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14049 of xmltok-start before the end tag was inserted (Bug#2840).
14051 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14052 patterns that are preceded by an open-paren (Bug#1320).
14054 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14056 * files.el (delete-directory): Delete symlinks to directories with
14057 delete-file (Bug#4739).
14059 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14061 * vc.el (vc-backend-for-registration): Rename from
14062 vc-get-backend-for-registration. Update callers.
14064 * international/mule-cmds.el (set-language-info-alist):
14066 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14067 (charset): Purecopy the name.
14068 (define-char-code-property): Purecopy string arguments.
14070 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14071 Purecopy string arguments.
14073 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14074 * ediff-hook.el (menu-bar-ediff-menu):
14075 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14076 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14078 2009-10-24 Glenn Morris <rgm@gnu.org>
14080 * comint.el (comint-dynamic-list-completions):
14081 * term.el (term-dynamic-list-completions): Use choose-completion rather
14082 than obsolete alias mouse-choose-completion.
14084 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14085 file-cache-choose-completion.
14086 (file-cache-choose-completion): Handle an optional event argument.
14087 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14089 * progmodes/octave-mod.el (octave-complete-symbol):
14090 Use choose-completion if mouse-choose-completion is ever removed.
14092 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14095 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14098 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14100 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14102 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14103 Ignore `pred' now that we receive one.
14104 Handle test-completion specially.
14106 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14108 * vc.el (vc-responsible-backend): Throw an error if not backend is
14109 found. Remove the REGISTER argument. Move the code dealing with
14111 (vc-get-backend-for-registration): ... here. New function.
14112 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14113 of vc-responsible-backend, pass the file name instead of the
14116 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14118 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14120 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14121 (pcomplete-comint-setup): Don't modify a global var via
14122 accidental side-effects.
14123 (pcomplete-shell-setup): Adjust call accordingly.
14124 (pcomplete-parse-comint-arguments): Use push.
14126 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14128 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14129 Allow uncapitalized info node names (Bug#3921).
14131 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14132 to the DEBUG file (Bug#3781).
14134 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14136 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14137 dictionary entry (Bug#4579).
14139 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14141 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14142 from `rfn-eshadow-update-overlay-hook' when unloading.
14143 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14144 "rsyncc". Adjust doc string.
14145 (tramp-temp-buffer-file-name): New buffer-local defvar.
14146 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14147 Keep temporary file when indicated by method ("rsync" and
14149 (tramp-handle-write-region): Handle APPEND.
14150 (tramp-delete-temp-file-function): New defun. Added to
14151 `kill-buffer-hook'.
14153 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14155 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14157 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14159 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14160 (color-name-rgb-alist, tty-standard-colors)
14161 (tty-color-mode-alist): Change to defconst.
14163 * simple.el (mark-inactive): Purecopy message.
14165 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14166 (global-map, yank-menu):
14167 * textmodes/ispell.el (ispell-menu-map):
14168 * net/eudc.el (eudc-tools-menu):
14169 * international/mule-cmds.el (describe-language-environment-map)
14170 (setup-language-environment-map, set-coding-system-map)
14171 (mule-menu-keymap):
14172 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14173 * replace.el (occur-mode-map):
14174 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14176 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14178 * calc/calc.el (math-read-number, math-read-number-simple):
14179 Use `save-match-data'.
14181 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14183 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14184 rather than fiddling with global-map bindings, since it should only
14185 affect per-terminal settings.
14186 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14188 * minibuffer.el (completion-table-with-terminator): Allow to specify
14189 the terminator-regexp.
14191 * simple.el (switch-to-completions): Look for *Completions* in other
14194 * pcomplete.el: Allow the use of completion-tables.
14195 (pcomplete-std-complete): New command.
14196 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14197 (pcomplete--here): Use a function for `form' rather than an expression,
14198 so it can be byte-compiled.
14199 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14200 Add edebug declaration.
14201 (pcomplete-show-completions): Remove unused var `curbuf'.
14202 (pcomplete-do-complete, pcomplete-stub):
14203 Don't assume `completions' is a list of strings any more.
14205 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14207 * find-dired.el (find-name-arg): Fix typo in docstring.
14209 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14211 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14212 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14214 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14217 * comint.el (comint-read-input-ring, comint-write-input-ring)
14218 (comint-substitute-in-file-name)
14219 (comint-dynamic-complete-as-filename)
14220 (comint-dynamic-simple-complete)
14221 (comint-dynamic-list-filename-completions)
14222 (comint-dynamic-list-completions)
14223 (comint-redirect-results-list-from-process): Minor simplifications.
14225 2009-10-21 Kevin Ryde <user42@zip.com.au>
14227 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14228 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14229 the first form. And insert a blank line after ";;; Code" since
14230 that's usual style. (Bug#4612)
14232 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14234 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14236 * minibuffer.el (completion-table-with-terminator): Properly implement
14237 boundaries, in case `terminator' appears in the suffix.
14238 (completion--embedded-envvar-table): Don't return boundaries if
14239 there's no valid completion. Simplify.
14240 (completion-file-name-table): New completion table extracted from
14241 completion--file-name-table.
14242 (completion--file-name-table): Use it.
14243 (read-file-name-predicate): Declare obsolete.
14244 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14245 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14246 completion-file-name-table, and use the `pred' argument.
14247 * files.el (locate-file-completion-table): Use the `pred' arg rather
14248 than read-file-name-predicate.
14249 (abbreviate-file-name): Use \` rather than ^ for BOS.
14251 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14253 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14254 vc-responsible-backend to register, it causes problems.
14256 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14258 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14260 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14262 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14263 (tramp-smb-handle-file-attributes): Use it.
14264 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14265 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14266 `mapcar'. Use `tramp-smb-get-stat-capability'.
14267 Add `dired-filename' text properties.
14268 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14269 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14272 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14274 * subr.el (read-key-delay): Reduce to 0.01.
14275 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14278 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14280 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14282 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14283 (Info-menu): Remove unused vars `last' and `completions'.
14284 (Info-index-nodes): Remove unused var `node'.
14286 * info.el (Info-complete-menu-item): Use complete-with-action.
14288 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14290 Make vc-annotate work through copies and renames.
14291 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14292 Return the file name too.
14293 (vc-annotate-revision-at-line)
14294 (vc-annotate-find-revision-at-line)
14295 (vc-annotate-revision-previous-to-line)
14296 (vc-annotate-show-log-revision-at-line): Update to get the file
14297 name from vc-annotate-extract-revision-at-line.
14298 (vc-annotate-show-diff-revision-at-line-internal): Change the
14299 argument to mean whether to show a file diff or not. Get the file
14300 name from vc-annotate-extract-revision-at-line.
14301 (vc-annotate-show-diff-revision-at-line):
14302 Update vc-annotate-show-diff-revision-at-line call.
14303 (vc-annotate-warp-revision): Add an optional file argument.
14305 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14306 (vc-git-annotate-extract-revision-at-line): Also return the file
14309 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14310 command. Remove unused code.
14311 (vc-hg-annotate-re): Update to match --follow output.
14312 (vc-hg-annotate-extract-revision-at-line): Also return the file
14315 * vc.el: Update annotate-extract-revision-at-line documentation.
14317 2009-10-18 Kevin Ryde <user42@zip.com.au>
14319 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14320 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14322 * net/browse-url.el (browse-url): Identify alist with "consp and
14323 not functionp" and let all other things go down the `apply' leg,
14324 as suggested by Stefan. (Further to bug#4531.)
14326 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14328 * minibuffer.el (read-file-name): Check for repeat before putting
14329 a default argument in file-name-history (Bug#4657).
14331 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14332 read syntax (Bug#4737).
14334 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14336 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14338 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14339 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14340 entries and make note of obsolete tags.
14342 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14344 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14346 2009-10-18 Glenn Morris <rgm@gnu.org>
14348 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14349 grep, so that binary files (eg international/uni-bidi.el) can match.
14350 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14351 now, and in any case the file header format has changed.
14353 2009-10-17 Glenn Morris <rgm@gnu.org>
14355 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14356 (flyspell-get-word, flyspell-large-region)
14357 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14359 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14361 * Makefile.in (ELCFILES): Add ede/shell.
14363 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14365 * term/common-win.el (x-colors): Purecopy it.
14367 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14369 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14370 permissive for when the buffer is empty.
14371 (tar-header-block-tokenize): Decode the username and groupname.
14372 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14374 2009-10-17 Eric Ludlam <zappo@gnu.org>
14376 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14377 contains multibyte characters, choose first applicable coding
14378 system automatically.
14380 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14382 * international/mule-cmds.el (select-safe-coding-system): If the file
14383 has a coding cookie, use it regardless of any other setting (bug#4712).
14385 2009-10-17 Glenn Morris <rgm@gnu.org>
14387 * foldout.el (foldout-mouse-swallow-events):
14388 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14390 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14391 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14392 (dired-keep-marker-symlink, dired-dwim-target)
14393 (dired-copy-preserve-time): Do not autoload these defcustoms.
14395 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14396 messages from messing up the file coding. (Bug#4623)
14398 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14400 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14401 if no match is found for the current dictionary. (Bug#4578)
14403 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14404 optional, since that is how it is documented, and this is often called
14405 with a nil argument. (Bug#4577)
14406 (flyspell-external-point-words, flyspell-auto-correct-word)
14407 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14408 (flyspell-word-search-backward): Remove nil argument in calls to
14409 flyspell-get-word, since it is not needed now.
14411 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14413 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14415 2009-10-16 Glenn Morris <rgm@gnu.org>
14417 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14419 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14421 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14422 (ange-ftp-file-size): New function.
14423 (ange-ftp-file-attributes): Use it.
14425 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14427 * net/tramp-smb.el (tramp-smb-version): New defvar.
14428 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14431 2009-10-16 Glenn Morris <rgm@gnu.org>
14433 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14434 Maybe copy some custom properties from old to new name. (Bug#4706)
14436 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14438 * subr.el (error, sit-for, start-process-shell-command)
14439 (start-file-process-shell-command): Set the calling convention
14440 after the function definition.
14442 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14444 * subr.el (error, sit-for, start-process-shell-command)
14445 (start-file-process-shell-command): Use the new
14446 set-advertised-calling-convention feature.
14448 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14450 * international/ucs-normalize.el (ucs-normalize-version):
14452 (check-range): Adjust for Unicode 5.2.
14454 2009-10-15 Juri Linkov <juri@jurta.org>
14456 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14457 to the `menu-item' format.
14459 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14461 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14462 if the environment variable does not exist.
14464 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14465 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14467 (tramp-smb-handle-add-name-to-file)
14468 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14469 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14470 (tramp-smb-handle-file-attributes)
14471 (tramp-smb-do-file-attributes-with-stat)
14472 (tramp-smb-handle-file-local-copy)
14473 (tramp-smb-handle-insert-directory)
14474 (tramp-smb-handle-make-directory)
14475 (tramp-smb-handle-make-directory-internal)
14476 (tramp-smb-handle-make-symbolic-link)
14477 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14478 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14479 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14480 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14481 Handle long file names.
14482 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14483 process is running.
14484 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14485 Read share names with "-g" option.
14487 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14489 * net/rcirc.el (rcirc-view-log-file): New command.
14490 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14491 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14494 2009-10-15 Glenn Morris <rgm@gnu.org>
14496 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14497 from the second command-line argument.
14498 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14499 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14500 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14501 w32-batch-update-autoloads.
14502 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14503 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14505 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14506 the headers cannot be located. Simplify, subtracting superflous
14509 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14511 Replace completion-base-size by completion-base-position to fix bugs
14512 such as (bug#4699).
14513 * simple.el (completion-base-position): New var.
14514 (completion-base-size): Mark as obsolete.
14515 (choose-completion): Make it work for mouse events as well.
14516 Pass the new base-position to choose-completion-string.
14517 (choose-completion-guess-base-position): New function, extracted from
14518 choose-completion-delete-max-match.
14519 (choose-completion-delete-max-match): Use it. Make obsolete.
14520 (choose-completion-string): Use the new base-position info.
14521 (completion-root-regexp): Delete.
14522 (completion-setup-function): Preserve completion-base-position.
14523 Eliminate obsolete base-size manipulation.
14524 * minibuffer.el (display-completion-list): Don't mess with base-size.
14525 (minibuffer-completion-help): Set completion-base-position instead.
14526 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14528 * textmodes/bibtex.el (bibtex-complete):
14529 * emacs-lisp/crm.el (crm--choose-completion-string):
14530 Adjust to new calling convention.
14531 * complete.el (partial-completion-mode): Use minibufferp to avoid
14532 bumping into incompatible change to choose-completion-string-functions.
14533 * ido.el (ido-choose-completion-string): Make its calling convention
14535 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14536 base-size manipulation.
14537 (comint-dynamic-list-input-ring): Use dotimes and push.
14538 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14539 fundamental-mode. Use `or'.
14541 2009-10-14 Juri Linkov <juri@jurta.org>
14543 * misearch.el (multi-isearch-next-buffer-from-list)
14544 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14546 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14548 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14551 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14552 string we return is all made up of text from the completions rather
14553 than part from the completions and part from the input (bug#4219).
14555 * ido.el (ido-everywhere): Use define-minor-mode.
14557 * buff-menu.el (list-buffers, ctl-x-map):
14558 Mark the entry points with ;;;###autoload cookies.
14560 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14562 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14563 correctly in the detached head case.
14564 (vc-git-print-log): Remove unused binding.
14566 * vc.el (vc-responsible-backend): When a directory is passed for
14567 for registration create a VC repository if no backend is
14568 responsible for the directory argument.
14569 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14571 * vc.el: Move comments about RCS and SCCS ...
14573 * vc-sccs.el: ... here, respectively.
14575 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14577 * minibuffer.el (completion--file-name-table): Return nil if there's
14578 no file completion, even if substitute-in-file-name changed
14579 the string (bug#4708).
14581 2009-10-13 Juri Linkov <juri@jurta.org>
14583 * files-x.el (read-file-local-variable-value): Don't filter out
14584 minor modes from mode name completion (bug#4664).
14586 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14588 * international/mule-cmds.el (ucs-names): Remove exclusion of
14589 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14591 2009-10-13 Kenichi Handa <handa@m17n.org>
14593 * international/uni-name.el: Regenerated.
14595 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14597 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14598 should be automatically buffer-local, but isn't.)
14600 2009-10-12 Sam Steingold <sds@gnu.org>
14602 * progmodes/compile.el (compilation-next-error-function): Fix the
14603 timestamps if the buffer has been visited before.
14604 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14605 non-anchored patterns, like the perl one (bug#3928).
14607 2009-10-12 Glenn Morris <rgm@gnu.org>
14609 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14612 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14614 * proced.el (proced-unload-function): New function.
14616 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14617 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14620 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14622 2009-10-11 Juri Linkov <juri@jurta.org>
14624 * files-x.el (read-file-local-variable-value):
14625 Provide default value only for bound variables (bug#4664).
14627 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14629 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14630 connection methods like smb.
14632 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14635 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14636 (tramp-smb-file-name-handler-alist): Add handlers for
14637 `add-name-to-file', `make-symbolic-link'.
14638 (tramp-smb-handle-add-name-to-file)
14639 (tramp-smb-do-file-attributes-with-stat)
14640 (tramp-smb-handle-make-symbolic-link)
14641 (tramp-smb-get-cifs-capabilities): New defuns.
14642 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14643 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14644 (tramp-smb-handle-file-local-copy)
14645 (tramp-smb-handle-make-directory-internal)
14646 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14647 The file name syntax depends on cifs capabilities.
14648 (tramp-smb-handle-file-attributes):
14649 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14650 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14651 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14653 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14655 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14656 (eieio-defclass): Apply deftype handler and setf-method properties
14658 (eieio-add-new-slot): Avoid union function from cl library.
14659 (eieio--typep): New function.
14660 (eieio-perform-slot-validation): Use it.
14662 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14664 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14665 Update documentation to refer to the variables documented in r1.135.
14668 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14670 * bookmark.el (Info-suffix-list): Remove this unused variable.
14671 (bookmark-current-point): Remove this obsolete variable.
14672 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14673 Adjust for removal of bookmark-current-point.
14675 (bookmarks-already-loaded, bookmark-current-buffer)
14676 (bookmark-yank-point): Document. (Bug#4188)
14678 2009-10-10 Glenn Morris <rgm@gnu.org>
14680 * frame.el (frame-height): Doc fix.
14682 * calendar/calendar.el (calendar-split-width-threshold): New option.
14683 (calendar-basic-setup): Use calendar-split-width-threshold.
14685 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14687 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14688 Ideographic Supplement" range (U+1F200..U+1F2FF).
14690 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14692 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14693 since the list will have been rebuilt anyway. (Bug#4349)
14695 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14697 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14698 (bookmark-bmenu-execute-deletions): Don't save here, as
14699 bookmark-delete will now do so if necessary.
14700 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14703 2009-10-09 Glenn Morris <rgm@gnu.org>
14705 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14707 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14709 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14710 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14711 argument now, so the two function's behaviors will match. (Bug#3645)
14713 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14715 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14716 (tramp-file-name-real-host, tramp-file-name-port):
14717 Apply `save-match-data'.
14719 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14720 case both directories are remote.
14721 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14722 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14724 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14726 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14728 2009-10-07 Glenn Morris <rgm@gnu.org>
14730 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14733 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14735 * files-x.el (read-file-local-variable): Include some
14736 non-user-variables in the completion table (bug#4664).
14738 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14740 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14743 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14744 (tramp-smb-file-name-handler-alist): Add handler for
14745 `copy-directory', `expand-file-name', `set-file-modes'.
14746 (tramp-smb-handle-copy-directory)
14747 (tramp-smb-handle-expand-file-name)
14748 (tramp-smb-handle-set-file-modes): New defuns.
14749 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14750 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14752 (tramp-smb-handle-insert-directory): Don't flush the cache.
14753 (tramp-smb-maybe-open-connection): Check for samba client and
14756 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14758 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14759 to not error out of search for "^lisp=" fails.
14761 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14763 * makefile.w32-in (WINS_UPDATES): New macro.
14764 (custom-deps, finder-data, autoloads): Use it.
14766 2009-10-07 Glenn Morris <rgm@gnu.org>
14768 * Makefile.in (autoloads): Revert previous change.
14769 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14770 the list of preloaded files passed on the command-line, get
14771 it from src/Makefile.
14773 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14774 show the original buffer rather than a random one.
14776 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14778 * help.el (describe-no-warranty): Place point in a slightly better
14779 position in the GPLv3 text.
14781 2009-10-06 Sam Steingold <sds@gnu.org>
14783 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14784 the comm attribute is present before calling regexp-quote.
14786 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14788 * play/animate.el (animate-string): For good effect, make sure
14789 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14791 * play/animate.el (animate-sequence, animate-birthday-present):
14792 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14794 2009-10-06 Glenn Morris <rgm@gnu.org>
14796 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14798 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14799 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14800 (batch-update-autoloads): Process a string value of autoload-excludes,
14801 set during the build process.
14802 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14804 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14805 inside with-parsed... macro so that `v' is defined.
14807 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14808 * progmodes/fortran.el (fortran-end-of-block)
14809 (fortran-beginning-of-block):
14810 Also push mark in the macro case.
14812 * emerge.el (emerge-show-file-name):
14813 * calc/calc.el (calc-quit):
14814 * calc/calc-misc.el (calc-big-or-small):
14815 * calc/calc-graph.el (calc-graph-view):
14816 * calc/calc-ext.el (calc-reset):
14817 * calendar/calendar.el (calendar-basic-setup):
14818 Use window-full-height-p.
14820 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14821 header we don't understand, don't insert another. (Bug#4624)
14822 If changing mime charset, insert the new one in the right place.
14824 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14826 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14827 (cal-tex-cursor-month): Correctly increment the end date for diary and
14828 holiday listing. (Bug#4626)
14830 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14832 * help-fns.el (describe-function-1): Don't burp if the function is not
14835 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14837 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14838 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14839 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14840 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14842 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14843 (eieio-default-superclass): Reflow docstrings.
14844 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14845 (eieio-unbind-method-implementations, defmethod)
14846 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14847 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14848 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14849 (eieio-slot-originating-class-p, eieio-slot-name-index)
14850 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14851 (constructor, initialize-instance, no-next-method, object-print)
14852 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14853 Fix typos in docstrings.
14854 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14855 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14856 (next-method-p): Doc fixes.
14857 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14858 Fix typos in error messages.
14859 (eieio-defmethod): Fix typo in description of generic method.
14861 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14862 (eieio-persistent-save-interactive, slot-missing):
14863 Fix typos in docstrings.
14864 (eieio-instance-inheritor-slot-boundp): Doc fix.
14866 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14867 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14869 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14870 (eieio-custom-object-apply-reset):
14871 Fix typos in docstrings and error messages.
14873 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14874 Fix typo in docstring.
14876 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14877 (eieio-browse-tree): Doc fix.
14878 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14879 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14880 Fix typos in docstrings.
14882 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14883 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14884 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14885 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14888 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14890 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14891 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14892 Set log-view-vc-backend so that diff can work.
14894 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14896 (vc-diff-internal): Autoload this instead of vc-version-diff.
14898 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14900 * simple.el (eval-expression): Doc fix.
14902 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14904 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14906 * files.el (directory-files-no-dot-files-regexp): New defconst.
14907 (delete-directory): Use it.
14908 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14910 * net/tramp.el (tramp-verbose): Fix docstring.
14911 (tramp-methods): Add recursive option to `tramp-copy-args'.
14912 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14913 "scp1_old", "scp2_old", "rsync", "rsyncc".
14914 (tramp-default-method): Check also for `auth-source-user-or-password'.
14915 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14916 Add handler for `copy-directory'.
14917 (tramp-handle-copy-directory): New defun.
14918 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14919 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14920 Optimize sent command.
14922 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14924 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14925 window if necessary.
14927 * calendar/calendar.el (calendar-basic-setup): Don't call
14928 switch-to-buffer in a dedicated window.
14930 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14932 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14933 don't do anything related to relocating, just return nil.
14934 (bookmark-error-no-filename): New error.
14935 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14936 bookmark has no file. Don't even attempt to handle things that
14937 are not files; the whole point of custom handlers is to keep that
14938 knowledge elsewhere anyway. Tighten some comments.
14939 (bookmark-file-or-variation-thereof): Remove now-unused function.
14940 (bookmark-location): Doc string fix.
14943 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14945 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14946 don't use a file dialog, because they usually don't know how to read
14947 a directory target from the user. (Bug#4230)
14948 Also, make sure the prompt can display directories as well as files.
14950 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14952 * bookmark.el (bookmark-set, bookmark-buffer-name):
14953 Improve doc strings. (Bug#1193)
14955 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14957 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14958 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14959 (bookmark-get-annotation, bookmark-set-annotation)
14960 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14961 (bookmark-set-position, bookmark-get-front-context-string)
14962 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14963 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14964 (bookmark-jump-other-window, bookmark-handle-bookmark)
14965 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14966 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14967 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14968 Improve doc strings to say whether bookmark can be a string or
14969 a record or both, and make other consistency and clarity fixes.
14970 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14971 (bookmark-default-annotation-text, bookmark-yank-word)
14972 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14973 (bookmark-import-new-list, bookmark-maybe-rename)
14974 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14975 (bookmark-bmenu-bookmark): Give these doc strings.
14976 (bookmark-bmenu-check-position): Give this a doc string, but also
14977 add a FIXME comment about how the function may be pointless.
14978 (bookmark-default-handler): Rework doc string and change a
14979 parameter name, to clarify that this takes a bookmark record
14980 not a bookmark name.
14981 (bookmark-set): Change a parameter name to indicate its meaning,
14982 and improve the doc string a bit.
14985 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14987 * bookmark.el (bookmark-alist): Document the new `handler' element
14988 in the param alist.
14989 (bookmark-make-record-function): Adjust documentation for above.
14992 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14994 * info.el (Info-bookmark-make-record): Document this function.
14995 (Info-bookmark-jump): Document with a doc string, not just a comment.
14998 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15000 * files.el (copy-directory): New defun.
15002 * dired-aux.el (dired-copy-file-recursive): Use it.
15004 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15006 * files-x.el (modify-dir-local-variable)
15007 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15010 * recentf.el (recentf-unload-function): New function.
15012 2009-10-04 Glenn Morris <rgm@gnu.org>
15014 * window.el (window-full-height-p): Add doc string.
15016 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15018 * window.el (window-full-height-p): New function. (Bug#4543)
15020 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15022 * vc.el: Remove commented out code.
15023 (vc-derived-from-dir-mode): Remove, unused.
15024 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15026 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15028 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15029 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15030 there could be recursive loading when `default-directory' is a
15031 remote file name. (Bug#4614)
15033 2009-10-03 Glenn Morris <rgm@gnu.org>
15035 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15037 (calendar-generate-window): Test for shrinkability rather than width.
15039 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15040 reusing existing buffers, in case we happen to visit two files with the
15041 same basename. (Bug#4593)
15043 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15045 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15046 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15047 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15048 subdirs of cedet as well.
15049 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15051 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15053 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15054 Obey advertised-signature-table.
15056 * help-fns.el (help-function-arglist): Don't check
15057 advertised-signature-table.
15058 (describe-function-1): Do it here instead so it also applies to subrs.
15060 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15062 * simple.el (start-file-process): Say in the doc-string, that file
15063 handlers might not support pty association, if PROGRAM is nil.
15065 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15066 HOST and USER are strings. They are nil, when there are
15067 incomplete entries in ~/.netrc, for example.
15068 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15069 root directory ("device busy" error otherwise).
15071 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15072 Flush file properties of created directory.
15074 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15076 * makefile.w32-in (WINS_BASIC): Remove cedet.
15077 (WINS_CEDET): Add cedet.
15078 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15080 2009-10-02 Kevin Ryde <user42@zip.com.au>
15082 * net/browse-url.el (browse-url): Pass any symbol in
15083 browse-url-browser-function to `apply', since if you've mistakenly put
15084 an unbound symbol then the error is clearer. (Bug#4531)
15086 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15088 * allout.el (allout-init, allout-back-to-current-heading)
15089 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15090 (allout-ascend, allout-up-current-level, allout-end-of-level)
15091 (allout-previous-visible-heading, allout-forward-current-level)
15092 (allout-backward-current-level, allout-show-children):
15093 * apropos.el (apropos-describe-plist):
15094 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15095 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15096 * completion.el (add-completion, add-permanent-completion):
15097 * descr-text.el (describe-text-category, describe-char):
15098 * desktop.el (desktop-lazy-abort):
15099 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15100 * dired.el (dired-build-subdir-alist):
15101 * ediff.el (ediff-version):
15102 * elide-head.el (elide-head, elide-head-show):
15103 * emerge.el (emerge-version):
15105 * face-remap.el (variable-pitch-mode):
15106 * faces.el (describe-face):
15107 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15109 * files.el (find-file-existing, auto-save-mode):
15110 * font-lock.el (font-lock-fontify-buffer):
15111 * help-fns.el (describe-function, describe-variable)
15112 (describe-syntax, describe-categories):
15113 * help.el (view-lossage, describe-bindings, describe-key)
15115 * hexl.el (hexl-current-address):
15116 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15117 * info.el (Info-goto-emacs-key-command-node):
15118 * log-edit.el (log-edit-insert-cvs-template)
15119 (log-edit-insert-cvs-rcstemplate):
15120 * menu-bar.el (menu-bar-mode):
15121 * mouse.el (mouse-appearance-menu):
15122 * newcomment.el (comment-indent-new-line):
15123 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15124 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15125 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15126 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15127 * recentf.el (recentf-mode):
15128 * savehist.el (savehist-mode, savehist-save):
15129 * shadowfile.el (shadow-copy-files):
15130 * simple.el (kill-ring-save, next-line, previous-line)
15131 (normal-erase-is-backspace-mode):
15132 * strokes.el (strokes-update-window-configuration)
15133 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15134 (strokes-xpm-for-stroke):
15135 * time.el (emacs-uptime, emacs-init-time):
15136 * tutorial.el (tutorial--describe-nonstandard-key)
15137 (tutorial--detailed-help):
15138 * type-break.el (type-break-mode)
15139 (type-break-mode-line-message-mode, type-break-query-mode)
15140 (type-break-guesstimate-keystroke-threshold):
15141 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15142 * version.el (emacs-version):
15143 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15144 * winner.el (winner-mode):
15145 * calendar/timeclock.el (timeclock-in, timeclock-out)
15146 (timeclock-status-string, timeclock-change)
15147 (timeclock-workday-remaining-string)
15148 (timeclock-workday-elapsed-string)
15149 (timeclock-when-to-leave-string):
15150 * calendar/todo-mode.el (todo-add-category):
15151 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15152 * emacs-lisp/autoload.el (update-file-autoloads):
15153 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15154 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15155 (checkdoc-message-text, checkdoc-defun):
15156 * emacs-lisp/debug.el (debugger-list-functions):
15157 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15158 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15159 (eieio-describe-generic):
15160 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15161 * emacs-lisp/shadow.el (list-load-path-shadows):
15162 * emulation/cua-base.el (cua-mode):
15163 * emulation/edt.el (edt-set-scroll-margins):
15164 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15165 (tpu-toggle-regexp, tpu-toggle-search-direction)
15166 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15167 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15168 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15169 (viper-set-parsing-style-toggling-macro)
15170 (viper-set-emacs-state-searchstyle-macros):
15171 * emulation/viper.el (viper-set-hooks):
15172 * eshell/esh-mode.el (eshell-truncate-buffer):
15173 * international/mule-cmds.el (prefer-coding-system)
15174 (describe-input-method, describe-language-environment):
15175 * international/mule-diag.el (list-character-sets)
15176 (describe-character-set, describe-coding-system)
15177 (describe-fontset, list-fontsets, list-input-methods):
15178 * mail/sendmail.el (mail-signature):
15179 * net/ange-ftp.el (ange-ftp-copy-file):
15180 * net/browse-url.el (browse-url):
15181 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15182 * net/quickurl.el (quickurl-add-url):
15183 * net/rcirc.el (names, topic):
15184 * net/xesam.el (xesam-mode):
15185 * play/5x5.el (5x5-new-game):
15186 * play/yow.el (apropos-zippy):
15187 * progmodes/ada-mode.el (ada-mode-version):
15188 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15190 (f90-beginning-of-block):
15191 * progmodes/fortran.el (fortran-end-of-block)
15192 (fortran-beginning-of-block):
15193 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15194 * progmodes/python.el (python-describe-symbol, python-shell):
15195 * term/ns-win.el (ns-print-buffer):
15196 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15197 * textmodes/flyspell.el (flyspell-mode-on):
15198 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15199 (pages-directory-for-addresses):
15200 * textmodes/table.el (table-recognize-cell)
15201 (table-query-dimension, table-generate-source)
15202 (table-insert-sequence, table--warn-incompatibility):
15203 * textmodes/tex-mode.el (tex-validate-buffer):
15204 * textmodes/texinfmt.el (texinfmt-version)
15205 (texinfo-format-buffer):
15206 Use `called-interactively-p' instead of `interactive-p'.
15208 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15210 * image-mode.el (image-toggle-display):
15211 * emacs-lisp/elp.el (elp-instrument-function):
15212 * emacs-lisp/advice.el (ad-make-advised-definition):
15213 * emacs-lisp/easy-mmode.el (define-minor-mode):
15214 * net/browse-url.el (browse-url-maybe-new-window):
15215 * progmodes/sh-script.el (sh-learn-buffer-indent):
15216 Pass new argument 'any to `called-interactively-p'.
15218 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15220 * international/uni-bidi.el:
15221 * international/uni-category.el:
15222 * international/uni-combining.el:
15223 * international/uni-comment.el:
15224 * international/uni-decimal.el:
15225 * international/uni-decomposition.el:
15226 * international/uni-digit.el:
15227 * international/uni-lowercase.el:
15228 * international/uni-mirrored.el:
15229 * international/uni-name.el:
15230 * international/uni-numeric.el:
15231 * international/uni-old-name.el:
15232 * international/uni-titlecase.el:
15233 * international/uni-uppercase.el:
15234 Regenerate from Unicode 5.2.0 data.
15236 2009-10-01 Glenn Morris <rgm@gnu.org>
15238 * Makefile.in (ELCFILES): Regenerate.
15240 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15242 * subr.el (interactive-p): Mark obsolete.
15243 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15244 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15245 advertised-signature-table for subroutines as well.
15247 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15248 (set-advertised-calling-convention): New function.
15249 (make-obsolete, define-obsolete-function-alias)
15250 (make-obsolete-variable, define-obsolete-variable-alias):
15251 Make the optional-ness of `when' obsolete.
15252 (define-obsolete-face-alias): Make `when' non-optional.
15253 * help-fns.el (help-function-arglist):
15254 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15255 Use advertised-signature-table.
15257 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15259 * files.el (delete-directory): New defun. The original function
15260 in fileio.c has been renamed to `delete-directory-internal'.
15262 * dired.el (dired-delete-file): Call `delete-directory' with
15263 RECURSIVE parameter.
15265 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15266 parameter RECURSIVE. Implementation is missing.
15268 * net/tramp.el (tramp-handle-make-directory): Flush upper
15269 directory's file properties.
15270 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15271 (tramp-handle-dired-recursive-delete-directory): Flush directory
15272 properties after the remove command only.
15274 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15275 Handle optional parameter RECURSIVE.
15277 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15278 Handle optional parameter RECURSIVE.
15280 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15281 connection timeout.
15282 (tramp-smb-handle-delete-directory): Handle optional parameter
15285 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15287 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15288 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15289 (byte-compile-defmacro): Use backquotes.
15291 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15293 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15294 has no associated file.
15295 (vc-resynch-buffer): Use vc-dir-buffers.
15297 2009-10-01 Glenn Morris <rgm@gnu.org>
15299 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15300 (chart-file-count):
15301 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15302 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15303 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15304 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15305 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15306 (eieio-copy-parents-into-subclass, make-instance, class-children)
15307 (eieio-generic-form):
15309 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15310 match-data. (Bug#4555).
15312 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15313 rather than parsing it as a regexp. This relaxes the layout
15314 requirements and makes errors easier to detect.
15315 (check-declare-verify): Check file is regular.
15316 (check-declare-directory): Doc fix.
15317 * subr.el (declare-function): Doc fix.
15319 * ibuffer.el (ibuffer-format-qualifier):
15320 * isearch.el (hi-lock-regexp-okay):
15321 * calc/calc.el (math-zerop):
15322 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15323 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15324 Remove unused declarations.
15326 2009-09-30 Eric Ludlam <zappo@gnu.org>
15328 * emacs-lisp/eieio.el (boolean-p): Delete.
15330 2009-09-30 Glenn Morris <rgm@gnu.org>
15332 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15334 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15335 filename is not a string.
15337 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15339 * files.el (safe-local-eval-forms): Fix typo.
15341 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15343 * vc-hooks.el (vc-dir-buffers): New var.
15344 (vc-state-refresh): New function.
15345 (vc-state): Use it.
15346 (vc-after-save): Always ask the backend to recompute the new state.
15347 Always call vc-dir if necessary, using vc-dir-buffers.
15348 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15349 Use vc-dir-buffers.
15350 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15351 (vc-dir-prepare-status-buffer, vc-dir-update)
15352 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15353 Don't call expand-file-name on default-directory.
15355 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15357 * speedbar.el (speedbar-item-delete):
15358 * calc/calc-prog.el (calc-kbd-if):
15359 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15361 * epa.el (epa-key-list-mode-map):
15362 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15364 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15365 (hs-show-hook): Fix typo in docstring.
15367 2009-09-29 Glenn Morris <rgm@gnu.org>
15369 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15370 file-name-nondirectory call preventing location of cedet files.
15371 (check-declare-verify): Use literal search rather than re-search.
15372 Add basic defmethod and defclass, and define-overloadable-function.
15374 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15375 Use tramp-compat-file-attributes rather than nonexistent
15376 tramp-compat-handle-file-attributes.
15378 * Makefile.in (lisptagsfiles4): New.
15379 (AUTOGENEL): Add cedet loaddefs files.
15380 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15381 (update-elclist, compile-always, backup-compiled-files)
15382 (bootstrap-clean): Add yet another directory level.
15383 (update-elclist): Use LC_COLLATE rather than COLLATE.
15384 (ELCFILES): Update, via `make update-elclist'.
15386 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15388 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15389 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15390 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15392 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15394 * Makefile.in (lisptagsfiles3): Define.
15395 (TAGS, TAGS-LISP): Use it.
15396 (update-elclist): Add third directory level to look for elc files.
15397 (compile-always): Likewise.
15398 (backup-compiled-files): Likewise.
15399 (bootstrap-clean): Likewise.
15400 (ELCFILES): Update.
15402 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15404 * Makefile.in (ELCFILES): Add CEDET files.
15406 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15408 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15410 * net/tramp.el (top): Require tramp-imap.
15412 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15413 Use `tramp-compat-handle-file-attributes'.
15415 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15417 * net/tramp-imap.el: New package.
15419 2009-09-28 Eric Ludlam <zappo@gnu.org>
15421 * emacs-lisp/chart.el:
15422 * emacs-lisp/eieio-base.el:
15423 * emacs-lisp/eieio-comp.el:
15424 * emacs-lisp/eieio-custom.el:
15425 * emacs-lisp/eieio-datadebug.el:
15426 * emacs-lisp/eieio-opt.el:
15427 * emacs-lisp/eieio-speedbar.el:
15428 * emacs-lisp/eieio.el: New files.
15430 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15432 * whitespace.el (whitespace-trailing-regexp)
15433 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15436 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15438 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15441 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15442 menu-bar-ediff-menu.
15444 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15445 define-overloadable-function.
15447 * progmodes/autoconf.el: Provide autoconf as well, so that this
15448 file can be `require'd.
15450 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15452 * emacs-lisp/autoload.el (generated-autoload-feature)
15453 (generated-autoload-load-name): New vars.
15454 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15455 (make-autoload): Recognize define-overloadable-function and
15456 defclass forms (for EIEIO).
15458 * Makefile.in (update-subdirs): Exclude cedet directory.
15460 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15462 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15464 * faces.el: Default light-background background for region face to
15465 ns_selection_color under NS.
15467 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15469 * net/imap-hash.el: New library, see NEWS.
15471 * Makefile.in (ELCFILES): Add imap-hash.el.
15473 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15475 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15476 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15477 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15478 definition where the docstring could be taken for the return value.
15480 2009-09-26 Glenn Morris <rgm@gnu.org>
15482 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15483 Add option to only show images below a certain size.
15484 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15485 save-excursion calls.
15487 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15489 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15490 subdirectories) and eieio.
15492 2009-09-26 Alan Mackenzie <acm@muc.de>
15494 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15495 Correct buggy bracketing. (Bug#4289)
15497 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15498 character constants (as case labels). (Bug#4289)
15500 2009-09-25 Juri Linkov <juri@jurta.org>
15502 * files.el (safe-local-eval-forms): Allow time-stamp in
15503 before-save-hook (Bug#4554).
15505 2009-09-25 Drew Adams <drew.adams@oracle.com>
15507 * menu-bar.el (list-buffers-directory): Doc fix.
15509 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15511 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15512 Try and avoid copying twice the same paragraph.
15513 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15514 Remove save-excursion.
15515 (log-edit-changelog-entry): Do it here instead.
15517 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15519 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15520 when available, instead of hardcoding mode names. Doc fix.
15522 * menu-bar.el (list-buffers-directory): Add docstring.
15523 Make automatically buffer-local.
15525 * dired.el (dired-mode):
15526 * files.el (cd-absolute):
15527 * pcvs.el (cvs-temp-buffer):
15528 * pcvs-util.el (cvs-get-buffer-create):
15529 * shell.el (shell-mode):
15530 * vc-dir.el (vc-dir-mode):
15531 Don't make `list-buffers-directory' buffer local.
15533 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15535 * comint.el (comint-exec, comint-run, make-comint):
15536 Doc fixes (Bug#4542).
15538 2009-09-25 Glenn Morris <rgm@gnu.org>
15540 * mail/rmailmm.el (rmail-mime): New custom group.
15541 Move all defcustoms in this file into this group.
15542 (rmail-mime-media-type-handlers-alist): Revert previous change.
15543 (rmail-mime-show-images): New option.
15544 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15545 references to it, since it wasn't actually used for anything.
15546 (rmail-mime-insert-image): New function.
15547 (rmail-mime-image): Use rmail-mime-insert-image.
15548 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15549 obey the value of `rmail-mime-show-images' option. Print the size of
15552 2009-09-25 David Engster <deng@randomsample.de>
15554 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15556 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15558 * whitespace.el: Does not highlight trailing spaces While point is
15559 at end of line. Does not highligt spaces at beginning of buffer
15560 while point is at beginning of buffer. Does not highlight spaces
15561 at end of buffer while point is at end of buffer. (Bug#4177)
15563 (whitespace-display-mappings): Adjust initialization.
15564 (whitespace-point, whitespace-font-lock-refontify): New vars.
15565 (whitespace-color-on, whitespace-color-off): Adjust code.
15566 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15567 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15568 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15570 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15572 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15574 * textmodes/sgml-mode.el: Remove xml-mode alias.
15576 * files.el (auto-mode-alist, conf-mode-maybe)
15577 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15579 2009-09-24 Alan Mackenzie <acm@muc.de>
15581 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15582 c-forward-conditionals, but it doesn't move point and doesn't set
15584 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15585 (c-down-conditional-with-else, c-backward-conditional)
15586 (c-forward-conditional): Refactor to use c-scan-conditionals.
15588 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15590 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15591 (help-default-arg-highlight): Remove.
15592 (help-highlight-arg): New function.
15593 (help-do-arg-highlight): Use it.
15594 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15596 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15598 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15599 Undo last change, which didn't fix the problem and introduced others.
15601 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15603 * progmodes/gdb-mi.el: Don't require speedbar.
15604 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15606 2009-09-24 Glenn Morris <rgm@gnu.org>
15608 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15610 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15612 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15613 there is no newline after the final mime boundary. (Bug#4539)
15614 Move markers on insertion so that any buttons inserted don't end up in
15615 the next part of a multipart message.
15616 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15617 (rmail-mime-bulk-handler): Optionally handle images.
15618 (rmail-mime-image): New button action.
15619 (rmail-mime-image-handler): New function.
15620 (rmail-mime-mode): New mode.
15621 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15623 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15626 than just dropping elements from it (bug#4504).
15628 * term.el (term-set-scroll-region): Don't move cursor any more.
15629 (term-handle-ansi-escape): Call term-goto here instead.
15630 Suggested by Ivan Kanis <apple@kanis.eu>.
15632 * term.el: Require CL.
15633 (term-ansi-reset): New function.
15634 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15635 (term-handle-colors-array): Simplify.
15637 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15639 * allout.el (allout-overlay-interior-modification-handler)
15640 (allout-obtain-passphrase):
15641 * epa-file.el (epa-file-write-region):
15642 * ps-print.el (ps-begin-job):
15643 * vc-hooks.el (vc-toggle-read-only):
15644 * vc-rcs.el (vc-rcs-rollback):
15645 * vc-sccs.el (vc-sccs-rollback):
15646 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15647 (vc-version-diff, vc-revert, vc-rollback):
15648 * wdired.el (wdired-check-kill-buffer):
15649 * emacs-lisp/authors.el (authors):
15650 * net/socks.el (socks-open-connection):
15651 * net/zeroconf.el (zeroconf-service-add-hook):
15652 * obsolete/vc-mcvs.el (vc-mcvs-register):
15653 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15654 (gdb-select-frame):
15655 * progmodes/grep.el (lgrep, rgrep):
15656 * progmodes/idlw-help.el (idlwave-help-check-locations)
15657 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15658 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15659 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15660 (reftex-toc-rename-label): Fix typos in error messages.
15662 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15663 (dired-copy-how-to-fn): Doc fix.
15664 (dired-files-attributes, dired-read-shell-command):
15665 Fix typos in docstrings.
15667 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15668 (dired-x-find-file-other-window): Reflow docstrings.
15669 (dired-omit-marker-char, dired-read-shell-command)
15670 (dired-x-submit-report): Fix typos in docstrings.
15672 * shell.el (shell-mode-hook):
15673 * view.el (View-scroll-line-forward):
15674 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15675 Fix typos in docstrings.
15677 * net/dig.el (dig-invoke): Fix typo in docstring.
15678 (query-dig): Reflow docstring.
15680 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15681 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15682 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15683 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15684 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15685 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15686 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15687 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15688 (idlwave-completion-map, idlwave-current-indent)
15689 (idlwave-custom-ampersand-surround, idlwave-customize)
15690 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15691 (idlwave-define-abbrev, idlwave-determine-class-special)
15692 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15693 (idlwave-end-block-reg, idlwave-end-of-statement)
15694 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15695 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15696 (idlwave-explicit-class-listed, idlwave-file-header)
15697 (idlwave-fill-paragraph, idlwave-find-class-definition)
15698 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15699 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15700 (idlwave-in-quote, idlwave-indent-action-table)
15701 (idlwave-indent-expand-table, idlwave-indent-line)
15702 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15703 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15704 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15705 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15706 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15707 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15708 (idlwave-outlawed-buffers, idlwave-popup-select)
15709 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15710 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15711 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15712 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15713 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15714 (idlwave-statement-type, idlwave-struct-skip)
15715 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15716 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15717 (idlwave-what-module-find-class): Fix typos in docstrings.
15718 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15719 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15720 (idlwave-find-module, idlwave-find-structure-definition)
15721 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15722 (idlwave-list-load-path-shadows, idlwave-next-statement)
15723 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15724 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15725 (idlwave-template): Reflow docstrings.
15727 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15728 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15729 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15730 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15731 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15732 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15733 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15734 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15735 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15736 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15737 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15738 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15739 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15740 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15741 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15742 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15743 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15744 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15745 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15746 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15747 Fix typos in docstrings.
15748 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15749 (idlwave-shell-hide-output, idlwave-shell-mode)
15750 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15753 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15755 2009-09-24 Ivan Kanis <apple@kanis.eu>
15757 * term.el (term-bold-attribute): New var.
15758 (term-handle-colors-array): Use it.
15760 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15762 * progmodes/gdb-mi.el (gdb-version): New variable.
15763 (gdb-non-stop-handler): Set gdb-version.
15764 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15765 Condition "--thread" option on gdb-version.
15766 (gdb-invalidate-threads): Remove unused argument.
15768 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15770 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15771 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15773 2009-09-23 Glenn Morris <rgm@gnu.org>
15775 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15776 replying to mail without References or Message-Id. (Bug#4525)
15778 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15780 * term/ns-win.el (ns-reg-to-script): New variable.
15782 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15784 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15786 2009-09-22 Sam Steingold <sds@gnu.org>
15788 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15789 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15790 to 1 because hg returns status 1 when nothing is found.
15791 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15793 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15795 * textmodes/fill.el: Convert to utf-8 encoding.
15796 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15799 * add-log.el (change-log-fill-forward-paragraph): New function.
15800 (change-log-mode): Use it so fill-region DTRT.
15801 Set fill-indent-according-to-mode here rather than in
15802 change-log-fill-paragraph.
15803 (change-log-fill-paragraph): Remove.
15805 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15807 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15808 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15810 2009-09-22 Glenn Morris <rgm@gnu.org>
15812 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15813 the scroll-bar scroll the calendar window rather than the buffer.
15815 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15816 commands that move point (as opposed to scrolling).
15818 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15820 * emacs-lisp/elint.el (elint): New custom group.
15821 (elint-log-buffer): Make it a defcustom.
15822 (elint-scan-preloaded, elint-ignored-warnings)
15823 (elint-directory-skip-re): New options.
15824 (elint-builtin-variables): Doc fix.
15825 (elint-preloaded-env): New variable.
15826 (elint-unknown-builtin-args): Add an entry for encode-time.
15827 (elint-extra-errors): Make it a variable rather than a constant.
15828 (elint-preloaded-skip-re): New constant.
15829 (elint-directory): Skip files matching elint-directory-skip-re.
15830 (elint-features): New variable, local to linted buffers.
15831 (elint-update-env): Initialize elint-features. Possibly add
15832 elint-preloaded-env to the buffer's environment.
15833 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15835 (elint-init-form): New function, extracted from elint-init-env.
15836 Make non-list forms a warning rather than an error.
15837 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15838 easy-menu-define, put that adds an error-condition, and provide.
15839 When requiring cl, also require cl-macs. Really require cl, to handle
15840 some cl macros. Store required libraries in the list elint-features,
15841 so as not to re-load them. Treat cc-require like require.
15842 (elint-init-env): Call elint-init-form to do the work.
15843 Handle eval-and-compile and such like.
15844 (elint-add-required-env): Do not clear messages.
15845 (elint-special-forms): Add handlers for function, defalias, if, when,
15847 (elint-form): Add optional argument to ignore elint-special-forms,
15848 useful to prevent recursive calls from handlers. Doc fix.
15849 Respect elint-ignored-warnings.
15850 (elint-form): Respect elint-ignored-warnings.
15851 (elint-bound-variable, elint-bound-function): New variables.
15852 (elint-unbound-variable): Respect elint-bound-variable.
15853 (elint-get-args): Respect elint-bound-function.
15854 (elint-check-cond-form): Add some simple handling for (f)boundp and
15856 (elint-check-defalias-form): New handler.
15857 (elint-check-let-form): Make an empty let a warning rather than an
15859 (elint-check-setq-form): Make an empty setq a warning rather than an
15860 error. Respect elint-ignored-warnings.
15861 (elint-check-defvar-form): Accept null doc-strings.
15862 (elint-check-conditional-form): New handler. Does some simple-minded
15863 checking of featurep and (f)boundp tests.
15864 (elint-put-function-args): New function.
15865 (elint-initialize): Use elint-scan-doc-file rather than
15866 elint-find-builtin-variables. Use elint-put-function-args.
15867 Possibly scan preloaded-file-list.
15868 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15869 extend to handle functions as well.
15871 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15873 * linum.el (linum-delete-overlays, linum-update-window):
15874 Do not modify the right margin. (Bug#3971)
15876 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15878 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15879 Use nxml-mode instead of xml-mode.
15881 2009-09-21 Kevin Ryde <user42@zip.com.au>
15883 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15885 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15887 * net/dig.el (dig-mode): Use define-derived-mode.
15889 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15891 * vc-dispatcher.el (vc-do-command): Return the process object in
15892 the asynchronous case. Use when instead of if. Do not run
15893 vc-exec-after to display a message if not enabled. (Bug#4463)
15895 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15896 properties to the stash strings.
15897 (vc-git-stash-list): Return a list of strings.
15898 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15899 (vc-git-stash-show-at-point): New functions.
15900 (vc-git-stash-map): New keymap.
15902 * register.el (ctl-x-r-map): Define the keys here instead of
15905 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15907 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15908 list, to workaround performance problem (bug#4485).
15910 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15912 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15914 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15916 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15917 Document that this option is not recommended to use.
15919 2009-09-19 Glenn Morris <rgm@gnu.org>
15921 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15924 * calc/calc-alg.el (var):
15925 * calc/calcalg2.el (var): Define for compiler.
15927 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15929 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15930 Doc fix (Bug#3932).
15932 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15934 * time-stamp.el (time-stamp-month-dd-yyyy)
15935 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15936 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15937 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15938 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15939 Remove functions that have been obsolete since 1995 (Bug#4436).
15941 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15942 indent buffer only if called interactively (Bug#4452).
15944 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15945 Eli Zaretskii <eliz@gnu.org>
15947 This fixes bug#4197 (merged to bug#865, though not identical).
15948 * server.el (server-auth-dir): Add docstring note about FAT32.
15949 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15950 but warn against using them.
15952 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15954 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15955 older GDB where there is no has_more field.
15957 2009-09-19 Glenn Morris <rgm@gnu.org>
15959 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15961 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15963 * files.el (auto-mode-alist): Change default for XML files to nXML
15966 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
15968 * server.el (server-ensure-safe-dir): Pass 'integer
15969 to `file-attributes', as suggested.
15971 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15973 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15974 (dired-query): Use read-key.
15976 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15978 * cus-start.el (ns-use-qd-smoothing): Remove.
15980 2009-09-18 Glenn Morris <rgm@gnu.org>
15982 * allout.el (top-level): Remove unnecessary progn.
15984 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15986 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15987 definition of abbrev table.
15989 * speedbar.el (speedbar-track-mouse):
15990 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15991 * net/eudc.el (eudc-expand-inline):
15992 * net/newst-backend.el (newsticker--cache-read-feed):
15993 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15994 condition-case handlers.
15996 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
15998 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15999 (gdb-var-list): Add an element for has_more field.
16000 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16001 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16002 (gdb-var-update-handler-1): Parse output of dynamic variable
16003 objects (STL containers).
16004 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16005 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16007 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16009 (gud-speedbar-buttons): Make node expandable if expression "has more"
16012 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16014 * startup.el (emacs-quick-startup): Remove variable and all uses.
16015 (command-line): Set `inhibit-x-resources' instead.
16016 (command-line-1): Use `inhibit-x-resources' instead.
16018 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16020 * subr.el: Fix last change to avoid using the `unless' macro,
16021 which breaks bootstrapping.
16023 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16025 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16026 extended definitions, in case we reload subr.el after having
16028 (eval-next-after-load): Mark as obsolete.
16030 2009-09-17 Juri Linkov <juri@jurta.org>
16032 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16033 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16034 (menu-bar-showhide-menu, menu-bar-tools-menu)
16035 (menu-bar-describe-menu, menu-bar-help-menu)
16036 (minibuffer-local-completion-map, minibuffer-local-map):
16039 2009-09-17 Glenn Morris <rgm@gnu.org>
16041 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16042 arguments, whether or not it has a handler.
16044 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16046 * simple.el (hard-newline): Give it a doc-string.
16048 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16049 (lisp-mode-syntax-table): Give them doc-strings.
16051 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16053 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16054 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16055 (menu-bar-options-menu, menu-bar-showhide-menu)
16056 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16057 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16058 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16059 (menu-bar-options-menu, menu-bar-tools-menu)
16060 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16061 (menu-bar-help-menu):
16062 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16065 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16066 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16067 calls for the menu names and :help.
16069 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16072 to :minor-mode-function (bug#4455).
16074 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16076 * startup.el (command-line): Initialize the window-system after
16077 processing the command-line.
16079 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16080 page-delimiter matches the empty string.
16082 2009-09-16 Glenn Morris <rgm@gnu.org>
16084 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16085 byte-compile-not-obsolete-var. It's a list now.
16086 (byte-compile-not-obsolete-funcs): New variable.
16087 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16088 byte-compile-not-obsolete-funcs.
16089 (byte-compile-variable-ref, byte-compile-defvar): Update for
16090 byte-compile-not-obsolete-vars name-change and list nature.
16091 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16092 and variables behind (f)boundp tests.
16093 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16095 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16097 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16099 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16101 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16102 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16105 2009-09-15 Stephen Eglen <stephen@gnu.org>
16107 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16108 the virtual-buffers, use the name of the buffer specified by
16109 find-file-noselect, as the match may be a symlink. (This was a
16110 problem if the target and the symlink had different names.)
16112 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16114 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16116 * desktop.el (desktop-path): Check user-emacs-directory.
16118 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16120 * loadup.el: Use after-load-functions to GC after loading each file.
16121 Remove the explicit GC calls that used to be sprinkled around.
16123 * subr.el (after-load-functions): New hook.
16124 (do-after-load-evaluation): Run it. Use string-match-p to detect
16125 `obsolete' packages, rather than painfully extracting the relevant
16128 2009-09-15 Glenn Morris <rgm@gnu.org>
16130 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16131 free variable `doc'.
16133 * dired.el (dired-mode-map): Add menu entry for async shell command.
16135 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16136 variables, also consider the .elc files, since the .el files are
16137 normally gzipped (subsequent code locates the .el.gz from the .elc).
16139 * calc/calc-prog.el (arglist): Define for compiler.
16141 * calendar/diary-lib.el (diary-display-function): Change the default to
16143 (body): Define for compiler.
16145 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16146 (byte-compile-file-form, byte-compile-lambda)
16147 (byte-compile-top-level-body, byte-compile-form)
16148 (byte-compile-variable-ref, byte-compile-setq)
16149 (byte-compile-setq-default, byte-compile-body)
16150 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16151 (batch-byte-compile): Give some more local variables with common names
16152 a "bytecomp-" prefix to avoid masking warnings about free variables.
16154 * startup.el (command-line-1): Give local variables with common names a
16155 distinguishing prefix, so as not to hide free variable warnings during
16158 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16159 clever and add a suffix to make a unique name, just let the user decide
16160 whether or not to overwrite it. If the input is a directory, write the
16161 default filename to that directory. (Bug#4388)
16162 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16163 is a filename-as-a-directory.
16165 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16167 * textmodes/page.el (what-page): Don't move to beginning of line.
16168 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16170 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16172 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16174 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16176 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16177 * help.el (help-for-help-internal): Add purecopy calls for text.
16179 * vc.el (top): print-log method now takes an optional SHORTLOG
16180 argument. Add a new method: root.
16181 (vc-root-diff, vc-print-root-log): New functions.
16182 (vc-log-short-style): New variable.
16183 (vc-print-log-internal): Add support for showing short logs.
16185 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16186 vc-print-root-log and vc-print-root-diff.
16188 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16189 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16190 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16193 * vc-cvs.el (vc-cvs-print-log):
16194 * vc-mtn.el (vc-mtn-print-log):
16195 * vc-rcs.el (vc-rcs-print-log):
16196 * vc-sccs.el (vc-sccs-print-log):
16197 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16198 that is ignored for now.
16200 * vc-mtn.el (vc-mtn-annotate-command):
16201 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16203 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16205 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16206 to function-key-map, and give them ascii-character property.
16207 * term/x-win.el (x-alternatives-map):
16208 * term/ns-win.el (ns-alternatives-map):
16209 * term/internal.el (msdos-key-remapping-map):
16210 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16212 2009-09-14 Glenn Morris <rgm@gnu.org>
16214 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16215 temp-buffers (2009-09-12).
16217 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16219 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16220 the new read-key function.
16222 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16224 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16225 is defined (Bug#4405).
16227 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16229 * recentf.el (recentf-cleanup): Use a hash table to find
16230 duplicates (Bug#4407).
16232 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16234 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16235 kp-0 to ascii equivalents (Bug#4325).
16237 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16239 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16241 * eshell/em-hist.el:
16242 * eshell/em-dirs.el (eshell-complete-user-reference):
16243 Declare pcomplete functions and variables to avoid compiler warnings.
16245 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16247 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16248 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16249 * eshell/em-alias.el (eshell-aliases-file):
16250 * eshell/em-hist.el (eshell-history-file-name):
16251 Use expand-file-name instead of concat to make file names (Bug#4308).
16253 2009-09-13 Glenn Morris <rgm@gnu.org>
16255 * ediff-merg.el (ediff-do-merge):
16256 * filesets.el (filesets-run-cmd):
16257 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16258 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16259 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16260 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16261 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16262 Replace empty `let's with `progn'.
16264 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16266 * mail/sendmail.el (send-mail-function):
16267 * tooltip.el (tooltip-mode):
16268 * simple.el (transient-mark-mode):
16269 * rfn-eshadow.el (file-name-shadow-mode):
16270 * frame.el (blink-cursor-mode):
16271 * font-core.el (global-font-lock-mode):
16272 * files.el (temporary-file-directory)
16273 (small-temporary-file-directory, auto-save-file-name-transforms):
16274 * epa-hook.el (auto-encryption-mode):
16275 * composite.el (global-auto-composition-mode):
16276 Use custom-initialize-delay.
16277 * startup.el (command-line): Don't explicitly call
16278 custom-reevaluate-setting for all the above vars.
16279 * custom.el (custom-initialize-safe-set)
16280 (custom-initialize-safe-default): Delete.
16282 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16284 * term/x-win.el (x-initialize-window-system):
16285 * term/w32-win.el (w32-initialize-window-system):
16286 * term/ns-win.el (ns-initialize-window-system): Don't call
16287 mouse-wheel-mode since it's enabled globally by default already.
16289 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16290 actually define the variable, but only silences the byte-compiler.
16291 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16292 before looking it up.
16293 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16296 2009-09-12 Glenn Morris <rgm@gnu.org>
16298 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16300 (elint-add-required-env): Don't beep on error.
16301 (elint-forms): In case of error, return ENV unchanged.
16302 (elint-init-env): Skip non-list forms.
16303 (elint-log): Handle unknown file positions.
16305 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16307 * epg.el (epg-make-context): Add autoload cookie.
16308 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16309 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16310 (epg-verify-string, epg-start-sign, epg-sign-file)
16311 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16312 (epg-encrypt-string, epg-start-export-keys)
16313 (epg-export-keys-to-file, epg-export-keys-to-string)
16314 (epg-start-import-keys, epg-import-keys-from-file)
16315 (epg-import-keys-from-string, epg-start-receive-keys)
16316 (epg-receive-keys, epg-import-keys-from-server)
16317 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16318 (epg-sign-keys, epg-start-generate-key)
16319 (epg-generate-key-from-file, epg-generate-key-from-string):
16320 Remove autoload cookie.
16322 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16324 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16325 reevaluation of trash-directory.
16327 * mwheel.el: Fix last change.
16328 (mouse-wheel-mode): New defvar.
16329 (mouse-wheel-mode): Remove autoload cookie.
16331 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16333 * mwheel.el (mwheel-installed-bindings): New var.
16334 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16335 the bindings we set last time. Use custom-initialize-delay.
16336 * loadup.el: Load mwheel after term/*-win.el.
16337 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16338 and mouse-wheel-up-event now that their first evaluation is done
16339 sufficiently late to be correct.
16341 * startup.el (tutorial-directory): Make it a defcustom.
16342 Use custom-initialize-delay rather than eval-at-startup to set it.
16343 * image.el (image-load-path): Make it a defcustom.
16344 Use custom-initialize-delay rather than eval-at-startup to set it.
16345 * subr.el (eval-at-startup): Remove.
16346 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16348 * subr.el (do-after-load-evaluation): Warn the user after loading an
16351 2009-09-12 Glenn Morris <rgm@gnu.org>
16353 * proced.el (proced-mark-alt): Remove alias.
16354 (proced-mode-map): Remove proced-mark-alt.
16356 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16357 Elint file and directory. Remove initialization entry.
16359 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16361 (elint-current-buffer): Set mode-line-process.
16362 (elint-init-env): Handle define-derived-mode.
16363 Fix declare-function with unspecified arglist. Guard against odd
16364 defalias statements (eg iso-insert's 8859-1-map).
16365 (elint-add-required-env): Use a temp buffer.
16366 (elint-form): Just print the function/macro name, not the whole form.
16367 Return env unchanged if we fail to parse a macro.
16368 (elint-forms): Guard against parse errors.
16369 (elint-output): New function, to handle batch mode.
16370 (elint-log-message): Add optional argument. Use elint-output.
16371 (elint-set-mode-line): New function.
16373 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16375 * emacs-lisp/elp.el (elp-not-profilable): Add more
16376 functions (Bug#4233).
16378 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16380 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16381 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16383 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16385 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16386 (gdb-var-list-children): Use json parsing.
16388 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16390 * progmodes/js.el (js--proper-indentation): Handle the case where
16391 char-before is null. Reported by Deniz Dogan.
16393 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16395 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16397 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16399 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16400 (epg-digest-algorithm-alist): Add SHA224.
16401 (epg-context-set-passphrase-callback)
16402 (epg-context-set-progress-callback): Add description about
16405 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16407 * custom.el (custom-delayed-init-variables): New var.
16408 (custom-initialize-delay): New function.
16409 * startup.el (command-line): "Re"evaluate all vars in
16410 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16411 explicitly any more.
16412 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16413 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16415 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16417 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16419 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16420 (gdb-var-update-handler): Use json parsing.
16422 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16424 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16425 decode annotated text, regardless of language environment. (Bug#2741)
16427 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16429 * Makefile.in (autoloads): Make rmail.el writable as well.
16431 2009-09-11 Glenn Morris <rgm@gnu.org>
16433 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16435 * dired.el: Regenerate with extracted autoloads.
16436 * Makefile.in (autoloads): Make dired.el writable.
16438 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16439 * ibuffer.el: Regenerate with extracted autoloads.
16440 * Makefile.in (autoloads): Make ibuffer.el writable.
16442 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16443 * version.el (emacs-copyright, emacs-major-version)
16444 (emacs-minor-version): Reformat doc-strings for make-docfile.
16446 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16447 functions and variables, since they must be stuff specific to some other
16449 (apropos-print): Make mouse-click message less specific about button.
16451 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16452 that records where a macro was defined.
16453 * help-fns.el (describe-function-1): Mention if a function has a
16455 * help-mode.el (help-function-cmacro): New button.
16457 * locate.el (top-level): Always require dired.
16458 (locate-mode-map): Initialize inside the defvar.
16460 * net/ange-ftp.el (dired-compress-file): Declare.
16461 (ange-ftp-dired-compress-file): Add doc string.
16463 * term/ns-win.el (x-display-name, x-setup-function-keys):
16464 Unify doc-strings with X versions.
16466 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16468 * emulation/crisp.el (crisp-mode-map): Move initialization
16470 (crisp-mode): Use define-minor-mode.
16472 * progmodes/xscheme.el (xscheme-evaluation-commands):
16473 Put a :advertised-binding property rather than using
16474 advertised-xscheme-send-previous-expression.
16475 (advertised-xscheme-send-previous-expression): Declare obsolete.
16476 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16478 (crisp-mode): Add corresponding bindings to
16479 undo's :advertised-binding instead.
16480 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16481 than using dired-advertised-find-file.
16482 (dired-advertised-find-file):
16483 * simple.el (advertised-undo):
16484 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16485 (widget-keymap): Put a :advertised-binding property rather
16486 than using advertised-widget-backward.
16487 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16488 than using advertised-undo.
16489 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16491 2009-09-10 Simon South <ssouth@slowcomputing.org>
16493 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16494 Mark mode is enabled and region is active; otherwise indent or
16495 insert TAB as usual.
16496 (delphi-mode): Update description of TAB-key binding.
16498 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16500 * subr.el (define-key-rebound-commands): Mark obsolete.
16501 * startup.el (precompute-menubar-bindings): Remove.
16502 (normal-top-level): Remove obsolete code that tried to precompute
16504 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16505 define-key-rebound-commands and precompute-menubar-bindings.
16507 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16509 * net/imap.el (imap-interactive-login): Better messages.
16510 (imap-open): Fix bug with renamed buffer on reconnect.
16511 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16512 for easier debugging and cleaner code. On successful (guessed based on
16513 server capabilities) secondary authentication, set imap-state
16515 (imap-last-authenticator): Define imap-last-authenticator as a variable
16518 2009-09-10 Glenn Morris <rgm@gnu.org>
16520 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16522 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16523 (byte-compile-file-form-autoload): Don't warn about unknown functions
16524 where the autoload statement comes after the use.
16525 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16526 that any handlers inside the body (eg require) are in turn respected.
16528 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16531 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16532 and syntax and abbrev tables basic docs, if they don't have any.
16534 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16536 * international/mule-cmds.el (top-level): Require cl when compiling.
16537 (view-hello-file): Use default-value rather than
16538 default-enable-multibyte-characters.
16540 * progmodes/fortran.el: Move all safe and risky properties into the
16543 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16544 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16545 * mail/undigest.el:
16546 Put autoloads in rmail.el rather than loaddefs.el.
16547 * mail/rmail.el: Regenerate with extracted autoloads.
16549 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16550 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16552 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16554 Reported in thread for Bug#4375.
16555 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16556 "-data-evaluate-expression" instead of print.
16557 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16558 (gdb-tooltip-print): Parse output from above MI command.
16559 (gdb): Revert 2009-08-11 change. User should detach inferior
16562 Remove the word "separate" from IO functions as inferior
16563 output is now never displayed in the GUD buffer.
16565 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16567 * startup.el (command-line-normalize-file-name): On Windows and
16568 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16570 2009-09-10 Juri Linkov <juri@jurta.org>
16572 * isearch.el (isearch-text-char-description): Propertize escape
16573 character sequences with the `escape-glyph' face. (Bug#4344)
16575 * simple.el (shell-command): Set asynchronous process filter to
16576 `comint-output-filter'. (Bug#4343)
16578 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16579 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16580 the list. Move "asm" to the bottom.
16581 (grep-find-ignored-directories): Add `choice' with nil value
16582 to empty the list easily.
16583 (grep-find-ignored-files): New option.
16584 (grep-files-history): Set to nil by default instead of '("ch" "el").
16585 (grep-compute-defaults): Add "<X>" to `grep-template'.
16586 (grep-read-files): Bind new local variables `default-alias' and
16587 `default-extension'. Use a list of default values for the file prompt.
16588 (lgrep): Add `--exclude=' command line options composed from
16589 `grep-find-ignored-files'.
16590 (rgrep): Add `-name' command line options composed from
16591 `grep-find-ignored-files'. (Bug#4301)
16593 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16595 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16598 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16600 * calendar/time-date.el (autoload):
16601 Expand define-obsolete-function-alias into defalias and make-obsolete
16602 for old Emacsen that Gnus supports.
16603 (with-no-warnings): Define it for old Emacsen.
16604 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16606 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16607 float-time is available; suppress compile warning for time-to-seconds.
16609 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16611 * net/imap.el (imap-message-map): Docstring fix.
16613 2009-09-09 Glenn Morris <rgm@gnu.org>
16615 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16616 line numbers too. (Bug#4374)
16618 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16620 * smerge-mode.el (smerge-remove-props, smerge-refine):
16621 Use with-silent-modifications (bug#4342).
16623 * subr.el (with-silent-modifications): New macro.
16625 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16627 * files.el (top-level): Require `cl' when compiling.
16629 2009-09-07 Glenn Morris <rgm@gnu.org>
16631 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16633 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16634 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16636 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16638 * vc-git.el (vc-git-annotate-command): Use separator to parse
16639 arguments correctly.
16641 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16643 * proced.el (proced-mode): Doc fix.
16645 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16647 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16649 (tramp-do-file-attributes-with-ls): Check for file existence at
16651 (tramp-do-file-attributes-with-stat): Likewise.
16652 (tramp-convert-file-attributes): Return nil when attr is nil.
16654 2009-09-05 Glenn Morris <rgm@gnu.org>
16656 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16657 properties to this button.
16658 (diary-fancy-display): Don't extend the button to the final newline.
16659 (diary-fancy-display-mode): Continue to define "q" as a local key.
16661 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16664 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16666 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16667 (byte-compile-dest-file-function): New option.
16668 (byte-compile-dest-file): Doc fix.
16669 Obey byte-compile-dest-file-function.
16670 (byte-compile-cl-file-p): New function.
16671 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16672 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16673 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16674 than for file being previously loaded.
16675 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16676 (byte-compile-file-form-require): Handle the case where requiring a file
16677 indirectly causes CL to be loaded.
16679 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16681 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16682 before killing the old buffer, since by the time `kill-buffer' is
16683 run so many buffer variables have been set to nil that it may not
16684 behave as expected. (Bug#4061)
16686 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16688 * files.el (find-alternate-file): If the old buffer is modified
16689 and visiting a file, behave similarly to `kill-buffer' when
16690 killing it, thus reverting to the pre-1.878 behavior; see
16691 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16692 for discussion. Also, consult `buffer-file-name' as a variable
16693 not as a function, for consistency with the rest of the code.
16695 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16697 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16698 also when adding a new directory.
16700 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16703 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16705 * files.el (locate-file-completion-table): Make it provide boundary
16706 information, so partial-completion works better.
16708 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16710 * mail/footnote.el (Footnote-text-under-cursor):
16711 Check footnote-text-marker-alist before using it (bug#4324).
16713 2009-09-04 Glenn Morris <rgm@gnu.org>
16715 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16716 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16717 * play/solitaire.el, play/tetris.el:
16718 Remove leading * from defcustom and defface docs.
16720 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16722 (diary-fancy-overriding-map): New variable.
16723 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16726 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16729 2009-09-03 Glenn Morris <rgm@gnu.org>
16731 * arc-mode.el (archive-mode):
16732 * dos-fns.el (set-default-process-coding-system):
16733 * man.el (Man-getpage-in-background):
16734 * menu-bar.el (menu-bar-describe-menu):
16735 * server.el (server-process-filter):
16736 * startup.el (command-line):
16737 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16738 * w32-fns.el (set-default-process-coding-system):
16739 * x-dnd.el (x-dnd-handle-file-name):
16740 * international/mule-cmds.el (mule-menu-keymap)
16741 (set-default-coding-systems, language-info-alist, set-language-info)
16742 (set-language-environment, standard-display-european-internal)
16743 (set-locale-environment):
16744 * international/mule-diag.el (mule-diag):
16745 * mail/emacsbug.el (report-emacs-bug):
16746 * mail/rmail.el (rmail-mode):
16747 * mail/sendmail.el (mail-setup):
16748 Use default-value rather than default-enable-multibyte-characters.
16750 * progmodes/f90.el: Move all safe properties into the defcustoms.
16751 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16753 * calendar/appt.el (appt-check):
16754 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16755 (diary-check-diary-file, diary-list-entries)
16756 (diary-include-other-diary-files, diary-simple-display)
16757 (diary-fancy-display, diary-print-entries)
16758 (diary-mark-included-diary-files, diary-make-entry):
16759 Don't call substitute-in-file-name on diary-file.
16761 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16762 Stefan Monnier <monnier@iro.umontreal.ca>
16764 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16765 (footnote-mode-map): Move initialization into the declaration.
16766 (footnote-minor-mode-map): Define it rather than changing global-map.
16767 (footnote-mode): Use define-minor-mode.
16769 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16771 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16772 (tramp-do-file-attributes-with-perl)
16773 (tramp-do-file-attributes-with-stat): Rename from
16774 `tramp-handle-file-attributes-with-*'.
16775 (tramp-handle-file-attributes): Use them.
16776 (tramp-do-directory-files-and-attributes-with-perl)
16777 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16778 `tramp-handle-directory-files-and-attributes-with-*'.
16779 (tramp-handle-directory-files-and-attributes): Use them.
16780 (tramp-method-out-of-band-p): Additional parameter SIZE.
16781 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16782 (tramp-handle-write-region): Use it.
16783 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16784 (tramp-handle-vc-registered): Check, whether the first run did
16785 return files to be tested.
16786 (tramp-advice-make-auto-save-file-name): Do not call directly
16787 `tramp-handle-make-auto-save-file-name', because this would bypass
16788 the locking mechanism.
16790 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16791 (file-remote-p, process-file, start-file-process, set-file-times)
16792 (tramp-compat-file-attributes): Compatibility functions shall not
16793 call directly `tramp-handle-*', because this would bypass the
16795 (tramp-compat-number-sequence): New defun.
16797 2009-09-02 Glenn Morris <rgm@gnu.org>
16799 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16800 alias for float-time.
16801 (time-to-number-of-days): In Emacs, use float-time.
16802 * net/newst-backend.el (time-add): Suppress warnings from compat
16804 * time.el (emacs-uptime, emacs-init-time):
16805 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16806 Use float-time rather than time-to-seconds.
16808 * minibuffer.el (completion-initials-expand): Fix typo.
16810 * faces.el (modeline, modeline-inactive, modeline-highlight)
16811 (modeline-buffer-id):
16812 * info.el (info-menu-5): Mark these face aliases as obsolete.
16814 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16816 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16818 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16819 no "--thread" option.
16820 (gdb-stopped): Don't print "Switched to thread" message when it is
16823 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16825 * minibuffer.el (completion-try-completion)
16826 (completion-all-completions): Remove ill-defined (and
16827 mistakenly installed and luckily never used nor documented)
16828 `completion-styles' property.
16829 (completion-initials-expand, completion-initials-all-completions)
16830 (completion-initials-try-completion): New functions.
16831 (completion-styles-alist): Add doc to each entry.
16832 Add new `initials' entry.
16834 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16836 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16837 MI command -var-evaluate-expression.
16838 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16839 and tweak for case of string child.
16840 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16842 2009-09-01 Glenn Morris <rgm@gnu.org>
16844 * add-log.el (change-log-date-face, change-log-name-face)
16845 (change-log-email-face, change-log-file-face, change-log-list-face)
16846 (change-log-conditionals-face, change-log-function-face)
16847 (change-log-acknowledgement-face):
16848 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16849 (custom-modified-face, custom-set-face, custom-changed-face)
16850 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16851 (custom-documentation-face, custom-state-face, custom-comment-face)
16852 (custom-comment-tag-face, custom-variable-tag-face)
16853 (custom-variable-button-face, custom-face-tag-face)
16854 (custom-group-tag-face-1, custom-group-tag-face):
16855 * diff-mode.el (diff-header-face, diff-file-header-face)
16856 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16857 (diff-added-face, diff-changed-face, diff-function-face)
16858 (diff-context-face, diff-nonexistent-face):
16859 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16860 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16861 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16862 (Info-title-4-face):
16863 * isearch.el (isearch-lazy-highlight-face):
16864 * log-view.el (log-view-file-face, log-view-message-face):
16865 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16866 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16867 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16869 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16870 (smerge-base-face, smerge-markers-face):
16871 * wid-edit.el (widget-documentation-face, widget-button-face)
16872 (widget-field-face, widget-single-line-field-face)
16873 (widget-inactive-face, widget-button-pressed-face):
16874 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16875 (woman-addition-face):
16876 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16877 (eshell-ls-executable-face, eshell-ls-readonly-face)
16878 (eshell-ls-unreadable-face, eshell-ls-special-face)
16879 (eshell-ls-missing-face, eshell-ls-archive-face)
16880 (eshell-ls-backup-face, eshell-ls-product-face)
16881 (eshell-ls-clutter-face):
16882 * eshell/em-prompt.el (eshell-prompt-face):
16883 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16884 * obsolete/old-whitespace.el (whitespace-highlight-face):
16885 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16886 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16887 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16888 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16889 (antlr-font-lock-literal-face):
16890 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16891 (ebrowse-root-class-face, ebrowse-file-name-face)
16892 (ebrowse-default-face, ebrowse-member-attribute-face)
16893 (ebrowse-member-class-face, ebrowse-progress-face):
16894 * progmodes/make-mode.el (makefile-space-face):
16895 * progmodes/sh-script.el (sh-heredoc-face):
16896 * textmodes/flyspell.el (flyspell-incorrect-face)
16897 (flyspell-duplicate-face):
16898 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16899 * textmodes/texinfo.el (texinfo-heading-face):
16900 Mark face aliases with "-face" suffix as obsolete.
16902 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16905 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16906 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16907 easy-menu-define wants to modify these.
16909 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16911 * net/browse-url.el (browse-url-file-url):
16912 * term/internal.el (dos-codepage-setup):
16913 Use default-value rather than default-enable-multibyte-characters.
16915 * progmodes/etags.el (etags-goto-tag-location):
16916 * progmodes/flymake.el (flymake-highlight-line)
16917 (flymake-goto-file-and-line, flymake-goto-line):
16918 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16919 (gdb-goto-breakpoint):
16920 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16921 * progmodes/python.el (python-find-function)
16922 (python-pdbtrack-track-stack-file):
16923 * progmodes/verilog-mode.el (verilog-surelint-off):
16924 * term/ns-win.el (ns-open-file-select-line):
16925 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16926 Use forward-line rather than goto-line.
16928 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16929 * textmodes/reftex-index.el (reftex-display-index):
16930 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16931 * textmodes/reftex-toc.el (reftex-toc):
16932 Remove unnecessary bindings of default-major-mode (all are followed by
16933 major-mode check and possible mode switch).
16935 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16937 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16938 Handle watchpoints (bug#4282).
16939 (def-gdb-thread-buffer-command): Enable thread to be selected by
16940 clicking without selecting threads buffer first.
16941 (gdb-current-context-command): Use selected frame so that "up",
16942 "down" etc work in the GUD buffer.
16943 (gdb-update): Find selected frame before rendering stack buffer.
16944 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16946 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16948 * progmodes/sym-comp.el (displayed-completions): Remove.
16949 (symbol-complete): Use minibuffer-complete.
16951 2009-08-31 Glenn Morris <rgm@gnu.org>
16953 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16955 * apropos.el (apropos-symbols-internal):
16956 Handle (obsolete) face aliases.
16958 * faces.el (describe-face): Adjust the output format to be more like
16959 describe-variable, and to mention (obsolete) face aliases.
16960 Adjust the whitespace so that help-setup-xref works.
16962 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16963 * calendar/diary-lib.el (diary-button-face):
16964 Mark these face aliases as obsolete.
16966 * calendar/calendar.el (calendar-today): Doc fix.
16968 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16970 * progmodes/gdb-mi.el (gdb-control-all-threads)
16971 (gdb-control-current-thread): Force tool bar update.
16972 (gdb-non-stop-handler): New function.
16973 (gdb-init-1): Use it to test if non-stop mode is supported.
16974 Remove unused gdbmi buffer type.
16976 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16978 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16979 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
16981 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
16983 * comint.el (comint-exec-1): Check command is non-null first.
16984 Part of gdb-mi.el change (2009-08-28).
16986 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16988 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16990 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
16992 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16993 instead of `dolist' to avoid a recursive require when bootstrapping.
16995 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16997 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16999 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17001 * net/imap.el (imap-send-command): Simplify.
17002 (imap-wait-for-tag): point-max -> buffer-size.
17004 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17006 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17007 with constant argument.
17009 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17011 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17013 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17014 Change default, since most of our files don't have a history.
17015 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17018 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17021 * calc/calc.el: Improve commenting convention.
17022 (calc-digit-map, toplevel): Simplify.
17024 * comint.el (comint-insert-input): Be careful to only set point if we
17025 don't delegate to some other command.
17027 * proced.el (proced-signal-list): Make it an alist.
17028 (proced-grammar-alist): Capitalize names.
17029 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17030 Disable undo manually and make it read-only.
17031 Use completion-annotate-function.
17033 * minibuffer.el (minibuffer-message): If the current buffer is not
17034 a minibuffer, insert the message in the echo area rather than at the
17036 (completion-annotate-function): New variable.
17037 (minibuffer-completion-help): Use it.
17038 (completion--embedded-envvar-table): Environment vars are
17039 always case-sensitive.
17041 2009-08-30 Glenn Morris <rgm@gnu.org>
17043 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17044 from fortran-current-defun.
17045 (fortran-beginning-of-subprogram): Be more precise about finding the
17046 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17047 (fortran-end-of-subprogram): Simplify.
17048 (fortran-current-defun): Use fortran-start-prog-re.
17050 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17052 * subr.el (do-after-load-evaluation): Simplify.
17054 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17056 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17058 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17059 (vc-rcs-print-log): Use it.
17061 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17063 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17065 * paths.el (abbrev-file-name): Move to abbrev.el.
17066 * abbrev.el (abbrev-file-name): Move from paths.el.
17067 Obey user-emacs-directory.
17068 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17069 user-emacs-directory.
17070 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17071 abbrev-file-name and calc-settings-file any more.
17072 * startup.el (command-line): Recompute abbrev-file-name and
17073 abbreviated-home-dir.
17074 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17075 of the special code for when C-h bindings haven't been changed.
17076 (display-startup-echo-area-message): Use with-current-buffer.
17077 (command-line-1): Use a list of strings, rather than a list of lists
17078 of strings for longopts.
17080 * files.el (get-free-disk-space): Use / for default-directory.
17082 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17083 Use with-current-buffer.
17085 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17086 Recognize immutable variables like most-positive-fixnum.
17087 (byte-compile-setq-default): Check and warn if trying to assign
17088 to an immutable variable, or a non-variable.
17090 * progmodes/cc-vars.el (c-comment-continuation-stars):
17091 * progmodes/cc-engine.el (c-looking-at-bos):
17092 * progmodes/cc-cmds.el (c-toggle-auto-state)
17093 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17094 (c-comment-line-break-function): Add version of obsolescence.
17096 2009-08-28 Juri Linkov <juri@jurta.org>
17098 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17099 associated with `archive-mode'.
17101 * image.el (image-type-header-regexps): Use only JPEG magic number
17102 to determine JPEG images, and don't use `image-jpeg-p' because
17103 Emacs can display non-JFIF non-Exif JPEG images.
17105 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17107 * arc-mode.el (archive-mode):
17108 * emacs-lisp/re-builder.el (re-builder-unload-function):
17109 Protect against the default value of `major-mode' being nil.
17111 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17113 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17114 Fix typos in docstrings.
17116 * progmodes/js.el (js--macro-decl-re): Doc fix.
17117 (js--plain-method-re, js--split-name): Refloc docstring.
17118 (js--class-styles, js--make-merged-item, js--splice-into-items):
17119 Fix typos in docstrings; reflow docstrings.
17120 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17121 (js--variable-decl-matcher, js--inside-pitem-p)
17122 (js--parse-state-at-point, js--get-all-known-symbols)
17123 (js--symbol-history, js-find-symbol, js--js-references)
17124 (js--moz-interactor, js--js-encode-value, js--read-tab):
17125 Fix typos in docstrings.
17127 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17129 * textmodes/reftex.el (reftex-get-file-buffer-force):
17130 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17131 * emulation/viper.el (viper-go-away, viper-set-hooks):
17132 * emacs-lisp/re-builder.el (re-builder-unload-function):
17133 * emacs-lisp/bytecomp.el (byte-compile-file):
17134 * ses.el (ses-unload-function):
17135 * hexl.el (hexl-find-file):
17136 * files.el (normal-mode):
17137 * ehelp.el (with-electric-help):
17138 * autoinsert.el (auto-insert-alist):
17139 * arc-mode.el (archive-mode):
17140 Use (default-value 'major-mode) instead of default-major-mode.
17142 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17143 * international/mule.el (load-with-code-conversion):
17144 * emacs-lisp/debug.el (debug):
17145 * ediff-vers.el (ediff-rcs-get-output-buffer):
17146 * dired.el (dired-internal-noselect): Don't let-bind
17147 default-major-mode around code that doesn't use it.
17148 E.g. buffer creation via get-buffer-create doesn't use it.
17150 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17152 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17153 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17154 when writing the temp file. Otherwise, epa-file gets confused.
17155 (tramp-register-file-name-handlers): Make it a defun. Move also
17156 `epa-file-handler' to the front of `file-name-handler-alist'.
17158 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17160 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17161 start right after a ^M.
17162 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17163 (tramp-completion-file-name-regexp-separate)
17164 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17165 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17166 Don't modify last-coding-system-used by accident.
17167 (tramp-completion-file-name-handler): Apply the checks here,
17168 instead during registration.
17169 (tramp-register-file-name-handlers): Rename from
17170 `tramp-register-file-name-handler'. Register both
17171 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17172 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17174 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17176 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17177 Remove variable ...
17178 (gdb-init-1, gdb-display-separate-io-buffer)
17179 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17181 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17182 (gdb-inferior-filter): Use comint-output-filter to stop
17183 echoing and remove ^M characters.
17185 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17187 * emulation/viper-init.el (viper-restore-cursor-type):
17188 * emulation/cua-base.el (cua--update-indications):
17189 Replace default-cursor-type with (default-value 'cursor-type).
17191 * mail/sendmail.el (mail-recover-1):
17192 * international/mule-diag.el (describe-current-coding-system-briefly)
17193 (describe-current-coding-system):
17194 * international/mule-cmds.el (select-safe-coding-system)
17195 (select-message-coding-system)
17196 (set-language-environment-coding-systems, set-locale-environment):
17197 * hexl.el (hexl-insert-multibyte-char):
17198 * dos-w32.el (find-buffer-file-type-coding-system):
17199 * simple.el (what-cursor-position):
17200 Replace uses of default-buffer-file-coding-system
17201 with (default-value 'buffer-file-coding-system).
17203 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17204 Replace uses of default-cursor-in-non-selected-windows
17205 with (default-value 'cursor-in-non-selected-windows).
17206 Use with-current-buffer.
17208 * mail/feedmail.el: Use CL macros.
17209 (feedmail-run-the-queue, feedmail-send-it-immediately):
17210 * dos-w32.el (find-buffer-file-type): Replace uses of
17211 default-buffer-file-type with (default-value 'buffer-file-type).
17213 2009-08-28 Glenn Morris <rgm@gnu.org>
17215 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17216 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17217 Use default-value of major-mode rather than default-major-mode.
17219 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17221 * Makefile.in (update-elcfiles): Report left over elc files.
17223 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17224 expand-file-name and with-current-buffer.
17225 (mail-get-names, mail-directory): Use with-current-buffer.
17227 * vc.el (vc-read-revision): New function.
17228 (vc-version-diff, vc-merge): Use it.
17230 2009-08-27 Sam Steingold <sds@gnu.org>
17232 * simple.el (kill-do-not-save-duplicates): New user option.
17233 (kill-new): When it is non-nil, and the new string is the same as
17234 the latest kill, set replace to t to avoid duplicates in kill-ring.
17236 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17238 * net/tramp.el (tramp-handle-process-file): Do not flush all
17239 caches when `process-file-side-effects' is set.
17240 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17241 instead of `tramp-find-file-exists-command'.
17242 Unset `process-file-side-effects'.
17244 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17246 * net/tramp.el (tramp-methods): New method "rsyncc".
17247 (top): Add completion function for "rsyncc".
17248 (tramp-message-show-message): New defvar.
17249 (tramp-message, tramp-error): Use it.
17250 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17252 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17253 `tramp-methods' entry `copy-env' of "rsyncc".
17254 (tramp-vc-registered-read-file-names): New defconst.
17255 (tramp-vc-registered-file-names): New defvar.
17256 (tramp-handle-vc-registered): Implement optimization strategy.
17257 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17258 (tramp-vc-file-name-handler): New defun.
17259 (tramp-get-ls-command, tramp-get-test-command)
17260 (tramp-get-file-exists-command, tramp-get-remote-ln)
17261 (tramp-get-remote-perl, tramp-get-remote-stat)
17262 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17264 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17265 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17267 (tramp-get-file-property): Check for timestamps in
17268 `tramp-cache-inhibit-cache'.
17269 (tramp-set-file-property): Write timestamp.
17271 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17273 * language/japan-util.el (japanese-symbol-table): Add entries for
17276 * international/characters.el: Add category `j' to cp932-2-byte.
17278 2009-08-27 Kenichi Handa <handa@m17n.org>
17280 * international/fontset.el (build-default-fontset-data): New macro.
17281 (setup-default-fontset): Use build-default-fontset-data for CJK,
17282 tibetan, ethiopic, and ipa.
17284 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17286 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17287 (enable-multibyte-characters): Not customizable any more.
17289 * subr.el (default-mode-line-format, default-header-line-format)
17290 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17291 (default-direction-reversed, default-truncate-lines)
17292 (default-left-margin, default-tab-width, default-case-fold-search)
17293 (default-left-margin-width, default-right-margin-width)
17294 (default-left-fringe-width, default-right-fringe-width)
17295 (default-fringes-outside-margins, default-scroll-bar-width)
17296 (default-vertical-scroll-bar, default-indicate-empty-lines)
17297 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17298 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17299 (default-scroll-down-aggressively, default-fill-column)
17300 (default-cursor-type, default-buffer-file-type)
17301 (default-cursor-in-non-selected-windows)
17302 (default-buffer-file-coding-system, default-major-mode)
17303 (default-enable-multibyte-characters): Mark as obsolete.
17305 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17307 * vc-dir.el (vc-dir-update): Remove debug helper.
17309 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17311 2009-08-26 Sam Steingold <sds@gnu.org>
17313 * simple.el (save-interprogram-paste-before-kill): New user option.
17314 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17315 save the interprogram-paste into kill-ring before overriding it
17316 with the Emacs kill.
17318 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17320 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17321 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17322 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17323 and move to vc-rcs.el.
17324 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17326 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17327 (vc-rcs-update-changelog): Remove.
17328 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17329 and move to vc-rcs.el.
17331 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17332 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17334 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17335 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17336 vc.el, renamed to be RCS specific.
17338 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17340 (vc-cvs-update-changelog): Move here from vc.el.
17342 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17345 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17347 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17349 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17351 * vc-git.el (vc-git-register): Use "git add" for directories.
17352 (vc-git-stash, vc-git-stash-show): New functions.
17353 (vc-git-extra-menu-map): Bind them.
17355 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17356 directory correctly in case the item is a directory itself.
17358 * vc.el: Document the desired behavior for reverted files in the
17360 (vc-default-prettify-state-info): Remove function, unused.
17362 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17364 2009-08-26 Glenn Morris <rgm@gnu.org>
17366 * bindings.el (standard-mode-line-format): Reposition dashes in
17367 which-func entry. (Bug#4217)
17369 * files.el (enable-local-variables, enable-local-eval)
17370 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17372 (auto-mode-alist, ignored-local-variables)
17373 (save-some-buffers-action-alist): Move risky declarations to the
17375 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17376 (font-lock-defaults, format-alist, imenu--index-alist)
17377 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17378 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17379 (mode-line-modified, mode-line-mule-info, mode-line-position)
17380 (mode-line-process, mode-line-remote, outline-level)
17381 (parse-time-rules, rmail-output-file-alist)
17382 (special-display-buffer-names, vc-mode):
17383 Move risky declarations to the relevant files.
17384 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17385 (mode-line-modified, mode-line-process, mode-line-position)
17386 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17387 * font-core.el (font-lock-defaults):
17388 * format.el (format-alist):
17389 * vc-hooks.el (vc-mode):
17390 * window.el (special-display-buffer-names):
17391 * international/mule-cmds.el (input-method-alist):
17392 Define riskiness here (dumped file) rather than in files.el.
17393 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17394 * imenu.el (imenu-generic-expression, imenu--index-alist):
17395 * outline.el (outline-level):
17396 * time.el (display-time-string):
17397 * calendar/parse-time.el (parse-time-rules):
17398 * mail/rmailout.el (rmail-output-file-alist):
17399 Autoload riskiness here, rather than placing in files.el.
17401 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17403 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17405 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17407 * simple.el (process-file-side-effects): New defvar.
17409 * dired-aux.el (dired-show-file-type):
17410 * vc.el (vc-diff-internal):
17411 * vc-arch.el (vc-arch-diff):
17412 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17413 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17414 * vc-git.el (vc-git-registered, vc-git-working-revision)
17415 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17416 (vc-git--empty-db-p):
17417 * vc-hooks.el (vc-user-login-name):
17418 * vc-svn.el (vc-svn-registered, vc-svn-state)
17419 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17420 * progmodes/grep.el (grep-probe): Let-bind
17421 `process-file-side-effects' with nil.
17423 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17425 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17426 daemon. Replace ping by checking for running service for bluez
17427 and zeroconf. (Bug#4239)
17429 2009-08-25 Kevin Ryde <user42@zip.com.au>
17431 * net/dig.el (dig): Add autoload cookie.
17433 2009-08-25 Glenn Morris <rgm@gnu.org>
17435 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17436 load-history for absolute file-names.
17437 (byte-compile-file-form-require): Warn about use of the cl package.
17439 * format.el (format-alist): Doc fix.
17441 * play/bubbles.el (top-level): Don't require cl at run-time.
17443 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17446 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17448 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17450 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17452 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17454 * calc/calc-alg.el (math-trig-rewrite)
17455 (math-hyperbolic-trig-rewrite): New functions.
17456 (calc-simplify): Simplify trig functions when asked.
17458 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17460 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17462 2009-08-24 Kenichi Handa <handa@m17n.org>
17464 * language/ind-util.el (mapthread): Delete it.
17465 (combinatorial): New function.
17466 (indian--puthash-cv): Use combinatorial instead of mapthread.
17468 2009-08-22 Kevin Ryde <user42@zip.com.au>
17470 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17471 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17472 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17473 Clarify docstring that the value is strings not symbols.
17474 (checkdoc-list-of-strings-p): New function.
17476 2009-08-22 Glenn Morris <rgm@gnu.org>
17478 * files.el (auto-mode-alist):
17479 * hippie-exp.el (he-concat-directory-file-name):
17480 * lpr.el (lpr-windows-system, printer-name):
17481 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17482 * ps-print.el (ps-windows-system):
17483 * startup.el (command-line):
17484 * emulation/viper-ex.el (viper-glob-function):
17485 * international/mule-cmds.el (set-language-environment-coding-systems):
17486 * net/ange-ftp.el (ange-ftp-write-region):
17487 * obsolete/fast-lock.el (fast-lock-cache-name):
17488 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17489 unisoft-unix, vax-vms, win32, w32.
17491 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17492 given name if the pattern is not more specific.
17494 * calendar/lunar.el (lunar-phase-names): New option.
17495 (lunar-phase): Doc fix.
17496 (lunar-cycles-per-year): New constant.
17497 (lunar-index): New function.
17498 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17499 (lunar-phase-name): Use lunar-phase-names.
17500 (calendar-lunar-phases): Use format.
17501 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17503 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17504 Copy imenu-example--name-and-position function here for own use.
17505 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17507 * bs.el (bs--redisplay):
17508 * cus-edit.el (custom-redraw):
17509 * ibuffer.el (ibuffer-bury-buffer):
17510 * server.el (server-goto-line-column):
17511 * startup.el (command-line-1):
17512 * strokes.el (strokes-xpm-for-stroke):
17513 * term.el (term-display-buffer-line):
17514 * view.el (View-goto-line):
17515 * calc/calc.el (calc-do, calc-trail-buffer):
17516 * play/gamegrid.el (gamegrid-add-score-insecure):
17517 * progmodes/ada-mode.el (ada-compile-goto-error):
17518 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17519 (ebrowse-select-1st-to-9nth):
17520 * progmodes/cperl-mode.el (cperl-time-fontification):
17521 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17522 * progmodes/gud.el (gud-display-line):
17523 (idlwave-shell-display-line):
17524 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17525 * progmodes/make-mode.el (makefile-browser-toggle):
17526 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17527 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17528 * textmodes/picture.el (picture-draw-rectangle):
17529 * textmodes/reftex-index.el (reftex-index-goto-letter):
17530 (reftex-select-jump-to-previous):
17531 * textmodes/reftex-sel.el (reftex-find-start-point)
17532 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17533 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17534 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17535 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17536 * textmodes/two-column.el (2C-associated-buffer):
17537 Use forward-line rather than goto-line.
17539 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17542 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17543 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17544 (quick-check-list-to-regexp): Declare.
17546 * progmodes/make-mode.el (makefile-browser-insert-selection):
17547 Use goto-char rather than goto-line.
17549 * progmodes/prolog.el (compilation-error-regexp-alist)
17550 (compilation-forget-errors): Declare.
17552 2009-08-22 Juri Linkov <juri@jurta.org>
17554 * progmodes/grep.el (lgrep, rgrep): At the beginning
17555 set `dir' to `default-directory' unless `dir' is a non-nil
17556 readable directory. (Bug#4052)
17557 (lgrep, rgrep): Change a weird way to report an error
17558 from using `read-string' to using `error'.
17559 Instead of using interactive arguments in the function body,
17560 add new argument `confirm'.
17562 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17564 * textmodes/remember.el (remember-buffer):
17565 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17566 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17567 (icalendar-extract-ical-from-buffer):
17568 * net/newst-treeview.el (newsticker-groups-filename):
17569 * net/newst-backend.el (newsticker-cache-filename):
17570 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17571 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17572 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17573 (speedbar-buffers-line-path, speedbar-path-line)
17574 (speedbar-buffers-line-path):
17575 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17577 * epa.el (epa-display-verify-result):
17578 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17580 2009-08-21 Glenn Morris <rgm@gnu.org>
17582 * progmodes/js.el (inferior-moz-process): Fix declaration.
17584 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17586 * obsolete/rnewspost.el (news-mail-reply):
17587 Use goto-char rather than goto-line.
17589 * term/ns-win.el (ns-open-file-select-line):
17590 Use line-beginning-position rather than goto-line.
17592 * apropos.el (apropos-command):
17593 * ehelp.el (electric-helpify):
17594 * printing.el (pr-show-setup):
17595 * strokes.el (strokes-help):
17596 * tutorial.el (tutorial--describe-nonstandard-key)
17597 (tutorial--detailed-help):
17598 * woman.el (woman-mini-help, woman-display-extended-fonts):
17599 * calc/calc-help.el (calc-describe-key):
17600 * emulation/edt.el (edt-electric-helpify):
17601 * international/mule-diag.el (mule-diag):
17602 * play/yow.el (apropos-zippy):
17603 * progmodes/python.el (python-describe-symbol):
17604 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17605 * textmodes/table.el (*table--cell-describe-mode)
17606 (*table--cell-describe-bindings):
17607 Use help-print-return-message rather than the now obsolete alias.
17609 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17610 (calendar-cursor-to-visible-date):
17611 * play/5x5.el (5x5-position-cursor):
17612 * play/decipher.el (decipher):
17613 * play/gomoku.el (gomoku-goto-xy):
17614 * play/landmark.el (lm-goto-xy):
17615 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17616 (mpuz-paint-digit):
17617 Use forward-line, not goto-line.
17619 * mail/rmail.el (rmail-obsolete): Delete custom group.
17620 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17621 (rmail-remote-password, rmail-remote-password-required):
17622 Remove unneeded :set-after and :set properties.
17624 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17626 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17628 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17630 * loadup.el: Remove leftover macos code.
17632 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17633 Explicitly pass the date format to git blame so that user local
17634 so that the output format can be parsed.
17636 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17638 * net/dbus.el (top): Don't check for (getenv
17639 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17641 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17643 * log-edit.el (log-edit-strip-single-file-name): New var.
17644 (log-edit-insert-changelog): Use it. Bug#3571
17646 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17648 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17651 * help.el (help-print-return-message): Rename from
17652 print-help-return-message.
17654 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17655 cvs-mode-map parent hack.
17656 (log-view-mode): Derive from special-mode.
17658 * linum.el (linum-mode): window-size-change-functions is redundant.
17659 Adapt to new window-configuration-change-hook behavior.
17660 (linum-after-size, linum-after-config): Remove.
17662 * imenu.el (imenu-example--name-and-position)
17663 (imenu-example--lisp-extract-index-name)
17664 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17667 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17668 (inferior-prolog-mode): Use it.
17669 (inferior-prolog-load-file): Reset list of errors.
17671 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17673 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17675 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17677 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17679 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17680 is running already.
17682 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17684 * subr.el (listify-key-sequence-1): Use normal syntax since those
17685 integers are nowadays always represented by the same (positive) number
17687 (read-key-empty-map): New const.
17688 (read-key-delay): New var.
17689 (read-key): New function.
17690 (force-mode-line-update): Use with-current-buffer.
17691 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17692 (start-process-shell-command, start-file-process-shell-command):
17693 Discourage the use of command-args.
17695 2009-08-19 Glenn Morris <rgm@gnu.org>
17697 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17699 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17701 * simple.el (choose-completion-string): Don't rely on
17702 minibuffer-completing-file-name and ad-hoc checks to decide whether
17703 to continue completion or not.
17705 * minibuffer.el (minibuffer-hide-completions): New function.
17706 (completion--do-completion): Use it.
17707 (completions-annotations): New face.
17708 (completion--insert-strings): Use it.
17709 (completion-pcm--delim-wild-regex): Add docstring.
17710 (completion-pcm--string->pattern): Add support for 0-width delimiters
17711 in completion-pcm--delim-wild-regex.
17713 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17715 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17716 Remove unused var `buffer-modified-p'.
17718 * minibuffer.el (completion--do-completion): Move point for the #b001
17719 case as well (bug#4176).
17720 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17722 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17724 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17725 and :session buses.
17727 2009-08-18 Kenichi Handa <handa@m17n.org>
17729 * international/ucs-normalize.el (ucs-normalize-version):
17731 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17732 (utf-8-hfs): Make it perform normalization on encoding too.
17734 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17735 (sentence-end-without-space): Delete duplicated chars.
17736 (sentence-end-base): Likewise.
17738 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17739 (html-mode): Delete duplicated chars from sentence-end-base.
17741 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17742 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17744 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17746 * files.el (hack-one-local-variable): If the mode function is for
17747 a minor mode, pass it an argument (Bug#4148).
17749 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17751 * net/tramp.el (tramp-register-completion-file-name-handler):
17752 Check also for (member 'partial-completion completion-styles).
17754 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17756 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17759 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17761 * progmodes/cperl-mode.el: Merge upstream 6.2.
17762 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17763 (cperl-forward-re): Check cperl-brace-recursing.
17764 (cperl-highlight-charclass): New function.
17765 (cperl-find-pods-heres): Use it.
17766 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17767 (cperl-beautify-regexp-piece): Fix column calculation.
17768 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17769 (cperl-beautify-level): Don't process entire regexp.
17770 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17772 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17773 (cperl-init-faces): Build a list in the normal way.
17775 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17777 * calendar/parse-time.el (parse-time-string-chars): Save match
17780 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17782 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17783 (sql-product): Use it.
17784 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17785 (sql-set-product): Add completion.
17786 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17787 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17788 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17789 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17790 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17791 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17792 (sql-highlight-db2-keywords): Remove.
17793 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17794 (sql-highlight-product): Use derived-mode-p.
17795 (sql-set-sqli-buffer): Use with-current-buffer.
17796 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17799 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17801 * term.el: Fix commenting convention, turn comments into docstrings.
17803 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17805 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17807 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17809 * calendar/parse-time.el (parse-time-string-chars): Compute using
17810 character classes, to handle non-ascii characters (Bug#3190).
17812 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17814 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17815 another heredoc if the user adds another < (Bug#3226).
17817 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17818 Don't initialize based on window-system (Bug#4124).
17820 * facemenu.el (facemenu-read-color): Use a completion function
17821 that accepts any defined color, such as RGB triplets (Bug#3677).
17823 * files.el (get-free-disk-space): Change fallback default
17824 directory to /. Expand DIR argument before switching to fallback.
17825 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17827 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17829 * files.el (load-library): Doc fix.
17831 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17833 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17834 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17835 incremental search string.
17837 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17840 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17841 (ediff-merge-region-is-non-clash)
17842 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17843 Also check if the job is really a merge job.
17845 * ediff.el (ediff-current-file): New function.
17847 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17849 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17851 (js-insert-and-indent): Delete function.
17852 (js-mode-map): Don't bind keys to js-insert-and-indent.
17853 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17854 (js-end-of-defun): Rename from js--end-of-defun.
17855 (js-auto-indent-flag): Delete variable.
17857 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17859 * progmodes/js.el: Remove proclaim statement.
17860 Defvar which-func-imenu-joiner-function to silence compiler.
17862 * files.el (auto-mode-alist): Use js-mode for .js files.
17864 * progmodes/js2-mode.el: Remove file.
17866 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17868 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17870 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17872 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17873 Karl Landstrom <karl.landstrom@brgeight.se>
17875 * progmodes/js.el: New file.
17877 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17879 * timezone.el (timezone-parse-date): Add ability to understand ISO
17880 basic format (minimal separators) dates in addition to the
17881 already-supported extended format dates.
17883 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17885 * international/ucs-normalize.el: Add a `coding' file variable.
17887 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17889 2009-08-14 Sam Steingold <sds@gnu.org>
17891 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17893 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17895 * faces.el (help-argument-name): Define it here instead of
17896 help-fns.el, because in daemon mode help-fns.el may be loaded when
17897 faces are still uninitialized (Bug#1078).
17899 * help-fns.el (help-argument-name): Move defface to faces.el.
17901 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17903 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17904 create buffer with a pty but no process so that GDB can make the
17905 inferior the controlling process.
17907 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17909 * international/ucs-normalize.el: New file.
17911 2009-08-13 Richard Stallman <rms@gnu.org>
17913 * mail/rmail.el (rmail-get-attr-names):
17914 Accept an attribute header that is too short.
17916 * mail/rmail.el (rmail-forget-messages):
17917 Ignore nil elt in rmail-message-vector. Use dotimes.
17919 * progmodes/compile.el (compilation-goto-locus):
17920 Use next-error-move-function.
17922 * simple.el (next-error-move-function): New variable.
17924 2009-08-12 Juri Linkov <juri@jurta.org>
17926 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17927 always non-nil. (Bug#4052)
17929 * replace.el (read-regexp): Return empty string when
17930 `default-value' is nil.
17931 (keep-lines-read-args): Don't use empty string as the
17932 default value for `read-regexp'. (Bug#2495)
17934 2009-08-12 Juri Linkov <juri@jurta.org>
17936 * international/mule-cmds.el (ucs-insert): Change arguments
17937 from `arg' to `character', `count', `inherit' to be the same
17938 as in `insert-char'. Doc fix. (Bug#4039)
17940 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17942 2009-08-12 Juri Linkov <juri@jurta.org>
17944 * files-x.el: New file.
17946 * files.el: Move code that deals with adding/deleting
17947 file/directory-local variables to files-x.el.
17949 * Makefile.in (ELCFILES): Add files-x.elc.
17951 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17953 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17954 to use `goto-line'.
17955 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17957 (gdb-invalidate-disassembly): Do not refresh upon receiving
17958 'update signal. Instead, update all disassembly buffers only after
17960 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17961 (gdb-starting): Move -data-list-register-names...
17962 (gdb-stopped): ...here so it's sent when first thread stops.
17963 (gdb-registers-handler-custom): Do nothing if register names are
17966 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17967 from `gdb-mi.el' to avoid extra tangling.
17969 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17970 change which breaks `gud-def' definitions used in `gdb'.
17971 (gdb-update-gud-running): No extra fuss for updating frame number.
17973 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17975 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17976 (describe-language-environment-map, setup-language-environment-map)
17977 (set-coding-system-map): Move initialization into declaration.
17978 (set-language-info-alist): Last arg to define-key-after can be skipped.
17980 * international/quail.el (quail-completion-1): Simplify.
17981 (quail-define-rules): Use slightly more compact code.
17982 (quail-insert-decode-map): Propertize keys, compact columns.
17984 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17987 2009-08-10 Miles Bader <miles@gnu.org>
17989 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17990 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17991 (js2-instance-member, js2-private-member, js2-private-function-call)
17992 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17993 (js2-magic-paren, js2-external-variable):
17994 Remove "-face" suffix from face names.
17995 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17996 (js2-highlight-undeclared-vars, js2-peek-token)
17997 (js2-parse-function-params, js2-mode-show-errors)
17998 (js2-mode-show-warnings, js2-make-magic-delimiter)
17999 (js2-mode-highlight-magic-parens): Update to use new face names.
18001 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18003 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18004 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18006 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18008 * subr.el: Provide hashtable-print-readable.
18010 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18011 hs-c-like-adjust-block-beginning.
18012 (hs-hide-block-at-point): Stop hiding at the beginning of
18013 hs-block-end-regexp (Bug#700).
18015 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18017 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18019 (gdb-registers-handler-custom): Do not fail when register names
18022 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18024 * progmodes/gdb-mi.el (gdb-control-all-threads)
18025 (gdb-control-current-thread): Interactive setters for
18026 `gdb-gud-control-all-threads' to use in menu.
18027 (gdb-show-run-p): Show «Go» when process is not active.
18028 (gud-tool-bar-map): Add non-stop/A,T indicator.
18029 Uses gud/thread.xpm and gud/all.xpm.
18031 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18033 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18034 (nslookup-font-lock-keywords): Make it a variable.
18035 (net-utils-mode): New mode for viewing diagnostic network output.
18036 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18037 (net-utils-run-simple): New function.
18038 (ifconfig, iwconfig, netstat, arp, route): Use it.
18040 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18042 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18043 (gdb-memory-set-address, def-gdb-set-positive-number)
18044 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18045 after changing settings.
18046 (gdb-invalidate-disassembly): Update when first shown.
18047 (gdb-edit-locals-value): Fixed.
18048 (gdb-registers-handler-custom): Print registers in right order and
18049 allow changing register values (only for current thread yet).
18050 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18051 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18052 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18053 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18054 Thread info in mode name.
18055 (gdb-registers-mode-map): TAB to switch to locals.
18057 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18059 * mail/rmail.el (rmail-add-mbox-headers)
18060 (rmail-set-message-counters-counter): Search for
18061 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18063 2009-08-08 Glenn Morris <rgm@gnu.org>
18065 * Makefile.in (ELCFILES): Update.
18067 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18069 * mail/sendmail.el (mail-yank-original):
18070 Set buffer-file-coding-system from the one used by the message whose
18073 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18074 to "windows" when "pgnuplot" is used.
18075 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18076 Don't call accept-process-output if "pgnuplot" is used.
18077 (calc-graph-init): Don't send -display and -geometry to
18078 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18079 running "pgnuplot -V" with shell-command-to-string.
18081 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18084 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18086 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18089 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18091 * vc-dispatcher.el (vc-resynch-window): Update comment.
18093 * term.el (term-handle-ansi-escape): Add comments with the
18094 terminfo capabilities implemented.
18096 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18098 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18099 (gdb-var-create-handler): Rewritten using JSON parser.
18100 (gdb-propertize-header): Move earlier.
18101 (gdb-set-header): Remove to avoid duplication.
18102 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18103 Refresh disassembly buffers only after threads list have been
18105 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18108 2009-08-04 Juri Linkov <juri@jurta.org>
18110 * files.el: Commands to add/delete file/directory-local variables.
18111 (read-file-local-variable, read-file-local-variable-value)
18112 (read-file-local-variable-mode, modify-file-local-variable)
18113 (modify-file-local-variable-prop-line)
18114 (modify-dir-local-variable): New functions.
18115 (add-file-local-variable, delete-file-local-variable)
18116 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18117 (add-dir-local-variable, delete-dir-local-variable)
18118 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18119 (copy-dir-locals-to-file-locals-prop-line): New commands.
18121 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18123 * abbrev.el (insert-abbrev-table-description): Prettify output.
18124 Suggested by Karl Chen.
18126 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18128 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18129 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18130 (gdb-overlay-arrow-position, gdb-thread-position)
18131 (gdb-disassembly-position): Declare variables.
18132 (gdb-wait-for-pending): Function now.
18133 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18134 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18135 compilation goes smoothly.
18136 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18137 (gdb-non-stop-setting): New customization setting which replaces
18138 `gdb-non-stop' so changing it doesn't break active GDB session.
18139 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18140 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18141 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18142 (gdb-show-threads-by-default): New customization options.
18143 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18145 (gdb-get-buffer-create): Send buffers update signal when they are
18147 (gdb-invalidate-locals, gdb-invalidate-registers)
18148 (gdb-invalidate-breakpoints)
18149 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18150 (gdb-invalidate-memory): Accept update signal.
18151 (gdb-current-context-command): Use --frame option.
18152 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18153 Implement `gdb-frame-number' selection logic.
18154 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18155 whether to show GUD toolbar buttons.
18156 (gdb-thread-exited): Unselect current thread when it exits.
18157 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18158 (gdb-mark-line): Routine which sets overlay arrow or inverses
18159 video on fringeless displays.
18160 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18161 to build aligned columns of data in GDB buffers and set text
18162 properties line-by-line.
18163 (gdb-invalidate-breakpoints)
18164 (gdb-breakpoints-list-handler-custom)
18165 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18166 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18167 (gdb-registers-handler-custom): Align data columns.
18168 (gdb-locals-handler-custom): Now prints data like in variable
18170 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18171 Remove confusing buttons.
18172 (gdb-invalidate-threads): Append --frame.
18173 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18174 between breakpoints/threads buffers.
18175 (gdb-set-window-buffer): Now can ignore dedicated windows.
18176 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18177 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18178 (def-gdb-thread-buffer-gud-command): Replaces
18179 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18180 for fine thread control.
18181 (gdb-preempt-existing-or-display-buffer): New function used to
18182 display bound buffers without breaking window layout.
18183 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18184 (gdb-select-frame): New version of `gdb-frames-select' which now
18185 sets `gdb-frame-number' so commands may use --frame option instead
18186 of inner debugger state.
18187 (gdb-frame-handler): Do not set `gdb-frame-number'.
18188 (gdb-threads-mode-map): Select threads with mouse.
18190 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18191 avoid compilation warning.
18192 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18195 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18196 Argument `key' renamed to `buffer-type'.
18197 (gdb-current-context-buffer-name): Do not add thread info to
18198 buffer name when no thread is selected.
18199 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18200 command (bug 3794).
18201 (gdb-thread-selected): Handle `=thread-selected' notification.
18202 (gdb-wait-for-pending): New macro to deal with congestion problems.
18203 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18205 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18206 This fixes problem similar to one described in bug 3947.
18207 (gud-menu-map): More menu items.
18208 (gdb-init-1): Reset `gdb-thread-number' to nil.
18210 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18213 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18214 (gdb-current-context-command): Do not append --thread if
18215 `gdb-thread-number' is nil.
18216 (gdb-running-threads-count, gdb-stopped-threads-count):
18218 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18219 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18220 New customization options.
18221 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18223 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18224 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18225 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18226 set `gdb-thread-number' and update `gud-running' properly.
18227 (gdb-running): Update threads list when new threads appear.
18228 (gdb-stopped): Support non-stop operation and new thread switching
18230 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18231 (gdb-json-partial-output): New set of JSON routines.
18232 (def-gdb-auto-update-trigger): New `signal-list' optional
18234 (gdb-thread-list-handler-custom): Update `gud-running',
18235 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18236 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18237 (gdb-continue-thread, gdb-step-thread): New commands for fine
18238 thread execution control.
18239 (gud-menu-map): New menu items to switch non-stop options.
18240 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18241 (gdb-send): Mimic RET properly (bug 3794).
18243 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18244 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18246 (def-gdb-auto-update-handler): New nopreserve optional argument.
18247 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18249 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18250 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18251 (gdb-parent-mode): New mode to derive other GDB modes from.
18252 (gdb-display-disassembly-for-thread)
18253 (gdb-frame-disassembly-for-thread): New commands for threads
18256 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18257 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18258 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18259 (gdb-update): We now store all GDB buffers in a list so that they
18260 can be updated by traversing a list instead of calling invalidate
18261 triggers explicitly.
18262 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18263 pair for GDB buffer.
18264 (gdb-stack-buffer-name): Add thread information.
18265 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18266 handle pending triggers.
18267 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18268 (def-gdb-thread-buffer-simple-command)
18269 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18270 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18271 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18272 New commands which show buffers bound to thread.
18273 (gdb-stack-list-locals-regexp): Remove unused regexp.
18275 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18276 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18277 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18278 to (gud-comint-buffer) in *-buffer-name functions
18279 because (gdb-get-target-string) already does that.
18280 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18281 (gdb-changed-registers-handler): Rewritten without regexps.
18283 * progmodes/gdb-mi.el: Basic thread selection support.
18284 (gdb-thread-number): New variable.
18285 (gdb-current-context-command): New macro which adds --thread
18287 (gdb-threads-mode-map): Select thread with SPC.
18288 (gdb-thread-list-handler-custom): Mark current thread with overlay
18289 arrow. Synchronize GDB thread and Emacs thread.
18290 (gdb-select-thread): New command which selects current thread.
18291 (gdb-invalidate-frames, gdb-invalidate-locals)
18292 (gdb-invalidate-registers): Use --thread option.
18294 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18296 * net/tramp.el (top): Make check for tramp-gvfs loading more
18298 (tramp-handle-insert-file-contents): `unwind-protect' must be
18299 inside `with-parsed-tramp-file-name'.
18301 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18304 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18306 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18307 directory if CLASSPATH is not set.
18309 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18311 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18313 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18315 2009-08-02 Kevin Ryde <user42@zip.com.au>
18317 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18318 Update freshmeat link. Delete newsforge.com as it seems gone.
18320 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18322 * select.el (x-set-selection): Doc fix (Bug#4021).
18324 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18326 * help-fns.el (describe-variable): Treat list return values from
18327 dir-locals-find-file properly (Bug#4005).
18329 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18331 * net/tramp.el (tramp-debug-message): Print also microseconds.
18333 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18335 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18337 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18338 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18341 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18342 (tramp-get-file-property): Use it.
18344 * autorevert.el (auto-revert-handler):
18345 Allow `auto-revert-tail-mode' for remote files.
18347 2009-08-02 Jason Rumney <jasonr@gnu.org>
18349 * minibuffer.el (read-file-name): Treat confirm options to
18350 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18352 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18354 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18355 (font-lock-variable-name-face, font-lock-constant-face):
18356 Darken the colors for light backgrounds.
18358 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18360 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18361 month names. (Bug#3987)
18363 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18365 * simple.el (line-move-finish): Pass whole number to
18366 line-move-to-column.
18367 (line-move-visual): Perform hscroll to the recorded position.
18369 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18371 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18373 2009-07-29 Alan Mackenzie <acm@muc.de>
18375 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18377 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18379 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18380 (gdb-place-breakpoints): Use full path when setting breakpoints.
18382 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18384 * calc/calc.el (calc-mode-map): Add keybinding for
18385 `calc-transpose-lines'.
18387 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18389 * calc/calc-misc.el (calc-transpose-lines): New function.
18391 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18393 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18394 Simplify check for out-of-band methods.
18395 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18396 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18398 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18400 * vc-git.el (vc-git-checkin): Fix typo.
18402 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18404 * progmodes/js2-mode.el: New file.
18406 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18408 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18409 (gud-menu-map): Adjust tooltip accordingly.
18411 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18413 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18414 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18416 * add-log.el (change-log-mode-map): Add a menu.
18418 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18420 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18421 function returns nil.
18422 (dbus-handle-event): Handle special return value :ignore.
18423 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18425 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18427 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18430 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18434 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18436 * term/pc-win.el (x-display-name, x-colors)
18437 (x-select-enable-clipboard, x-select-text): Doc fix.
18439 * term/common-win.el (x-display-name, x-colors): Doc fix.
18441 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18442 (xw-defined-colors): Doc fix.
18444 * w32-fns.el (x-select-text, x-setup-function-keys)
18445 (x-get-selection, x-set-selection): Doc fix.
18447 * term/x-win.el (x-select-text, x-setup-function-keys)
18448 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18450 * select.el (x-set-selection): Doc fix.
18452 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18454 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18455 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18456 "IsNSSSupportAvailable" method is not available.
18457 Reported by Steve Youngs <steve@sxemacs.org>.
18459 2009-07-24 Kenichi Handa <handa@m17n.org>
18461 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18462 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18463 (build-unicode-category-table): Fix range checks.
18465 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18467 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18468 the buffer we try to sync is current when calling
18471 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18472 not show up to date files.
18474 2009-07-24 Glenn Morris <rgm@gnu.org>
18476 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18477 Add autoload cookies. If necessary, initialize.
18478 (elint-log): Handle non-file buffers.
18479 (elint-initialize): Add optional argument to reinitialize.
18480 (elint-find-builtin-variables): Save excursion.
18482 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18484 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18487 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18489 * vc.el (vc-print-log-internal): New function, split out from ...
18490 (vc-print-log): ... here.
18491 (vc-dir-move-to-goal-column): Declare.
18493 * vc-git.el (vc-git-add-signoff): New variable.
18494 (vc-git-checkin): Use it.
18495 (vc-git-toggle-signoff): New function.
18496 (vc-git-extra-menu-map): Bind it to menu.
18497 (vc-git--run-command-string): Accept a nil FILE argument.
18498 (vc-git-stash-list): New function.
18499 (vc-git-dir-extra-headers): Use it.
18501 2009-07-23 Glenn Morris <rgm@gnu.org>
18503 * help-fns.el (describe-variable): Describe ignored and risky local
18504 variables in a similar way to that in which we describe safe ones.
18506 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18507 (byte-compile-output-file-form, byte-compile-output-docform)
18508 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18509 Give some more local variables with common names a "bytecomp-" prefix,
18510 so as not to shadow things during compilation.
18511 * emacs-lisp/cl-macs.el (load-time-value)
18512 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18513 `outbuffer' to `bytecomp-outbuffer'.
18515 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18516 since the next two variables cover them automatically now.
18517 (elint-builtin-variables, elint-autoloaded-variables): New.
18518 (elint-unknown-builtin-args): Remove all members, since they can be
18519 parsed automatically now.
18520 (elint-extra-errors): New.
18521 (elint-env-add-env, elint-env-add-macro): Use cadr.
18522 (elint-current-buffer): Use or. Change final message.
18523 (elint-get-top-forms): Use line-end-position.
18524 (elint-init-env): Use cadr. Handle autoload, declare-function,
18526 (elint-add-required-env): Doc fix. Use or. Standardize error.
18527 (regexp-assoc): Remove unused function.
18528 (elint-top-form): Set elint-current-pos, to record the start of the
18529 top-level form, for compilation-mode.
18530 (elint-form): Trap errors in macro expansion. Use dolist.
18531 (elint-unbound-variable): Use elint-builtin-variables and
18532 elint-autoloaded-variables.
18533 (elint-get-args): Use cadr, or.
18534 (elint-check-cond-form): Use dolist, cadr.
18535 (elint-check-condition-case-form): Doc fix. Use cadr.
18536 Use elint-extra-errors.
18537 (elint-log): New function.
18538 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18539 Distinguish errors and warnings.
18540 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18541 Use a bytecomp-style format.
18542 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18543 (elint-get-log-buffer): Use compilation mode. Disable undo.
18544 Don't truncate lines.
18545 (elint-initialize): Set builtin and autoloaded variable lists.
18546 Only process elint-unknown-builtin-args if non-nil.
18547 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18549 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18551 2009-07-22 Kevin Ryde <user42@zip.com.au>
18553 * net/newst-backend.el (newsticker--parse-atom-1.0)
18554 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18555 (newsticker--parse-rss-1.0):
18556 * progmodes/idlwave.el (idlwave-mode):
18557 * progmodes/idlw-shell.el (idlwave-shell-mode):
18558 * progmodes/vera-mode.el (vera-mode):
18559 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18560 * progmodes/vhdl-mode.el (vhdl-mode):
18561 * textmodes/table.el (table-generate-source)
18562 (table--warn-incompatibility):
18563 Hyperlink urls in docstrings with URL `...'.
18565 2009-07-22 Glenn Morris <rgm@gnu.org>
18567 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18568 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18569 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18570 Remove leading * from defcustom docs.
18572 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18574 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18576 (list-load-path-shadows): Optionally, just return shadows as a string.
18578 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18580 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18582 * mail/rmailedit.el (rmail-edit-mode):
18583 Use auto-save-include-big-deletions.
18585 * mail/rmail.el (rmail-variables):
18586 Use auto-save-include-big-deletions.
18588 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18591 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18593 * calc/calc.el (calc-undo-length): New variable.
18594 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18596 2009-07-21 Richard Stallman <rms@gnu.org>
18598 * files.el (auto-save-mode): Handle buffer-save-size = -2
18601 2009-07-21 Glenn Morris <rgm@gnu.org>
18603 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18605 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18607 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18608 silence compiler. Instead...
18609 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18610 (ps-print-ensure-fontified): Update for above function name changes.
18612 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18613 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18614 silence compiler. Instead...
18615 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18616 (mh-show-buffer): Only define for compiler.
18617 (pr-mh-current-message): Update for above function name changes.
18619 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18621 (find-file-noselect, insert-file-1): Update for above change.
18623 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18625 * mail/mailclient.el (mailclient-send-it): Fix message.
18627 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18628 (edebug-eval): Check cl-debug-env is bound.
18629 (print-level, print-circle): Don't redefine built-in variables.
18631 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18632 (custom-print-vectors): Remove old comments from doc.
18634 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18635 (emerge-version): Make the variable an obsolete alias for the
18636 emacs-version variable. Make the function obsolete.
18637 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18638 Emerge options, rather than merging in into the main Options menu.
18639 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18640 and auto advance modes. Disable edit/fast items when not relevant.
18642 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18644 * term/vt420.el (terminal-init-vt420): Fix typo.
18646 2009-07-20 Sam Steingold <sds@gnu.org>
18648 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18649 variable (removed from compile.el on 2004-03-11).
18651 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18653 * files.el (hack-local-variables-filter): Fix last change.
18655 2009-07-19 Juri Linkov <juri@jurta.org>
18657 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18658 (dir-local-variables-alist): New buffer-local variable.
18659 (hack-local-variables-filter): If variable is not dir-local,
18660 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18661 because file-local overrides dir-local.
18662 (c-postprocess-file-styles) <declare-function>:
18663 Remove obsolete declaration.
18664 (hack-dir-local-variables): Add dir-local variable/value pair to
18665 `dir-local-variables-alist' and remove duplicates. Doc fix.
18667 * help-fns.el (describe-variable): Add information about
18668 file-local and dir-local variables.
18670 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18672 * files.el (hack-local-variables-filter): Rewrite.
18674 2009-07-19 Glenn Morris <rgm@gnu.org>
18676 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18677 Silence compiler by only defining on XEmacs.
18679 * international/mule.el (auto-coding-regexp-alist): Only match
18680 BABYL... at the start of buffer, not of lines. (Bug#3790)
18682 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18683 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18684 (cal-menu-context-mouse-menu): Doc fix.
18686 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18688 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18690 2009-07-18 Juri Linkov <juri@jurta.org>
18692 * info.el: Virtual Info keyword finder.
18693 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18694 (Info-finder-file): New variable.
18695 (Info-finder-find-file): New function.
18696 (finder-known-keywords, finder-package-info)
18697 (find-library-name, lm-commentary): Use defvar and
18698 declare-function to silence compiler warnings.
18699 (Info-finder-find-node): New function.
18700 (info-finder): New command.
18702 * subr.el (process-kill-buffer-query-function): New function.
18703 (add-hook)<kill-buffer-query-functions>: Add hook
18704 `process-kill-buffer-query-function'.
18706 2009-07-18 Alan Mackenzie <acm@muc.de>
18708 * progmodes/cc-mode.el (c-before-hack-hook)
18709 (c-postprocess-file-styles): Give invocation of `c-set-style'
18710 DONT-OVERRIDE parameter of t. Already set style variables will
18711 thus not be overridden by style settings given by `c-file-syle'.
18713 * files.el (hack-local-variables-filter): Remove entries with
18714 duplicate keys from `file-local-variables-alist'.
18716 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18718 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18719 x-set-selection if display-selections-p returns nil for the
18722 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18724 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18726 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18728 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18729 Accept nil in addition to a regexp.
18730 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18731 Accept nil in addition to a regexp.
18732 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18733 buffers that have an associated file. Handle nil values of
18734 desktop-buffers-not-to-save and desktop-files-not-to-save.
18737 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18738 (x-disown-selection-internal): New functions.
18740 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18742 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18744 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18745 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18747 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18749 * simple.el (set-mark): Revert last change.
18751 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18753 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18754 rendering of pngs is not possible instead of messaging a long
18757 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18759 * w32-fns.el (x-selection-owner-p): New function.
18761 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18762 (mouse-yank-at-click, mouse-yank-primary):
18763 If select-active-regions is non-nil, deactivate the mark before
18766 * simple.el (deactivate-mark, set-mark): Only save selection if we
18769 2009-07-17 Kenichi Handa <handa@m17n.org>
18771 * case-table.el (describe-buffer-case-table): Fix for the case
18772 that KEY is a cons.
18774 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18776 * vc-rcs.el (vc-rcs-find-file-hook):
18777 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18779 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18781 * net/tramp.el (tramp-wait-for-output): Handle the case when
18782 commands do not return a newline but a null byte before the shell
18785 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18787 * term/ns-win.el (ns-set-alpha): Don't declare.
18788 (ns-set-background-alpha): Remove function.
18790 2009-07-16 Kevin Ryde <user42@zip.com.au>
18792 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18793 y-or-n-p, for safety.
18795 2009-07-16 Richard Stallman <rms@gnu.org>
18797 * files.el (auto-save-mode): If buffer-saved-size is -2,
18800 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18801 (rmail-retry-ignored-headers): Add more uninteresting fields.
18803 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18805 * net/rcirc.el (rcirc): Use history variables.
18806 (rcirc-server-name-history, rcirc-nick-name-history)
18807 (rcirc-server-port-history): New variables.
18809 2009-07-15 Kenichi Handa <handa@m17n.org>
18811 * international/mule-cmds.el (set-language-environment-charset):
18812 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18815 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18816 Delete unibyte-display.
18818 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18820 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18822 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18824 * simple.el (deactivate-mark): Optional argument FORCE.
18825 (set-mark): Use deactivate-mark.
18827 * info.el (Info-search): No need to check transient-mark-mode
18828 before calling deactivate-mark.
18830 * select.el (x-set-selection): Doc fix.
18831 (x-valid-simple-selection-p): Allow buffer values.
18832 (xselect--selection-bounds): Handle buffer values.
18833 Suggested by David De La Harpe Golden.
18835 * mouse.el (mouse-set-region, mouse-drag-track):
18836 Call copy-region-as-kill before setting the mark, to let
18837 select-active-regions work.
18839 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18841 * simple.el (deactivate-mark): If select-active-regions is
18842 non-nil, copy the selection data into a string.
18843 (activate-mark): If select-active-regions is non-nil, set the
18844 selection to the current buffer.
18845 (set-mark): Update selection if select-active-regions is non-nil.
18847 * select.el (x-valid-simple-selection-p): Allow buffer values.
18849 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18851 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18852 and more featureful message-mode.
18854 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18856 * select.el (x-set-selection): Doc fix.
18857 (x-valid-simple-selection-p): Disallow selection data consisting
18858 of a list or cons of integers, since that is not used.
18859 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18860 (xselect-convert-to-string, xselect-convert-to-length)
18861 (xselect-convert-to-filename, xselect-convert-to-charpos)
18862 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18864 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18866 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18867 output in -break-info command (Emacs bug #3794).
18869 2009-07-14 Glenn Morris <rgm@gnu.org>
18871 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18872 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18873 (edebug-print-length, edebug-print-level, edebug-print-circle)
18874 (edebug-sit-for-seconds, edebug-view-outside)
18875 (edebug-bounce-point, edebug-set-global-break-condition)
18876 (edebug-Go-nonstop-mode, edebug-trace-mode)
18877 (edebug-Trace-fast-mode, edebug-continue-mode)
18878 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18879 (edebug-visit-eval-list): Doc fixes.
18881 * subr.el (def-edebug-spec): Doc fix.
18883 2009-07-14 Kenichi Handa <handa@m17n.org>
18885 * international/characters.el: Fix setting of category ?C.
18887 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18889 * term/ns-win.el (x-select-font): defalias x-select-font to
18890 ns-popup-font-panel instead of generate-fontset-menu.
18892 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18894 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18896 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18898 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18899 the PK\003\004 header (Bug#3770).
18901 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18903 * pcomplete.el (pcomplete-comint-setup): Check for
18904 shell-dynamic-complete-filename too.
18906 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18908 * simple.el (temporary-goal-column): Change the value for
18909 line-move-visual to a cons cell.
18910 (line-move-visual): Record or set the window hscroll, if
18911 necessary (Bug#3494).
18912 (line-move-1): Handle cons value of temporary-goal-column.
18914 2009-07-11 Kenichi Handa <handa@m17n.org>
18916 * international/mule-diag.el (describe-character-set): Don't show
18919 2009-07-10 Sam Steingold <sds@gnu.org>
18921 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18922 Omake sometimes indents the errors it prints, so allow all
18923 regexps to start with spaces.
18925 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18927 * cus-edit.el (customize-changed-options-previous-release):
18928 Bump value to 22.1. (Bug#3804)
18930 2009-07-08 Sam Steingold <sds@gnu.org>
18932 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18933 to be a cons cell (test . ignored-directory) to selectively ignore
18934 some directories depending on the location of the search.
18936 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18938 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18939 remote user is root, on the local host.
18940 (tramp-local-host-p): Either the local user or the remote user
18941 must be root. (Bug#3771)
18943 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18945 * progmodes/gdb-mi.el (gdb): Remove description of
18946 gdb-use-separate-io-buffer.
18947 (menu): Don't allow toggling of or enable
18948 gdb-use-separate-io-buffer from menubar.
18950 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18952 * mail/unrmail.el (unrmail): Make sure the message ends with two
18953 newlines (Bug#3769).
18955 2009-07-08 Glenn Morris <rgm@gnu.org>
18957 * calendar/calendar.el (calendar-current-date): Rework previous change.
18959 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18961 * calendar/calendar.el (calendar-current-date):
18962 Add an optional argument giving an offset from today.
18964 2009-07-08 Glenn Morris <rgm@gnu.org>
18966 * tutorial.el (tutorial--describe-nonstandard-key):
18967 Adjust the message for when a key has been unbound.
18968 (help-with-tutorial): Hide the arch-tag.
18970 2009-07-08 Kenichi Handa <handa@m17n.org>
18972 * international/fontset.el (setup-default-fontset): For each
18973 script, append (not set) font-specs.
18975 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18978 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18980 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18981 -data-list-register-names to ...
18982 (gdb-starting): ... here because GDB 7.0 requires execution to
18983 have started when using this MI command.
18984 (gdb-set-header): New function to distinguish select and
18985 unselected tabs in gdb buffers.
18986 (gdb-propertize-header): New macro that uses gdb-set-header.
18987 (gdb-breakpoints-header, gdb-locals-header): Use it.
18988 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18990 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
18992 * Makefile.in (ELCFILES): Remove fadr.elc.
18994 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18996 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18997 may contain frame information, so `string-match' should be used.
18998 (gdb-update): Disassembly is invalidated through
18999 `gdb-get-selected-frame'.
19000 (gdb-pad-string): New function to pad string with spaces.
19001 (gdb-invalidate-disassembly): Invalidate only if the buffer
19003 (gdb-disassembly-handler-custom): Column alignment.
19004 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19006 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19008 (gdb-frame-handler): Match convention to for disassembly buffer
19010 (gdb-stack-list-frames-handler): Rewritten without regexps.
19011 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19012 not highlight breakpoints without line information.
19013 (gdb-input): Add trailing newline to command.
19015 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19017 (gdb-breakpoints-list-handler-custom): Replacement for
19018 `gdb-break-list-handler'. Using real parser instead of regexps
19020 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19021 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19022 to place breakpoints.
19023 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19025 (gdb-disassembly-handler-custom): Show overlay arrow.
19026 (gdb-disassembly-place-breakpoints): Show breakpoints in
19027 disassembly buffer.
19028 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19029 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19030 instead of parsing breakpoints buffer. Fixed old menu references
19035 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19036 (gdb-memory-address): New variable which holds top address of
19037 memory page shown in memory buffer.
19038 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19039 New customization variables.
19041 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19042 display the memory buffer.
19043 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19044 buffer display parameters.
19045 (def-gdb-memory-format, gdb-memory-format-binary)
19046 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19047 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19048 Functions for setting memory buffer format.
19049 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19050 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19051 unit size used in memory buffer.
19052 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19053 Switch to next/previous page of memory buffer.
19054 Now using (bindat-get-field) instead of fadr functions.
19056 2009-07-07 Sam Steingold <sds@gnu.org>
19058 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19059 non-top-level files.
19061 2009-07-07 Kenichi Handa <handa@m17n.org>
19063 * international/mule-cmds.el (reset-language-environment):
19064 Put the highset priority to the charset iso-8859-1.
19066 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19068 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19069 to the end of the line when locating the block (Bug#700).
19071 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19073 * net/tramp.el (tramp-handle-write-region): Flush file properties
19074 in case of short track.
19076 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19078 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19079 Coded custom representation of verilog error regular expressions
19080 to work with Emacs-22's new format.
19081 (verilog-error-regexp-xemacs-alist): Coded custom representation
19082 of verilog error regular expressions to work with XEmacs format.
19083 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19084 error recognition into XEmacs.
19085 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19086 error recognition into Emacs-22.
19088 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19090 * woman.el: Remove stand-alone closing parentheses.
19091 (woman-file-name, woman2-format-paragraphs)
19092 (woman-leave-blank-lines): Code cleanup.
19093 (woman-use-own-frame): Change default to nil.
19094 (woman-italic, woman-bold, woman-unknown, woman-addition):
19095 Change defaults to inherit from default faces.
19096 (woman2-process-escapes): Consume the newline after a stand-alone
19097 filler character (Bug#3651).
19099 2009-07-06 Glenn Morris <rgm@gnu.org>
19101 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19102 (top-level): Move provide to the end.
19103 (ffap): Remove defunct URL from custom group.
19105 * subr.el (eval-after-load): Doc fix.
19107 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19109 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19110 `calc-embedded-word' is called twice.
19112 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19114 * files.el (find-alternate-file-other-window, find-alternate-file):
19115 Obey confirm-nonexistent-file-or-buffer.
19117 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19119 * dired-aux.el (dired-show-file-type): Handle remote files.
19121 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19123 * desktop.el (desktop-globals-to-save):
19124 Add file-name-history (Bug#2750).
19126 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19128 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19130 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19132 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19133 property on entire argument since this is what eshell-lisp-command
19136 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19138 * net/tramp-gvfs.el (tramp-gvfs-methods)
19139 (tramp-gvfs-zeroconf-domain)
19140 (tramp-bluez-discover-devices-timeout): Add version flag.
19141 (tramp-gvfs-handler-mounted-unmounted)
19142 (tramp-gvfs-connection-mounted-p): Polish handling of
19143 incompatibilities between GVFS 0.2 and 1.0.
19145 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19147 * cus-start.el (all): Add make-pointer-invisible.
19149 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19151 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19152 formatted correctly.
19154 2009-07-02 Juri Linkov <juri@jurta.org>
19156 * info.el: Virtual Info files and nodes.
19157 (Info-virtual-files, Info-virtual-nodes): New variables.
19158 (Info-current-node-virtual): New variable.
19159 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19161 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19162 to check for a virtual file instead of checking a fixed list
19164 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19165 instead of ad-hoc processing of "dir" and (apropos history toc).
19166 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19167 instead of ad-hoc processing of "dir" and (apropos history toc).
19168 Reread a file when moving from a virtual node.
19169 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19170 (Info-directory-toc-nodes, Info-directory-find-file)
19171 (Info-directory-find-node): New functions.
19172 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19173 (Info-history): Move part of code to
19174 `Info-history-find-node'.
19175 (Info-history-toc-nodes, Info-history-find-file)
19176 (Info-history-find-node): New functions.
19177 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19178 (Info-toc): Move part of code to `Info-toc-find-node'.
19179 (Info-toc-find-node): New function.
19180 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19181 the current Info file name to references because now the node
19182 "*TOC*" belongs to the same Info manual.
19183 (Info-toc-build): Rename from `Info-build-toc'.
19184 (Info-toc-nodes): Rename input argument `file' to `filename'.
19185 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19186 instead of ad-hoc processing of ("dir" apropos history toc).
19187 (Info-index-nodes): Use Info-virtual-file-p
19188 to check for a virtual file instead of checking a fixed list
19190 (Info-index-node): Add check for `Info-current-node-virtual'.
19191 Raise `save-match-data' higher up the tree to contain
19192 `search-forward' too (bug fix).
19193 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19194 (Info-virtual-index-nodes): New variable.
19195 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19196 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19197 (Info-apropos-file, Info-apropos-nodes): New variables.
19198 (Info-apropos-toc-nodes, Info-apropos-find-file)
19199 (Info-apropos-find-node, Info-apropos-matches): New functions.
19200 (info-apropos): Move part of code to `Info-apropos-find-node' and
19201 `Info-apropos-matches'.
19202 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19203 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19204 for a virtual file instead of checking a fixed list of node names.
19206 * simple.el (async-shell-command): New command.
19208 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19210 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19211 instead of `mount-info'.
19213 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19215 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19216 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19218 2009-07-02 Kenichi Handa <handa@m17n.org>
19220 * international/mule.el (set-keyboard-coding-system): Force *-unix
19221 coding-system to avoid eol conversion.
19223 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19225 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19226 Add handler for `process-file', `shell-command' and
19227 `start-file-process'.
19228 (tramp-gvfs-handle-shell-command)
19229 (tramp-gvfs-handle-start-file-process)
19230 (tramp-gvfs-handle-process-file): New defuns.
19231 (tramp-synce-list-devices): Simplify check for existence of property.
19233 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19235 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19237 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19239 * language/korean.el (set-language-info-alist): Add korean-cp949,
19242 2009-07-01 Kenichi Handa <handa@m17n.org>
19244 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19246 * international/encoded-kb.el: Deleted.
19248 * international/mule.el (set-keyboard-coding-system): Perform the
19249 necessary setup here instead of calling encoded-kbd-setup-display.
19251 2009-07-01 Glenn Morris <rgm@gnu.org>
19253 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19255 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19257 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19259 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19261 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19262 Handle also the 'rename case, when setting file modes. (Bug#3712)
19263 (tramp-default-file-modes): Remove execute permissions.
19265 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19266 (top): Add a default for "synce" in `tramp-default-user-alist'.
19267 Add completion function for "synce" method.
19268 (tramp-hal-service, tramp-hal-path-manager)
19269 (tramp-hal-interface-manager, tramp-hal-interface-device):
19271 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19272 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19275 * net/trampver.el: Update release number.
19277 2009-06-30 Kenichi Handa <handa@m17n.org>
19279 * international/fontset.el (setup-default-fontset): Add CJK fonts
19280 for symbols and the other miscellaneous characters.
19282 * language/korea-util.el (setup-korean-environment-internal):
19283 Make char-width-table suitable for Korean environments.
19284 (exit-korean-environment): Cancel above.
19286 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19287 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19288 setup-function to make char-width-table suitable for respective
19289 environments, and an exit-function to cancel that.
19291 * language/japan-util.el (setup-japanese-environment-internal):
19292 Call use-cjk-char-width-table with arg `ja_JP'.
19294 * international/characters.el (cjk-char-width-table): Delete it.
19295 (cjk-char-width-table-list): New variable.
19296 (use-cjk-char-width-table): New arg local-name.
19297 (use-default-char-width-table): Fix for the case that Emacs is
19298 already using the default char-width-table.
19300 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19302 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19303 modes mandatory. (Bug#3712)
19305 2009-06-29 Alan Mackenzie <acm@muc.de>
19307 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19308 correction between the visible width of TABs and their number of bytes.
19310 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19312 * server.el (server-buffer-done): Prevent kill-buffer from
19313 prompting by clearing the buffer modification flag (Bug#3696).
19315 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19317 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19318 (verilog-endcomment-reason-re): Support unique case and priority case.
19319 (verilog-basic-complete-re): Support localparam lineup.
19320 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19321 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19323 (verilog-leap-to-case-head): Now support *nested* unique &
19324 priority case statements.
19325 (verilog-auto-lineup): Make just declarations the default (as it
19327 (verilog-leap-to-case-head): Support priority/unique case statements.
19328 (verilog-auto-lineup): Rework to give users radio buttons to
19329 select the various styles of automatic lineup.
19330 (verilog-error-regexp-alist): Rework to support the XEmacs style
19331 of error regular expressions from compilers, lint tools &
19332 simulators. Note that GNU Emacs has made it impossible for a mode
19333 to load such things.
19334 (electric-verilog-terminate-line, verilog-indent-declaration)
19335 (verilog-auto-wiure): Rework for radio button selection of
19336 auto-lineup selection of specification of auto lineup.
19337 (verilog-beg-of-statement-1): Redesign to support proper operation
19338 in additional code, based on testing with auto-lineup.
19339 (verilog-calculate-indent, assignments & declarations)
19340 (verilog-backward-token): Enhance to support auto-lineup of
19341 assignments & declarations.
19342 (verilog-in-directive-p, verilog-at-struct-p): New function for
19343 easy test of whether we are.
19344 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19345 to support safe execution at almost anyline.
19346 (verilog-calc-1): Properly support indenting deep inside generate
19348 (verilog-init-font): Remove definition & use of verilog-init-font,
19349 as it is redundant with font-lock-defaults.
19350 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19351 to avoid circular calls if syntax-ppss is a function (as is the
19352 case now in 22.x GNU Emacs) as that function would sometimes call
19353 itself, leading to (nearly) infinite recursion.
19354 (verilog-ovm-begin-re, verilog-ovm-end-re)
19355 (verilog-ovm-statement-re, verilog-leap-to-head)
19356 (verilog-backward-token): Add support for OVM macros. Some are
19357 complete statements, and others open and close scopes like begin
19359 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19360 (verilog-defun-level-generate-only-re): Really fix the defun-list
19362 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19363 coverpoint, constraint and cross statements.
19364 (verilog-defun-level-list, verilog-generate-defun-level-list)
19365 (verilog-all-defun-level-list): Redo these specifications - it is
19366 too hard to support eval-when compile aggregation of lists also
19367 built at when-compile time.
19368 (verilog-defun-level-list): Place defconsts of variables used in
19369 building regular expressions which are built in eval-when-compile
19370 bodies in the same eval-when-compile body to facilitate compile
19372 (verilog-beg-block-re-ordered): Support indenting
19373 virtual/protected tasks and functions.
19374 (verilog-defun-level-list, verilog-in-generate-region-p)
19375 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19376 indentation of some module items (generate items).
19377 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19378 across virtual/protected tasks and functions.
19380 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19382 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19383 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19384 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19385 in concatenations. Reported by Yishay Belkind.
19386 (verilog-auto-ascii-enum): Support one-hot state machines in
19387 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19388 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19389 modport in AUTOINST and add vl-modport for users.
19390 Reported by David Rogoff.
19391 (verilog-auto-inout-module, verilog-auto-inst)
19392 (verilog-decls-get-interfaces, verilog-insert-definition)
19393 (verilog-insert-one-definition, verilog-read-decls)
19394 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19395 (verilog-sig-modport, verilog-signals-combine-bus)
19396 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19397 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19398 Suggested by David Rogoff.
19399 (verilog-repair-open-comma): Fix non-insertion of comma when
19400 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19401 (verilog-make-width-expression): Simplify [A-1:0] expression
19402 widths to just {A{1'b0}}.
19403 (verilog-mode): Cleanup checkdoc warnings.
19404 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19405 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19406 inputs/outputs or data type. Suggested by Vasu Kandadi.
19407 (next-error-last-buffer): Fix byte-compiler warning.
19408 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19409 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19410 or shell command text during AUTO expansion. Suggested by Tad Truex.
19411 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19412 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19413 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19414 in AUTOINOUT. Reported by Matthew Lovell.
19415 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19416 causing use of <= assignments. Reported by Alex Reed.
19417 (verilog-read-decls): Fix triand, trior, wand, wor to be
19418 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19419 (verilog-extended-complete-re): Support import "DPI-C" functions.
19420 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19421 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19422 (verilog-insert-date, verilog-insert-year)
19423 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19424 Windows systems. Reported by Michael Potts.
19425 (verilog-read-module-name): Fix AUTOINST when the child module
19426 declaration's name is a tick define. Reported by Elliot Mednick.
19427 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19428 passed to next parameter's definition. Reported by Bruce T.
19429 (verilog-read-decls): Fix detecting "parameter int" when using
19430 AUTOINSTPARAM. Reported by Bruce T.
19431 (verilog-goto-defun): Fix goto not finding modules unless first
19432 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19433 (verilog-mode): Expand -f flag arguments on entry to mode so
19434 verilog-goto-defun will work. Reported by Lawrence Butcher.
19435 (verilog-getopt): Expand environment variables in -f file
19436 arguments. Suggested by Lawrence Butcher.
19437 (verilog-set-define): Fix "Symbol's value as variable is void"
19438 when reading enumerations.
19439 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19440 Suggested by Stephen Peltan.
19441 (verilog-read-defines): Fix reading of enumerations in include
19442 files. Reported by Steve Peltan.
19444 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19446 * files.el (trash-directory): Fix defcustom type.
19448 2009-06-28 Juri Linkov <juri@jurta.org>
19450 * help-fns.el (describe-function-1): Correctly locate adviced
19451 functions in hyperlink (Bug#2438).
19453 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19455 * files.el (trash-directory): Change default to nil.
19456 (move-file-to-trash): If trash-directory is nil and
19457 system-move-file-to-trash is unbound, perform freedesktop-style
19460 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19462 * files.el (move-file-to-trash): Add freedesktop trash
19465 2009-06-28 Glenn Morris <rgm@gnu.org>
19467 * autorevert.el (global-auto-revert-non-file-buffers)
19468 (global-auto-revert-mode): Doc fixes.
19470 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19472 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19474 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19476 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19477 opened an X connection before calling x-get-resource (Bug#3194).
19479 * play/doctor.el: Remove reference to obsolete website.
19480 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19482 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19484 Remove find-file-not-found-hook VC method. (Bug#2757)
19485 * vc-hooks.el (vc-file-not-found-hook)
19486 (vc-default-find-file-not-found-hook): Remove functions.
19487 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19488 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19491 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19493 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19495 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19496 compatibility function for `looking-back'.
19498 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19499 Use `ispell-looking-back'.
19501 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19503 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19504 rather than `filename'.
19506 2009-06-23 Miles Bader <miles@gnu.org>
19508 * face-remap.el (text-scale-set): New function.
19510 2009-06-23 Glenn Morris <rgm@gnu.org>
19512 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19514 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19516 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19518 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19520 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19521 Simplify Persian conditionals.
19523 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19524 variable `filename'.
19526 * comint.el (comint-insert-input): Doc fix.
19528 * Makefile.in (ELCFILES): Fix typo in previous change.
19530 2009-06-23 Miles Bader <miles@gnu.org>
19532 * cus-start.el: Add entry for `recenter-redisplay'.
19534 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19536 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19537 Add an optional argument for the backend, use it instead of
19538 calling vc-backend.
19539 (vc-mode-line): Add an optional argument for the backend.
19540 Pass the backend to vc-state and vc-working-revision. Move code for
19541 special handling for vc-state being a buffer to ...
19543 * vc-rcs.el (vc-rcs-find-file-hook):
19544 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19546 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19547 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19548 vc-stay-local-p and vc-mode-line calls.
19550 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19551 (vc-cvs-diff, vc-cvs-annotate-command)
19552 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19553 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19554 vc-mode-line calls.
19556 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19558 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19559 backend when calling vc-mode-line.
19560 (vc-register): Do not create a closure for calling the vc register
19561 function, call it directly.
19563 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19565 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19566 to make it obvious item can be clicked.
19568 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19570 2009-06-23 Kenichi Handa <handa@m17n.org>
19572 * language/korea-util.el (korean-key-bindings): Change the binding
19573 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19576 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19578 Sync with Tramp 2.1.16.
19580 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19582 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19583 when a loading of a package fails. Completion function for rsync
19584 is `tramp-completion-function-alist-ssh'.
19585 (all): Replace all calls of `split-string' and
19586 `tramp-split-string' by `tramp-compat-split-string'.
19587 (tramp-default-method): Use `tramp-compat-process-running-p'.
19588 (tramp-default-proxies-alist): Allow also Lisp forms.
19589 (tramp-remote-path): Add choice "Private Directories".
19590 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19591 (tramp-domain-regexp): Allow also "-", "_" and ".".
19592 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19593 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19594 (tramp-debug-message): Insert header line in debug buffer.
19595 (tramp-handle-directory-files-and-attributes-with-stat):
19596 Care about filenames with spaces, or starting with "-".
19597 (tramp-handle-dired-uncache): New defun.
19598 (tramp-handle-insert-directory): Don't flush the directory from
19599 cache, this is handled by `dired-uncache' now.
19600 (tramp-handle-insert-file-contents): Improve error handling.
19601 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19602 Quote `tramp-end-of-output'.
19603 (tramp-action-password): Improve trace message.
19604 (tramp-check-for-regexp): Both echoes must be present, before removing.
19605 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19606 (tramp-compute-multi-hops): Eval cons cells of
19607 `tramp-default-proxies-alist'.
19608 (tramp-maybe-open-connection): Use the same command pattern for
19609 first hop and further hops.
19610 (tramp-wait-for-output): Remove handling of newlines.
19611 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19612 (tramp-split-string): Remove function. It is handled in
19615 * net/tramp-cmds.el (tramp-bug):
19616 Recommend `tramp-cleanup-all-connections' in the bug mail.
19618 * net/tramp-compat.el (tramp-compat-split-string)
19619 (tramp-compat-process-running-p): New defuns.
19621 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19622 for `dired-uncache'.
19624 * net/tramp-gvfs.el: New package.
19626 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19627 Add handler for `dired-uncache'.
19628 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19630 * net/trampver.el: Update release number. Make version check fit
19633 2009-06-22 Jim Meyering <meyering@redhat.com>
19635 Automatically handle .xz suffix (XZ-compressed files), too.
19636 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19637 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19639 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19640 Nick Roberts <nickrob@snap.net.nz>
19642 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19643 repository (http://sphinx.net.ru/hg/gdb-mi/).
19645 2009-06-22 Glenn Morris <rgm@gnu.org>
19647 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19648 `mode' and `eval' entries. (Bug#3430)
19650 * Makefile.in (ELCFILES): Add fadr.elc.
19652 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19653 differing behavior of \n and ^ in strings. (Bug#3385)
19655 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19657 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19659 (lisp-indent-function): Make it a defcustom.
19661 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19663 * progmodes/gdb-ui.el: Replace with ...
19664 * progmodes/gdb-mi.el: ... this file.
19665 * progmodes/gud.el: Modify for gdb-mi.el.
19667 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19669 * fadr.el: New file.
19671 See ChangeLog.14 for earlier changes.
19673 ;; Local Variables:
19677 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19679 This file is part of GNU Emacs.
19681 GNU Emacs is free software: you can redistribute it and/or modify
19682 it under the terms of the GNU General Public License as published by
19683 the Free Software Foundation, either version 3 of the License, or
19684 (at your option) any later version.
19686 GNU Emacs is distributed in the hope that it will be useful,
19687 but WITHOUT ANY WARRANTY; without even the implied warranty of
19688 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19689 GNU General Public License for more details.
19691 You should have received a copy of the GNU General Public License
19692 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.