1 2010-12-10 Glenn Morris <rgm@gnu.org>
3 * files.el (diff-no-select): Declare.
5 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
6 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
8 * comint.el (comint-input-ring-file-name): Doc fix.
10 2010-12-09 Eli Zaretskii <eliz@gnu.org>
12 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
14 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
15 them instead of `nil' and `>', respectively.
16 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
18 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
19 and menu-bar-positive-p instead of `nil' and `>', respectively.
22 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24 * whitespace.el (whitespace-newline-mode): Code fix.
26 2010-12-09 Glenn Morris <rgm@gnu.org>
28 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
29 Rename functions without commas, update callers.
31 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
33 * whitespace.el (whitespace-cleanup-region):
34 Clean up spaces before tabs. (Bug#7582)
36 2010-12-08 Karl Fogel <kfogel@red-bean.com>
38 * bookmark.el: Adjust parameter names and doc strings to resolve
39 confusion over whether "bookmark" meant a bookmark name or a
40 bookmark record. Along the way, shorten one function's name for
41 similar reasons. (Issue #7548)
42 (bookmark-name-from-record): New name for
43 `bookmark-name-from-full-record'. All callers changed.
44 (bookmark-get-bookmark, bookmark-get-bookmark-record)
45 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
46 (bookmark-get-annotation, bookmark-set-annotation)
47 (bookmark-get-filename, bookmark-set-filename)
48 (bookmark-get-position, bookmark-set-position)
49 (bookmark-get-front-context-string, bookmark-set-front-context-string)
50 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
51 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
52 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
53 Rename `bookmark' parameter to `bookmark-name-or-record', to
54 clearly show its role, and shorten or adjust doc strings accordingly.
55 (bookmark-set-name): Same, and pass the parameter directly to
56 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
57 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
58 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
59 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
60 and in some cases shorten doc string accordingly.
61 (bookmark-rename): Change `old' and `new' parameters to `old-name'
62 and `new-name', and adjust an internal variable to avoid confusion.
63 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
64 parameter in doc string.
66 2010-12-08 Glenn Morris <rgm@gnu.org>
68 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
69 from gdb's history file. (Bug#7575)
71 * mail/emacsbug.el (report-emacs-bug):
72 Try to handle some other mail clients.
74 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
76 * files.el (dir-locals-collect-variables): Don't let errors stop us.
78 (file-name-version-regexp): New var.
79 (file-name-sans-versions):
80 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
81 (jka-compr-get-compression-info): Use dolist.
82 (jka-compr-compression-info-list): Don't bother specifying
83 version/backup regexps.
85 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
87 * simple.el (just-one-space): Make argument n default to 1 if
90 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
92 * electric.el (electric-indent-post-self-insert-function):
93 Delete trailing newlines even if we don't reindent.
95 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
97 * minibuffer.el (completion-at-point): Remove the `arg'.
98 * bindings.el (complete-symbol): Move back from minibuffer.el.
100 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
102 * simple.el (just-one-space): Delete newlines for negative arg.
104 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
106 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
107 (ansi-color-filter-apply): Simplify.
108 (ansi-color-apply): Use `font-lock-face' rather than `face'.
110 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
112 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
114 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
116 * dired.el (dired-use-ls-dired): Set default to a special
118 (dired-insert-directory): When called the first time, check
119 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
121 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
123 * replace.el: Add "collect" feature to occur.
124 (occur-collect-regexp-history): New var.
125 (occur-read-primary-args): Return a replace string for nlines,
127 (occur): Extend the meaning of nlines.
129 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
131 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
132 (which-func-update-1): Distinguish symbols from strings.
133 (which-function): Stay within 80 columns.
135 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
137 * subr.el (with-demoted-errors): Distinguish symbols from strings.
139 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
141 (comment-style): Use comment-styles's docs to describe values.
143 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
145 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
146 and ns-show-prefs (Bug#7535).
148 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
151 2010-12-03 Glenn Morris <rgm@gnu.org>
153 * nxml/nxml-mode.el: Require rng-nxml.
154 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
157 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
158 * nxml/rng-nxml.el, nxml/rng-valid.el:
159 Remove leading `*' from defcustom docs.
161 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
162 (normal-top-level-add-to-load-path, tty-handle-args):
163 Convert comments to basic doc-strings.
165 * net/browse-url.el (browse-url-url-at-point)
166 (browse-url-default-browser): Remove autoload cookies.
168 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
169 Remove more undefined cl functions.
171 * vc/diff.el (diff-sentinel): Make new arguments optional.
172 * ibuf-ext.el (diff-sentinel): Update declaration.
174 2010-12-03 Daiki Ueno <ueno@unixuser.org>
176 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
177 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
178 (epg-context-set-passphrase-callback): Mention that the callback
179 is not called when used with GnuPG 2.x.
181 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
183 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
184 (tramp-file-name-port): Check also for `tramp-default-port'.
185 (tramp-get-connection-name): New defun.
186 (tramp-get-connection-process): Use it.
187 (tramp-debug-message): Extend function exclude list.
188 (tramp-drop-volume-letter): Fix doc string.
190 * net/tramp-cmds.el: Remove solved todo item.
197 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
198 and `tramp-default-user-alist', respectively.
200 * net/tramp-gw.el (tramp-gw-open-connection):
201 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
203 * net/tramp-imap.el (tramp-imap-make-iht): Use just
204 `tramp-file-name-port'.
206 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
207 and "psftp". Exchange "%k" marker with options.
208 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
209 Compute size of link target.
210 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
211 `tramp-current-*' up due to gateway methods. Optimze computing of
212 copy arguments. Use `tramp-get-connection-name' and
213 `tramp-get-connection-buffer'. Improve debug messages.
214 (tramp-compute-multi-hops): Remove port determination.
215 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
217 * net/trampver.el: Update release number.
219 2010-12-02 Glenn Morris <rgm@gnu.org>
221 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
222 Avoid infinite loop over windows. (Bug#7492)
224 * progmodes/flymake.el (flymake-check-file-limit):
225 Allow nil to mean "no limit".
226 (flymake-check-patch-master-file-buffer): Update for above change.
227 Allow a .tex file-name extension to be optional.
228 (flymake-master-tex-init): Also match \include statements.
230 2010-11-30 Sam Steingold <sds@gnu.org>
232 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
233 (nxml-parent-document-set): A function to set `nxml-parent-document'.
234 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
235 (nxml-mode-hook): Remove `defcustom' (auto-defined by
236 define-derived-mode').
237 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
238 users who want to call `nxml-parent-document-set'.
240 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
242 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
243 stand-alone lines, since that is handled by log-edit-match-to-eoh
246 2010-11-27 Eduard Wiebe <usenet@pusto.de>
248 * dired.el (dired-get-filename): Replace backslashes with slashes
249 in file names on MS-Windows, needed by `locate'. (Bug#7308)
250 * locate.el (locate-default-make-command-line): Don't consider
251 drive letter and root directory part of
252 `directory-listing-before-filename-regexp'. (Bug#7308)
253 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
255 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
257 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
258 of :smie-open/close-alist.
259 (smie-next-sexp): Make it accept a "start token" as argument.
260 (smie-indent-keyword): Be careful not to misidentify tokens that span
261 more than one line, as empty lines. Add argument `token'.
263 2010-11-27 Kenichi Handa <handa@m17n.org>
265 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
266 multipart subtypes, insert all as usual.
268 * mail/rmail.el: Require rfc2047.
270 2010-11-27 Kenichi Handa <handa@m17n.org>
272 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
273 (rmail-mime-entity-disposition)
274 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
275 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
276 (rmail-mime-save): Handle the case that the button's `data' is a
278 (rmail-mime-insert-text): New function.
279 (rmail-mime-insert-image): Handle the case that DATA is a MIME
281 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
282 (rmail-mime-insert-bulk): New function mostly copied from the old
283 rmail-mime-bulk-handler.
284 (rmail-mime-multipart-handler): Just call
285 rmail-mime-process-multipart.
286 (rmail-mime-process-multipart): New funciton mostly copied from
287 the old rmail-mime-multipart-handler.
288 (rmail-mime-show): Just call rmail-mime-process.
289 (rmail-mime-process): New funciton mostly copied from the old
291 (rmail-mime-insert-multipart, rmail-mime-parse)
292 (rmail-mime-insert, rmail-show-mime)
293 (rmail-insert-mime-forwarded-message)
294 (rmail-insert-mime-resent-message): New functions.
295 (rmail-insert-mime-forwarded-message-function): Set to
296 rmail-insert-mime-forwarded-message.
297 (rmail-insert-mime-resent-message-function): Set to
298 rmail-insert-mime-resent-message.
300 * mail/rmailsum.el: Require rfc2047.
301 (rmail-header-summary): Handle multiline Subject: field.
302 (rmail-summary-line-decoder): Change the default to
303 rfc2047-decode-string.
305 * mail/rmail.el (rmail-enable-mime): Change the default to t.
306 (rmail-mime-feature): Change the default to `rmailmm'.
307 (rmail-quit): Delete the specifal code for rmail-enable-mime.
308 (rmail-display-labels): Likewise.
309 (rmail-show-message-1): Check rmail-enable-mime, and use
310 rmail-show-mime-function for a MIME message. Decode the headers
311 according to RFC2047.
313 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
315 * progmodes/which-func.el (which-func-imenu-joiner-function):
316 Return a string, as expected.
317 (which-function-mode): Make sure we stop any previous timer before
320 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
322 * net/tramp.el (tramp-default-method-alist)
323 (tramp-default-user-alist, tramp-default-proxies-alist):
324 Adapt custom options type. (Bug#7445)
326 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
328 * progmodes/python.el: Add Ipython support (Bug#5390).
329 (python-shell-prompt-alist)
330 (python-shell-continuation-prompt-alist): New options.
331 (python--set-prompt-regexp): New function.
332 (inferior-python-mode, run-python, python-shell):
333 Require ansi-color. Use python--set-prompt-regexp to set the comint
334 prompt based on the Python interpreter.
335 (python--prompt-regexp): New var.
336 (python-check-comint-prompt)
337 (python-comint-output-filter-function): Use it.
338 (run-python): Use a pipe (Bug#5694).
340 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
342 * progmodes/python.el (run-python): Doc fix.
343 (python-keep-current-directory-in-path): New var (Bug#7454).
345 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
347 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
348 Prompt user before actually printing.
350 2010-11-27 Glenn Morris <rgm@gnu.org>
352 * startup.el (package-enable-at-startup, package-initialize):
353 Remove unnecessary declarations.
355 2010-11-27 Eli Zaretskii <eliz@gnu.org>
357 * international/characters.el (glyphless-char-display-control):
358 Exclude newline and TAB from the c0-control group.
360 2010-11-27 Glenn Morris <rgm@gnu.org>
362 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
363 (expand-mail-aliases): Remove unnecessary autoload.
365 * allout.el (allout-command-prefix, allout-mode-map): Declare.
367 * shell.el (shell-dir-cookie-re): Move definition before use.
369 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
370 Replace undefined CL functions.
372 2010-11-26 Eli Zaretskii <eliz@gnu.org>
374 * simple.el (prog-mode): Set bidi-paragraph-direction to
377 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
379 2010-11-26 Glenn Morris <rgm@gnu.org>
381 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
382 diary-outlook-formats can be sensitive to calendar-date-style.
383 (diary-outlook-formats): Simplify the default setting.
384 (diary-from-outlook-internal): Pass subject and body as arguments.
385 Use dolist rather than dotimes. Don't save the diary buffer.
386 (diary-from-outlook-gnus, diary-from-outlook-rmail):
387 Pass subject and body as explicit arguments to the -internal function.
389 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
391 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
392 parsing them. This makes mailto:...?subject=foo\nbar work.
394 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
396 * vc/diff.el (diff): Fix last change.
398 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
400 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
401 (pcase--dontcare-upats): New var.
402 (pcase-let, pcase-let*): Generate better code.
403 Accept the same bodies as `let'.
404 (pcase-dolist): New macro.
405 (pcase--trivial-upat-p): New helper function.
406 (pcase--expand): Strip leading "(let nil" if any.
408 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
410 * mail/mailclient.el (browse-url): Require.
411 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
412 use the external browser function to send the mail (bug#7469).
414 * net/browse-url.el (browse-url-browser-function): Revert the
415 default back to the previous value, since the new value broke
417 (browse-url-mailto-function): New variable for mailto: URLs.
418 (browse-url): Use the new variable for mailto: URLs.
420 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
422 * eshell/esh-cmd.el (eshell-parse-command):
423 * eshell/esh-arg.el (eshell-parse-arguments):
424 * eshell/em-script.el (eshell-source-file):
425 Use with-silent-modifications.
427 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
429 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
430 for a merge location.
432 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
433 (vc-bzr-merge-branch): Always prompt.
434 (vc-bzr-async-command): Use the full branch filename.
436 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
438 * shell.el (shell): Use current-buffer by default if it's already
439 a shell mode buffer and its process is dead.
440 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
442 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
444 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
445 Mention that the keywords should be comma separated.
447 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
449 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
450 Accept optional prefix arg meaning to prompt for a command.
451 (vc-update): Use vc-BACKEND-pull if available. Accept optional
452 prefix arg meaning to prompt for a command.
453 (vc-pull): Alias for vc-update.
455 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
456 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
457 (vc-bzr-merge-branch): New functions, implementing merge-branch
460 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
462 * Makefile.in: Fix up last merge.
464 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
465 (diff-sentinel): Get them as arguments instead.
466 (diff-old-file, diff-new-file, diff-extra-args): Remove.
467 (diff-file-local-copy, diff-better-file-name): New funs.
468 (diff-no-select): Rename from diff-into-buffer.
469 Support buffers additionally to files. Move `buf' arg. Don't display buf.
470 Prefer closures to buffer-local variables.
471 (diff): Adjust accordingly.
472 (diff-buffer-with-file): Move from files.el.
473 * files.el (diff-buffer-with-file): Move to vc/diff.el.
474 (diff-buffer-internal): Remove.
475 (diff-buffer-buffer): Remove.
476 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
477 the buffer name used, and so as not to mess up windows and frames.
479 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
481 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
482 (diff-buffer-internal): New function extracted from diff-buffer-with-file
483 (diff-buffer-with-file): Use it.
484 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
487 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
489 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
490 \ref's or \pageref's value as default instead of initial input.
492 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
494 * files.el (backup-by-copying-when-mismatch): The default value is
497 * startup.el (normal-top-level):
498 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
499 `backup-by-copying-when-mismatch'.
501 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
503 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
505 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
507 * progmodes/python.el (python-font-lock-keywords):
508 Highlight top-level augmented assignments (Bug#6445).
510 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
512 * term/ns-win.el (ns-right-control-modifier)
513 (ns-right-command-modifier): Defvar them.
515 * cus-start.el (all): Add ns-right-control-modifier and
516 ns-right-command-modifier (Bug#7458).
518 2010-11-20 Glenn Morris <rgm@gnu.org>
520 * emacs-lisp/authors.el (authors-ignored-files)
521 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
523 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
525 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
526 (report-emacs-bug-parse-query-results)
527 (report-emacs-bug-create-existing-bugs-buffer): Pass through
528 keywords used for querying the bug database to show them in the
529 existing bugs buffer.
531 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
533 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
535 * info.el (info-tool-bar-map): Add some :vert-only keywords.
537 2010-11-20 Eli Zaretskii <eliz@gnu.org>
539 * international/characters.el (glyphless-char-display-control):
540 Make it a defcustom, with update-glyphless-char-display as its
542 (top level): Don't call update-glyphless-char-display.
544 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
546 Sync with Tramp 2.2.0.
548 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
549 `file-remote-p' (due to compatibility).
551 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
552 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
554 * net/trampver.el: Update release number.
556 2010-11-20 Eli Zaretskii <eliz@gnu.org>
558 * faces.el (glyphless-char): Define value for `pc'.
560 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
562 Implemented a bug querying mechanism.
563 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
564 (report-emacs-bug-create-existing-bugs-buffer)
565 (report-emacs-bug-parse-query-results)
566 (report-emacs-bug-query-existing-bugs): New functions.
568 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
570 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
571 a \ref{} or \pageref{} macro, then use its value as initial input.
573 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
575 * calc/calc-units.el (math-build-units-table-buffer):
576 calc/README: Mention that the TeX specific units won't use the
577 `tex' prefix in TeX mode.
578 calc/calc-lang.el (math-variable-table): Don't use the `tex'
579 prefix for units in TeX mode.
581 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
583 * simple.el (kill-new, kill-append, kill-region):
584 * comint.el (comint-kill-region): Make the yank-handler argument
587 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
589 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
590 that are both openers (resp. closers) and something else.
591 (smie-grammar): Loosen definition of valid values.
592 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
593 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
594 (smie-indent-after-keyword): Adjust users.
595 (smie-indent-keyword): Don't indent empty lines.
597 * vc-hg.el (vc-hg-program): New var.
598 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
599 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
601 2010-11-18 Glenn Morris <rgm@gnu.org>
603 * emacs-lisp/autoload.el (autoload-find-destination): The function
604 coding-system-eol-type may return non-numeric values. (Bug#7414)
606 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
608 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
610 2010-11-18 Eli Zaretskii <eliz@gnu.org>
612 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
614 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
616 * textmodes/picture.el (picture-mouse-set-point): Don't use
617 posn-col-row; explicitly compute the motion based on the posn at
618 the window-start (Bug#7390).
620 2010-11-18 Glenn Morris <rgm@gnu.org>
622 * novice.el (disabled-command-function):
623 Fix 2009-11-15 change. (Bug#7384)
625 2010-11-18 Glenn Morris <rgm@gnu.org>
627 * calendar/calendar.el (diary-iso-date-forms): Make elements
628 mutually exclusive. (Bug#7377)
630 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
632 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
633 when filling the remaining "unconstrained" values.
635 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
637 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
640 * files.el (safe-local-variable-p): Gracefully handle errors.
642 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
643 Use smie-indent-virtual when indenting relative to an opener.
644 (smie-rule-separator): Use smie-rule-parent.
645 (smie-indent-keyword): Consult rules, even for openers at bol.
646 (smie-indent-comment-close): Try to align closer's content.
648 2010-11-18 Glenn Morris <rgm@gnu.org>
650 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
652 2010-11-18 Glenn Morris <rgm@gnu.org>
654 * printing.el (pr-menu-bind): Doc fix.
656 * speedbar.el (speedbar-toggle-images): Doc fix.
658 * progmodes/python.el (python-shell): Doc fix.
660 * wid-edit.el (widget-field-use-before-change)
661 (widget-use-overlay-change): Doc fixes.
663 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
665 Minor cleanup to improve style.
666 * textmodes/rst.el (rst-update-section): Use point-marker.
667 (rst-get-decoration): Eliminate unneeded assignment.
668 (rst-promote-region, rst-straighten-decorations)
669 (rst-section-tree, rst-adjust): Use point-marker.
670 (rst-toc-mode-mouse-goto): Avoid setq.
671 (rst-shift-region-guts, rst-shift-region-left)
672 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
673 (rst-convert-bullets-to-enumeration): Use copy-marker.
675 * minibuffer.el (completion-fail-discreetly): New var.
676 (completion--do-completion): Use it.
678 * electric.el (electric-pair-pairs): New var.
679 (electric-pair-post-self-insert-function): Use it.
680 (electric-layout-post-self-insert-function): Don't insert a before
681 newline unless it's actually needed.
683 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
685 * progmodes/python.el (run-python): Explain why we remove the current
686 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
688 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
690 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
692 * progmodes/octave-mod.el: Rely on elecric-*-modes.
693 (octave-mode-map): Don't bind ;, SPC, and LF.
694 (octave-auto-indent, octave-auto-newline): Remove.
695 (electric-layout-rules): Declare.
696 (octave-mode): Set electric-layout-rules.
697 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
698 (octave-reindent-then-newline-and-indent, octave-electric-semi)
699 (octave-electric-space): Remove.
701 * electric.el (electric-layout-mode): New minor mode.
702 (electric--after-char-pos): New function.
703 (electric-indent-post-self-insert-function): Use it.
704 (electric-layout-rules): New var.
705 (electric-layout-post-self-insert-function): New function.
706 (electric-indent-mode): Make them interact better.
708 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
710 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
711 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
712 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
714 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
716 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
717 Make sure to check inside the word (Bug#6761).
719 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
721 * startup.el (command-line): If the cursorColor resource is set,
722 change the cursor face-spec (Bug#7392).
724 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
726 The main features of the following allout.el changes are:
727 - implement user customization for the allout key bindings
728 - add a customization control by which the user can inhibit use of
729 a trailing Ctrl-H, so by default it's reserved for use with
730 describe-prefix-bindings
731 - adapt to new version of called-interactively-p, while
732 maintaining backwards compatibility with old version
733 - fix hotspot navigation so i works properly with meta-modified keys
735 * allout.el (allout-keybindings, allout-bind-keys)
736 (allout-keybindings-binding, allout-prefixed-keybindings)
737 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
738 (allout-keybindings-list, allout-mode-map-adjustments)
739 (allout-setup-mode-map): Establish allout-mode keymaps as user
740 customizable settings, and also establish a customizable setting which
741 regulates whether or not a trailing control-h is reserved for use with
742 describe-prefix-bindings - and inhibit it by default, so that control-h
743 *is* reserved for describe-prefix-bindings unless the user changes it.
745 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
746 and accurately between modified and unmodified events, and handle
747 modified events more comprehensively.
749 * allout.el (allout-substring-no-properties):
750 Alias to use or provide version of `substring-no-properties'.
751 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
753 * allout.el (allout-next-single-char-property-change):
754 Alias to use or provide version of `next-single-char-property-change'.
755 (allout-annotate-hidden, allout-hide-by-annotation):
756 Use `allout-next-single-char-property-change'.
758 * allout.el (allout-select-safe-coding-system):
759 Alias to use or provide version of `select-safe-coding-system'.
760 (allout-toggle-subtree-encryption):
761 Use `allout-select-safe-coding-system'.
763 * allout.el (allout-set-buffer-multibyte):
764 Alias to use or provide version of `set-buffer-multibyte'.
765 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
767 * allout.el (allout-called-interactively-p): Macro for using the
768 different versions of called-interactively-p identically, depending on
769 the subroutine's argument signature.
770 (allout-back-to-current-heading, allout-beginning-of-current-entry):
771 Use `(interactive "p")' instead of `(called-interactively-p)'.
773 * allout.el (allout-init, allout-ascend, allout-end-of-level)
774 (allout-previous-visible-heading, allout-forward-current-level)
775 (allout-backward-current-level, allout-show-children):
776 Use `allout-called-interactively-p' instead of `called-interactively-p'.
778 * allout.el (allout-before-change-handler):
779 Exempt edits to the (overlaid) character after the allout outline
780 bullet from edit confirmation prompt.
782 * allout.el (allout-add-resumptions):
783 Ensure that it respects correct buffer for keybindings.
785 * allout.el (allout-beginning-of-line):
786 Use `allout-previous-single-char-property-change' alias for the sake of
787 diverse compatibility.
789 * allout.el (allout-end-of-line):
790 Use `allout-mark-active-p' to encapsulate respect for mark activity.
792 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
794 * frame.el (frame-notice-user-settings): Don't clobber other
795 user-set parameters when calling face-set-after-frame-default in
796 response to background-color parameter (Bug#7373).
798 2010-11-13 Eli Zaretskii <eliz@gnu.org>
800 * international/characters.el (glyphless-char-display-control):
801 Rename from glyphless-char-control; all users changed. Doc fix.
802 Signal an error if display method is not one of the recognized
805 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
807 * net/tramp-compat.el (tramp-compat-line-beginning-position)
808 (tramp-compat-line-end-position): Remove them.
810 * net/tramp.el (tramp-parse-rhosts-group)
811 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
812 (tramp-parse-hosts-group, tramp-parse-passwd-group)
813 (tramp-parse-netrc-group, tramp-parse-putty-group)
814 * net/tramp-cmds.el (tramp-append-tramp-buffers)
815 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
816 (tramp-sh-handle-file-selinux-context)
817 (tramp-sh-handle-file-name-all-completions)
818 (tramp-sh-handle-insert-directory)
819 (tramp-sh-handle-expand-file-name, tramp-find-executable)
820 (tramp-wait-for-output, tramp-send-command-and-read)
821 * net/tramp-smb.el (tramp-smb-read-file-entry)
822 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
824 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
826 (tramp-remote-coding-commands): Add an alternative using "base64
827 -d -i". This is needed for older base64 versions from GNU
828 coreutils. Reported by Klaus Reichl
829 <Klaus.Reichl@thalesgroup.com>.
831 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
833 * simple.el (count-words-region): New function.
835 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
837 * shell.el (shell-dir-cookie-re): New custom variable.
838 (shell-dir-cookie-watcher): New function.
840 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
841 and compilation-mode (bug#7350).
843 * vc/smerge-mode.el (smerge-refine): Choose better default part to
844 highlight when one of them is empty.
846 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
848 (skeleton-newline): New function.
849 (skeleton-internal-1): Use it.
851 * simple.el (open-line): `newline' may strip trailing space.
853 2010-11-12 Kevin Ryde <user42@zip.com.au>
855 * international/mule-cmds.el (princ-list): Use mapc.
857 2010-11-12 Glenn Morris <rgm@gnu.org>
859 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
860 Use it to replace all instances of "*Compile-Log*"
862 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
864 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
867 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
869 * progmodes/modula2.el: Use SMIE and skeleton.
870 (m2-mode-syntax-table): (*..*) can be nested.
871 Add //...\n. Fix paren syntax.
872 (m2-mode-map): Remove LF and TAB bindings.
873 (m2-indent): Add safety property.
874 (m2-smie-grammar): New var.
875 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
876 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
877 (m2-mode): Use define-derived-mode.
878 (m2-newline, m2-tab): Remove.
879 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
880 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
881 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
882 (m2-import): Use define-skeleton.
884 2010-11-11 Glenn Morris <rgm@gnu.org>
886 * obsolete/lucid.el: Don't warn about any CL functions in this file.
888 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
889 (ls-lisp-verbosity): Add custom :set-after property.
890 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
891 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
892 (ls-lisp-insert-directory): Update caller.
893 (ls-lisp-set-options): New function.
894 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
897 * play/landmark.el (lm-prompt-for-move):
898 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
900 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
902 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
903 (idlwave-study-twins): Prefix dynamic local variable `name'.
904 (idlwave-routine-twin-compare): Update for above change.
906 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
907 Prefix dynamic local variables `name', `kwd', and `link'.
908 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
909 * progmodes/idlw-complete-structtag.el
910 (idlwave-complete-structure-tag-help):
911 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
912 (idlwave-complete-sysvar-tag-help)
913 (idlwave-complete-class-structure-tag-help):
914 Update for above name changes.
916 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
918 * net/browse-url.el (browse-url-browser-function): Change the
919 default to use `browse-url-mail' on mailto: URLs.
921 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
923 * emacs-lisp/package.el (package-read-all-archive-contents):
924 Reset package-archive-contents to nil before re-reading.
926 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
928 * textmodes/flyspell.el (flyspell-word): Do not re-check words
929 already found as misspellings by (flyspell-large-region), just
930 do highlighting (bug#7322).
932 2010-11-10 Glenn Morris <rgm@gnu.org>
934 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
936 * emulation/edt.el (edt-with-position): New macro.
937 (edt-find-forward, edt-find-backward, edt-find-next-forward)
938 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
939 (edt-paragraph-forward, edt-paragraph-backward): Use it.
941 * emulation/tpu-extras.el (tpu-with-position): New macro.
942 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
944 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
946 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
947 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
948 (texinfo-master-menu, texinfo-insert-node-lines)
949 (texinfo-multiple-files-update):
950 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
951 Use line-beginning-position.
953 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
954 No recent Emacs supports system-type `emx'.
956 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
957 (ada-command-separator, ada-default-prj-properties)
958 (ada-find-any-references): Update for above name change.
960 * dirtrack.el (dirtrack-directory-function)
961 (dirtrack-canonicalize-function):
962 * filecache.el (file-cache-completion-ignore-case)
963 (file-cache-case-fold-search, file-cache-ignore-case):
964 * term.el (serial-port-is-file-p): Cosmetic change.
966 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
967 Remove non-existent `windows-95' system-type.
968 * dired.el (dired-chown-program): Remove non-existent `linux'
971 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
972 (ping-program-options): Remove non-existent `linux' system-type.
974 * startup.el (package-initialize): Update declaration.
976 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
977 (ls-lisp-handle-switches): Use time-less-p.
978 (ls-lisp-format-time): Use float-time.
980 * textmodes/remember.el (remember-time-to-seconds): Remove.
981 (remember-store-in-mailbox): Use float-time.
983 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
985 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
986 never a real function.
987 (with-no-warnings): Remove compat stub, now unused.
988 (time-less-p): Doc fix.
989 (time-to-number-of-days): Simplify.
991 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
993 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
994 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
995 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
996 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
997 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
999 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1000 (eshell-shuffle-files, eshell-shorthand-tar-command)
1001 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1002 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1003 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1004 Prefix dynamic local variable `matches'.
1006 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1007 Prefix dynamic local variable `skeleton'.
1009 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1011 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1012 in mail buffer; make yank-action always a command that yanks original
1015 2010-11-09 Glenn Morris <rgm@gnu.org>
1017 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1019 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1021 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1022 completion field (bug#7211).
1024 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1025 Fix handling of backslash escapes.
1026 (python-quote-syntax): Adjust accordingly.
1028 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1030 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1031 (vc-mtn-workfile-branch): Adjust to new output format.
1033 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * international/mule-cmds.el (princ-list): Mark as obsolete.
1037 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1039 * emacs-lisp/smie.el: New package.
1041 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1043 * files.el (backup-by-copying-when-mismatch):
1044 Set `permanent-local' property.
1046 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1047 `permanent-local' property for `backup-by-copying-when-mismatch'.
1049 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1051 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1053 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1055 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1056 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1057 AUTOINOUT for SV style multidimensional arrays, bug294.
1058 Reported by Eric Mastromarchi.
1059 (verilog-preprocess): Use with-current-buffer and
1060 font-lock-fontify-buffer to cleanup style issues.
1062 2010-11-09 Glenn Morris <rgm@gnu.org>
1064 * locate.el (locate, locate-mode): Doc fixes.
1066 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1068 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1069 user for confirmation.
1070 (server-force-stop): Use it.
1071 (server-start): Use server-force-stop for kill-emacs-hook, to
1072 avoid user interaction while killing Emacs.
1074 2010-11-09 Glenn Morris <rgm@gnu.org>
1076 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1077 (meta-indent-line): Simplify.
1079 * vc/emerge.el (emerge-line-number-in-buf):
1080 * textmodes/ispell.el (ispell-region):
1081 * textmodes/fill.el (current-fill-column):
1082 * progmodes/xscheme.el (xscheme-send-current-line):
1083 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1084 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1085 * progmodes/sh-script.el (sh-handle-prev-do):
1086 * progmodes/meta-mode.el (meta-indent-line):
1087 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1089 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1090 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1091 * progmodes/fortran.el (fortran-looking-at-if-then):
1092 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1093 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1094 (cperl-find-pods-heres):
1095 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1096 * net/quickurl.el (quickurl-list-insert):
1097 * net/ldap.el (ldap-search-internal):
1098 * net/eudc.el (eudc-expand-inline):
1099 * mail/sendmail.el (sendmail-send-it):
1100 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1101 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1102 (viper-brac-function):
1103 * calc/calc-yank.el (calc-do-grab-region):
1104 * calc/calc-keypd.el (calc-keypad-press):
1105 * term.el (term-move-columns, term-insert-spaces):
1106 * speedbar.el (speedbar-highlight-one-tag-line):
1107 * simple.el (current-word):
1108 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1109 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1111 * hippie-exp.el (he-line-beg):
1112 * epa.el (epa--marked-keys):
1113 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1114 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1115 (dired-relist-entry):
1116 * buff-menu.el (Buffer-menu-buffer):
1117 * array.el (current-line):
1118 * allout.el (allout-resolve-xref)
1119 (allout-latex-verbatim-quote-curr-line):
1120 Replace yet more uses of end-of-line etc with line-end-position, etc.
1122 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1124 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1125 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1126 (checkdoc-syntax-table): Initialize in the declaration.
1127 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1128 the mode on unconditionally.
1130 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1131 (extent-end-position, extent-start-position): Remove setf method for
1132 non-existing functions (bug#7319).
1134 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1136 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1137 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1138 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1139 (smie-prec2->grammar): Rename from smie-prec2-levels.
1140 (smie-grammar): Rename from smie-op-levels.
1141 (smie-indent--hanging-p): Rename from smie-hanging-p.
1142 (smie-rule-hanging-p): New alias.
1143 (smie-indent--bolp): Rename from smie-bolp.
1144 (smie-indent--hanging-p): New alias.
1145 (smie--token): New dynamically bound variable.
1146 (smie-indent--parent): New function.
1147 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1148 (smie-rule-next-p): Rename from smie-next-p.
1149 (smie-rule-prev-p): Rename from smie-prev-p.
1150 (smie-rule-sibling-p, smie-rule-parent)
1151 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1152 (smie-rule-separator-outdent): New var.
1153 (smie-indent--rule): Merge with smie-indent--column.
1154 (smie-indent-forward-token, smie-indent-backward-token):
1155 Also recognize close parens.
1156 (smie-indent-keyword): Don't use smie-indent--column any more.
1157 (smie-indent-after-keyword): Ignore closers by default.
1158 (smie-indent-line): Use with-demoted-errors.
1159 * progmodes/octave-mod.el (octave-smie-grammar):
1160 Rename from octave-smie-op-levels.
1161 (octave-smie-rules): Adjust to new behavior.
1162 * progmodes/prolog.el (prolog-smie-grammar):
1163 Rename from prolog-smie-op-levels.
1165 2010-11-07 Glenn Morris <rgm@gnu.org>
1167 * eshell/esh-util.el (subst-char-in-string)
1168 (directory-files-and-attributes): These compatibility definitions are
1169 not needed on any version of Emacs since at least 21.4.
1171 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1172 (verilog-get-end-of-line): Remove.
1173 (verilog-within-string, verilog-re-search-forward-substr)
1174 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1175 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1176 Use point-at-bol, point-at-eol.
1177 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1179 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1180 (electric-pascal-terminate-line, pascal-set-auto-comments)
1181 (pascal-indent-paramlist, pascal-indent-declaration)
1182 (pascal-get-lineup-indent, pascal-func-completion)
1183 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1184 Use point-at-bol, point-at-eol.
1185 * progmodes/flymake.el (flymake-line-beginning-position)
1186 (flymake-line-end-position): Remove.
1187 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1188 * eshell/esh-util.el (line-end-position, line-beginning-position):
1189 Remove compat definitions.
1191 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1193 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1194 Use line-end-position.
1196 * emacs-lisp/chart.el (chart-zap-chars):
1197 * play/decipher.el (decipher-set-map):
1198 * progmodes/ada-mode.el (ada-get-current-indent)
1199 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1200 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1201 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1202 (ada-get-all-references):
1203 * progmodes/cperl-mode.el (cperl-electric-paren)
1204 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1205 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1206 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1207 (cperl-word-at-point-hard):
1208 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1209 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1210 (idlwave-shell-display-line):
1211 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1212 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1213 * progmodes/js.el (js--re-search-forward-inner)
1214 (js--re-search-backward-inner):
1215 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1216 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1217 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1218 * textmodes/flyspell.el (flyspell-process-localwords):
1219 * textmodes/ispell.el (ispell-buffer-local-parsing)
1220 (ispell-buffer-local-dict, ispell-buffer-local-words):
1221 Use point-at-bol and point-at-eol.
1223 * speedbar.el (speedbar-generic-item-info)
1224 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1225 (speedbar-add-indicator, speedbar-check-vc-this-line)
1226 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1227 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1228 Replace more uses of end-of-line etc with line-end-position.
1230 2010-11-06 Glenn Morris <rgm@gnu.org>
1232 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1233 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1234 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1235 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1236 (texinfo-multiple-files-update):
1237 * textmodes/table.el (table--probe-cell-left-up)
1238 (table--probe-cell-right-bottom):
1239 * textmodes/picture.el (picture-tab-search):
1240 * textmodes/page-ext.el (pages-copy-header-and-position)
1241 (pages-directory-for-addresses):
1242 * progmodes/vera-mode.el (vera-get-offset):
1243 * progmodes/simula.el (simula-calculate-indent):
1244 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1245 * progmodes/prolog.el (end-of-prolog-clause):
1246 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1247 * progmodes/icon.el (indent-icon-exp):
1248 * progmodes/etags.el (tag-re-match-p):
1249 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1250 * progmodes/ebnf2ps.el (ebnf-begin-file):
1251 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1252 (dcl-save-local-variable):
1253 * play/life.el (life-setup):
1254 * play/gametree.el (gametree-looking-at-ply):
1255 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1256 * mail/sendmail.el (mail-mode-auto-fill):
1257 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1258 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1259 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1260 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1261 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1262 * type-break.el (type-break-file-keystroke-count):
1263 * term.el (term-replace-by-expanded-history-before-point)
1264 (term-skip-prompt, term-extract-string):
1265 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1266 (speedbar-contract-line, speedbar-toggle-line-expansion)
1267 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1268 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1269 * sort.el (sort-skip-fields):
1270 * skeleton.el (skeleton-internal-list):
1271 * simple.el (line-move-finish, line-move-to-column):
1272 * shell.el (shell-forward-command):
1273 * misc.el (copy-from-above-command):
1274 * makesum.el (double-column):
1275 * ebuff-menu.el (electric-buffer-update-highlight):
1276 * dired.el (dired-move-to-end-of-filename):
1277 * dframe.el (dframe-popup-kludge):
1278 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1279 * arc-mode.el (archive-get-lineno):
1280 Use line-end-position and line-beginning-position.
1282 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1283 (idlwave-study-twins): Prefix dynamic local `class'.
1284 (idlwave-routine-twin-compare): Update for above name change.
1286 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1287 Use boundp tests to silence compiler. Update for changed name of
1288 bytecomp-filename variable.
1290 * emulation/viper-cmd.el (viper-read-string-with-history):
1291 Prefix dynamic local `initial'.
1292 (viper-minibuffer-standard-hook): Update for above name change.
1294 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1295 (elint-init-form): Update for above name change.
1297 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1298 local variables `cbeg' and `cend' a prefix.
1299 (mail-extr-voodoo): Update for above name change.
1301 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1302 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1303 (reftex-toc-promote-action): Doc fix.
1305 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1306 `prompt', `data' a prefix.
1307 (reftex-select-post-command-hook, reftex-select-callback)
1308 (reftex-select-mouse-accept, reftex-select-read-cite):
1309 Update for above name changes.
1311 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1312 `refstyle' to reftex-refstyle.
1313 (reftex-offer-label-menu): Update for above name change.
1314 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1315 `refstyle' name change.
1317 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1318 with with-current-buffer.
1319 (diff, template): Give dynamic local variables a prefix.
1320 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1321 (emerge-line-number-in-buf): Update for above name change.
1322 (emerge-combine-versions-internal): Rename local `template' to
1323 emerge-combine-template.
1324 (emerge-combine-versions-edit): Update for above name change.
1326 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1328 * textmodes/reftex-cite.el
1329 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1330 entries with whitespace after \bibitem.
1331 (reftex-create-bibtex-file): Match entries containing numbers and
1332 symbol constituents. Make sure that entries with whitespace at
1333 various places are found.
1335 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1337 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1339 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1341 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1343 2010-11-05 Glenn Morris <rgm@gnu.org>
1345 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1346 (woman2-roff-buffer): Give local variable `request' a prefix.
1347 (woman0-macro): Rename argument `request' in the same way.
1348 (woman-request): New name for `request' dynamic variable.
1349 (woman-unquote, woman-forward-arg): Update for above name change.
1350 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1351 (woman1-unquote): New name for `unquote' dynamic variable.
1352 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1353 (woman-translations): Rename from `translations'. No longer global.
1354 (woman2-tr, woman-translate): Update for above name change.
1355 (woman-translate): Check for bound variable.
1356 (woman2-roff-buffer): Give local variable `translations' a prefix.
1358 * play/doctor.el: Give all local variables a prefix. Update callers.
1359 (doc$, doctor-put-meaning): Use backquote.
1361 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1362 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1364 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1365 variables bytes, ptr, op a prefix.
1366 (disassemble-offset): Update for above change.
1368 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1370 * emacs-lisp/package.el (package-unpack): Remove no-op.
1371 (package--builtins, package--dir): Doc fix.
1372 (package-activate-1, package-activate, package-install)
1373 (package-compute-transaction): Fix error message.
1374 (package-delete): Use delete-directory. Omit system packages.
1375 (package-initialize): Set package-alist to nil first.
1376 (package-menu-mark-delete, package-menu-mark-install): Don't add
1377 symbols that are inconsistent with the package state.
1378 (package-menu-execute): Perform deletions and installations as
1379 single batch operations.
1381 2010-11-03 Glenn Morris <rgm@gnu.org>
1383 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1384 (props): Remove unnecessary declaration.
1386 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1387 set-process-query-on-exit-flag.
1389 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1390 (reftex-toc-do-promote): Remove unused local `mpos'.
1391 (reftex-toc-restore-region): Make `mpos' local to this function.
1393 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1395 * play/landmark.el (lm-losing-threshold): Correct spelling.
1396 (lm-human-plays): Use new name.
1398 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1399 (gomoku-human-plays): Use new name.
1401 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1402 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1403 (gomoku-score-trans-table, gomoku-winning-threshold)
1404 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1406 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1408 * emacs-lisp/package.el: Don't put built-in packages in
1409 package-alist, to avoid loading inefficiencies.
1410 (package-built-in-p): Make VERSION optional, and treat it as a
1411 minimum acceptable version.
1412 (package-activate): Search separately for built-in packages.
1413 Emit a warning if a dependency fails.
1414 (define-package): Handle most common case, where there is no
1415 obsolete package, first.
1416 (package-compute-transaction): Print required version in error.
1417 (package--initialized): New variable.
1418 (list-packages): Use it.
1419 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1420 built-in packages in packages-alist; keep it separate.
1421 Set package--initialized.
1422 (describe-package): Avoid activating packages as a side-effect.
1423 Search separately for built-in packages.
1424 (describe-package-1): Handle the case where an elpa package is
1425 simultaneously built-in and available/installed.
1426 (package-installed-p, package--generate-package-list):
1427 Search separately for built-in packages.
1428 (package-load-descriptor): Doc fix.
1430 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1433 Handle __DATA__ and __END__.
1435 2010-11-02 Noah Friedman <friedman@splode.com>
1437 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1438 nil, do not ask to recompile files that are not already compiled,
1439 and do not recompile them.
1441 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1443 * emacs-lisp/package.el (package-initialize): Ensure that
1444 obsoleted built-in packages are not in package-activated-list
1446 (describe-package-1): Make the "installed" status override
1449 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1451 * subr.el (version-separator, version-regexp-alist): Remove '*'
1453 (version-list-<=, version<=, version=): Doc fix.
1455 2010-11-01 Kenichi Handa <handa@m17n.org>
1457 * faces.el (glyphless-char): Inherit underline for tty.
1459 2010-11-01 Kenichi Handa <handa@m17n.org>
1461 Implement various display methods for glyphless characters.
1463 * international/characters.el (char-acronym-table): New variable.
1464 (glyphless-char-control): New variable.
1465 (update-glyphless-char-display): New funciton.
1467 * faces.el (glyphless-char): New face.
1469 2010-11-01 Glenn Morris <rgm@gnu.org>
1471 * calendar/holidays.el (general-holidays, oriental-holidays)
1472 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1473 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1474 the definitions of their targets.
1476 * emacs-lisp/smie.el (smie): New custom group.
1477 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1479 * faces.el (xw-defined-colors, x-setup-function-keys):
1480 * mouse-sel.el (x-select-text):
1481 * term/w32console.el (x-setup-function-keys): Update declarations.
1483 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1485 * textmodes/ispell.el (comment-add): Declare.
1487 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1490 * info.el (finder-keywords-hash, package-alist): Declare.
1492 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1494 * finder.el (finder-compile-keywords): Don't use intern-soft,
1495 since package names may not yet exist in the obarray.
1497 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1499 * vc/vc-arch.el (vc-arch-checkin):
1500 * vc/vc-cvs.el (vc-cvs-checkin):
1501 * vc/vc-mtn.el (vc-mtn-checkin):
1502 * vc/vc-rcs.el (vc-rcs-checkin):
1503 * vc/vc-sccs.el (vc-sccs-checkin):
1504 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1505 since 2010-04-21 commit by Stefan Monnier.
1507 2010-11-01 Glenn Morris <rgm@gnu.org>
1509 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1511 * startup.el (package-enable-at-startup, package-initialize):
1514 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1517 2010-10-31 Julien Danjou <julien@danjou.info>
1519 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1520 (byte-recompile-directory):
1521 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1522 Use `byte-recompile-file'.
1524 2010-10-31 Glenn Morris <rgm@gnu.org>
1526 * cus-start.el: Handle standard values via a keyword.
1527 Only set version property if specified.
1528 (cursor-in-non-selected-windows, menu-bar-mode)
1529 (tool-bar-mode, show-trailing-whitespace):
1530 Do not specify standard values.
1531 (transient-mark-mode, temporary-file-directory): Use :standard.
1533 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1535 * term/x-win.el (x-get-selection-value): New function that gets
1536 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1538 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1540 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1541 preserve owner and group when editing files. (Bug#7289)
1543 2010-10-31 Glenn Morris <rgm@gnu.org>
1545 * speedbar.el (speedbar-mode):
1546 * play/fortune.el (fortune-in-buffer, fortune):
1547 * play/gomoku.el (gomoku-mode):
1548 * play/landmark.el (lm-mode):
1549 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1550 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1552 * select.el (x-selection): Mark it as an obsolete alias.
1554 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1556 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1557 major-mode (bug#7284).
1559 2010-10-31 Glenn Morris <rgm@gnu.org>
1561 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1562 rather than just an unused variable that inherits from the real one.
1564 2010-10-31 Alan Mackenzie <acm@muc.de>
1566 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1567 This fixes bug #7185.
1569 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
1571 * startup.el (command-line): Search for package directories, and
1572 don't load package.el if none are found.
1574 * emacs-lisp/package.el (describe-package, list-packages):
1575 Call package-initialize if it has not been called yet.
1577 2010-10-30 Alan Mackenzie <acm@muc.de>
1579 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1580 which fontifies the tail of an enum.
1581 (c-basic-matchers-after): Insert a call to the above new function.
1582 This fixes bug #7264.
1584 2010-10-30 Glenn Morris <rgm@gnu.org>
1586 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1587 tool-bar-mode, transient-mark-mode. (Bug#7306)
1588 Include the :set property in the dumped Emacs.
1590 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1592 SMIE: change indent rules format, improve smie-setup.
1593 * emacs-lisp/smie.el (smie-precs-precedence-table)
1594 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1595 Mark them pure so the tables gets built at compile time.
1596 (smie-bnf-precedence-table): Store the closer-alist in the table.
1597 (smie-prec2-levels): Preserve the closer-alist.
1598 (smie-blink-matching-open): Be more forgiving in case of indentation.
1599 (smie-hanging-p): Rename from smie-indent--hanging-p.
1600 (smie-bolp): Rename from smie-indent--bolp.
1601 (smie--parent, smie--after): New dynamic vars.
1602 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1603 (smie-indent-rules): Remove.
1604 (smie-indent--offset-rule): Remove fun.
1605 (smie-rules-function): New var.
1606 (smie-indent--rule): New fun.
1607 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1608 (smie-indent-exps): Use it.
1609 (smie-setup): Setup paren blinking; add keyword args for token
1610 functions; extract closer-alist from op-levels.
1611 (smie-indent-debug-log): Remove var.
1612 (smie-indent-debug): Remove fun.
1613 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1614 (prolog-smie-rules): New fun to replace it.
1615 (prolog-mode-variables): Simplify.
1616 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1617 it's setup automatically.
1618 (octave-smie-indent-rules): Remove.
1619 (octave-smie-rules): New fun to replace it.
1620 (octave-mode): Simplify.
1622 2010-10-29 Glenn Morris <rgm@gnu.org>
1624 * files.el (temporary-file-directory): Remove (already defined in C).
1625 * cus-start.el: Add temporary-file-directory.
1627 * abbrev.el (abbrev-mode):
1628 * composite.el (auto-composition-mode):
1629 * menu-bar.el (menu-bar-mode):
1630 * simple.el (transient-mark-mode):
1631 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1632 that they do not define the associated variables twice.
1633 * simple.el (transient-mark-mode): Remove defvar.
1634 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1635 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1636 Handle multiple groups, and also custom-delayed-init-variables.
1637 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1639 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1641 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1642 (pcase-if): Add one minor optimization.
1643 (pcase-split-equal): Rename from pcase-split-eq.
1644 (pcase-split-member): Rename from pcase-split-memq.
1645 (pcase-u1): Add strings to the member optimization.
1646 Add `guard' variant of predicates.
1647 (pcase-q1): Add string patterns.
1649 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1651 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1653 2010-10-28 Glenn Morris <rgm@gnu.org>
1655 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1656 Move menu-bar related settings to ../menu-bar.el.
1657 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1658 Move ns-specific settings here from term/ns-win.el.
1660 * simple.el (x-selection-owner-p): Remove unused declaration.
1662 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * minibuffer.el (completion-cycling): New var (bug#7266).
1665 (minibuffer-complete, completion--do-completion):
1666 Use completion--flush-all-sorted-completions.
1667 (minibuffer-complete): Only cycle if completion-cycling is set.
1668 (completion--flush-all-sorted-completions): Unset completion-cycling.
1669 (minibuffer-force-complete): Set completion-cycling.
1670 (completion-all-sorted-completions): Move declaration before first use.
1672 2010-10-28 Leo <sdl.web@gmail.com>
1674 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1675 which changes the order of matches seen by users (bug#7231).
1677 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
1679 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1680 Don't confuse -omega as "-o mega".
1682 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1684 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1685 (log-edit-author): New dynamic var.
1686 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1687 to return the author if different from committer.
1688 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1690 * play/landmark.el: Adjust commenting convention.
1691 (lm-nil-score): Rename from nil-score.
1692 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1693 (OOOOscore): Move into a let in lm-score-trans-table.
1694 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1696 * electric.el (electric-indent-chars): Autoload.
1697 * progmodes/octave-mod.el (octave-mode):
1698 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1699 (ruby-mode-abbrev-table): Merge initialization and declaration.
1701 2010-10-27 Glenn Morris <rgm@gnu.org>
1703 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1706 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1708 * term/ns-win.el: Restore require of cl when compiling.
1709 (menu-bar-final-items): Remove non-existent `windows' menu.
1710 (ns-handle-nxopen): Optionally handle the temp-case.
1711 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1712 (ns-insert-file, ns-find-file): Use `pop'.
1714 2010-10-26 Glenn Morris <rgm@gnu.org>
1716 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1718 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1720 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1722 * term/common-win.el (x-setup-function-keys): Remove most of the
1723 keymappings. Comment on the remaining ones.
1725 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1727 * server.el (server-port): New option. (Bug#854)
1728 (server-start): Use server-port.
1730 2010-10-26 Glenn Morris <rgm@gnu.org>
1732 * term/ns-win.el (ns-version-string): Remove unused declaration.
1733 (ns-invocation-args): Change to x-invocation-args.
1734 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1735 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1736 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1737 Use x-invocation-args instead of ns-invocation-args.
1738 (ns-initialize-window-system, handle-args-function-alist):
1739 Use x-handle-args instead of ns-handle-args.
1740 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1741 * startup.el (command-line-ns-option-alist): Replace
1742 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1743 ns-handle-iconic with the x- equivalents.
1745 * term/common-win.el (x-select-enable-clipboard):
1746 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1748 * term/ns-win.el: No need to require cl when compiling.
1749 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1750 (xw-defined-colors): Use the common-win definitions.
1751 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1752 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1753 * term/common-win.el (x-select-text, x-alternatives-map)
1754 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1755 * loadup.el [ns]: Load common-win.
1757 2010-10-26 Daiki Ueno <ueno@unixuser.org>
1759 * epa-mail.el (epa-mail-encrypt): Handle local-part only
1760 recipients; expand mail aliases (Bug#7280).
1762 2010-10-25 Glenn Morris <rgm@gnu.org>
1764 * term/common-win.el (x-handle-switch): Simplify with pop.
1765 Optionally handle numeric switches.
1766 (x-handle-numeric-switch): Just call x-handle-switch.
1767 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1768 (x-handle-name-switch, x-handle-display, x-handle-args):
1771 * term/ns-win.el: Do not require easymenu.
1772 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1773 <spell>: Move adjustments to menu-bar.el.
1774 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1775 <separator-undo, spell>: Move ns-win's adjustments here.
1776 * loadup.el [ns]: Do not load easymenu.
1778 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1780 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1783 * startup.el (fancy-startup-tail): Instead of using inline images,
1784 refer to image files from etc/.
1786 * wid-edit.el (checkbox): Likewise.
1787 (widget-image-find): Center image specs.
1789 2010-10-24 Glenn Morris <rgm@gnu.org>
1791 * term/ns-win.el (x-select-text): Doc fix.
1792 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1793 (x-select-text): Move to term/common-win.
1794 * term/w32-win.el (xw-defined-colors): Move to common-win.
1795 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1796 (x-setup-function-keys, x-select-text): Move to common-win.
1797 * term/common-win.el (x-select-text, x-alternatives-map)
1798 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1801 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
1803 * net/mairix.el (mairix-searches-mode-map):
1804 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1806 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
1808 * verilog-mode.el (verilog-directive-re): Make this variable
1809 auto-built for efficiency of execution and updating.
1810 (verilog-extended-complete-re): Support 'pure' fucntion & task
1811 declarations (these have no bodies).
1812 (verilog-beg-of-statement): General cleanup to enable support of
1813 'pure' fucntion & task declarations (these have no bodies).
1814 These efforts together fix Verilog bug210 from veripool; which was also
1815 noticed by Steve Pearlmutter.
1816 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1817 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1818 Support `elsif. Reported by Shankar Giri.
1819 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1820 attribute handling for lining up declarations and assignments.
1821 (verilog-beg-of-statement-1): Fix issue where continued declaration
1822 is indented differently if it is after a begin..end clock.
1823 (verilog-in-attribute-p, verilog-skip-backward-comments)
1824 (verilog-skip-forward-comment-p): Support proper treatment of
1825 attributes by indent code. Reported by Jeff Steele.
1826 (verilog-in-directive-p): Fix comment to correctly describe function.
1827 (verilog-backward-up-list, verilog-in-struct-region-p)
1828 (verilog-backward-token, verilog-in-struct-p)
1829 (verilog-in-coverage-p, verilog-do-indent)
1830 (verilog-pretty-declarations): Use verilog-backward-up-list as
1831 wrapper around backward-up-list inorder to properly skip comments.
1832 Reported by David Rogoff.
1833 (verilog-property-re, verilog-endcomment-reason-re)
1834 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1835 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1836 of if). Reported by Max Bjurling and
1837 (verilog-calc-1): Fix for clocking block in modport
1838 declaration. Reported by Brian Hunter.
1840 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
1842 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1843 (verilog-gate-keywords, verilog-read-sub-decls)
1844 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1845 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1846 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1847 (verilog-read-decls): Fix spaces in V2K module parameters causing
1848 mis-identification as interfaces, bug287.
1849 (verilog-read-decls): Fix not treating "parameter string" as a
1850 parameter in AUTOINSTPARAM.
1851 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1852 treating `elsif similar to `endif inside AUTOSENSE.
1853 (verilog-do-indent): Implement correct automatic or static task or
1854 function end comment highlight. Reported by Steve Pearlmutter.
1855 (verilog-font-lock-keywords-2): Fix highlighting of single
1856 character pins, bug264. Reported by Michael Laajanen.
1857 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1858 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1859 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1860 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
1861 (verilog-pretty-expr): Fix interactive arguments, bug272.
1862 Reported by Mark Johnson.
1863 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1864 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1865 bug269. Suggested by Gary Delp.
1866 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1867 (verilog-preprocessor, verilog-set-compile-command):
1868 Create verilog-preprocess and verilog-preprocessor to show
1869 preprocessed output.
1870 (verilog-get-beg-of-line, verilog-get-end-of-line)
1871 (verilog-modi-file-or-buffer, verilog-modi-name)
1872 (verilog-modi-point, verilog-within-string): Move defmacro's
1873 before first use to avoid warning. Reported by Steve Pearlmutter.
1874 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1875 (verilog-colorize-region, verilog-highlight-buffer)
1876 (verilog-highlight-includes, verilog-highlight-modules)
1877 (verilog-highlight-region, verilog-mode): Rename colorize to
1878 highlight to match other packages. Disable module highlighting,
1879 as received speed complaints, reenable for experimentation only
1880 using new verilog-highlight-modules.
1881 (verilog-read-decls): Fix regexp stack overflow in very large
1882 AUTO_TEMPLATEs, bug250.
1883 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1884 (verilog-scan): Create verilog-save-buffer-state to standardize
1885 making insignificant changes that shouldn't call hooks.
1886 (verilog-save-no-change-functions, verilog-save-scan-cache)
1887 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1888 Create verilog-save-no-change-functions to wrap verilog-scan
1889 preservation, and fix to work with nested preserved calls.
1890 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1891 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1892 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1893 (verilog-submit-bug-report): Update variable list to be complete.
1894 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1895 breaking on-the-fly font-locking.
1896 (verilog-colorize-buffer, verilog-colorize-include-files)
1897 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1898 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1899 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1900 AUTOINST cell instance name, middle mouse button now finds-file on
1901 it. Suggested by Brad Dobbie.
1902 (verilog-alw-get-temps, verilog-auto-reset)
1903 (verilog-auto-sense-sigs, verilog-read-always-signals)
1904 (verilog-read-always-signals-recurse): Fix loop indexes being
1905 AUTORESET. AUTORESET now assumes any variables in the
1906 initialization section of a for() should be ignored.
1907 Reported by Dan Dever.
1908 (verilog-error-font-lock-keywords)
1909 (verilog-error-regexp-emacs-alist)
1910 (verilog-error-regexp-xemacs-alist): Fix error detection of
1911 Cadence HAL, reported by David Asher. Repair drift between the
1912 three similar error variables.
1913 (verilog-modi-lookup, verilog-modi-lookup-cache)
1914 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1915 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1916 Fix slow verilog-auto expansion on very large files.
1917 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1918 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1919 "{1*2{...". Broke in last revision.
1920 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1921 submodule connections with replications "{#{a},#{b}}".
1923 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
1925 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1926 Fix typo in docstring.
1928 2010-10-24 Kenichi Handa <handa@m17n.org>
1930 * face-remap.el (text-scale-adjust): Call read-event with a proper
1933 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1935 * emacs-lisp/unsafep.el: Don't mark functions that display
1936 messages as safe. Suggested by Johan Bockgård.
1938 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1941 Turn comments into docstrings.
1943 * minibuffer.el (completion--replace): Move point where it belongs
1944 when there's a common suffix (bug#7215).
1946 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1948 Merge read-color and facemenu-read-color (Bug#7242).
1950 * faces.el (read-color): Use the completion code from
1951 facemenu-read-color. Require match in completion. Doc fix.
1953 * facemenu.el (facemenu-read-color): Alias for read-color.
1954 (facemenu-set-foreground, facemenu-set-background):
1957 * frame.el (set-background-color, set-foreground-color)
1958 (set-cursor-color, set-mouse-color, set-border-color):
1961 2010-10-24 Leo <sdl.web@gmail.com>
1963 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1964 argument of delete-file and delete-directory (Bug#7011).
1966 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
1968 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1971 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
1973 * emacs-lisp/package.el (package--generate-package-list): Make the
1974 *Packages* buffer read-only.
1976 2010-10-24 Alan Mackenzie <acm@muc.de>
1978 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1979 result of `c-beginning-of-decl-1' between invocations of a lambda
1980 function (Bug #7265).
1982 2010-10-24 Daiki Ueno <ueno@unixuser.org>
1984 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1985 executable is not available on the system (Bug#7268).
1987 2010-10-24 Glenn Morris <rgm@gnu.org>
1989 * select.el (selection-coding-system, next-selection-coding-system):
1990 Sync doc with C versions.
1992 * w32-vars.el (x-select-enable-clipboard):
1993 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1994 * term/common-win.el (x-select-enable-clipboard): Move here.
1996 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1997 definition of C variable.
1999 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2000 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2001 Don't redefine things that are defined in C.
2002 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2003 (show-trailing-whitespace, auto-hscroll-mode)
2004 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2005 Set up the appropriate custom properties.
2007 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2010 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2011 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2012 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2013 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2015 2010-10-23 Glenn Morris <rgm@gnu.org>
2017 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2020 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2021 Sync docs with C version.
2023 * term/ns-win.el (xw-defined-colors):
2024 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2026 * term/pc-win.el (x-select-enable-clipboard):
2027 * term/x-win.el (x-select-enable-clipboard):
2028 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2030 * comint.el (comint-password-prompt-regexp): Make it less vague.
2033 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2035 * help.el (finder-by-keyword): Remove unnecessary autoload.
2037 2010-10-22 Glenn Morris <rgm@gnu.org>
2039 * loadup.el: Unconditionally load float-sup.
2040 * paren.el (show-paren-delay):
2041 * emacs-lisp/float-sup.el:
2042 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2043 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2044 (lazy-lock-stealth-verbose): Assume float support.
2045 * ps-print.el: Assume float support on Emacs.
2046 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2047 Remove non-float branch.
2049 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2050 src/Makefile no longer being pre-processed.
2052 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * emacs-lisp/find-func.el (find-library): Use test-completion.
2056 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2058 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2060 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2062 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2063 space in stat format string.
2064 (tramp-send-command): Unset $PS1 when using here documents, in
2065 order not to get several prompts.
2066 (tramp-get-inline-coding): Return `nil' in case of errors.
2068 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2070 * hexl.el (hexl-mode, hexl-mode-exit):
2071 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2072 (hexl-revert-buffer-function): New function.
2073 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2075 2010-10-19 Alan Mackenzie <acm@muc.de>
2077 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2078 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2079 that these keywords aren't wrongly matched as identifiers.
2081 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2082 setting of c-new-BEG and c-new-END from c-before-change to
2083 c-after-change. (Bug#7181)
2085 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2087 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2090 * custom.el (custom-theme-set-variables): Likewise.
2091 (load-theme): Add custom-theme-set-faces and
2092 custom-theme-set-variables to safe-functions while loading.
2093 (custom-enabled-themes): Mark as risky.
2095 2010-10-18 Julien Danjou <julien@danjou.info>
2097 * bindings.el: Remove end dashes in default mode-line-format.
2099 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2101 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2102 to delete-forward-char.
2104 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2105 deletechar, and hence delete-forward-char.
2107 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * repeat.el (repeat): Use read-key (bug#6256).
2111 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2113 * emacs-lisp/unsafep.el: Don't mark functions that display
2114 messages as safe. Suggested by Johan Bockgård.
2116 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * minibuffer.el (completion--replace): Move point where it belongs
2119 when there's a common suffix (bug#7215).
2121 2010-10-19 Kenichi Handa <handa@m17n.org>
2123 * international/characters.el: Add category '|' (word breakable)
2124 to fullwidth characters.
2126 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2128 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2129 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2130 order to make stat results a float. Patch by Andreas Schwab
2131 <schwab@linux-m68k.org>.
2133 2010-10-18 Julien Danjou <julien@danjou.info>
2135 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2136 hidden by `make-pointer-invisible'.
2138 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * files.el (locate-file-completion-table): Strip non-matching elements
2141 before checking length of list (bug#7238).
2143 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2145 * custom.el (custom-theme-set-variables): Mark as a safe function.
2146 (load-theme): Check forms using unsafep.
2148 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2150 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2152 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2153 Fix aspell data file searching (bug#7230).
2155 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2157 * cus-theme.el (custom-theme--migrate-settings): New var.
2158 (customize-create-theme): Allow editing the `user' theme.
2159 (custom-theme-add-variable, custom-theme-add-var-1)
2160 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2161 to the front of each variable or face widget.
2162 (custom-theme-write): Save theme settings in the correct order.
2163 Optionally, remove saved settings from user customizations.
2164 (custom-theme-write-variables, custom-theme-write-faces):
2165 Save only the checked widgets.
2166 (customize-themes): Add a link for migrating custom settings.
2168 * custom.el (custom-declare-theme, provide-theme):
2169 Use custom-theme-name-valid-p.
2170 (custom-theme-name-valid-p): Remove checks that are now
2171 unnecessary since themes no longer obey load-path.
2173 * cus-edit.el (custom-variable-value-create): For the simple
2174 style, hide documentation string when hidden.
2176 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2178 * cus-edit.el (custom-variable, custom-face): Combine the
2179 :inhibit-magic and :display-style properties into a single
2180 :custom-style property.
2181 (custom-toggle-hide-variable, custom-toggle-hide-face):
2182 New functions. If hiding an edited value, save it to :shown-value.
2183 (custom-variable-value-create, custom-face-value-create): Use them.
2184 (custom-magic-reset): Allow magic property to be unset.
2186 * custom.el: Custom themes no longer use load-path.
2187 (custom-theme-load-path): New option. Change built-in theme
2189 (custom-enabled-themes): Add custom-theme-load-path dependency.
2190 (custom-theme--load-path): New function.
2191 (load-theme, custom-available-themes): Use it.
2193 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2194 (customize-themes): Link to custom-theme-load-path variable.
2195 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2196 :custom-style property.
2198 * themes/*.el: Moved to etc/.
2200 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2202 * textmodes/reftex-cite.el
2203 (reftex-extract-bib-entries-from-thebibliography): Do not move
2204 point when searching for \bibitem entries. Match entries with
2205 spaces or tabs in front of arguments.
2207 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2209 * cus-theme.el (customize-create-theme): Delete overlays after
2210 erasing. If given a THEME arg, display only the faces of that arg
2211 instead of custom-theme--listed-faces.
2212 (custom-theme-variable-menu, custom-theme-variable-action)
2213 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2214 (custom-theme-add-variable, custom-theme-add-face): Apply value
2215 from the theme settings, instead of the current value.
2216 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2217 (custom-theme-visit-theme): Allow calling outside theme buffers.
2218 (custom-theme-merge-theme): Don't enable the theme when merging.
2219 (custom-theme-write-variables, custom-theme-write-faces): Use the
2220 :shown-value properties to save buffer values, not global ones.
2221 (customize-themes): Display a warning about user customizations.
2223 * cus-edit.el (custom-variable-value-create)
2224 (custom-face-value-create): Obey new special properties
2225 :shown-value and :inhibit-magic.
2227 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2229 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2230 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2233 2010-10-14 Kenichi Handa <handa@m17n.org>
2235 * mail/rmail.el (rmail-show-message-1): Catch an error of
2236 base64-decode-region and just show an error message (bug#7165).
2238 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2239 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2240 a font-spec (bug#7197).
2242 2010-10-14 Glenn Morris <rgm@gnu.org>
2244 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2246 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2248 * international/mule.el (define-coding-system):
2249 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2250 * composite.el (compose-region): Fix typo in docstring.
2252 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2254 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2255 only after checking the theme-face property.
2257 * faces.el (face-spec-reset-face): Reset all attributes in one
2258 single call to set-face-attribute.
2259 (face-spec-match-p): Make it a defsubst.
2260 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2261 (x-create-frame-with-faces, tty-create-frame-with-faces)
2262 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2263 frame-set-background-mode, since they are recomputed immediately
2264 afterwards in face-set-after-frame-default.
2265 (face-set-after-frame-default): Minor optimization.
2266 (cursor): Provide non-trivial defface spec.
2268 * custom.el (custom-theme-recalc-face): Simplify.
2270 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2272 * calc/calc-alg.el (math-var): Rename from `var'.
2273 (math-is-polynomial, math-is-poly-rec): Replace `var'
2276 * calc/calcalg2.el (math-var): Rename from `var'.
2277 (calcFunc-table, math-scan-for-limits): Replace `var'
2280 2010-10-13 Glenn Morris <rgm@gnu.org>
2282 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2284 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2286 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2288 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2290 * net/tls.el (tls-program): Remove spurious %s from openssl.
2291 (tls-starttls-switches): Remove starttls hack.
2292 (open-tls-stream): Ditto.
2293 (tls-find-starttls-argument): Ditto.
2295 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2297 * image.el (image-library-alist): Declare as obsolete alias.
2298 (image-type-available-p): Use `dynamic-library-alist'.
2300 * term/w32-win.el (dynamic-library-alist):
2301 Use instead of `image-library-alist'.
2303 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2305 * subr.el (last): Make it faster. (Bug#7174)
2307 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2309 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2311 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2313 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2314 (describe-theme-1): Extract doc from unloaded themes.
2316 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2318 * themes/tango-theme.el:
2319 * themes/tango-dark-theme.el:
2320 * themes/wheatgrass-theme.el: New files.
2322 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2324 * cus-theme.el (describe-theme, customize-themes)
2325 (custom-theme-save): New commands.
2326 (custom-new-theme-mode-map): Bind C-x C-s.
2327 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2328 (customize-create-theme): New optional arg THEME.
2329 (custom-theme-revert): Use it.
2330 (custom-theme-visit-theme): Remove dead code.
2331 (custom-theme-merge-theme): Use custom-available-themes.
2332 (custom-theme-write): Make interactive.
2333 (custom-theme-write): Use custom-theme-name-valid-p.
2334 (describe-theme-1, custom-theme-choose-revert)
2335 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2337 (custom-theme-allow-multiple-selections): New option.
2338 (custom-theme-choose-mode): New major mode.
2340 * custom.el (custom-theme-set-variables): Remove dead code.
2341 Obey custom--inhibit-theme-enable.
2342 (custom--inhibit-theme-enable): New var.
2343 (provide-theme): Obey it.
2344 (load-theme): Replace load with manual read/eval, in order to
2345 check for correctness. Use custom-theme-name-valid-p.
2346 (custom-theme-name-valid-p): New function.
2347 (custom-available-themes): Use it.
2349 * cus-edit.el (custom--initialize-widget-variables): New function.
2350 (Custom-mode): Use it.
2352 * cus-face.el (custom-theme-set-faces): Remove dead code.
2353 Obey custom--inhibit-theme-enable.
2355 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2357 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2359 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2361 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2363 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2364 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2365 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2367 * cus-start.el (all): ns-right-alternate-modifier is new.
2369 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2371 * emacs-lisp/lisp.el (lisp-completion-at-point):
2372 Use emacs-lisp-mode-syntax-table for the whole function.
2374 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2376 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2377 instead of font-lock-mode before adding keywords.
2378 Remove hi-lock-mode off code. Remove inhibit hack.
2379 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2380 non-nil; removed hook inhibit hack.
2382 2010-10-12 Glenn Morris <rgm@gnu.org>
2384 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2385 (load-path-shadows-find): ... to this.
2386 (list-load-path-shadows): Update for above change.
2388 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2390 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2392 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2393 Fix comment for declare-function.
2395 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2397 * custom.el (custom-fix-face-spec): New function; code moved from
2398 custom-face-edit-fix-value.
2399 (custom-push-theme): Use it when checking if a face has been
2400 changed outside customize.
2401 (custom-available-themes): New function.
2402 (load-theme): Use it.
2404 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2406 * custom.el (custom-push-theme): Cleanup (use cond).
2407 (disable-theme): Recompute the saved-face property.
2408 (custom-theme-recalc-face): Follow face alias before setting prop.
2410 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2411 New variables, containing checkbox images.
2413 * startup.el (fancy-startup-tail):
2414 * wid-edit.el (checkbox): Use them.
2416 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2418 * shell.el (shell-mode-map):
2419 * progmodes/modula2.el (m2-mode-map):
2420 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2421 * play/mpuz.el (mpuz-mode-map):
2422 * play/landmark.el (lm-mode-map):
2423 * play/decipher.el (decipher-mode-map):
2424 * play/5x5.el (5x5-mode-map):
2425 * net/telnet.el (telnet-mode-map):
2426 * net/quickurl.el (quickurl-list-mode-map):
2427 * net/mairix.el (mairix-searches-mode-map):
2428 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2429 * net/dig.el (dig-mode-map):
2430 * mail/mspools.el (mspools-mode-map):
2431 * hexl.el (hexl-mode-map):
2432 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2433 (wordstar-C-o-map, wordstar-C-q-map):
2434 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2435 * emacs-lisp/chart.el (chart-map):
2436 * edmacro.el (edmacro-mode-map):
2437 * erc/erc-list.el (erc-list-menu-mode-map):
2438 * array.el (array-mode-map): Declare and define in one step.
2440 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2442 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2444 * epa.el (epa-passphrase-callback-function): Display filename
2445 passed as the 3rd arg.
2446 * epa-file.el (epa-file-passphrase-callback-function):
2447 Pass filename to epa-passphrase-callback-function.
2449 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2451 * cus-edit.el (custom-face-widget-to-spec)
2452 (custom-face-get-current-spec, custom-face-state): New functions.
2453 (custom-face-set, custom-face-mark-to-save)
2454 (custom-face-value-create, custom-face-state-set): Use them.
2456 * cus-theme.el (custom-theme--listed-faces): New var.
2457 (customize-create-theme): Use *Custom Theme* as the buffer name.
2458 Set revert-buffer-function. Optional arg BUFFER. Insert all
2459 faces listed in custom-theme--listed-faces.
2460 (custom-theme-revert): New function.
2461 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2463 (custom-theme-write): Prompt for theme name if empty.
2464 (custom-theme-write-variables): Use dolist.
2465 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2467 2010-10-09 Alan Mackenzie <acm@muc.de>
2469 Enhance fontification of declarators to take account of the
2470 presence/absence of "typedef".
2472 * cc-engine.el (c-forward-type): New &optional param
2474 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2475 presence of either or both of a "struct"-like keyword and "typedef".
2477 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2478 fontification of declarators which follow a "}".
2479 (c-font-lock-declarations): Fontify declarators according to the
2480 presence/absence of "typedef".
2482 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2484 (c-typedef-decl-key): New lang variable built from
2485 c-typedef-decl-kwds.
2487 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2489 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2490 since that's too annoying. Move the filter groups commands to
2493 * epa.el (epa-passphrase-callback-function): Say what we're
2494 querying the password for.
2496 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2497 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2499 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2501 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2502 (custom-magic-value-create): Pad button tags with spaces.
2503 (custom-face-edit): New variable.
2504 (custom-face-value-create): Determine whether to use the usual
2505 face editor here, instead of using custom-face-selected.
2506 Pass face defaults to custom-face-edit widget.
2507 (custom-face-selected, custom-display-unselected): Delete widgets.
2508 (custom-display-unselected-match): Function removed.
2509 (custom-face-set, custom-face-mark-to-save):
2510 Accept custom-face-edit widgets as the direct widget child.
2512 * wid-edit.el (widget--completing-widget): New var.
2513 (widget-default-complete): Bind it when doing completion.
2514 (widget-string-complete, widget-file-complete): Use it.
2516 2010-10-09 Glenn Morris <rgm@gnu.org>
2518 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2519 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2520 (holiday-hebrew-misc): Small simplifications.
2522 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2524 * net/browse-url.el: Don't require thingatpt, term, dired,
2525 executable, or w3-auto when compiling.
2526 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2528 (browse-url-text-emacs): Require term.
2530 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2532 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2534 2010-10-08 Glenn Morris <rgm@gnu.org>
2536 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2538 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2539 (shadows-compare-text-p): Make it an obsolete alias for...
2540 (load-path-shadows-compare-text): ... new name.
2541 (find-emacs-lisp-shadows): Update for above name change.
2542 (load-path-shadows-same-file-or-nonexistent): New name for the old
2543 shadow-same-file-or-nonexistent.
2545 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2547 * minibuffer.el (completion--some, completion--do-completion)
2548 (minibuffer-complete-and-exit, minibuffer-completion-help)
2549 (completion-basic-try-completion)
2550 (completion-basic-all-completions)
2551 (completion-pcm--find-all-completions): Use lexical-let to
2552 avoid some false matches in variable completion (Bug#7056)
2554 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
2556 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
2558 2010-10-08 Leo <sdl.web@gmail.com>
2560 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2561 return non-nil if the file exists (Bug#7090).
2563 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2565 * minibuffer.el (completion--replace):
2566 Better preserve markers (bug#7138).
2568 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
2570 * server.el (server-process-filter): Doc fix.
2572 2010-10-08 Drew Adams <drew.adams@oracle.com>
2574 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
2576 2010-10-08 Glenn Morris <rgm@gnu.org>
2578 * vc/ediff-wind.el (ediff-setup-control-frame):
2579 * vc/ediff-ptch.el (ediff-default-backup-extension):
2580 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2581 (ediff-exec-process): Remove system-types emx, windows-95.
2583 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2585 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
2587 * cus-edit.el (custom-variable, custom-face): Doc fix.
2588 (custom-face-edit): Add value-create attribute.
2589 (custom-face-edit-value-create)
2590 (custom-face-edit-value-visibility-action): New functions.
2591 Hide unused face attributes by default, and add a visibility toggle.
2592 (custom-face-edit-deactivate): Show empty values with shadow face.
2593 (custom-face-selected): Only use this for face specs with default
2595 (custom-face-value-create): Cleanup.
2597 * wid-edit.el (widget-checklist-value-create): Use dolist.
2598 (widget-checklist-match-find): Make second arg optional.
2600 2010-10-07 Glenn Morris <rgm@gnu.org>
2602 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2605 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2606 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2607 load-path-shadows-mode, update references.
2608 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2609 Rename variable and button.
2610 (list-load-path-shadows): Update button caller.
2612 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2614 * emacs-lisp/smie.el (smie-bnf-classify): New function.
2615 (smie-bnf-precedence-table): Use it to remember the closers/openers.
2616 (smie-merge-prec2s): Handle those new entries.
2617 (smie-prec2-levels): Only set precedence to nil for actual
2619 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2620 that is now unnecessary.
2622 2010-10-07 Miles Bader <miles@gnu.org>
2624 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2626 2010-10-07 Glenn Morris <rgm@gnu.org>
2628 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2629 (mail-position-on-field): Remove declarations.
2630 (mail-position-on-field): Autoload it.
2631 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2632 and mail-header-end. Don't require sendmail.
2634 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2635 (shadow-mode): New mode.
2636 (shadow-find-file): New button.
2637 (list-load-path-shadows): Use shadow-mode and buttons.
2639 * iimage.el (iimage-version): Remove.
2640 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2641 Turn into defcustoms.
2642 (iimage-mode-map): Give it a doc string.
2644 * calendar/appt.el (appt-activate): Give a warning rather than an error
2645 if there is no diary-file.
2647 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
2649 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2650 Use `tramp-handle-find-backup-file-name'.
2652 2010-10-06 Glenn Morris <rgm@gnu.org>
2654 * font-core.el (font-lock-defaults-alist): Remove variable.
2655 (font-lock-mode): Doc fix.
2656 (font-lock-default-function): Do not consult font-lock-defaults-alist.
2657 * font-lock.el (font-lock-refresh-defaults): Doc fix.
2658 (font-lock-set-defaults): Doc fix.
2659 Do not consult font-lock-defaults-alist.
2661 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2663 * emacs-lisp/cl.el: No longer provide cl-19.
2665 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
2667 * net/tramp.el (tramp-handle-directory-files-and-attributes)
2668 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2669 New defuns, taken from tramp-smb.el.
2670 (tramp-coding-system-change-eol-conversion)
2671 (tramp-set-process-query-on-exit-flag): Remove.
2673 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2674 (tramp-compat-coding-system-change-eol-conversion)
2675 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2678 * net/tramp-gvfs.el:
2679 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2680 by `tramp-compat-set-process-query-on-exit-flag'.
2682 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2683 Use `tramp-handle-directory-files-and-attributes',
2684 `tramp-handle-file-exists-p' and
2685 `tramp-handle-file-newer-than-file-p'.
2686 (tramp-imap-handle-file-exists-p)
2687 (tramp-imap-handle-file-executable-p)
2688 (tramp-imap-handle-file-readable-p)
2689 (tramp-imap-handle-directory-files-and-attributes)
2690 (tramp-imap-handle-file-newer-than-file-p): Remove.
2692 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2693 by `tramp-compat-set-process-query-on-exit-flag' and
2694 `tramp-coding-system-change-eol-conversion' by
2695 `tramp-compat-coding-system-change-eol-conversion'.
2697 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2698 Use `tramp-handle-directory-files-and-attributes',
2699 `tramp-handle-file-exists-p' and
2700 `tramp-handle-file-newer-than-file-p'.
2701 (tramp-smb-handle-directory-files-and-attributes)
2702 (tramp-smb-handle-file-exists-p)
2703 (tramp-smb-handle-file-newer-than-file-p): Remove.
2704 (tramp-smb-maybe-open-connection):
2705 Replace `tramp-set-process-query-on-exit-flag' by
2706 `tramp-compat-set-process-query-on-exit-flag'.
2708 2010-10-05 Glenn Morris <rgm@gnu.org>
2710 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2712 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
2714 Continue reorganization of load dependencies. (Bug#7156)
2716 * net/tramp.el (tramp-handle-file-local-copy-hook)
2717 (tramp-delete-temp-file-function): Move down.
2718 (tramp-exists-file-name-handler): Move up.
2719 (tramp-register-file-name-handlers): Simplify autoload.
2720 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2721 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2722 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2723 (tramp-handle-file-name-completion)
2724 (tramp-handle-file-name-directory)
2725 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2726 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2727 (tramp-handle-find-backup-file-name)
2728 (tramp-handle-insert-file-contents, tramp-handle-load)
2729 (tramp-handle-substitute-in-file-name)
2730 (tramp-handle-unhandled-file-name-directory)
2731 (tramp-mode-string-to-int, tramp-local-host-p)
2732 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2734 * net/tramp-gvfs.el (top):
2735 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2737 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2738 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2740 2010-10-04 Glenn Morris <rgm@gnu.org>
2742 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2743 (appt-activate): Give status messages.
2745 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2747 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2748 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2749 `gnutls-negotiate' (formerly `starttls-negotiate').
2750 Remove trivial wrapper `starttls-open-stream'.
2752 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2754 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2755 log-outgoing commands.
2756 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2757 to create a buffer local revert-buffer-function variable.
2758 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2759 revert-buffer-function lambda.
2761 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2763 * net/gnutls.el (starttls-negotiate): Use the plist interface to
2764 `gnutls-boot'. Make TYPE the only required parameter.
2765 Allow TRUSTFILES and KEYFILES to be lists.
2766 (open-ssl-stream): Use it.
2768 2010-10-03 Glenn Morris <rgm@gnu.org>
2770 * subr.el (directory-sep-char): Remove obsolete variable.
2771 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2774 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2775 * vc/vc.el (vc-static-header-alist): Doc fix.
2776 * vc/vc-cvs.el (vc-cvs-header):
2777 * vc/vc-rcs.el (vc-rcs-header):
2778 * vc/vc-sccs.el (vc-sccs-header):
2779 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2780 * obsolete/vc-mcvs.el (vc-mcvs-header):
2781 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2784 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2786 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2787 Remove obsolete use of binary-overwrite-mode (Bug#7001).
2789 2010-10-03 Glenn Morris <rgm@gnu.org>
2791 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2793 * textmodes/rst.el (rst-font-lock-keywords-function):
2796 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2798 * printing.el: Drop Emacs 20 code.
2800 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2801 without having used appt.el already).
2803 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2804 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2805 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2807 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2808 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2810 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2811 (charset-width, find-charset-region, chars-in-region, forward-point)
2812 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2813 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2814 Remove compatibility cruft (none of these are used by ps*.el).
2816 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2818 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2820 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
2822 * server.el (server-process-filter, server-return-error):
2823 Give emacsclient time to shut down after receiving an error string.
2825 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
2827 * files.el (remote-file-name-inhibit-cache): New defcustom.
2829 * time.el (display-time-file-nonempty-p):
2830 Use `remote-file-name-inhibit-cache'.
2832 * net/tramp.el (tramp-completion-reread-directory-timeout):
2835 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2836 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2837 `remote-file-name-inhibit-cache'. Check also for an integer
2838 value. Add/increase counter when `tramp-verbose' >= 10.
2839 (tramp-set-file-property): Add/increase counter when
2840 `tramp-verbose' >= 10.
2842 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2843 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2844 (tramp-bug): Set tramp-autoload cookie. Report all interned
2845 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2846 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2847 characters only in strings.
2849 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2850 to backward compatibility.
2852 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2853 (tramp-handle-file-name-all-completions)
2854 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2855 (tramp-open-connection-setup-interactive-shell):
2856 Call `tramp-cleanup-connection' directly.
2858 2010-10-02 Glenn Morris <rgm@gnu.org>
2860 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2862 * subr.el (char-bytes): Remove obsolete function.
2864 * isearch.el (isearch-return-char): Remove obsolete function.
2866 * mouse.el: No longer provide mldrag.
2867 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2868 Remove obsolete aliases.
2870 * comint.el (comint-kill-output): Remove obsolete alias.
2872 * composite.el (decompose-composite-char): Remove obsolete function.
2873 * ps-def.el (decompose-composite-char): Remove unused function.
2875 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2877 * outline.el (outline-visible): Remove obsolete function.
2879 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2880 * faces.el (internal-find-face, internal-get-face)
2881 (frame-update-faces, frame-update-face-colors)
2882 (x-frob-font-weight, x-frob-font-slant)
2883 (internal-frob-font-weight, internal-frob-font-slant)
2884 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2885 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2886 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2888 * emulation/viper-util.el (viper-get-face):
2889 * obsolete/lucid.el (find-face, get-face): Use facep.
2890 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2891 Remove unused functions.
2892 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2894 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2895 delete tempfile if interrupted during compilation.
2897 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2899 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2901 (tls-program): Add --insecure to be consistent with the defaults from
2902 openssl s_client. Now all three commands are insecure.
2904 2010-10-01 Eli Zaretskii <eliz@gnu.org>
2906 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2907 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2908 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2910 2010-10-01 Glenn Morris <rgm@gnu.org>
2912 * obsolete/sc.el: Remove file.
2914 * files.el (temporary-file-directory): On darwin, also try
2915 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2917 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
2919 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2920 Let's not break compatibility gratuitously, shall we?
2922 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2924 * net/tls.el (tls-starttls-switches): New variable.
2925 (tls-find-starttls-argument): Use it.
2926 (open-tls-stream): Ditto.
2928 * net/netrc.el (netrc-credentials): Return the value of the "default"
2930 (netrc-machine): Ditto.
2932 2010-09-30 Eli Zaretskii <eliz@gnu.org>
2934 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2936 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
2938 * server.el (server-start): Don't write pid to the authentication file.
2939 (server-create-tty-frame): Don't send pid.
2940 (server-process-filter): Send pid at the start of every connection.
2942 2010-09-30 Glenn Morris <rgm@gnu.org>
2944 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2945 (show-all-diary-entries): Remove obsolete function aliases.
2947 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2948 Remove options, obsolete since 22.1.
2949 (appt-display-format, appt-display-message):
2950 Remove backwards-compatibility code.
2951 (appt-check): No longer check appt-issue-message.
2952 (appt-make-list): No longer autoload it. Doc fix. No longer
2953 activate the package.
2955 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2957 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2958 (starttls-negotiate): Just call boot, and let the handshake be
2959 triggered from the read loop.
2961 2010-09-29 Glenn Morris <rgm@gnu.org>
2963 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2964 not displaying the diary.
2965 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2966 * calendar/appt.el (appt-check): No longer need to kill diary.
2968 * calendar/diary-lib.el (diary-list-entries): Move the
2969 "Preparing..." message entirely here.
2970 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2971 messages to diary-list-entries.
2972 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2973 diary-display-function.
2975 * calendar/diary-lib.el (diary-include-other-diary-files):
2976 Trap some recursive includes.
2978 * calendar/appt.el (appt-activate): Check diary file.
2980 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2982 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2985 * calendar/time-date.el: No need to require cl for Emacs 21.
2987 2010-09-28 Glenn Morris <rgm@gnu.org>
2989 * calendar/appt.el (appt-check): Minor simplification.
2991 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2993 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2996 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2998 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2999 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3001 2010-09-27 Kenichi Handa <handa@m17n.org>
3003 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3006 2010-09-27 Kenichi Handa <handa@m17n.org>
3008 * international/mule.el (define-coding-system): Docstring fixed.
3010 * international/mule-diag.el (describe-character-set): Use princ
3011 with proper print-length and print-level instead of insert.
3013 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3015 * window.el (walk-windows): Doc fix (bug#7105).
3017 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3019 * emacs-lisp/float-sup.el (e): Remove.
3021 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3023 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3025 (starttls-negotiate): Use it.
3027 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3029 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3032 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3036 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3038 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3040 * net/netrc.el (netrc-store-data): New function.
3042 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3044 * net/gnutls.el: GnuTLS glue code to set up a connection.
3046 2010-09-25 Julien Danjou <julien@danjou.info>
3048 * notifications.el: Call dbus-register-signal only if it is bound.
3050 2010-09-25 Glenn Morris <rgm@gnu.org>
3052 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3053 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3054 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3055 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3056 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3057 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3058 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3059 * eshell/esh-util.el, eshell/esh-var.el:
3060 Remove leading `*' from docs of faces and defcustoms.
3062 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3064 * eshell/em-ls.el (eshell-ls-archive-regexp):
3065 * eshell/esh-util.el (eshell-tar-regexp):
3066 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3067 * info.el (Info-suffix-list):
3068 * international/mule.el (auto-coding-alist):
3069 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3070 * progmodes/etags.el (tags-compression-info-list):
3071 Support xz compression.
3073 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3075 * files.el (get-free-disk-space): Don't assume the "df" output
3076 columns line up (Bug#6995).
3078 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3080 * finder.el (finder-unknown-keywords):
3081 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3082 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3084 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3086 * server.el (server-start): Revert part of 2010-08-08 change. Using
3087 address 127.0.0.1 for local host is now done in Fmake_network_process.
3089 2010-09-24 Glenn Morris <rgm@gnu.org>
3091 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3092 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3093 * textmodes/css-mode.el, textmodes/dns-mode.el:
3094 Move autoloaded auto-mode-alist entries to files.el.
3095 * files.el (auto-mode-alist): Move entries here.
3097 2010-09-23 Glenn Morris <rgm@gnu.org>
3099 * isearch.el (isearch-lazy-highlight-cleanup)
3100 (isearch-lazy-highlight-initial-delay)
3101 (isearch-lazy-highlight-interval)
3102 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3103 * net/net-utils.el (ipconfig-program-options):
3104 Move aliases to options before the associated definitions.
3106 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * newcomment.el (comment-normalize-vars): Better test validity of
3111 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3113 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3114 (float-e): New name for `e'.
3115 (degrees-to-radians, radians-to-degrees):
3116 * calendar/solar.el (solar-longitude):
3117 * calculator.el (calculator-registers, calculator-funcall):
3118 * textmodes/artist.el (artist-spray-random-points):
3119 * play/bubbles.el (bubbles--initialize-images): Use new names.
3121 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3123 Update to CEDET 1.0's version of EIEIO.
3125 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3127 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3128 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3129 (class-precedence-list): If class is nil, return nil.
3130 (eieio-generic-call): If class of first input arg is nil, don't
3131 look up static methods, and do check for primary methods.
3132 (initialize-instance): See if the default needs to be evaluated
3133 during the constructor.
3134 (eieio-perform-slot-validation-for-default): Don't do the check
3135 for values that will eventually be evaluated.
3136 (eieio-eval-default-p): New function.
3137 (eieio-default-eval-maybe): Use it.
3139 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3141 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3142 method-invocation-order.
3143 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3144 (eieio-class-precedence-dfs): Compute class precedence list using
3146 (eieio-class-precedence-bfs): Compute class precedence list using
3148 (eieio-class-precedence-c3): Compute class precedence list using
3150 (class-precedence-list): New function.
3151 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3152 (inconsistent-class-hierarchy): New error symbol.
3153 (call-next-method): Stow the replacement argument list for future
3154 call-next-method invocations.
3156 2010-09-23 Glenn Morris <rgm@gnu.org>
3158 * calendar/appt.el (appt-check): If not displaying the diary,
3159 use (diary 1) to only get the entries we need.
3160 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3161 that it is in day order. (Bug#7019)
3163 * calendar/appt.el (appt-check): Rather than showing the diary,
3164 just turn off invisible display, and only if needed.
3166 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3168 2010-09-23 Glenn Morris <rgm@gnu.org>
3170 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3171 (byte-compile-defvar, byte-compile-cl-warn):
3172 Start warnings with lower-case, like the majority.
3174 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3176 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3178 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3179 * files.el (auto-mode-alist): Move ld-script entries here, further down
3182 * vc/add-log.el: Don't require timezone when compiling.
3183 (timezone-make-date-sortable): Autoload it.
3184 (change-log-sortable-date-at): Don't require timezone.
3185 Use `ignore-errors'.
3187 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3188 Move alias before definition, so it does not need autoloading.
3190 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3191 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3192 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3193 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3194 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3195 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3196 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3197 * textmodes/tex-mode.el, textmodes/two-column.el:
3198 Remove leading `*' from docs of defcustoms etc.
3200 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3202 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3204 2010-09-22 Dan Christensen <jdc@uwo.ca>
3206 * calendar/time-date.el (date-to-time): Try using parse-time-string
3207 first before using the slower timezone-make-date-arpa-standard.
3209 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3211 * calendar/time-date.el (format-seconds): Comment fix.
3213 2010-09-22 Glenn Morris <rgm@gnu.org>
3215 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3216 is not automatically buffer-local.
3218 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3221 (smie-indent-comment): Be more careful with comment-start-skip.
3222 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3223 (smie-indent-functions): Use them.
3225 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3227 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3229 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3231 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3232 tool-bar-position. Don't modify frame parameters here.
3233 (menu-bar-options-save): Add tool-bar-position.
3235 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3237 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3239 * textmodes/reftex-parse.el (reftex-what-macro)
3240 (reftex-context-substring): Let-bind forward-sexp-function to nil
3241 since we don't need/want to treat \begin...\end as a block (bug#7053).
3243 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3245 * simple.el (blink-matching-open): Use syntax-class.
3247 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3248 Set invisibility spec for pascal's outline mode.
3249 (pascal-outline-change): Clean up calling convention.
3250 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3252 * progmodes/prolog.el (prolog-smie-forward-token)
3253 (prolog-smie-backward-token): New functions.
3254 (prolog-mode-variables): Use them to parse "!," correctly.
3255 Set up smie-blink-matching for ".".
3257 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3259 (ispell-region, ispell-process-line): Update users.
3261 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3264 * textmodes/ispell.el: Fix commenting convention.
3265 (ispell-parse-output): Simplify, use push.
3266 (ispell-region): Use match-string-no-properties.
3267 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3268 (ispell-minor-mode): Use define-minor-mode.
3269 (ispell-message): Remove unused var `skip-regexp'.
3270 (ispell-add-per-file-word-list): Use dynamic let-binding.
3271 Try and use the proper comment marker.
3273 * mail/sendmail.el: Fix commenting convention.
3274 (sendmail-send-it): Use line-beginning-position.
3276 * help-fns.el (describe-variable): Add original value, if applicable.
3278 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3280 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3282 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3284 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3287 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3288 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3289 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3290 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3291 something like "." can also be a closer.
3292 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3293 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3294 Rename internal functions to use "--". Update callers.
3296 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3298 * fringe.el (fringe-styles): New var.
3299 (fringe-mode, fringe-query-style): Use it.
3301 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3303 * progmodes/sql.el: Version 2.8
3304 (sql-login-params): Update widget structure; changes still needed.
3305 (sql-product-alist): Add :list-all and :list-table features for
3306 SQLite, Postgres and MySQL products.
3307 (sql-redirect): Handle default value.
3308 (sql-execute, sql-execute-feature): New functions.
3309 (sql-read-table-name): New function.
3310 (sql-list-all, sql-list-table): New functions. User API.
3311 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3312 for above functions.
3313 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3314 for above functions.
3315 (sql-postgres-login-params): Add user and database defaults.
3316 (sql-buffer-live-p): Bug fix.
3317 (sql-product-history): New variable.
3318 (sql-read-product): New function. Use it.
3319 (sql-set-product, sql-product-interactive): Use it.
3320 (sql-connection-history): New variable.
3321 (sql-read-connection): New function. Use it.
3322 (sql-connect): New function.
3323 (sql-for-each-login): Redesign function interface.
3324 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3325 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3326 (sql-comint): Check for program. Existing live buffer.
3327 (sql-comint-postgres): Add port parameter.
3329 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * emacs-lisp/warnings.el: Fix commenting convention.
3332 (display-warning): Use special mode and make the buffer read-only.
3334 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3336 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3337 empty string when it follows a repeated or optional pattern.
3339 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3341 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3342 (indent-region): Use indent-according-to-mode.
3344 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3346 * fringe.el (fringe-mode): Doc fix.
3348 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3350 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3351 refreshing the preview buffer.
3353 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3356 (latex-syntax-propertize-rules): New consts; replace
3357 tex-font-lock-syntactic-keywords.
3358 (tex-env-mark, latex-env-before-change): New functions.
3359 (latex-electric-env-pair-mode): New minor mode.
3360 (tex-font-lock-verb): Change arguments; do move point.
3361 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3362 representation as a form of comment.
3363 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3364 (doctex-syntax-propertize-rules): New const; replaces
3365 doctex-font-lock-syntactic-keywords.
3366 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3368 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3369 (fortran-make-syntax-propertize-function): New function; replaces
3370 fortran-font-lock-syntactic-keywords.
3371 (fortran-mode): Use it.
3372 (fortran-line-length): Use it. Improve interactive spec.
3374 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3375 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3376 when adding surrounding \(..\).
3378 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3380 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3382 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3383 Use with-current-buffer.
3385 * isearch.el (isearch-face): Rename from `isearch'.
3386 (isearch-highlight): Use new name.
3388 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3390 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3391 5, for `half' width fringes. (Bug#6933)
3393 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3395 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3396 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3398 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3400 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3402 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3403 in calculating new frame position. Add more space between new and
3404 parent on the left (Bug#7048).
3406 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3408 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3411 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3413 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3415 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3416 obsolete alias for x-selection-value.
3418 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3420 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3422 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3425 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3427 * net/tramp-compat.el (tramp-compat-with-temp-message)
3428 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3429 (tramp-compat-process-put): New defuns.
3431 * net/tramp.el (top):
3432 * net/tramp-gvfs.el (top):
3433 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3435 * net/tramp.el (tramp-progress-reporter-update):
3436 Use `tramp-compat-funcall'.
3438 * net/tramp.el (tramp-process-actions):
3439 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3440 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3441 (tramp-get-remote-stat, tramp-get-remote-readlink):
3442 Use `tramp-compat-with-temp-message'.
3444 * net/tramp-sh.el (top): Require 'cl.
3445 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3446 (tramp-open-connection-setup-interactive-shell):
3447 Use `tramp-compat-process-put'.
3449 2010-09-15 Alan Mackenzie <acm@muc.de>
3451 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3453 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3455 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3458 `lexical' for warnings related to lexical scoping.
3459 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3460 global vars which don't have a prefix and could hence affect lexical
3461 scoping in unrelated files.
3463 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3465 * net/imap.el: Revert back to version
3466 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3469 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3471 * obsolete/old-whitespace.el (whitespace-unload-function):
3472 Explicitly pass `obarray' to `unintern' to avoid a warning.
3474 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3477 Add `when' argument. Update callers.
3479 * subr.el (unintern): Declare the obarray arg mandatory.
3481 2010-09-14 Glenn Morris <rgm@gnu.org>
3483 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3486 * calendar/diary-lib.el (diary-included-files): New variable.
3487 (diary-list-entries): Maybe initialize diary-included-files.
3488 (diary-include-other-diary-files): Append to diary-included-files.
3489 * calendar/appt.el (appt-update-list): Also check the members of
3490 diary-included-files. (Bug#6999)
3491 (appt-check): Doc fix.
3493 2010-09-14 David Reitter <david.reitter@gmail.com>
3495 * simple.el (line-move-visual): Do not truncate goal column to
3496 integer size. (Bug#7020)
3498 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3500 * repeat.el (repeat): Allow repeating when the last event is a click.
3501 Suggested by Drew Adams (bug#6256).
3503 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3505 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3506 Replace setting HGRCPATH to "" by some less invasive --config options.
3508 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * font-lock.el (font-lock-beginning-of-syntax-function):
3513 2010-09-14 Glenn Morris <rgm@gnu.org>
3515 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3516 and tool-bar modes. (Bug#6211)
3517 (menu-bar-mode): Move setting of standard-value after the
3518 minor-mode definition, otherwise it seems to have no effect.
3520 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3522 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3523 Fix typo. (Bug#6976)
3525 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3527 * whitespace.el: Allow cleaning up blanks without blank
3528 visualization (Bug#6651). Adjust help window for
3529 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3530 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3531 (whitespace-style): Add new value 'face. Adjust docstring.
3532 (whitespace-space, whitespace-hspace, whitespace-tab):
3533 Adjust foreground property face.
3534 (whitespace-line-column): Adjust docstring and type declaration.
3535 (whitespace-style-value-list, whitespace-toggle-option-alist)
3536 (whitespace-help-text): Adjust const initialization.
3537 (whitespace-toggle-options, global-whitespace-toggle-options):
3539 (whitespace-display-window, whitespace-interactive-char)
3540 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3541 (whitespace-help-scroll): New fun.
3543 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3545 * calendar/time-date.el (format-seconds): Comment fix.
3547 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3549 * progmodes/sql.el: Version 2.7.
3550 (sql-buffer-live-p): Improve detection.
3551 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3552 (sql-set-sqli-buffer): Use it.
3553 (sql-product-interactive): Run `sql-set-sqli-hook'.
3554 (sql-rename-buffer): Code cleanup.
3555 (sql-redirect, sql-redirect-value): New functions. More to come.
3557 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
3559 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.
3560 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3561 (TRAMP_SRC): New macro.
3562 ($(lisp)/net/tramp-loaddefs.el): New target.
3564 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
3566 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
3568 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
3570 * net/tramp.el (top): Don't show loading message. Require just
3571 'tramp-compat, everything else is required there.
3572 Use `ignore-errors' where appropriate.
3573 (tramp-inline-compress-start-size, tramp-copy-size-limit)
3574 (tramp-terminal-type, tramp-end-of-output)
3575 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3576 (tramp-completion-function-alist-ssh)
3577 (tramp-completion-function-alist-telnet)
3578 (tramp-completion-function-alist-su)
3579 (tramp-completion-function-alist-putty, tramp-remote-path)
3580 (tramp-remote-process-environment, tramp-sh-extra-args)
3581 (tramp-actions-before-shell, tramp-uudecode)
3582 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3583 (tramp-perl-file-attributes)
3584 (tramp-perl-directory-files-and-attributes)
3585 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3586 (tramp-perl-encode, tramp-perl-decode)
3587 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3588 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3589 (tramp-handle-make-symbolic-link, tramp-handle-load)
3590 (tramp-handle-file-name-as-directory)
3591 (tramp-handle-file-name-directory)
3592 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3593 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3594 (tramp-do-file-attributes-with-ls)
3595 (tramp-do-file-attributes-with-perl)
3596 (tramp-do-file-attributes-with-stat)
3597 (tramp-handle-set-visited-file-modtime)
3598 (tramp-handle-verify-visited-file-modtime)
3599 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3600 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3601 (tramp-handle-file-selinux-context)
3602 (tramp-handle-set-file-selinux-context)
3603 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3604 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3605 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3606 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3607 (tramp-handle-file-ownership-preserved-p)
3608 (tramp-handle-directory-file-name, tramp-handle-directory-files)
3609 (tramp-handle-directory-files-and-attributes)
3610 (tramp-do-directory-files-and-attributes-with-perl)
3611 (tramp-do-directory-files-and-attributes-with-stat)
3612 (tramp-handle-file-name-all-completions)
3613 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3614 (tramp-handle-copy-file, tramp-handle-copy-directory)
3615 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3616 (tramp-do-copy-or-rename-file-via-buffer)
3617 (tramp-do-copy-or-rename-file-directly)
3618 (tramp-do-copy-or-rename-file-out-of-band)
3619 (tramp-handle-make-directory, tramp-handle-delete-directory)
3620 (tramp-handle-delete-file)
3621 (tramp-handle-dired-recursive-delete-directory)
3622 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3623 (tramp-handle-insert-directory)
3624 (tramp-handle-unhandled-file-name-directory)
3625 (tramp-handle-expand-file-name)
3626 (tramp-handle-substitute-in-file-name)
3627 (tramp-handle-executable-find, tramp-process-sentinel)
3628 (tramp-handle-start-file-process, tramp-handle-process-file)
3629 (tramp-handle-call-process-region, tramp-handle-shell-command)
3630 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3631 (tramp-handle-insert-file-contents)
3632 (tramp-handle-insert-file-contents-literally)
3633 (tramp-handle-find-backup-file-name)
3634 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3635 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3636 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3637 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3638 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3639 (tramp-find-file-exists-command, tramp-open-shell)
3640 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3641 (tramp-open-connection-setup-interactive-shell)
3642 (tramp-local-coding-commands, tramp-remote-coding-commands)
3643 (tramp-find-inline-encoding, tramp-call-local-coding-command)
3644 (tramp-inline-compress-commands, tramp-find-inline-compress)
3645 (tramp-compute-multi-hops, tramp-maybe-open-connection)
3646 (tramp-send-command, tramp-wait-for-output)
3647 (tramp-send-command-and-check, tramp-barf-unless-okay)
3648 (tramp-send-command-and-read, tramp-mode-string-to-int)
3649 (tramp-convert-file-attributes, tramp-check-cached-permissions)
3650 (tramp-file-mode-from-int, tramp-file-mode-permissions)
3651 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3652 (tramp-method-out-of-band-p, tramp-local-host-p)
3653 (tramp-get-remote-path, tramp-get-remote-tmpdir)
3654 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3655 (tramp-get-test-command, tramp-get-test-nt-command)
3656 (tramp-get-file-exists-command, tramp-get-remote-ln)
3657 (tramp-get-remote-perl, tramp-get-remote-stat)
3658 (tramp-get-remote-readlink, tramp-get-remote-trash)
3659 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3660 (tramp-get-local-uid, tramp-get-local-gid)
3661 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3663 (tramp-methods, tramp-default-method-alist)
3664 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3665 Move initialization to tramp-sh.el.
3666 (tramp-temp-name-prefix): Make it a defconst.
3667 (tramp-dissect-file-name): Don't check anymore for multi-hop
3669 (tramp-debug-outline-regexp): Add a docstring.
3670 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3671 (tramp-get-debug-buffer): Use it.
3673 * net/tramp-cache.el (top): Set tramp-autoload cookie for
3674 initialization forms.
3675 (tramp-set-connection-property): Don't protect `tramp-message'
3676 call, it isn't necessary any longer.
3677 (tramp-dump-connection-properties): Use `ignore-errors'.
3679 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3680 'password-cache and 'auth-source.
3682 * net/tramp-gvfs.el (top):
3683 * net/tramp-smb.el (top): Require 'tramp-sh.
3685 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3687 * net/tramp-sh.el: New file, derived from tramp.el.
3688 (top): Initialize `tramp-methods', `tramp-default-method-alist',
3689 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3690 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3691 Use `ignore-errors' where appropriate.
3692 (tramp-sh-file-name-handler-alist): Rename from
3693 `tramp-file-name-handler-alist'.
3694 (tramp-send-command-and-check): Return t or nil. Remove all
3695 `zerop' checks, where called.
3696 (tramp-handle-set-file-modes)
3697 (tramp-do-copy-or-rename-file-directly)
3698 (tramp-handle-delete-directory, tramp-handle-delete-file)
3699 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3700 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3701 (tramp-get-remote-ln): Set tramp-autoload cookie.
3703 * net/tramp-fish.el: Remove file.
3705 2010-09-13 Daiki Ueno <ueno@unixuser.org>
3707 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3708 buffer-file-name to avoid file-locking. (Bug#7026)
3710 2010-09-13 Julien Danjou <julien@danjou.info>
3712 * notifications.el (notifications-notify): Add support for
3713 image-path and sound-name.
3714 (notifications-specification-version): Add this variable.
3716 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3718 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3720 2010-09-12 Leo <sdl.web@gmail.com>
3722 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3723 (rcirc-completion-start): New variables.
3724 (rcirc-nick-completions): Rename to rcirc-completions.
3725 (rcirc-nick-completion-start-offset): Delete.
3726 (rcirc-completion-at-point): New function for constructing
3727 completion data for both nicks and irc commands. Add to
3728 completion-at-point-functions in rcirc mode.
3729 (rcirc-complete): Rename from rcirc-nick-complete; use
3730 rcirc-completion-at-point.
3731 (defun-rcirc-command): Update rcirc-client-commands.
3733 2010-09-11 Glenn Morris <rgm@gnu.org>
3735 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3736 atomically, to avoid parallel build errors. (Bug#4196)
3738 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3740 * progmodes/sql.el: Version 2.6
3741 (sql-dialect): Synonym for "sql-product".
3742 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3743 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3744 Set "sql-buffer" to buffer name not buffer object so multiple sql
3745 interactive buffers work properly. Reverts misguided changes in
3747 (sql-comint): Make sure different buffer name is used if "*SQL*"
3748 buffer is for a different product.
3749 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3751 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3752 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3753 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3754 Accept new buffer name or prompt for one.
3755 (sql-port): Default to zero.
3756 (sql-comint-mysql): Handle "sql-port" as a numeric.
3757 (sql-port-history): Delete unused variable.
3758 (sql-get-login): Default "sql-port" to a number.
3759 (sql-product-alist): Correct Postgres prompt and terminator regexp.
3760 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3761 "sqlite3" executables.
3762 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3763 (sql-buffer-live-p): New function.
3764 (sql-mode-menu, sql-send-string): Use it.
3765 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3767 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3768 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3770 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3772 * net/netrc.el (netrc-credentials): New convenience function.
3774 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3776 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3777 to replace texinfo-font-lock-syntactic-keywords.
3778 (texinfo-mode): Use it.
3780 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3781 Use syntax-propertize-function.
3783 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3784 replace sgml-font-lock-syntactic-keywords.
3785 (sgml-mode): Use it.
3787 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3788 since we don't use it.
3790 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3792 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3794 (vhdl-fontify-buffer): Adjust.
3796 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3797 replace tcl-font-lock-syntactic-keywords.
3800 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3801 replace simula-font-lock-syntactic-keywords.
3802 (simula-mode): Use it.
3804 * progmodes/sh-script.el (sh-st-symbol): Remove.
3805 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3806 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3807 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3808 (sh-font-lock-paren): Set syntax-multiline.
3809 (sh-font-lock-syntactic-keywords): Remove.
3810 (sh-syntax-propertize-function): New function to replace it.
3813 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3814 Define while compiling.
3815 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3816 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3817 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3818 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3819 (ruby-here-doc-end-syntax): Only define when
3820 syntax-propertize is not available.
3821 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3823 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3824 (electric-indent-chars): Silence bytecompiler.
3825 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3826 electric-indent-chars.
3828 * progmodes/python.el (python-syntax-propertize-function): New var to
3829 replace python-font-lock-syntactic-keywords.
3830 (python-mode): Use it.
3831 (python-quote-syntax): Simplify and adjust to new use.
3833 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3834 replace perl-font-lock-syntactic-keywords.
3835 (perl-syntax-propertize-special-constructs): New fun to replace
3836 perl-font-lock-special-syntactic-constructs.
3837 (perl-font-lock-syntactic-face-function): New fun.
3838 (perl-mode): Use it.
3840 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3841 to replace octave-font-lock-close-quotes.
3842 (octave-syntax-propertize-function): New function to replace
3843 octave-font-lock-syntactic-keywords.
3844 (octave-mode): Use it.
3846 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3847 replaces mixal-font-lock-syntactic-keywords.
3848 (mixal-mode): Use it.
3850 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3851 New var; replaces makefile-font-lock-syntactic-keywords.
3852 (makefile-mode): Use it.
3853 (makefile-imake-mode): Adjust.
3855 * progmodes/js.el (js--regexp-literal): Define while compiling.
3856 (js-syntax-propertize-function): New var; replaces
3857 js-font-lock-syntactic-keywords.
3860 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3861 replaces gdb-script-font-lock-syntactic-keywords.
3862 (gdb-script-mode): Use it.
3864 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3865 (fortran--font-lock-syntactic-keywords): New var.
3866 (fortran-line-length): Update syntax-propertize-function and
3867 fortran--font-lock-syntactic-keywords.
3869 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3871 * progmodes/cfengine.el (cfengine-mode):
3872 Use syntax-propertize-function.
3873 (cfengine-font-lock-syntactic-keywords): Remove.
3875 * progmodes/autoconf.el (autoconf-mode):
3876 Use syntax-propertize-function.
3877 (autoconf-font-lock-syntactic-keywords): Remove.
3879 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3880 (ada-after-change-function, ada-initialize-syntax-table-properties)
3881 (ada-handle-syntax-table-properties): Only define when
3882 syntax-propertize is not available.
3883 (ada-mode): Use syntax-propertize-function.
3885 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3886 (font-lock-fontify-syntactic-keywords-region): Move handling of
3887 font-lock-syntactically-fontified to...
3888 (font-lock-default-fontify-region): ...here.
3889 Let syntax-propertize-function take precedence.
3890 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3892 * emacs-lisp/syntax.el (syntax-propertize-function)
3893 (syntax-propertize-chunk-size, syntax-propertize--done)
3894 (syntax-propertize-extend-region-functions): New vars.
3895 (syntax-propertize-wholelines, syntax-propertize-multiline)
3896 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3897 (syntax-propertize): New functions.
3898 (syntax-propertize-rules): New macro.
3899 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3900 (syntax-ppss): Call syntax-propertize.
3902 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3904 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3906 * textmodes/ispell.el (ispell-init-process): Improve comments.
3907 XEmacs compatibility changes regarding (add-hook) 'local option
3908 and (set-process-query-on-exit-flag).
3910 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
3912 * net/tramp-cache.el (tramp-parse-connection-properties):
3913 Set tramp-autoload cookie.
3915 2010-09-09 Glenn Morris <rgm@gnu.org>
3917 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3918 (imagemagick-register-types): Doc fix.
3920 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3924 * progmodes/js.el (require): Require is already "eval-and-compile".
3925 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3926 (js--re-search-backward): Use js--re-search-forward.
3928 * progmodes/fortran.el (fortran-line-length): Don't recompute
3929 syntactic keywords redundantly a second time.
3931 * progmodes/ada-mode.el: Replace "(set '" with setq.
3932 (ada-mode): Simplify.
3933 (ada-create-case-exception, ada-adjust-case-interactive)
3934 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3935 (ada-search-ignore-string-comment, ada-move-to-start)
3936 (ada-move-to-end): Use with-syntax-table.
3938 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3939 (font-lock-unfontify-region, font-lock-default-fontify-region):
3940 Update usage correspondingly.
3941 (font-lock-fontify-syntactic-keywords-region):
3942 Set parse-sexp-lookup-properties buffer-locally here.
3943 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3945 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3947 2010-09-08 Glenn Morris <rgm@gnu.org>
3949 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3950 Error if not compiled with -DBYTE_CODE_METER.
3952 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3953 Ignore dir-locals-file.
3955 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3959 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3960 for the `gnu' messages.
3961 (compilation-set-skip-threshold): New command.
3962 (compilation-start): Use \' rather than $.
3963 (compilation-forget-errors): Use clrhash.
3965 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3967 * textmodes/ispell.el (ispell-valid-dictionary-list):
3970 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
3972 Migrate to Tramp 2.2. Rearrange load dependencies.
3973 (Bug#1529, Bug#5448, Bug#5705)
3975 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3976 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3977 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3979 * net/tramp.el (top): Remove all other tramp-* loads except
3980 tramp-compat.el. Remove all changes to tramp-unload-hook for
3981 other tramp-* packages. Rearrange defun order. Change calls of
3982 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3983 `tramp-compat-octal-to-decimal' to new function names.
3984 (tramp-terminal-type, tramp-initial-end-of-output)
3985 (tramp-methods, tramp-foreign-file-name-handler-alist)
3986 (tramp-tramp-file-p, tramp-completion-mode-p)
3987 (tramp-send-command-and-check, tramp-get-remote-path)
3988 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3989 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3990 (with-file-property, with-connection-property): Move to
3992 (tramp-local-call-process, tramp-decimal-to-octal)
3993 (tramp-octal-to-decimal): Move to tramp-compat.el.
3994 (tramp-handle-shell-command): Do not require 'shell.
3995 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3997 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3999 * net/tramp-cache.el (top): Require 'tramp. Add to
4000 `tramp-unload-hook'.
4001 (tramp-cache-data, tramp-get-file-property)
4002 (tramp-set-file-property, tramp-flush-file-property)
4003 (tramp-flush-directory-property, tramp-get-connection-property)
4004 (tramp-set-connection-property, tramp-flush-connection-property)
4005 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4007 (with-file-property, with-connection-property): New defuns, moved
4009 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4012 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4013 (tramp-version): Set tramp-autoload cookie.
4015 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4016 changes to tramp-unload-hook for other tramp-* packages. Add to
4017 `tramp-unload-hook'.
4018 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4019 (tramp-compat-call-process): New defuns, moved from tramp.el.
4021 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4022 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4023 Add to `tramp-unload-hook'. Change call of
4024 `tramp-compat-decimal-to-octal' to new function name.
4025 (tramp-fish-method): Make it a defconst.
4026 (tramp-fish-file-name-p): Make it a defsubst.
4027 (tramp-fish-method, tramp-fish-file-name-handler)
4028 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4030 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4031 `tramp-foreign-file-name-handler-alist'. Add to
4032 `tramp-unload-hook'.
4033 (tramp-ftp-method): Make it a defconst.
4034 (tramp-ftp-file-name-p): Make it a defsubst.
4035 (tramp-ftp-method, tramp-ftp-file-name-handler)
4036 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4038 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4039 `tramp-foreign-file-name-handler-alist'. Add to
4040 `tramp-unload-hook'. Change checks, whether package can be
4042 (tramp-gvfs-file-name-p): Make it a defsubst.
4043 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4044 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4045 (tramp-gvfs-handle-file-directory-p): New defun.
4046 (tramp-gvfs-file-name-handler-alist): Use it.
4048 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4049 `tramp-foreign-file-name-handler-alist'. Add to
4050 `tramp-unload-hook'.
4051 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4052 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4054 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4055 (tramp-gw-open-connection): Set tramp-autoload cookie.
4057 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4058 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4059 Add to `tramp-unload-hook'. Change checks, whether package can be
4061 (tramp-imap-file-name-p): Make it a defsubst.
4062 (tramp-imap-method, tramp-imaps-method)
4063 (tramp-imap-file-name-handler)
4064 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4066 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4067 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4068 Add to `tramp-unload-hook'. Change checks, whether package can be
4069 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4071 (tramp-smb-tunnel-method): Make it a defconst.
4072 (tramp-smb-file-name-p): Make it a defsubst.
4073 (tramp-smb-method, tramp-smb-file-name-handler)
4074 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4076 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4077 (tramp-uuencode-region): Set tramp-autoload cookie.
4079 * net/trampver.el (top) Add to `tramp-unload-hook'.
4080 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4081 cookie. Update release number.
4083 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4085 * textmodes/ispell.el (ispell-start-process): Make sure original
4086 arg list is properly initialized (Bug#6993, Bug#6994).
4088 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4090 * files.el (directory-abbrev-alist): Use \` as default regexp.
4092 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4093 chars like - or ] (bug#6984).
4094 (rx-any-condense-range): Explode 2-char ranges.
4096 2010-09-06 Glenn Morris <rgm@gnu.org>
4098 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4100 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * textmodes/bibtex.el:
4103 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4105 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4107 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4108 since no callers use it.
4109 (imap-message-get): Ditto.
4110 (imap-message-put): Ditto.
4111 (imap-mailbox-map): Ditto.
4112 (imap-mailbox-put): Ditto.
4113 (imap-mailbox-get): Ditto.
4114 (imap-mailbox-get): Revert last change for this function.
4116 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4118 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4119 callers to use `imap-fetch' instead. According to the comments, this
4120 should be safe, since all other IMAP clients use the 1:* syntax.
4121 (imap-enable-exchange-bug-workaround): Remove.
4122 (imap-debug): Remove -- doesn't seem very useful.
4124 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4126 * net/imap.el (imap-log): New convenience function used throughout
4127 instead of repeating the same code all over the place.
4129 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4131 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4132 when mouse-drag-copy-region is non-nil (Bug#6956).
4134 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4136 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4137 Improve regexps (Bug#6987).
4138 (dired-sort-toggle): Search more robustly for -t flag.
4140 * files.el (get-free-disk-space): Search more robustly for
4141 "available" column. Suggested by Ehud Karni
4142 <ehud@unix.mvs.co.il>.
4144 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4146 * international/uni-bidi.el:
4147 * international/uni-category.el:
4148 * international/uni-combining.el:
4149 * international/uni-decimal.el:
4150 * international/uni-mirrored.el:
4151 * international/uni-name.el: Regenerate.
4153 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * electric.el (electric-indent-post-self-insert-function):
4156 Don't reindent with a sloppy indentation function.
4158 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4159 border case in change-log-mode.
4161 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4163 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4164 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4165 Recognize leading tab in gcc-include regexp. Ignore names with
4166 leading "from" or "in" in gnu regexp (Bug#6937).
4168 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4170 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4171 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4172 (ispell-start-process): Avoid setq and simplify logic.
4173 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4174 (kill-buffer-hook): Don't use it globally with code that uses
4175 expand-file-name since that may call kill-buffer via
4176 code_conversion_restore.
4178 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4180 * emacs-lisp/package.el (package-directory-list): Only call
4181 file-name-nondirectory on a string.
4183 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4185 * emacs-lisp/package.el (package--download-one-archive):
4186 Ensure that archive-contents is valid before saving it.
4187 (package-activate-1, package-mark-obsolete, define-package)
4188 (package-compute-transaction, package-list-maybe-add): Use push.
4190 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4192 Use SMIE's blink-paren for octave-mode.
4193 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4194 Backslashes do not escape single-quotes, single-quotes do.
4195 (octave-block-else-regexp, octave-block-end-regexp)
4196 (octave-block-match-alist): Remove.
4197 (octave-smie-bnf-table): New var, with old content.
4198 (octave-smie-op-levels): Use it.
4199 (octave-smie-closer-alist): New var.
4200 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4201 (octave-blink-matching-block-open): Remove.
4202 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4203 (octave-electric-space): Let self-insert-command run expand-abbrev and
4206 * electric.el (electricity): New group.
4207 (electric-indent-chars): New var.
4208 (electric-indent-post-self-insert-function): New fun.
4209 (electric-indent-mode): New minor mode.
4210 (electric-pair-skip-self): New custom.
4211 (electric-pair-post-self-insert-function): New function.
4212 (electric-pair-mode): New minor mode.
4214 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4215 calcAlg-blink-matching-open.
4216 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4217 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4218 Use the new blink-matching-check-function.
4220 Provide blink-matching support to SMIE.
4221 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4222 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4223 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4225 * simple.el (newline): Fix last change to properly remove itself from
4228 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4230 * simple.el (newline): Eliminate optimization.
4231 Use post-self-insert-hook to set hard-newline and things before
4232 running post-self-insert-hook.
4233 (blink-matching-check-mismatch): New function.
4234 (blink-matching-check-function): New variable.
4235 (blink-matching-open): Use them.
4236 Skip back forward over prefix chars skipped by forward-sexp.
4237 Don't check if the parens are backslash escaped.
4238 (blink-paren-post-self-insert-function): Check backslash escaping here.
4240 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4242 * emacs-lisp/package.el (package-menu-mode-map):
4243 Change package-menu-revert bindings to revert-buffer.
4244 (package-menu-mode): Set revert-buffer-function.
4245 (package-menu-revert): Doc fix.
4247 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4249 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4250 `default-directory' unless using Ispell per-directory personal
4251 dictionaries and not in a mini-buffer under XEmacs.
4252 (kill-buffer-hook): Do not kill ispell process on exit when
4253 `ispell-process-directory' is "~/". (Bug#6143)
4255 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4257 * simple.el (kill-new): Call interprogram-cut-function with only
4260 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4261 Remove cut buffer from error message.
4263 * term/x-win.el (x-select-text):
4264 * term/pc-win.el (x-selection-value):
4265 * term/ns-win.el (x-selection-value):
4266 * eshell/em-term.el:
4267 * w32-fns.el (x-get-selection-value):
4268 * mouse-sel.el (mouse-sel-set-selection-function):
4269 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4271 * term/x-win.el: Update documentation for x-last-selected-text-*.
4272 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4273 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4274 (x-select-text): Remove argument PUSH, update documentation.
4275 Remove cut-buffer code.
4276 (x-selection-value-internal): Was previously x-selection-value.
4277 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4278 Update documentation, remove cut-buffer code.
4279 Call x-selection-value-internal.
4280 (x-clipboard-yank): Call x-selection-value-internal.
4281 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4283 * term/pc-win.el (x-last-selected-text):
4284 x-cut-buffer-or-selection-value renamed to x-selection-value
4285 (x-select-text): Remove argument PUSH, update documentation.
4287 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4288 x-cut-buffer-or-selection-value renamed to x-selection-value
4289 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4290 (x-select-text): Remove argument PUSH, update documentation.
4292 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4294 * w32-fns.el (x-last-selected-text):
4295 x-cut-buffer-or-selection-value renamed to x-selection-value.
4296 (x-cut-buffer-max): Remove.
4297 (x-select-text): Remove argument PUSH, update documentation.
4299 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4301 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4303 * mouse-sel.el (mouse-sel-get-selection-function):
4304 x-cut-buffer-or-selection-value renamed to x-selection-value.
4305 (x-select-text): Remove optional push.
4307 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4309 * simple.el (blink-paren-function): Move from C to here.
4310 (blink-paren-post-self-insert-function): New function.
4311 (post-self-insert-hook): Use it.
4313 * emacs-lisp/pcase.el (pcase-split-memq):
4314 Fix overenthusiastic optimisation.
4315 (pcase-u1): Handle the case of a lambda pred.
4317 2010-08-31 Kenichi Handa <handa@m17n.org>
4319 * international/mule-cmds.el (standard-display-european-internal):
4320 Setup standard-display-table for 8-bit characters by storing 8-bit
4321 characters in the element vector.
4323 * disp-table.el (standard-display-8bit):
4324 Setup standard-display-table for 8-bit characters by storing 8-bit
4325 characters in the element vector.
4326 (standard-display-european): Likewise.
4328 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4330 * textmodes/nroff-mode.el (nroff-view): New command.
4331 (nroff-mode-map): Bind it to C-c C-c.
4333 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * emacs-lisp/smie.el (smie-down-list): New command.
4337 Remove old indentation and navigation code on octave-mode.
4338 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4339 smie-down-list rather than add a binding for octave-down-block.
4340 (octave-mark-block, octave-blink-matching-block-open):
4341 Rely on forward-sexp-function.
4342 (octave-fill-paragraph): Don't narrow, so you can use
4343 indent-according-to-mode.
4344 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4345 (octave-in-block-p, octave-re-search-forward-kw)
4346 (octave-re-search-backward-kw, octave-indent-calculate)
4347 (octave-end-as-array-index-p, octave-block-end-offset)
4348 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4349 (octave-down-block, octave-backward-up-block, octave-up-block)
4350 (octave-before-magic-comment-p, octave-indent-line): Remove.
4352 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4354 * emacs-lisp/package.el (package--read-archive-file): Just use
4355 `read', to avoid copying an additional string.
4356 (package-menu-mode): Set header-line-format here.
4357 (package-menu-refresh, package-menu-revert): Signal an error if
4358 not in the Package Menu.
4359 (package-menu-package-list): New var.
4360 (package--generate-package-list): Operate on the current buffer;
4361 don't assume that it is *Packages*, since the user may rename it.
4362 Allow persistent package listings and sort keys using
4363 package-menu-package-list and package-menu-package-sort-key.
4364 (package-menu--version-predicate): Fix version calculation.
4365 (package-menu-sort-by-column): Don't select the window.
4366 (package--list-packages): Create the *Packages* buffer.
4367 Set package-menu-package-list-key.
4368 (list-packages): Sorting by status is now the default.
4369 (package-buffer-info): Use match-string-no-properties.
4370 (define-package): Add a &rest argument for future proofing, but
4372 (package-install-from-buffer, package-install-buffer-internal):
4373 Merge into a single function, package-install-from-buffer.
4374 (package-install-file): Change caller.
4376 * finder.el: Load finder-inf using `require'.
4377 (finder-list-matches): Sorting by status is now the default.
4378 (finder-compile-keywords): Simpify printing.
4380 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4383 (octave-mode-map): Remove special bindings for forward/backward-block
4384 and octave-backward-up-block. Use smie-close-block.
4385 (octave-continuation-marker-regexp): New var.
4386 (octave-continuation-regexp): Use it.
4387 (octave-operator-table, octave-smie-op-levels)
4388 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4389 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4390 (octave-mode): Use SMIE.
4391 (octave-close-block): Delete.
4393 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4395 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4396 CLIPBOARD, not in PRIMARY. (Bug#6944)
4398 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4400 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4402 (smie-indent-column): Allow indirection through variables.
4404 * composite.el (save-buffer-state): Delete, unused.
4405 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4406 (font-lock-default-fontify-region): Use with-syntax-table.
4407 * jit-lock.el (with-buffer-unmodified): Remove.
4408 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4410 Use `declare' in defmacros.
4411 * window.el (save-selected-window):
4412 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4413 * progmodes/python.el (def-python-skeleton):
4414 * net/dbus.el (dbus-ignore-errors):
4415 * jka-cmpr-hook.el (with-auto-compression-mode):
4416 * international/mule.el (with-category-table):
4417 * emacs-lisp/timer.el (with-timeout):
4418 * emacs-lisp/lisp-mnt.el (lm-with-file):
4419 * emacs-lisp/eieio.el (with-slots):
4420 * emacs-lisp/easymenu.el (easy-menu-define):
4421 * emacs-lisp/debug.el (debugger-env-macro):
4422 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4423 (Multiple-value-call, Multiple-value-prog1):
4424 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4425 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4426 edebug rule to definition.
4427 * emacs-lisp/lisp-mode.el (save-selected-window)
4428 (with-current-buffer, combine-after-change-calls)
4429 (with-output-to-string, with-temp-file, with-temp-buffer)
4430 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4431 (dolist, dotimes, when, unless):
4432 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4434 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4436 * finder.el: Require `package'.
4437 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4438 (finder-package-info): Var deleted.
4439 (finder-keywords-hash, finder--builtins-alist): New vars.
4440 (finder-compile-keywords): Compute package--builtins and
4441 finder-keywords-hash instead of finder-keywords-hash, respecting
4442 the "Package" header.
4443 (finder-unknown-keywords, finder-list-matches):
4444 Use finder-keywords-hash and package--list-packages.
4445 (finder-mode): Don't set font-lock-defaults.
4446 (finder-exit): We don't use "*Finder-package*" and "*Finder
4447 Category*" buffers anymore.
4449 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4450 (package--builtins): Set default value to nil.
4451 (package-initialize): Load precomputed value of package--builtins
4453 (package-alist, package-compute-transaction)
4454 (package-download-transaction): Improve docstring.
4455 (package-read-all-archive-contents): Do not change
4456 package--builtins here.
4457 (list-packages): Make package-list-packages an alias for this.
4458 Sort by status by default.
4459 (package--list-packages): Add optional PACKAGES arg.
4460 (describe-package-1): Use font-lock-face property. For built-in
4461 packages, insert file commentary.
4462 (package--generate-package-list): Rename from
4463 package-list-packages-internal; all callers changed. Add optional
4464 PACKAGES arg. Add alphabetical sort fallbacks.
4465 (package-menu--version-predicate, package-menu--status-predicate)
4466 (package-menu--description-predicate)
4467 (package-menu--name-predicate): New functions.
4469 * info.el (Info-finder-find-node): Search package-alist instead of
4470 finder-package-info.
4472 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4474 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4476 (version-to-list): Handle versions like "10.3d".
4478 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4481 (macroexp-accumulate): Use `declare'.
4483 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4485 * whitespace.el (whitespace-style): Adjust type declaration.
4487 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4489 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4490 empty argument to gvfs-copy.
4492 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4494 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4495 handle new TRASH arg of `delete-file'.
4497 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4499 * net/tramp.el (tramp-handle-insert-directory): Don't use
4500 `forward-word', its default syntax could be changed.
4502 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4503 Michael Albinus <michael.albinus@gmx.de>
4505 Implement compression for inline methods.
4507 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4508 (tramp-copy-size-limit): Allow also nil.
4509 (tramp-inline-compress-commands): New defconst.
4510 (tramp-find-inline-compress, tramp-get-inline-compress)
4511 (tramp-get-inline-coding): New defuns.
4512 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4513 replaced by `tramp-get-inline-coding'.
4514 (tramp-handle-file-local-copy, tramp-handle-write-region)
4515 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4517 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4519 Detect ssh 'ControlMaster' argument automatically in some cases.
4521 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4522 (tramp-default-method): Use it.
4524 2010-08-26 Karel Klíč <kklic@redhat.com>
4526 * net/tramp.el (tramp-file-name-for-operation):
4527 Add file-selinux-context.
4529 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4531 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4533 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4535 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4538 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4540 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4541 (js-paren-indent-offset, js-square-indent-offset)
4542 (js-curly-indent-offset): New options.
4543 (js--proper-indentation): Use them.
4545 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4547 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4548 instead of inspecting font-lock properties (Bug#6916).
4550 2010-08-26 David Reitter <david.reitter@gmail.com>
4552 * server.el (server-visit-files): Run pre-command-hook and
4553 post-command-hook for each buffer while it is current (Bug#6910).
4554 (server-execute): Do not run hooks here.
4556 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
4558 Sync with Tramp 2.1.19.
4560 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4561 (tramp-reporter-dump-variable, tramp-load-report-modules)
4562 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4563 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4565 * net/tramp-compat.el (top): Do not autoload
4566 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4567 only when `start-file-process' is not bound.
4568 (byte-compile-not-obsolete-vars): Define if not bound.
4569 (tramp-compat-funcall): New defmacro.
4570 (tramp-compat-line-beginning-position)
4571 (tramp-compat-line-end-position)
4572 (tramp-compat-temporary-file-directory)
4573 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4574 (tramp-compat-copy-file, tramp-compat-copy-directory)
4575 (tramp-compat-delete-file, tramp-compat-delete-directory)
4576 (tramp-compat-number-sequence, tramp-compat-process-running-p):
4578 (tramp-advice-file-expand-wildcards): Do not use
4579 `tramp-handle-file-remote-p'.
4580 (tramp-compat-make-temp-file): Simplify fallback implementation.
4581 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4582 (tramp-compat-copy-tree): Remove function.
4583 (tramp-compat-delete-file): New defun.
4584 (tramp-compat-delete-directory): Provide implementation for older
4586 (tramp-compat-file-attributes): Handle only
4587 `wrong-number-of-arguments' error.
4589 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4590 Add PRESERVE_SELINUX_CONTEXT.
4591 (tramp-fish-handle-delete-file): Add TRASH arg.
4592 (tramp-fish-handle-directory-files-and-attributes):
4593 Do not use `tramp-fish-handle-file-attributes.
4594 (tramp-fish-handle-file-local-copy)
4595 (tramp-fish-handle-insert-file-contents)
4596 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4598 * net/tramp-gvfs.el (top): Require url-util.
4599 (tramp-gvfs-mount-point): Remove.
4600 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4601 and `set-file-selinux-context'.
4602 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4603 (tramp-gvfs-handle-file-selinux-context)
4604 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4605 (with-tramp-dbus-call-method): Format trace message.
4606 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4607 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4608 Implement backup call, when operation on local files fails.
4609 Use progress reporter. Flush properties of changed files.
4610 (tramp-gvfs-handle-delete-file): Add TRASH arg.
4611 Use `tramp-compat-delete-file'.
4612 (tramp-gvfs-handle-expand-file-name): Expand "~/".
4613 (tramp-gvfs-handle-make-directory): Make more traces.
4614 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4615 (tramp-gvfs-url-file-name): Hexify file name in url.
4616 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4617 into account for the resulting file name.
4618 (tramp-gvfs-handler-askquestion): Preserve current message, in
4619 order to let progress reporter continue afterwards. (Bug#6257)
4620 Return dummy mountpoint, when the answer is "no".
4621 See `tramp-gvfs-maybe-open-connection'.
4622 (tramp-gvfs-handler-mounted-unmounted)
4623 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4624 attribute "default_location". Set "prefix" property.
4625 Handle default-location.
4626 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4627 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4628 exists. Raise an error, if not (due to a corresponding answer
4629 "no" in interactive questions, for example).
4630 Use `tramp-compat-funcall'.
4632 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4633 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4634 (tramp-imap-do-copy-or-rename-file)
4635 (tramp-imap-handle-insert-file-contents)
4636 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4637 (tramp-imap-handle-delete-file): Add TRASH arg.
4639 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4640 Add PRESERVE-SELINUX-CONTEXT.
4641 (tramp-smb-handle-copy-file)
4642 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4643 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4644 Use `with-progress-reporter'.
4645 (tramp-smb-handle-delete-file): Add TRASH arg.
4647 * net/tramp.el (tramp-methods): Move hostname to the end in all
4648 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
4650 (tramp-verbose): Describe verbose level 9.
4651 (tramp-completion-function-alist)
4652 (tramp-file-name-regexp, tramp-chunksize)
4653 (tramp-local-coding-commands, tramp-remote-coding-commands)
4654 (with-connection-property, tramp-completion-mode-p)
4655 (tramp-action-process-alive, tramp-action-out-of-band)
4656 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4657 (tramp-exists-file-name-handler): Fix docstring.
4658 (tramp-remote-process-environment): Use `format' instead of
4659 `concat'. Protect version string by apostroph.
4660 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4662 (tramp-file-name-regexp-unified)
4663 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4664 not regard the volume letter as remote filename. (Bug#5447)
4665 (tramp-perl-file-attributes)
4666 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4667 (tramp-vc-registered-read-file-names): Read input as
4668 here-document, otherwise the command could exceed maximum length
4670 (tramp-file-name-handler-alist): Add `file-selinux-context' and
4671 `set-file-selinux-context'.
4672 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4673 backtrace functions.
4674 (tramp-error-with-buffer): Don't show the connection buffer when
4675 we are in completion mode.
4676 (tramp-progress-reporter-update, tramp-remote-selinux-p)
4677 (tramp-handle-file-selinux-context)
4678 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4679 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4681 (with-progress-reporter): New defmacro.
4682 (tramp-debug-outline-regexp): New defconst.
4683 (top, tramp-rfn-eshadow-setup-minibuffer)
4684 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4685 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4686 (tramp-completion-mode-p, tramp-check-for-regexp)
4687 (tramp-open-connection-setup-interactive-shell)
4688 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4689 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4690 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4691 Use `tramp-compat-funcall'.
4692 (tramp-handle-make-symbolic-link): Flush file properties.
4693 (tramp-handle-load, tramp-handle-file-local-copy)
4694 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4695 (tramp-handle-vc-registered, tramp-maybe-send-script)
4696 (tramp-find-shell): Use `with-progress-reporter'.
4697 (tramp-do-file-attributes-with-stat): Add space in format string,
4698 in order to work around a bug in pdksh. Reported by Gilles Pion
4700 (tramp-handle-verify-visited-file-modtime): Do not send a command
4701 when the connection is not established.
4702 (tramp-handle-set-file-times): Simplify the check for utc.
4703 (tramp-handle-directory-files-and-attributes)
4704 (tramp-get-remote-path): Use `copy-tree'.
4705 (tramp-completion-handle-file-name-all-completions): Ensure, that
4706 non remote files are still checked. Oops.
4707 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4708 Handle PRESERVE-SELINUX-CONTEXT.
4709 (tramp-do-copy-or-rename-file): Add progress reporter.
4710 (tramp-do-copy-or-rename-file-directly): Do not use
4711 `tramp-handle-file-remote-p'.
4712 (tramp-do-copy-or-rename-file-out-of-band):
4713 Use `tramp-compat-delete-directory'.
4714 (tramp-do-copy-or-rename-file-out-of-band)
4715 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4716 Use `format-spec-make'.
4717 (tramp-handle-delete-file): Add TRASH arg.
4718 (tramp-handle-dired-uncache): Flush directory cache, not only file
4720 (tramp-handle-expand-file-name)
4721 (tramp-completion-handle-file-name-all-completions)
4722 (tramp-completion-handle-file-name-completion):
4723 Use `tramp-connectable-p'.
4724 (tramp-handle-start-file-process): Set connection property "vec".
4725 Use it, in order to invalidate file caches. Check only for
4726 `remote-tty' process property.
4727 Implement tty setting. (Bug#4604, Bug#6360)
4728 (tramp-file-name-for-operation): Add `call-process-region' and
4729 `set-file-selinux-context'.
4730 (tramp-find-foreign-file-name-handler)
4731 (tramp-advice-make-auto-save-file-name)
4732 (tramp-set-auto-save-file-modes): Remove superfluous check for
4733 `stringp'. This is done inside `tramp-tramp-file-p'.
4734 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4735 operations when we are in completion mode. This gives the user
4736 the chance to correct the file name in the minibuffer.
4737 (tramp-completion-mode-p): Use `non-essential'.
4738 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4739 compatibility: Use `completion-ignore-case' if
4740 `read-file-name-completion-ignore-case' does not exist.
4741 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4742 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4744 (tramp-action-password): Hide password prompt before next run.
4745 (tramp-process-actions): Widen connection buffer for the trace.
4746 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4747 process property. Trace stty settings if `tramp-verbose' >= 9.
4748 Apply workaround for IRIX64 bug. Move argument of last
4749 `tramp-send-command' where it belongs to.
4750 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4751 front of `login-args'.
4752 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4753 on "/dev/null" instead of "/".
4754 (tramp-get-ls-command-with-dired): Make test for "--dired"
4756 (tramp-set-auto-save-file-modes): Adapt version check.
4757 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4758 (tramp-handle-process-file): Call the program in a subshell, in
4759 order to preserve working directory.
4760 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4761 `tramp-remote-sh' from `tramp-methods'.
4762 (tramp-get-ls-command): Make test for "--color=never" stronger.
4763 (tramp-check-for-regexp): Use (forward-line 1).
4765 * net/trampver.el: Update release number.
4767 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4769 * help.el (help-map): Bind `C-h P' to describe-package.
4771 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4773 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4774 when downloading archives.
4775 (describe-package-1): Add package commentary.
4776 (package-install-button-action): New function.
4777 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4778 (package-menu-view-commentary): Function removed.
4779 (package-list-packages-internal): Hide the `package' package too.
4781 2010-08-25 Kenichi Handa <handa@m17n.org>
4783 * language/misc-lang.el ("Arabic"): New language environment.
4784 Setup composition-function-table for Arabic characters.
4786 * international/fontset.el (setup-default-fontset): Fix typo for
4787 arabic OTF spec (fini->fina).
4789 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4791 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4794 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4796 * whitespace.el: Allow cleaning up blanks without blank
4797 visualization (Bug#6651). Adjust help window for
4798 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4799 instead of whitespace-line-column (from EmacsWiki). New version
4801 (whitespace-style): Add new value 'face. Adjust docstring.
4802 (whitespace-space, whitespace-hspace, whitespace-tab):
4803 Adjust foreground property face.
4804 (whitespace-line-column): Adjust docstring and type declaration.
4805 (whitespace-style-value-list, whitespace-toggle-option-alist)
4806 (whitespace-help-text): Adjust const initialization.
4807 (whitespace-toggle-options, global-whitespace-toggle-options):
4809 (whitespace-display-window, whitespace-interactive-char)
4810 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4811 (whitespace-help-scroll): New fun.
4813 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4815 * emacs-lisp/package.el (list-packages): Alias for
4816 package-list-packages.
4818 2010-08-24 Kevin Ryde <user42@zip.com.au>
4820 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4823 * progmodes/ruby-mode.el (ruby): Add defgroup.
4825 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4827 * progmodes/python.el: Add Ipython support (Bug#5390).
4828 (python-shell-prompt-alist)
4829 (python-shell-continuation-prompt-alist): New options.
4830 (python--set-prompt-regexp): New function.
4831 (inferior-python-mode, run-python, python-shell):
4832 Require ansi-color. Use python--set-prompt-regexp to set the comint
4833 prompt based on the Python interpreter.
4834 (python--prompt-regexp): New var.
4835 (python-check-comint-prompt)
4836 (python-comint-output-filter-function): Use it.
4837 (run-python): Use a pipe (Bug#5694).
4839 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4841 * progmodes/python.el (python-send-region): Send a different
4842 Python command if Ipython is in use.
4843 (python-check-version): Use a Python command to find the version.
4845 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
4847 * mouse.el (mouse-yank-primary): Avoid setting primary when
4848 deactivating the mark (Bug#6872).
4850 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
4852 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4853 with "else" (Bug#3991).
4855 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
4857 * net/dbus.el: Accept UNIX domain sockets as bus address.
4858 (top): Don't initialize `dbus-registered-objects-table' anymore,
4859 this is done in dbusbind,c.
4860 (dbus-check-event): Adapt test for bus.
4861 (dbus-return-values-table, dbus-unregister-service)
4862 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4865 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
4867 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4869 2010-08-22 Juri Linkov <juri@jurta.org>
4871 * simple.el (read-extended-command): New function with the logic
4872 for `completing-read' moved to Elisp from `execute-extended-command'.
4873 Use `function-called-at-point' in `minibuffer-default-add-function'
4874 to get a command name for M-n (bug#5364, bug#5214).
4876 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4878 * startup.el (command-line-1): Issue warning for ignored arguments
4879 --unibyte, etc (Bug#6886).
4881 2010-08-22 Leo <sdl.web@gmail.com>
4883 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4884 (ignore, bright, dim, keyword): Split list of nicknames before
4885 passing to rcirc-add-or-remove (Bug#6894).
4887 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4889 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4891 2010-08-22 Leo <sdl.web@gmail.com>
4893 Fix buffer-list rename&refresh after killing a buffer in ido.
4894 * ido.el: Revert Óscar's.
4895 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4896 Remember the buffers at head, rather than their name.
4897 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4899 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
4900 Stefan Monnier <monnier@iro.umontreal.ca>
4902 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4903 extra backslash added to each line (bug#6890).
4905 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4907 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4909 2010-08-22 Glenn Morris <rgm@gnu.org>
4911 * menu-bar.el (menu-bar-games-menu): Add landmark.
4913 2010-08-22 Glenn Morris <rgm@gnu.org>
4915 * align.el (align-regexp): Make group and spacing arguments
4916 use the interactive defaults when non-interactive. (Bug#6698)
4918 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4919 expansion, so as not to need sendmail.
4920 (mail-text-start): Remove declaration.
4921 (rmail-retry-failure): Require sendmail.
4923 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4925 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4927 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
4929 * progmodes/flymake.el (flymake-start-syntax-check-process):
4930 Use `start-file-process' in order to let it run also on remote hosts.
4932 2010-08-22 Kenichi Handa <handa@m17n.org>
4934 * files.el: Add `word-wrap' as safe local variable.
4936 2010-08-22 Glenn Morris <rgm@gnu.org>
4938 * woman.el (woman-translate): Case matters. (Bug#6849)
4940 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
4942 * simple.el (kill-region): Doc fix (Bug#6787).
4944 2010-08-22 Glenn Morris <rgm@gnu.org>
4946 * calendar/diary-lib.el (diary-header-line-format):
4947 Fit it to the window, not the frame.
4949 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
4951 * subr.el (ignore-errors): Add debug declaration.
4953 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
4955 * whitespace.el (whitespace-color-off): Remove post-command-hook
4958 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4960 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4962 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4964 * cus-edit.el (custom-group-value-create): Add extra newline
4965 before end line (Bug#6876).
4967 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
4969 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4970 when extending it. Before killing on the second click, check if
4971 the buffer is the correct one. Doc fix.
4972 (mouse-secondary-save-then-kill): Allow usage without first
4973 calling mouse-start-secondary, by defaulting to point. Don't save
4974 an empty secondary selection. Doc fix.
4976 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4978 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4979 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4981 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4982 Adjust initialization.
4983 (whitespace-bob-marker, whitespace-eob-marker)
4984 (whitespace-buffer-changed): New vars.
4985 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4986 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4987 (whitespace-post-command-hook, whitespace-display-char-on):
4989 (whitespace-looking-back, whitespace-buffer-changed): New funs.
4990 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4992 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4994 * files.el (locate-file-completion-table): Only list the .el and .elc
4995 extensions if there's no other choice (bug#5955).
4997 * facemenu.el (facemenu-self-insert-data): New var.
4998 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5000 (facemenu-add-face): Use them.
5002 * simple.el (blink-matching-open): Obey forward-sexp-function.
5004 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5006 * simple.el (prog-mode-map): New var.
5007 (prog-indent-sexp): New command.
5009 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5011 * progmodes/prolog.el (smie): Require.
5013 * emacs-lisp/smie.el (smie-default-backward-token)
5014 (smie-default-forward-token): Strip properties.
5015 (smie-next-sexp): Be more careful with associative operators.
5016 (smie-forward-sexp-command): Generalize.
5017 (smie-backward-sexp-command): Simplify.
5018 (smie-closer-alist): New var.
5019 (smie-close-block): New command.
5020 (smie-indent-debug-log): New var.
5021 (smie-indent-offset-rule): Add a few more cases.
5022 (smie-indent-column): New function.
5023 (smie-indent-after-keyword): Use it.
5024 (smie-indent-keyword): Use it.
5025 Fix up the opener code's point position.
5026 (smie-indent-comment): Only applies at BOL.
5027 (smie-indent-debug): New command.
5029 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5030 declarations that are useful before running the macro.
5032 2010-08-18 Joakim Verona <joakim@verona.se>
5034 * image.el (imagemagick-types-inhibit): New variable.
5035 (imagemagick-register-types): New function.
5036 * image-mode.el (image-transform-properties): New function.
5037 (image-transform-set-scale, image-transform-fit-to-height)
5038 (image-transform-set-rotation, image-transform-set-resize)
5039 (image-transform-fit-to-width, image-transform-fit-to-height):
5041 (image-toggle-display-image): Support image transforms.
5043 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5045 * image.el (create-animated-image): Don't add heuristic mask to image
5048 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5050 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5051 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5053 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5055 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5057 Font-lock '...' strings, plus various simplifications and fixes.
5058 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5059 (octave-font-lock-close-quotes): New function.
5060 (octave-font-lock-syntactic-keywords): New var.
5061 (octave-mode): Use it. Set beginning-of-defun-function.
5062 (octave-mode-map): Don't override the <foo>-defun commands.
5063 (octave-mode-menu): Pass it directly to easy-menu-define;
5064 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5065 (octave-block-match-alist): Fix up last change so that
5066 octave-close-block uses the more specific keyword.
5067 (info-lookup-mode): Silence byte-compiler.
5068 (octave-beginning-of-defun): Not interactive any more.
5070 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5071 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5072 (octave-completion-at-point-function): Make sure point is within
5074 (octave-reindent-then-newline-and-indent):
5075 Use reindent-then-newline-and-indent.
5076 (octave-add-octave-menu): Remove.
5078 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5080 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5081 (report-emacs-bug-can-use-xdg-email): New functions.
5082 (report-emacs-bug): Set can-xdg-email to result of
5083 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5084 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5087 * net/browse-url.el (browse-url-default-browser): Add cond
5088 for browse-url-xdg-open.
5089 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5091 2010-08-17 Glenn Morris <rgm@gnu.org>
5093 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5094 (c-fontify-recorded-types-and-refs): Define for compiler.
5095 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5098 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5101 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5103 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5105 (tramp-handle-process-file): Call the program in a subshell, in
5106 order to preserve working directory.
5107 (tramp-action-password): Hide password prompt before next run.
5108 (tramp-process-actions): Widen connection buffer for the trace.
5110 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5112 * net/rcirc.el (rcirc-log-process-buffers): New option.
5113 (rcirc-print): Use it.
5114 (rcirc-generate-log-filename): New function.
5115 (rcirc-log-filename-function): Change default to
5116 rcirc-generate-log-filename (Bug#6828).
5118 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5120 * simple.el (deactivate-mark): If select-active-regions is `only',
5121 only set selection for temporarily active regions.
5123 * cus-start.el: Change defcustom for select-active-regions.
5125 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5127 * mouse.el (mouse--drag-set-mark-and-point): New function.
5128 (mouse-drag-track): Use LOCATION arg to push-mark.
5129 Use mouse--drag-set-mark-and-point to take click-count into
5130 consideration when updating point and mark (Bug#6840).
5132 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5134 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5135 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5137 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5139 * font-lock.el (lisp-font-lock-keywords-2):
5140 Add combine-after-change-calls, condition-case-no-debug,
5141 with-demoted-errors, and with-silent-modifications (Bug#6025).
5143 2010-08-14 Kevin Ryde <user42@zip.com.au>
5145 * emacs-lisp/copyright.el (copyright-update-year)
5146 (copyright-update): Temporary switch-to-buffer to ensure the
5147 buffer change being queried is visible (Bug#5394).
5149 2010-08-14 Tom Tromey <tromey@redhat.com>
5151 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5154 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5156 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5159 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5161 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5162 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5163 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5164 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5165 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5166 Call menu-bar-set-tool-bar-position.
5168 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5170 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5171 comment style (bug#6834).
5172 * progmodes/scheme.el (scheme-mode-syntax-table):
5173 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5174 "b" flag in "' 14b" syntax.
5176 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5177 for (un)commenting the region and performing completion.
5178 (octave-mode-menu): Use standard commands for help and completion.
5179 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5180 (octave-mode): Use define-derived-mode.
5181 Set completion-at-point-functions and don't set columns.
5182 Don't disable adaptive-fill-regexp.
5183 (octave-describe-major-mode, octave-comment-region)
5184 (octave-uncomment-region, octave-comment-indent)
5185 (octave-indent-for-comment): Remove.
5186 (octave-indent-calculate): Rename from calculate-octave-indent.
5187 (octave-indent-line, octave-fill-paragraph): Update caller.
5188 (octave-initialize-completions): No need to make an alist.
5189 (octave-completion-at-point-function): New function.
5190 (octave-complete-symbol): Use it.
5191 (octave-insert-defun): Use define-skeleton.
5193 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5194 (octave-mode-map): Use comment-dwim (bug#6829).
5196 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5198 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5199 indentation of inserted comment.
5201 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5203 * faces.el (region): Add type gtk that uses gtk colors.
5205 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5206 Handle theme-name change.
5208 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5210 * progmodes/sql.el: Version 2.5
5211 (sql-product-alist): Add :prompt-cont-regexp property for several
5213 (sql-prompt-cont-regexp): New variable.
5214 (sql-output-newline-count, sql-output-by-send):
5215 New variables. Record number of newlines in input text.
5216 (sql-send-string): Handle multiple filters and count newlines.
5217 (sql-send-magic-terminator): Count terminator newline.
5218 (sql-interactive-remove-continuation-prompt): Filters output to
5219 remove continuation prompts; one for each newline.
5220 (sql-interactive-mode): Set up new variables, prompt regexp and
5222 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5223 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5225 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * emacs-lisp/pcase.el: New file.
5229 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5231 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5232 as here-document, otherwise the command could exceed maximum
5233 length of command line.
5234 (tramp-handle-vc-registered): Call script accordingly.
5235 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5237 2010-08-10 Kenichi Handa <handa@m17n.org>
5239 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5242 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5244 * emacs-lisp/package.el (package-version-split)
5245 (package--version-first-nonzero, package-version-compare):
5247 (package-directory-list, package-load-all-descriptors)
5248 (package--built-in, package-activate, define-package)
5249 (package-installed-p, package-compute-transaction)
5250 (package-read-all-archive-contents)
5251 (package--add-to-archive-contents, package-buffer-info)
5252 (package-tar-file-info, package-list-packages-internal):
5253 Use version-to-list and version-list-*.
5255 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5256 Use version-to-list.
5257 (package-upload-buffer-internal): Use version-list-<=.
5259 2010-08-09 Kenichi Handa <handa@m17n.org>
5261 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5264 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5266 * tutorial.el (tutorial--default-keys): C-d is now bound to
5267 delete-forward-char (Bug#6826).
5269 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5270 for `double' value of mouse-1-click-follows-link (Bug#6807).
5272 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5274 * replace.el (replace-highlight): Bind isearch-forward and
5275 isearch-error, ensuring that highlighting is updated if the user
5276 switches the search direction (Bug#6808).
5278 * isearch.el (isearch-lazy-highlight-forward): New var.
5279 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5280 (isearch-lazy-highlight-update): Use it.
5282 2010-08-08 Kenichi Handa <handa@m17n.org>
5284 * international/mule.el (define-charset): Store NAME as :base property.
5285 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5286 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5287 current priority. Force using the designation of the specific
5288 charset by adding `charset' text property. Improve the whole algorithm.
5290 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5292 * emulation/pc-select.el (pc-selection-mode-hook)
5293 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5294 (pc-selection-mode): Fix typos in docstrings.
5296 2010-08-08 Kenichi Handa <handa@m17n.org>
5298 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5299 ctext-non-standard-encodings-alist here.
5301 * international/mule.el (ctext-non-standard-encodings-alist):
5302 Add "koi8-r" and "microsoft-cp1251".
5303 (ctext-standard-encodings): New variable.
5304 (ctext-non-standard-encodings-table): List only elements for
5305 non-standard encodings.
5306 (ctext-pre-write-conversion): Adjust for the above change.
5307 Check ctext-standard-encodings.
5309 * international/mule-conf.el (compound-text): Doc fix.
5310 (ctext-no-compositions): Doc fix.
5311 (compound-text-with-extensions): Doc fix.
5313 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5315 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5317 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5319 * progmodes/which-func.el (which-func-format): Split help-echo text
5320 into lines, like other mode-line tooltips.
5322 * server.el (server-start): When using TCP sockets, force IPv4
5323 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5325 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5327 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5329 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5331 * term.el (term-delimiter-argument-list): Reflow docstring.
5332 (term-read-input-ring, term-write-input-ring, term-send-input)
5333 (term-bol, term-erase-in-display, serial-supported-or-barf):
5334 Fix typos in docstrings.
5336 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5340 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5342 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5344 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5346 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5347 Fix typo in docstring (bug#6747).
5349 2010-08-08 Leo <sdl.web@gmail.com>
5351 * eshell/esh-io.el (eshell-get-target): Better detection of
5352 read-only file (Bug#6762).
5354 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5356 * align.el (align-default-spacing): Doc fix.
5357 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5359 2010-08-08 Stephen Peters <speters@itasoftware.com>
5361 * calendar/icalendar.el
5362 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5363 (icalendar--get-weekday-numbers): New.
5364 (icalendar--convert-recurring-to-diary): Handle multiple byday
5365 values in weekly rules. (Bug#6766)
5367 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5369 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5370 (icalendar--create-uid, icalendar-export-region)
5371 (icalendar--parse-summary-and-rest): Code formatting.
5373 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5375 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5376 to italicize headers.
5377 (calc-highlight-selections-with-faces): New variable.
5378 (calc-selected-face, calc-nonselected-face): New faces.
5380 * calc/calccomp.el (math-comp-highlight-string): Use
5381 `calc-highlight-selections-with-faces' to determine how to highlight
5384 * calc/calc-sel.el (calc-show-selections): Change message to when
5385 using faces to highlight selections.
5387 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5389 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5390 Add SQLite 3 keywords, functions and datatypes.
5391 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5394 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5396 * simple.el (select-active-regions): Move to keyboard.c.
5397 (deactivate-mark): Used saved-region-selection.
5398 (select-active-region): Function removed.
5399 (activate-mark, set-mark, push-mark-command)
5400 (handle-shift-selection): Don't call it.
5401 (keyboard-quit): Avoid adding the region to the window selection.
5403 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5404 select-active-regions implementation.
5405 (mouse-yank-at-click): Doc fix.
5407 * cus-start.el: Add custom declaration for select-active-regions.
5409 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5411 * simple.el (delete-forward-char): Doc fix.
5413 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5414 after reading the tutorial.
5416 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5418 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5419 Fix for the case that a C style comment has its delimiters alone on
5420 their respective lines.
5422 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5424 * net/tramp.el (tramp-handle-start-file-process): Set connection
5426 (tramp-process-sentinel): Use it for flushing the cache.
5427 We cannot do it via the process buffer, the buffer could be deleted
5428 already when running the sentinel.
5430 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5432 * comint.el (comint-mode): Make directory tracking functions
5433 functional on remote files. (Bug#6764)
5435 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5437 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5439 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5441 * emacs-lisp/find-gc.el (find-gc-source-files):
5442 Rename unexec.c => unexcoff.c.
5444 * emacs-lisp/authors.el (authors-fixed-entries):
5445 Rename unexec.c => unexcoff.c.
5447 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5449 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5450 cache, not only file cache.
5451 (tramp-process-sentinel): New defun.
5452 (tramp-handle-start-file-process): Use it, in order to invalidate
5455 2010-08-03 Leo <sdl.web@gmail.com>
5457 * server.el (server-start): Simplify loop.
5459 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5461 * frame.el (screen-height, screen-width, set-screen-width)
5462 (set-screen-height): Remove ancient compatibility aliases.
5464 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5465 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5467 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5468 that change current buffer.
5470 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5472 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5473 beginning of the string. Use `string-match-p'. (Bug#6765)
5475 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5477 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5479 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5481 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5482 (package--builtins): Tweak descriptions.
5483 (package-print-package): Upcase descriptions if necessary.
5484 Show all built-in packages in font-lock-builtin-face.
5485 (package-list-packages-internal): Omit "emacs" package.
5486 Show status of built-in packages as "built-in".
5488 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5490 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5491 before killing to preserve the primary selection (Bug#6701).
5493 * term/x-win.el (x-select-text): Doc fix.
5495 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5497 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5498 (objc-font-lock-extra-types):
5499 * progmodes/cc-mode.el (c-basic-common-init):
5500 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5501 (c++-make-template-syntax-table)
5502 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5503 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5504 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5505 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5506 * progmodes/cc-fonts.el (c-make-inverse-face)
5507 (c-basic-matchers-after):
5508 * progmodes/cc-engine.el (c-forward-keyword-clause)
5509 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5510 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5511 (c-guess-continued-construct, c-guess-basic-syntax):
5512 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5513 The above functions were modified or created.
5515 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5517 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5519 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5521 * files.el (bidi-paragraph-direction): Define safe local values.
5523 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5524 language-info-alist. Remove outdated FIXME in a comment.
5526 2010-07-31 Alan Mackenzie <acm@muc.de>
5528 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5529 Auto-fill broken in C/C++ modes.
5531 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5533 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5534 (menu-bar-showhide-tool-bar-menu-customize-disable)
5535 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5536 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5537 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5538 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5539 make a menu for Options => toolbar that can move it.
5541 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5543 * emacs-lisp/package-x.el (package--make-rss-entry):
5544 (package-maint-add-news-item, package--update-news)
5545 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5547 * emacs-lisp/package.el (package-archive-url): Rename from
5549 (package-install): Doc fix.
5550 (package-download-single, package-download-tar, package-install)
5551 (package-menu-view-commentary): Callers changed.
5553 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
5555 * net/tramp.el (tramp-handle-start-file-process): Check only for
5556 `remote-tty' process property.
5557 (tramp-open-shell): Don't check for tty.
5558 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5561 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5564 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
5566 * emacs-lisp/package.el (package-load-list, package-archives)
5567 (package-archive-contents, package-user-dir)
5568 (package-directory-list, package--builtins, package-alist)
5569 (package-activated-list, package-obsolete-alist): Mark as risky.
5571 2010-07-28 Phil Hagelberg <phil@evri.com>
5573 Add support for non-default package repositories.
5574 * emacs-lisp/package.el (package-archive-base): Var deleted.
5575 (package-archives): New variable.
5576 (package-archive-contents): Doc fix.
5577 (package-load-descriptor): Do nothing if descriptor file is missing.
5578 (package--write-file-no-coding): New function.
5579 (package-unpack-single): Use it.
5580 (package-archive-id): New function.
5581 (package-download-single, package-download-tar)
5582 (package-menu-view-commentary): Use it.
5583 (package-installed-p): Make second argument optional.
5584 (package-read-all-archive-contents): New function.
5585 (package-initialize): Use it.
5586 (package-read-archive-contents): Add ARCHIVE argument.
5587 (package--add-to-archive-contents): New function.
5588 (package-install): Don't call package-read-archive-contents.
5589 (package--download-one-archive): Store archive file in a
5590 subdirectory of package-user-dir.
5591 (package-menu-execute): Remove spurious line movement.
5593 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
5595 * cus-start.el (tool-bar-style): Add text-image-horiz.
5597 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5599 * progmodes/gud.el (gud-common-init): Check for remoteness of
5600 `file', and not of `default-directory'.
5602 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
5604 * net/tramp.el (tramp-methods): Move hostname to the end in all
5605 ssh `tramp-login-args'.
5606 (tramp-verbose): Describe verbose level 9.
5607 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5608 (tramp-open-connection-setup-interactive-shell): Trace stty
5609 settings if `tramp-verbose' >= 9.
5610 (tramp-handle-start-file-process): Implement tty setting.
5611 (Bug#4604, Bug#6360)
5613 * net/tramp-cmds.el (tramp-bug): Recommend setting of
5614 `tramp-verbose' to 9.
5616 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
5618 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5619 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5620 Remove references to package `lisp-re' (bug#4369).
5622 2010-07-27 Tom Tromey <tromey@redhat.com>
5624 * progmodes/js.el (js-mode):
5625 * progmodes/make-mode.el (makefile-mode):
5626 * progmodes/simula.el (simula-mode):
5627 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5629 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
5631 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5633 * time.el (display-time-day-and-date): Remove spurious * in docstring.
5634 (display-time-world-buffer-name, display-time-world-mode-map):
5635 Fix typos in docstrings.
5637 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
5639 * image-mode.el (image-display-size): New function.
5640 (image-forward-hscroll, image-next-line, image-eol, image-eob)
5641 (image-mode-fit-frame): Use it (Bug#6639).
5643 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
5645 * dired.el (dired-buffers-for-dir): Handle list values of
5646 dired-directory (Bug#6636).
5648 2010-07-26 Sam Steingold <sds@gnu.org>
5650 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5651 Do not call `x-get-selection' the second time, reuse the value.
5653 2010-07-26 Daiki Ueno <ueno@unixuser.org>
5655 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5656 which consist of control chars only. Suggested by Richard Stallman.
5658 2010-07-25 Daiki Ueno <ueno@unixuser.org>
5660 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5661 exists before passing an error to find-file-not-found-functions
5664 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
5666 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5667 Remove leading nil element, adjust values.
5668 (tetris-shapes, tetris-shape-scores):
5669 Change representation of shapes and remove some redundancy.
5670 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5671 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5672 Adjust for working with new representation of shapes.
5673 (tetris-shape-rotations): New function.
5674 (tetris-move-bottom, tetris-move-left, tetris-move-right)
5675 (tetris-rotate-prev, tetris-rotate-next):
5676 Adjust for working with the new version of tetris-test-shape.
5678 2010-07-23 Markus Triska <markus.triska@gmx.at>
5680 * progmodes/ps-mode.el: Use comint (bug#5954).
5681 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5682 (ps-mode-other-newline): Simplify.
5683 (ps-run-mode): Derive from comint-mode instead of
5684 fundamental-mode, yielding input history etc.
5685 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5686 (ps-run-send-string): Adapt for comint-mode.
5687 (ps-run-newline): Remove now unneeded function.
5689 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5691 * net/tramp.el (tramp-methods): Move hostname to the end in all
5692 plink `tramp-login-args'.
5694 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5696 * net/tramp.el (tramp-open-shell): New defun.
5697 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5700 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
5702 * net/tramp.el (tramp-file-name-regexp-unified)
5703 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5704 not regard the volume letter as remote filename. (Bug#5447)
5706 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
5708 * custom.el (custom-declare-variable): Give a clearer error message
5709 when the docstring is missing (bug#6476).
5711 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5713 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5714 (sql-login-params): New widget definition.
5715 (sql-oracle-login-params, sql-mysql-login-params)
5716 (sql-solid-login-params, sql-sybase-login-params)
5717 (sql-informix-login-params, sql-ingres-login-params)
5718 (sql-ms-login-params, sql-postgres-login-params)
5719 (sql-interbase-login-params, sql-db2-login-params)
5720 (sql-linter-login-params): Use it.
5721 (sql-sqlite-login-params): Use it; Define "database" parameter as
5723 (sql-sqlite-program): Change to "sqlite3".
5724 (sql-comint-sqlite): Make sure database name is complete.
5725 (sql-for-each-login): New function.
5726 (sql-connect, sql-save-connection): Use it.
5727 (sql-get-login-ext): New function.
5728 (sql-get-login): Use it.
5729 (sql-make-alternate-buffer-name): Handle :file parameters.
5731 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
5733 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5734 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5736 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5738 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5740 2010-07-22 Lawrence Mitchell <wence@gmx.li>
5742 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5744 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
5746 * net/tramp.el (tramp-get-ls-command)
5747 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5750 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5752 * progmodes/sql.el: Version 2.3.
5753 (sql-connection-alist): Changed keys from symbols to strings;
5754 enhanced the widget definition.
5755 (sql-mode-menu): Add submenu to select connections.
5756 (sql-interactive-mode-menu): Add "Save Connection" item.
5757 (sql-add-product): Fix menu item.
5758 (sql-get-product-feature): Improved error handling.
5759 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5760 (sql-make-alternate-buffer-name): Simplified.
5761 (sql-product-interactive): Handle missing product.
5762 (sql-connect): Support string keys, minor improvements.
5763 (sql-save-connection): New function.
5764 (sql-connection-menu-filter): New function.
5766 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5768 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5769 (tramp-open-connection-setup-interactive-shell):
5770 Apply workaround for IRIX64 bug. Move argument of last
5771 `tramp-send-command' where it belongs to.
5773 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
5775 * net/tramp.el (tramp-perl-file-attributes)
5776 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5777 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5778 front of `login-args'.
5780 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
5782 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5783 Set `show-trailing-whitespace' to nil.
5784 (display-time-world-display): Simplify.
5786 2010-07-18 Alan Mackenzie <acm@muc.de>
5788 Enhance `c-file-style' in file/directory local variables.
5789 * progmodes/cc-mode.el (c-count-cfss): New function.
5790 (c-before-hack-hook): Call `c-set-style' differently according to
5791 whether c-file-style was set in file or directory local
5794 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5796 * progmodes/sql.el: Version 2.2.
5797 (sql-product, sql-user, sql-database, sql-server, sql-port):
5798 Use defcustom :safe keyword rather than putting safe-local-variable
5800 (sql-password): Use defcustom :risky keyword rather than putting
5801 risky-local-variable property.
5802 (sql-oracle-login-params, sql-sqlite-login-params)
5803 (sql-solid-login-params, sql-sybase-login-params)
5804 (sql-informix-login-params, sql-ingres-login-params)
5805 (sql-ms-login-params, sql-postgres-login-params)
5806 (sql-interbase-login-params, sql-db2-login-params)
5807 (sql-linter-login-params): Add `port' option.
5808 (sql-get-product-feature): Add NO-INDIRECT parameter.
5809 (sql-comint-oracle, sql-comint-sybase)
5810 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5811 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5812 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5813 (sql-comint-linter): Rename sql-connect-* functions to
5815 (sql-product-alist, sql-mode-menu): Rename as above and
5816 :sqli-connect-func to :sqli-comint-func.
5817 (sql-connection): New variable.
5818 (sql-interactive-mode): Set it.
5819 (sql-connection-alist): New variable.
5820 (sql-connect): New function.
5821 (sql--alt-buffer-part, sql--alt-if-not-empty)
5822 (sql-make-alternate-buffer-name): Improved alternative buffer name.
5824 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5826 * image-mode.el (image-bookmark-make-record): Do not set context
5827 in an image (Bug#6650).
5829 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5831 * simple.el (select-active-region): New function.
5832 (push-mark-command, set-mark, activate-mark)
5833 (handle-shift-selection): Use it.
5834 (deactivate-mark): Don't check for size of region.
5836 * mouse.el (mouse-drag-track): Use select-active-region.
5838 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
5840 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5843 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
5845 * term/x-win.el (x-select-enable-primary): Change default to nil.
5846 (x-select-enable-clipboard): Add :version keyword.
5848 * mouse.el (mouse-drag-copy-region):
5849 * simple.el (select-active-regions): Likewise.
5851 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5853 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5854 (vc-coding-system-for-diff): Use it to decide whether to inherit
5855 from the file the EOL format for reading the diffs of that file.
5858 2010-07-16 Eli Zaretskii <eliz@gnu.org>
5860 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5861 unibyte, so compressed attachments are not compressed again.
5863 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
5865 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5866 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5867 (tramp-find-shell): Simplify setting connection property.
5868 (tramp-get-ls-command): Make test for "--color=never" stronger.
5870 2010-07-15 Simon South <ssouth@member.fsf.org>
5872 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5873 blocks within record declarations (i.e. variant parts) correctly.
5875 2010-07-15 Simon South <ssouth@member.fsf.org>
5877 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5878 over literal tokens when parsing so newlines aren't "absorbed" by
5879 single-line comments. Corrects the indentation of case blocks
5880 that have a comment on the first line.
5882 2010-07-14 Karl Fogel <kfogel@red-bean.com>
5884 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5885 by Drew Adams (Bug#5504).
5887 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5889 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5890 now that Unicode is used (Bug#6594).
5892 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
5894 * term/x-win.el (x-select-enable-clipboard): Default to t.
5895 (x-initialize-window-system): Don't overwrite Paste menu item.
5897 * simple.el (select-active-regions): Default to t.
5898 (push-mark-command): Don't overwrite primary with empty string.
5900 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5901 (mouse-drag-copy-region): Default to nil.
5903 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5904 Cut/Copy/Paste menu bar items.
5906 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5908 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5909 Patch applied by Karl Fogel.
5911 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5912 and `bookmark-current-buffer' if they have been already set in
5913 another buffer (e.g gnus-art).
5915 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5916 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5918 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5920 * bookmark.el (bookmark-make-record-default): Allow unneeded
5921 information to be omitted from the record.
5923 Adjust declarations and calls:
5925 * info.el (bookmark-make-record-default): Adjust declaration.
5926 (Info-bookmark-make-record): Adjust call.
5928 * woman.el (bookmark-make-record-default): Adjust declaration.
5929 (woman-bookmark-make-record): Adjust call.
5931 * man.el (bookmark-make-record-default): Adjust declaration.
5932 (Man-bookmark-make-record): Adjust call.
5934 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5936 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5938 2010-07-13 Karl Fogel <kfogel@red-bean.com>
5940 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5941 This is also from Thierry Volpiatto's patch in bug #6444. However,
5942 because it was extraneous to the functional change in that patch,
5943 and causes a re-indendation, I am committing it separately.
5945 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5947 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5948 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5949 Patch applied by Karl Fogel (Bug#6444).
5951 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
5953 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5955 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5957 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5958 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5959 (ns-alternatives-map): Change S-tab binding to backtab
5962 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5965 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5967 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5970 * language/tv-util.el (tai-viet-re): Remove format.
5972 2010-07-12 Kenichi Handa <handa@m17n.org>
5974 * language/hebrew.el: Remove no-byte-compile declaration.
5975 Change coding: tag to utf-8. Register hebrew-shape-gstring in
5976 composition-function-table for 3-character looking back.
5977 (hebrew-font-get-precomposed): New function.
5978 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5980 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
5982 * mouse.el (mouse-drag-track): Handle select-active-regions
5985 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5987 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5988 empty argument to gvfs-copy.
5990 2010-07-10 Glenn Morris <rgm@gnu.org>
5992 * calendar/calendar.el (calendar-week-end-day): New function.
5993 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5994 Respect calendar-week-start-day. (Bug#6606)
5995 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5996 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5997 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5998 respect calendar-week-start-day.
6000 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6002 * simple.el (use-region-p): Doc fix (Bug#6607).
6004 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6006 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6007 Add regexps for cucumber and ruby.
6009 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6011 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6012 (epa-file-insert-file-contents): Hack to prevent
6013 find-file from opening empty buffer when decryption failed
6016 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6018 * textmodes/ispell.el (ispell-alternate-dictionary):
6019 Use file-readable-p.
6020 Return nil if no word-list is found at default locations.
6021 (ispell-complete-word-dict): Default to nil.
6022 (ispell-command-loop): Use 'word-list' when using lookup-words.
6023 (lookup-words): Use ispell-complete-word-dict or
6024 ispell-alternate-dictionary. Check for word-list availability
6025 and handle errors if needed with better messages (Bug#6539).
6026 (ispell-complete-word): Use ispell-complete-word-dict or
6027 ispell-alternate-dictionary.
6029 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6031 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6032 builtins (BufferError, BytesWarning, WindowsError; callables
6033 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6035 2010-07-07 Glenn Morris <rgm@gnu.org>
6037 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6038 (zone-shift-left): Ignore intangibility, and any errors from
6040 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6041 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6042 deleting, and copying text properties.
6043 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6044 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6045 to point-max is hard.
6046 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6047 (zone-fill-out-screen): Ignore intangibility.
6049 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6051 * menu-bar.el (menu-bar-mode):
6052 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6055 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6056 word/line selection (Bug#6565).
6058 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6060 * net/dbus.el (dbus-send-signal): Declare function.
6062 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6064 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6065 (dbus-register-property): New optional argument EMITS-SIGNAL.
6066 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6068 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6070 * mouse.el (mouse-drag-overlay): Variable deleted.
6071 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6072 (mouse--remap-link-click-p): New function.
6073 (mouse-drag-track): Handle dragging by using temporary Transient
6074 Mark mode, instead of a special overlay.
6075 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6078 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6081 2010-07-02 Juri Linkov <juri@jurta.org>
6083 * autoinsert.el (auto-insert-alist): Fix readability
6084 by using dotted pair notation for lambda.
6086 2010-07-02 Juri Linkov <juri@jurta.org>
6088 * faces.el (read-face-name): Rename arg `string-describing-default'
6089 to `default'. Doc fix. Display the default value in quotes
6090 in the prompt. With empty input, return the `default' arg,
6091 unless the default value is a string (in which case return nil).
6092 (describe-face): Replace the string `default' arg of `read-face-name'
6093 with the symbol `default'.
6095 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6097 * emulation/viper-cmd.el (viper-delete-backward-char)
6098 (viper-del-backward-char-in-insert)
6099 (viper-del-backward-char-in-replace, viper-change)
6100 (viper-backward-indent): Replace delete-backward-char with
6101 delete-char (Bug#6552).
6103 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6105 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6107 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6109 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6110 argument passed to frame-creation-function (Bug#5378).
6112 * faces.el (x-handle-named-frame-geometry)
6113 (x-handle-reverse-video, x-create-frame-with-faces)
6114 (face-set-after-frame-default, tty-create-frame-with-faces):
6115 Don't separately consult default-frame-alist. It is now passed as the
6118 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6120 * startup.el (command-line): Don't call tool-bar-setup in a
6123 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6125 * ruler-mode.el (ruler--save-header-line-format): New fun.
6126 (ruler-mode): Use it as a setter function, so as not to overwrite
6127 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6129 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6131 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6132 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6133 (vc-log-outgoing): Use it.
6134 (vc-diff-internal): Set diff-vc-backend.
6136 * vc/diff-mode.el (diff-vc-backend): New var.
6138 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6140 * dynamic-setting.el (font-setting-change-default-font):
6141 Remove call to message.
6143 2010-06-28 Kenichi Handa <handa@m17n.org>
6145 * international/quail.el (quail-insert-kbd-layout): Fix the
6146 showing of untranslated characters.
6148 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6150 * simple.el (delete-active-region): New option.
6151 (delete-backward-char): Implement in Lisp.
6152 (delete-forward-char): New command.
6154 * mouse.el (mouse-region-delete-keys): Deleted.
6155 (mouse-show-mark): Simplify.
6157 * bindings.el (global-map): Bind delete and DEL, the former to
6158 delete-forward-char.
6160 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6162 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6163 (ruby-mode): Bind indent-line-function (Bug#5119).
6165 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6167 * startup.el (command-line): Recognize "0" X resource value.
6169 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6171 * startup.el (command-line): Use X resources to set the value of
6172 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6174 * menu-bar.el (menu-bar-mode):
6175 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6176 Set init-value to t.
6178 * frame.el (frame-notice-user-settings): Don't change
6179 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6180 vice versa (Bug#2249).
6182 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6184 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6186 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6188 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6189 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6191 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6192 default directories are expanded (Bug#6143).
6194 2010-06-24 Juri Linkov <juri@jurta.org>
6196 * minibuffer.el (completions-format): Change default from nil to
6197 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6199 2010-06-24 Juri Linkov <juri@jurta.org>
6201 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6202 buffer-locally to lambda that re-runs the vc diff command.
6205 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6207 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6208 echo area is in use (Bug#3412).
6210 2010-06-22 Glenn Morris <rgm@gnu.org>
6212 * textmodes/texinfmt.el (texinfo-format-region)
6213 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6214 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6215 (texinfo-format-option, texinfo-noindent):
6216 Use line-beginning-position and line-end-position.
6218 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6219 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6220 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6223 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6225 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6226 forward-line fallout.
6228 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6230 * mouse.el (mouse-appearance-menu): Add docstring.
6232 * help.el (describe-key): Print up-event using key-description.
6234 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6236 * net/zeroconf.el (zeroconf-resolve-service)
6237 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6238 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6240 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6242 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6244 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6246 Avoid displaying files with a nil state in vc-dir.
6247 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6248 cases that cause insertion.
6249 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6252 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6254 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6256 2010-06-29 Leo <sdl.web@gmail.com>
6258 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6260 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6262 * generic-x.el (bat-generic-mode): Fix regexp for command line
6263 switches (Bug#5719).
6265 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6267 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6268 of nconc to avoid pure storage error (Bug#6239).
6270 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6272 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6273 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6274 bindings of bookmark-automatically-show-annotations (Bug#6515).
6276 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6278 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6279 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6281 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6283 * comint.el (make-comint, make-comint-in-buffer): Mention return
6284 value in the docstrings. (Bug#6498)
6286 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6288 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6289 since it is not present when using some non-default switches.
6291 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6293 * simple.el (compose-mail): Fix doc string to refer to
6294 `compose-mail-user-agent-warnings', instead of to the
6295 nonexistent `compose-mail-check-user-agent'.
6297 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6299 Fix an indentation bug:
6301 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6302 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6305 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6306 (c-clear->-pair-props-if-match-before): now return t when they've
6307 cleared properties, nil otherwise.
6308 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6309 by taking account of the existing value.
6311 * progmodes/cc-defs.el
6312 (c-clear-char-property-with-value-function): Fix this to clear the
6313 property rather than overwriting it with nil.
6315 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6317 * emacs-lisp/package.el (package-print-package): Add link to
6318 package description via describe-package.
6319 (describe-package-1): List package requirements. Add button to
6320 perform installation.
6321 (package-menu-describe-package): New command.
6323 * help-mode.el (help-package): New button type.
6325 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6327 * emacs-lisp/package.el: Move package-list-packages binding to
6329 (describe-package, describe-package-1, package--dir): New funs.
6330 (package-activate-1): Use package--dir.
6332 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6334 * help-mode.el (help-package-def): New button type.
6336 * menu-bar.el: Move package-list-packages binding here from
6339 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6341 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6343 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * emacs-lisp/edebug.el (edebug-read-list):
6346 Phase out old-style backquotes.
6348 2010-06-17 Juri Linkov <juri@jurta.org>
6350 * help-mode.el (help-mode): Set buffer-local variable
6351 revert-buffer-function to help-mode-revert-buffer.
6352 (help-mode-revert-buffer): New function.
6354 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6355 before popping to "*info*" (like in other Info functions).
6356 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6357 old-history-forward. Pop to old-buffer-name or "*info*" to
6358 recreate the killed buffer. Set Info-history-forward from
6359 old-history-forward.
6360 (Info-breadcrumbs-depth): Add :group and :version.
6362 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6364 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6366 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6368 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6369 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6371 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6373 * emacs-lisp/package.el (package-menu-mode-map):
6374 Move initialization into declaration.
6376 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6378 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6380 * emacs-lisp/package.el (package-archive-base): Point to
6382 (package-enable, package-load-list): New defcustoms.
6383 (package-user-dir, package-directory-list): Turn into defcustoms.
6384 Don't include package-user-dir in package-directory-list.
6385 (package--builtins-base): Don't include Emacs as a "package".
6386 (package-subdirectory-regexp): New var.
6387 (package-load-all-descriptors, package-compute-transaction)
6388 (package-download-transaction): Obey package-load-list.
6389 (package-activate-1): Rename from package-do-activate.
6390 (package-list-packages-internal): Check package-load-list.
6391 (package-load-descriptor, package-generate-autoloads)
6392 (package-unpack, package-unpack-single)
6393 (package--read-archive-file, package-delete):
6394 Use expand-file-name.
6396 * emacs-lisp/package-x.el: New file. Package uploading
6397 functionality split out from package.el.
6399 * startup.el (command-line): Load packages after reading init file.
6401 2010-06-17 Tom Tromey <tromey@redhat.com>
6403 * emacs-lisp/package.el: New file.
6405 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6407 Fix vc-annotate for renamed files when using Git.
6408 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6409 ls-files. Doe not pass the object as a file name to cat-file, it
6411 (vc-git-annotate-command): Pass the file name using -- to avoid
6412 ambiguity with the revision.
6413 (vc-git-previous-revision): Pass a relative file name.
6415 2010-06-22 Glenn Morris <rgm@gnu.org>
6417 * progmodes/js.el (js-mode-map): Use standard capitalization and
6418 ellipses for menu entries.
6420 * wid-edit.el (widget-complete): Doc fix.
6422 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6424 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6426 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6428 Fix annotating other revisions for renamed files in vc-annotate.
6429 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6430 VC backend. Use it when non-nil.
6431 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6434 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6435 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6436 Do not pass the file name to the 'previous-revision call when we
6437 don't want a file diff. (Bug#6489)
6439 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6441 Fix finding revisions for renamed files in vc-annotate.
6442 * vc/vc.el (vc-find-revision): Add an optional argument for
6443 the VC backend. Use it when non-nil.
6444 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6445 backend to vc-find-revision. (Bug#6487)
6447 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6449 Fix reading file names in Git annotate buffers.
6450 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6451 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6453 2010-06-20 Alan Mackenzie <acm@muc.de>
6455 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6456 in file local variables, set it first.
6458 2010-06-19 Glenn Morris <rgm@gnu.org>
6460 * descr-text.el (describe-char-unicode-data): Insert separating
6461 space when needed. (Bug#6422)
6463 * progmodes/idlwave.el (idlwave-action-and-binding):
6464 Fix typo in 2009-12-03 change. (Bug#6450)
6466 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6469 handling for `lambda' (misunderstanding).
6471 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6473 * calc/calc-poly.el (math-accum-factors): Make sure that
6474 constants aren't distributed after they are factored out.
6476 2010-06-16 Juri Linkov <juri@jurta.org>
6478 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6479 `list-colors-print'. (Bug#6332)
6481 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6483 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6485 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6486 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6488 * font-lock.el (font-lock-major-mode): Rename from
6489 font-lock-mode-major-mode to distinguish it from
6490 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6491 (font-lock-set-defaults):
6492 * font-core.el (font-lock-default-function): Adjust users.
6493 (font-lock-mode): Don't set it at all.
6495 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6497 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6499 2010-06-16 Glenn Morris <rgm@gnu.org>
6501 * calendar/appt.el (appt-time-msg-list): Doc fix.
6502 (appt-check): Let-bind appt-warn-time.
6503 (appt-add): Make the 3rd argument optional.
6504 Simplify argument names. Doc fix. Check for integer WARNTIME.
6505 Only add WARNTIME to the output list if non-nil.
6507 2010-06-16 Ivan Kanis <apple@kanis.eu>
6509 * calendar/appt.el (appt-check): Let the 3rd element of
6510 appt-time-msg-list specify the warning time.
6511 (appt-add): Add new argument with the warning time. (Bug#5176)
6513 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6515 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6516 older than version 1.6. (Bug#6361)
6518 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6520 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6521 used by cl-do-arglist. (Bug#6408)
6523 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6525 * textmodes/ispell.el (ispell-dictionary-base-alist):
6526 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6527 Suggested by Rolando Pereira (bug#6434).
6529 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6531 * facemenu.el (list-colors-sort): Doc fix.
6533 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6535 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6537 2010-06-14 Juri Linkov <juri@jurta.org>
6539 Add sort option `list-colors-sort'. (Bug#6332)
6540 * facemenu.el (color-rgb-to-hsv): New function.
6541 (list-colors-sort): New defcustom.
6542 (list-colors-sort-key): New function.
6543 (list-colors-display): Doc fix. Sort list according to the option
6545 (list-colors-print): Add HSV values to `help-echo' property of
6548 2010-06-14 Juri Linkov <juri@jurta.org>
6550 * compare-w.el: Move to the "vc" subdirectory.
6552 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * image-mode.el (image-mode-map): Remap left-char and right-char.
6556 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6558 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
6560 * term/common-win.el (x-colors): Add all the color names defined
6561 in rgb.txt (Bug#6332).
6563 * facemenu.el (list-colors-print): Don't print extra names if it
6564 will overflow the window width.
6566 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6569 2010-06-12 Eli Zaretskii <eliz@gnu.org>
6571 * files.el (make-directory): Doc fix (bug#6396).
6573 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
6575 * net/tramp.el (tramp-remote-process-environment): Protect version
6576 string by apostroph.
6577 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6579 (tramp-file-name-for-operation): Add `call-process-region'.
6580 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6582 * net/tramp-compat.el (top): Do not autoload
6583 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6584 only when `start-file-process' is not bound.
6585 (tramp-advice-file-expand-wildcards): Do not use
6586 `tramp-handle-file-remote-p'.
6587 (tramp-compat-make-temp-file): Handle the case, that
6588 `make-temp-file' has no third argument EXTENSION.
6590 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
6592 * makefile.w32-in (WINS_BASIC): Include new directory vc.
6594 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6596 2010-06-11 Juri Linkov <juri@jurta.org>
6598 * finder.el (finder-known-keywords): Add keyword "vc"
6599 for version control.
6601 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6602 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6603 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6604 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6606 2010-06-11 Juri Linkov <juri@jurta.org>
6608 Move version control related files to the "vc" subdirectory.
6609 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6610 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6611 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6612 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6613 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6614 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6615 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6616 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6617 Move files to the "vc" subdirectory.
6619 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
6621 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6624 2010-06-11 Stephen Eglen <stephen@gnu.org>
6626 * shell.el: Bind `shell-resync-dirs' to M-RET.
6628 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
6630 * notifications.el: Move file from lisp/net, because it is
6631 supposed to talk locally to the user.
6633 2010-06-10 Julien Danjou <julien@danjou.info>
6635 * net/notifications.el (notifications-on-action-signal)
6636 (notifications-on-closed-signal): Pass notification id as first
6637 argument to the callback functions. Add docstrings.
6638 (notifications-notify): Fix docstring.
6640 2010-06-10 Glenn Morris <rgm@gnu.org>
6642 * emacs-lisp/authors.el (authors-ignored-files)
6643 (authors-valid-file-names): Add some files.
6645 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6648 merge conflict, giving preference to the emacs-23 version of the code.
6650 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * emacs-lisp/advice.el (ad-compile-function):
6653 Define warning-suppress-types before we let-bind it (bug#6275).
6655 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6656 declare it, make it buffer-local and permanent-local (bug#6324).
6657 (vc-resynch-window): Adjust name.
6658 * vc-hooks.el (vc-find-file-hook): Adjust name.
6660 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
6662 * net/notifications.el (notifications-notify): Fix docstring.
6664 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6666 Update to Unicode 6.0.0 beta.
6667 * international/charprop.el: Update copyright.
6668 * international/mule-cmds.el (ucs-names): Update character ranges.
6669 * international/uni-bidi.el:
6670 * international/uni-category.el:
6671 * international/uni-combining.el:
6672 * international/uni-comment.el:
6673 * international/uni-decimal.el:
6674 * international/uni-decomposition.el:
6675 * international/uni-digit.el:
6676 * international/uni-lowercase.el:
6677 * international/uni-mirrored.el:
6678 * international/uni-name.el:
6679 * international/uni-numeric.el:
6680 * international/uni-old-name.el:
6681 * international/uni-titlecase.el:
6682 * international/uni-uppercase.el: Regenerate.
6684 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
6686 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6687 (smie-precs-precedence-table): Fix typo in docstring.
6689 * vc-mtn.el (log-edit-extract-headers): Declare function.
6691 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6693 * net/notifications.el (dbus-register-signal): Declare function.
6694 (notifications-notify): Fix typos and reflow docstring.
6696 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6698 Improve VC create/retrieve tag/branch.
6699 * vc.el (vc-create-tag): Do not read the directory name for VCs
6700 with repository revision granularity. Adjust the tag/branch
6701 prompt. Reset VC properties.
6702 (vc-retrieve-tag): Do not read the directory name for VCs
6703 with repository revision granularity. Reset VC properties.
6705 2010-06-09 Julien Danjou <julien@danjou.info>
6707 * net/notifications.el: New file.
6709 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6711 Add optional support for resetting VC properties.
6712 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6713 call vc-file-clearprops when true.
6714 (vc-resynch-buffer): Add new optional argument, pass it down.
6715 (vc-resynch-buffers-in-directory): Likewise.
6717 Improve support for special markup in the VC commit message.
6718 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6719 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6720 * vc-git.el (vc-git-checkin):
6721 * vc-bzr.el (vc-bzr-checkin): Likewise.
6723 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6725 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6726 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6728 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6730 * iimage.el: Remove images as soon as the underlying text is modified.
6731 (iimage-modification-hook): New function.
6732 (iimage-mode-buffer): Use it.
6734 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6736 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6737 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6738 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6739 (smie-indent-keyword): Add handling of open-paren keywords.
6740 (smie-indent-comment-continue): Don't assume comment-continue.
6742 2010-06-07 Martin Rudalics <rudalics@gmx.at>
6744 * window.el (pop-to-buffer): Remove the conditional that
6745 compares new-window and old-window, so it will reselect
6746 the selected window unconditionally.
6747 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6749 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * emacs-lisp/smie.el (smie-indent-offset-after)
6752 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6753 (smie-indent-after-keyword): Use them.
6754 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6755 (smie-indent-keyword): Tweak the black magic.
6756 (smie-indent-comment-continue): Strip comment-continue before use.
6757 (smie-indent-functions): Indent comments before keywords.
6759 2010-06-06 Juri Linkov <juri@jurta.org>
6761 * isearch.el (isearch-lazy-highlight-search): Fix looping
6762 by checking for empty match. This syncs this loop with the
6763 similar loop in `isearch-search'. (Bug#6362)
6765 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
6767 * net/dbus.el (dbus-register-method): Declare function.
6768 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6769 (dbus-introspect): Doc fix.
6770 (dbus-event-bus-name, dbus-introspect-get-interface)
6771 (dbus-introspect-get-argument): Reflow docstrings.
6773 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6775 vc-log-incoming/vc-log-outgoing fixes for Git.
6776 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6777 incoming/outgoing logs.
6778 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6779 instead of vc-git-compute-remote.
6780 (vc-git-compute-remote): Remove.
6782 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
6784 * term/common-win.el (x-colors): Add "dark green" and "dark
6785 turquoise" (Bug#6332).
6787 2010-06-04 Juri Linkov <juri@jurta.org>
6789 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6790 Instead of setting `replace' to t and replacing the same string
6791 with itself, don't do certain actions when
6792 kill-do-not-save-duplicates is non-nil and string is equal to car
6793 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6794 interprogram-paste strings to kill-ring, and don't push the input
6795 argument `string' to kill-ring.
6796 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6798 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6800 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6802 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
6804 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6805 (tramp-gvfs-handler-mounted-unmounted)
6806 (tramp-gvfs-connection-mounted-p): Handle default-location.
6808 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6809 move files to trash.
6811 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
6813 * international/mule-cmds.el (nonascii-insert-offset)
6814 (nonascii-translation-table): Add obsolescence information.
6816 * international/mule.el (make-translation-table-from-vector): Doc fix.
6818 2010-06-03 Glenn Morris <rgm@gnu.org>
6820 * desktop.el (desktop-clear-preserve-buffers):
6821 Add "*Warnings*" buffer. (Bug#6336)
6823 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6825 vc-log-incoming/vc-log-outgoing improvements for Git.
6826 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6828 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6830 Add bindings for vc-log-incoming and vc-log-outgoing.
6831 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6832 and vc-log-outgoing.
6833 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6834 and vc-log-outgoing.
6836 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6838 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6839 (rcirc-handler-366): Always sort nicknames.
6841 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
6843 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6845 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
6847 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6849 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6851 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6852 (rcirc-sort-nicknames-join): Avoid setq.
6854 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6856 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6857 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6858 (rcirc-handler-366): Use them.
6860 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6862 Split smie-indent-calculate into more manageable chunks.
6863 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6864 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6865 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6866 (smie-indent-exps): Extract from smie-indent-calculate.
6867 (smie-indent-functions): New var.
6868 (smie-indent-functions): Use them.
6870 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6872 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6873 (smie-indent-calculate): Simplify and cleanup.
6875 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
6877 * net/tramp-gvfs.el (top): Require url-util.
6878 (tramp-gvfs-mount-point): Remove.
6879 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6881 (with-tramp-dbus-call-method): Format trace message.
6882 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6883 Implement backup call, when operation on local files fails.
6884 Use progress reporter. Flush properties of changed files.
6885 (tramp-gvfs-handle-make-directory): Make more traces.
6886 (tramp-gvfs-url-file-name): Hexify file name in url.
6887 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6888 into account for the resulting file name.
6889 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6890 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6891 (tramp-gvfs-handler-mounted-unmounted)
6892 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6893 attribute "default_location". Set "prefix" property.
6894 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6895 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6896 exists. Raise an error, if not (due to a corresponding answer
6897 "no" in interactive questions, for example).
6899 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6901 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6903 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
6905 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6908 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6910 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6911 * vc-git.el (vc-git-compute-remote): New function.
6912 (vc-git-log-outgoing): Use it instead of hard coding a value.
6913 (vc-git-log-incoming): New function.
6915 Improve state updating for VC tag commands.
6916 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6917 to update the state of all buffers in the directory.
6919 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6921 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6923 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6924 `file-directory-p' to the filename part rather than to the whole text.
6926 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6928 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6930 2010-05-31 Drew Adams <drew.adams@oracle.com>
6932 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6934 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
6936 * subr.el (momentary-string-display): Just use read-event to read
6937 the exit event (Bug#6238).
6939 2010-05-30 Eli Zaretskii <eliz@gnu.org>
6941 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6943 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6945 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6946 Suggested by Eli Zaretskii <eliz@gnu.org>.
6948 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6950 * minibuffer.el (completion-file-name-table): Don't return a boundary
6951 past the end of `string' (bug#6299).
6952 (completion--file-name-table): Delegate to completion-file-name-table
6953 for the `boundaries' case.
6955 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
6957 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6960 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6961 `path-separator', but maintain compatibility with Emacs 20.2.
6963 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6965 * server.el (server-process-filter): Receive parent-id argument
6967 (server-create-window-system-frame): New arg. Pass parent-id as
6970 2010-05-29 Eli Zaretskii <eliz@gnu.org>
6972 Bidi-sensitive word movement with arrow keys.
6973 * subr.el (right-arrow-command, left-arrow-command): Move to
6976 * bindings.el (right-char, left-char): Move from subr.el and
6977 rename from right-arrow-command and left-arrow-command.
6978 (right-word, left-word): New functions.
6979 (global-map) <right>: Bind to right-char.
6980 (global-map) <left>: Bind to left-char.
6981 (global-map) <C-right>: Bind to right-word.
6982 (global-map) <C-left>: Bind to left-word.
6984 * ls-lisp.el (ls-lisp-classify-file): New function.
6985 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6986 (ls-lisp-classify): Call ls-lisp-classify-file.
6987 (insert-directory): Remove blanks from switches.
6989 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
6991 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6992 (ansi-color-drop-regexp): New constant.
6993 (ansi-color-apply, ansi-color-filter-region)
6994 (ansi-color-apply-on-region): Delete unrecognized control sequences.
6995 (ansi-color-apply): Build string list before calling concat.
6997 2010-05-28 Juri Linkov <juri@jurta.org>
6999 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7000 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7003 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7005 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7006 to ignored backtrace functions.
7007 (with-progress-reporter): Expand docstring.
7008 (tramp-handle-delete-file): Implement TRASH argument.
7009 (tramp-get-remote-trash): New defun.
7011 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7013 * net/tramp-compat.el (tramp-compat-delete-file):
7014 Use `symbol-value' for backward compatibility.
7016 * net/tramp.el (tramp-handle-make-symbolic-link)
7018 (tramp-do-copy-or-rename-file-via-buffer)
7019 (tramp-do-copy-or-rename-file-directly)
7020 (tramp-do-copy-or-rename-file-out-of-band)
7021 (tramp-handle-process-file, tramp-handle-call-process-region)
7022 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7023 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7024 (tramp-delete-temp-file-function): Use `delete-file' instead
7025 of `tramp-compat-delete-file'.
7027 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7028 (tramp-fish-handle-make-symbolic-link)
7029 (tramp-fish-handle-process-file): Use `delete-file' instead
7030 of `tramp-compat-delete-file'.
7032 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7033 Use `delete-file' instead of `tramp-compat-delete-file'.
7035 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7036 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7037 `tramp-compat-delete-file'.
7039 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7040 Use `delete-file' instead of `tramp-compat-delete-file'.
7042 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7043 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7044 (tramp-smb-handle-write-region): Use `delete-file' instead of
7045 `tramp-compat-delete-file'.
7046 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7048 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7050 * dired.el (dired-delete-file): New arg TRASH.
7051 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7052 (dired-do-flagged-delete, dired-do-delete): Use trash.
7054 * speedbar.el (speedbar-item-delete): Allow trashing.
7056 * files.el (delete-directory): New arg TRASH.
7058 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7059 (ange-ftp-rename-remote-to-remote)
7060 (ange-ftp-rename-local-to-remote)
7061 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7062 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7064 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7067 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7068 handle new TRASH arg of `delete-file'.
7070 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7071 (tramp-handle-make-symbolic-link, tramp-handle-load)
7072 (tramp-do-copy-or-rename-file-via-buffer)
7073 (tramp-do-copy-or-rename-file-directly)
7074 (tramp-do-copy-or-rename-file-out-of-band)
7075 (tramp-handle-process-file, tramp-handle-call-process-region)
7076 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7077 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7078 (tramp-delete-temp-file-function): Use null TRASH arg in
7079 tramp-compat-delete-file call.
7081 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7082 (tramp-fish-handle-delete-file)
7083 (tramp-fish-handle-make-symbolic-link)
7084 (tramp-fish-handle-process-file): Use null TRASH arg in
7085 `tramp-compat-delete-file' call.
7087 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7088 arg in `tramp-compat-delete-file' call.
7090 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7091 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7092 `tramp-compat-delete-file' call.
7094 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7095 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7096 `tramp-compat-delete-file' call.
7098 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7099 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7100 (tramp-smb-handle-write-region): Use null TRASH arg in
7101 tramp-compat-delete-file call.
7102 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7103 (tramp-smb-handle-delete-file): Rename arg.
7105 * diff.el (diff-sentinel):
7106 * epg.el (epg--make-temp-file, epg-decrypt-string)
7107 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7108 * jka-compr.el (jka-compr-partial-uncompress)
7109 (jka-compr-call-process, jka-compr-write-region):
7110 * server.el (server-sentinel): Remove optional arg from
7111 delete-file, reverting 2010-05-03 change.
7113 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7115 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7116 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7118 2010-05-27 Kenichi Handa <handa@m17n.org>
7120 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7121 element of GSTRING is nil.
7123 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7125 * emacs-lisp/smie.el (smie-forward-token-function)
7126 (smie-backward-token-function): New vars.
7127 (smie-backward-sexp, smie-forward-sexp)
7128 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7129 (smie-default-backward-token): Rename from smie-backward-token and
7131 (smie-default-forward-token): Rename from smie-forward-token and
7133 (smie-next-sexp): Handle nil results from next-token.
7134 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7136 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7138 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7139 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7141 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7143 * htmlfontify.el (hfy-face-resolve-face): New function.
7144 (hfy-face-to-style): Use it (Bug#6279).
7146 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7149 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7151 2010-05-26 Glenn Morris <rgm@gnu.org>
7153 * emulation/edt.el (edt-load-keys): Use locate-library.
7155 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7157 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7158 (log-edit-changelog-entries): Doc fix.
7159 (log-edit-changelog-insert-entries): Args changed.
7160 Rename relative filenames in ChangeLog entries. Delete tabs.
7161 (log-edit-insert-changelog-entries): Reorganize return value of
7162 `log-edit-changelog-entries' to pass filenames to
7163 log-edit-changelog-insert-entries.
7165 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7167 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7168 `image-dired-dired-insert-marked-thumbs' to
7169 `image-dired-dired-toggle-marked-thumbs'.
7171 * image-dired.el: Require cl when compiling.
7172 (image-dired-dired-toggle-marked-thumbs): Rename from
7173 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7174 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7175 to 'no-dir. Skip files whose names don't match
7176 `image-file-name-regexp'. When file has a thumbnail overlay,
7177 delete it. (Bug#5270)
7179 2010-05-25 Juri Linkov <juri@jurta.org>
7181 * image-mode.el (image-mode): Add image-after-revert-hook to
7183 (image-after-revert-hook): New function. (Bug#5669)
7185 2010-05-25 Juri Linkov <juri@jurta.org>
7187 * image.el (image-animated-p): When delay between animated images
7188 is 0, set it to 10 (0.1 sec). (Bug#6258)
7190 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7192 * net/tramp.el (tramp-handle-insert-directory): Don't use
7193 `forward-word', its default syntax could be changed.
7195 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7197 * net/tramp.el (tramp-progress-reporter-update): New defun.
7198 (with-progress-reporter): Use it.
7199 (tramp-process-actions):
7200 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7201 Preserve current message, in order to let progress reporter continue
7202 afterwards. (Bug#6257)
7204 2010-05-25 Glenn Morris <rgm@gnu.org>
7206 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7209 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7211 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7212 (rcirc-default-full-name): Change to "unknown".
7213 (rcirc-user-name-history): Add variable.
7215 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7216 Jonathan Rockway <jon@jrock.us>
7218 * net/rcirc.el (rcirc-server-alist): Add :pass.
7219 (rcirc): When prompting for connection parameters, also prompt for
7220 username and password.
7221 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7222 value to server when connecting.
7224 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7226 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7227 (smie-merge-prec2s): Pass the tables as separate args.
7228 (smie-bnf-precedence-table): Adjust call accordingly.
7229 (smie-prec2-levels): Set levels at the end.
7231 Replace Lisp calls to delete-backward-char by delete-char.
7232 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7233 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7234 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7235 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7236 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7237 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7238 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7239 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7240 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7241 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7242 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7243 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7244 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7245 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7246 delete-backward-char by calls to delete-char.
7248 2010-05-25 Kenichi Handa <handa@m17n.org>
7250 * language/hebrew.el (hebrew-shape-gstring): New function.
7251 Register it in composition-function-table for all Hebrew combining
7254 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * epa.el (epa--select-keys): Don't explicitly delete the window since
7257 that can fail (e.g. sole window in frame). Use dedication instead.
7259 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7261 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7263 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7265 * image.el (image-refresh): Define as an alias for image-flush.
7267 * image-mode.el (image-toggle-display-image): Caller changed.
7269 2010-05-21 Juri Linkov <juri@jurta.org>
7271 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7272 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7273 whitespace, call wildcard-to-regexp on substrings and concat them
7274 with "\\|". (Bug#6114)
7276 2010-05-21 Alan Mackenzie <acm@muc.de>
7278 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7279 Replace parameter `here' with `here-' and `here-plus', which sandwich
7280 any pertinent CPP construct.
7281 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7282 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7283 CPP construct from taking part in the scanning.
7285 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7287 * net/tramp.el (tramp-do-copy-or-rename-file)
7288 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7289 Tune `with-progress-reporter' messages.
7290 (tramp-handle-vc-registered):
7291 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7292 (tramp-fish-handle-insert-file-contents)
7293 (tramp-fish-maybe-open-connection):
7294 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7295 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7296 (tramp-imap-handle-insert-file-contents)
7297 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7299 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7301 * add-log.el (change-log-font-lock-keywords):
7302 Highlight all authors in multi-author entries.
7304 * smerge-mode.el (smerge-refine-ignore-whitespace)
7305 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7306 Fix typos in docstrings.
7307 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7309 2010-05-21 Glenn Morris <rgm@gnu.org>
7311 * progmodes/fortran.el (fortran-mode):
7312 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7314 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7315 having a relative path in src/Makefile.in.
7317 2010-05-20 Kevin Ryde <user42@zip.com.au>
7319 * help-mode.el (help-make-xrefs): For Info node links turn
7320 newlines into spaces. Link node names with newlines are matched
7321 by help-xref-info-regexp and buttonized, this change ensures they
7322 can be followed successfully with RET. (Bug#6206)
7324 2010-05-20 Juri Linkov <juri@jurta.org>
7326 * locate.el (locate): Use pop-to-buffer instead of
7327 switch-to-buffer-other-window. (Bug#6204)
7329 2010-05-20 Juri Linkov <juri@jurta.org>
7331 * replace.el (replace-highlight): Fix lazy-highlighting
7332 for `M-s w str M-% str RET'.
7334 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7336 * isearch.el (isearch-yank-word-or-char): Pull next subword
7337 when `subword-mode' is activated. (Bug#6220)
7339 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7341 * isearch.el (isearch-update-post-hook): New hook.
7342 (isearch-update): Use the new hook. (Bug#6225)
7344 2010-05-20 Juri Linkov <juri@jurta.org>
7346 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7347 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7350 2010-05-20 Juri Linkov <juri@jurta.org>
7352 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7355 2010-05-20 Juri Linkov <juri@jurta.org>
7357 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7358 FILE-NAME to read from the minibuffer when called interactively
7359 with prefix argument instead of using buffer-file-name.
7360 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7362 * dired.el: Update autoloads.
7364 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7366 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7367 nxml-finish-element, for consistency with SGML mode.
7369 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7372 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7374 * composite.el: Require cl when compiling.
7375 (reference-point-alist, compose-gstring-for-graphic)
7376 (compose-gstring-for-terminal): Fix typos in docstrings.
7378 2010-05-19 Juri Linkov <juri@jurta.org>
7380 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7381 set-window-parameter.
7383 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7385 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7387 (tramp-maybe-open-connection): Use it.
7389 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7391 * simple.el (move-end-of-line): Make sure we are at line beginning
7392 before backing up to end of previous line.
7394 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7396 * password-cache.el (password-cache-remove): Fix docstring.
7398 * net/secrets.el: Autoload the widget functions.
7399 (secrets-search-items, secrets-create-item)
7400 (secrets-get-attributes, secrets-expand-item): Attributes will be
7401 stored on the password database without leading ":", as all other
7403 (secrets-mode): Fix docstring.
7404 (secrets-show-secrets): Provide it as autoloaded command only when
7405 D-Bus support is available. Check existence of Secret Service API.
7407 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * indent.el (indent-region): Deactivate region (bug#6200).
7411 2010-05-19 Glenn Morris <rgm@gnu.org>
7413 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7415 2010-05-19 Kenichi Handa <handa@m17n.org>
7417 * composite.el: Register compose-gstring-for-graphic in
7418 composition-function-table only for combining characters (Mn, Mc, Me).
7420 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7422 * calc/calc-trail.el (calc-trail-isearch-forward)
7423 (calc-trail-isearch-backward): Ensure that the new window
7424 point is set correctly.
7426 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7428 * subr.el (read-quoted-char): Resolve modifiers after key
7429 remapping (bug#6212).
7431 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7433 Add visualization code for secrets.
7434 * net/secrets.el (secrets-mode): New major mode.
7435 (secrets-show-secrets, secrets-show-collections)
7436 (secrets-expand-collection, secrets-expand-item)
7437 (secrets-tree-widget-after-toggle-function)
7438 (secrets-tree-widget-show-password): New defuns.
7440 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7442 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7443 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7444 handled in smie-next-sexp.
7445 (smie-indent-calculate): Provide a starting indentation (so the
7446 recursion is well-founded ;-).
7448 Fix handling of non-associative equal levels.
7449 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7450 when it's not needed.
7451 (smie-op-left, smie-op-right): New functions.
7452 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7453 Better handle equal levels to distinguish the associative case from
7454 the "multi-keyword construct" case.
7455 (smie-backward-sexp, smie-forward-sexp): Use it.
7457 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7459 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7461 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7462 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7464 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7466 Provide a simple generic indentation engine and use it for Prolog.
7467 * emacs-lisp/smie.el: New file.
7468 * progmodes/prolog.el (prolog-smie-op-levels)
7469 (prolog-smie-indent-rules): New var.
7470 (prolog-mode-variables): Use them to configure SMIE.
7471 (prolog-indent-line, prolog-indent-level): Remove.
7473 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7475 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7476 order before computing the averages.
7478 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7480 * calc/calc-vec.el (calc-histogram):
7481 (calcFunc-histogram): Allow vectors as inputs.
7482 (math-vector-avg): New function.
7484 * calc/calc-ext.el (math-group-float): Have the number of digits
7485 being grouped depend on the radix (Bug#6189).
7487 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7489 * version.el (emacs-copyright, emacs-version): Don't define here,
7490 now that emacs.c defines it.
7492 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7494 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7495 "Describe Language Environment" menu item.
7497 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7499 Bidi-sensitive movement with arrow keys.
7500 * subr.el (right-arrow-command, left-arrow-command): New functions.
7502 * bindings.el (global-map): Bind them to right and left arrow keys.
7504 Don't override standard definition of convert-standard-filename.
7505 * files.el (convert-standard-filename):
7506 Call w32-convert-standard-filename and dos-convert-standard-filename on
7507 the corresponding systems.
7509 * w32-fns.el (w32-convert-standard-filename): Rename from
7510 convert-standard-filename. Doc fix.
7512 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7513 (convert-standard-filename): Don't defalias.
7514 (register-name-alist, make-register, register-value)
7515 (set-register-value, intdos): Obsolete aliases for the
7516 corresponding dos-* functions and variables.
7517 (dos-intdos): Add a doc string.
7519 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7521 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7522 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7523 (math-compose-tex-func):
7524 * calc/calccomp.el (math-compose-expr):
7525 * calc/calc-ext.el (math-format-flat-expr-fancy):
7526 * calc/calc-store.el (calc-read-var-name):
7527 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7529 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7530 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7531 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7532 (math-standard-units): Add units.
7534 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * progmodes/asm-mode.el (asm-mode):
7537 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7539 * pcomplete.el (pcomplete-completions-at-point): New function,
7540 extracted from pcomplete-std-complete.
7541 (pcomplete-std-complete): Use it.
7543 2010-05-15 Glenn Morris <rgm@gnu.org>
7545 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7546 Remove references to CVS, RCS and Old directories.
7548 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7550 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7553 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7555 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7556 (sh-mode-syntax-table): Give it a default value instead.
7557 (sh-header-marker): Make buffer-local.
7558 (sh-mode): Move make-local-variable to the corresponding setq.
7559 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7560 Use complete-with-action.
7562 * simple.el (prog-mode): New (abstract) major mode.
7563 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7564 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7566 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
7568 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7569 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7570 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7571 (sql-make-alternate-buffer-name, sql-placeholders-filter)
7572 (sql-escape-newlines-filter, sql-input-sender)
7573 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7575 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
7577 Add TeX open-block and close-block keybindings to SGML, and vice versa.
7579 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7580 latex-open-block and C-c / to latex-close-block.
7582 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7583 and C-c C-e to sgml-close-tag.
7585 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
7587 * net/tramp.el (with-progress-reporter): Create reporter object
7588 only when the message would be displayed. Handle nested calls.
7589 (tramp-handle-load, tramp-handle-file-local-copy)
7590 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7591 (tramp-maybe-send-script, tramp-find-shell):
7592 Use `with-progress-reporter'.
7593 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7596 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7597 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7598 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7599 Use `with-progress-reporter'.
7601 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
7603 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7604 process everytime when spellchecking from the minibuffer (bug#6143).
7606 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7610 * dos-fns.el: Add "dos-" prefix for namespace control.
7611 (convert-standard-filename): Define as alias for
7612 dos-convert-standard-filename but only if applicable.
7614 2010-05-12 Alan Mackenzie <acm@muc.de>
7616 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7617 Push the mark at the start of these functions when appropriate.
7619 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7621 * minibuffer.el (completion-cycle-threshold): New custom var.
7622 (completion--do-completion): Use it.
7623 (minibuffer-complete): Use cycling if appropriate.
7625 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
7627 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7628 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7630 2010-05-11 Juri Linkov <juri@jurta.org>
7632 * scroll-all.el (scroll-all-check-to-scroll):
7633 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7635 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * iimage.el (iimage-mode-map): Move initialization into declaration.
7638 (iimage-mode-buffer): Use with-silent-modifications.
7639 Simplify calling convention. Adjust callers.
7640 (iimage-mode): Don't run hook redundantly.
7642 * minibuffer.el (completion-pcm--pattern->regex):
7643 Fix last change (bug#6160).
7645 2010-05-10 Juri Linkov <juri@jurta.org>
7647 Remove nodes visited during Isearch from the Info history.
7648 * info.el (Info-isearch-initial-history)
7649 (Info-isearch-initial-history-list): New variables.
7650 (Info-isearch-start): Record initial values of
7651 Info-isearch-initial-history and Info-isearch-initial-history-list.
7652 Add Info-isearch-end to isearch-mode-end-hook.
7653 (Info-isearch-end): New function.
7655 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
7657 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7658 format string, in order to work around a bug in pdksh.
7659 Reported by Gilles Pion <gpion@lfdj.com>.
7660 (tramp-handle-verify-visited-file-modtime): Do not send a command
7661 when the connection is not established.
7662 (tramp-handle-set-file-times): Simplify the check for utc.
7664 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
7666 Fix use of `filter-buffer-substring' (rework previous change).
7667 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7668 (cua-repeat-replace-region):
7669 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7670 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7671 (cua-cut-region-to-global-mark): Use it.
7673 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
7675 * progmodes/sql.el: Version 2.1.
7676 (sql-product-alist): Redesign structure of product info.
7677 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7678 (sql-port, sql-port-history): New variables.
7679 (sql-interactive-product): New variable.
7680 (sql-send-terminator): New variable.
7681 (sql-imenu-generic-expression): Add "Types" imenu entry.
7682 (sql-oracle-login-params, sql-sqlite-login-params)
7683 (sql-mysql-login-params, sql-solid-login-params)
7684 (sql-sybase-login-params, sql-informix-login-params)
7685 (sql-ingres-login-params, sql-ms-login-params)
7686 (sql-postgres-login-params, sql-interbase-login-params)
7687 (sql-db2-login-params, sql-linter-login-params)
7688 (sql-oracle-scan-on): New variables.
7689 (sql-mode-map): Add C-c C-i to start interactive mode.
7690 (sql-mode-menu): Update existing menu entries.
7691 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7692 (sql-mode-oracle-font-lock-keywords)
7693 (sql-mode-postgres-font-lock-keywords)
7694 (sql-mode-ms-font-lock-keywords)
7695 (sql-mode-sybase-font-lock-keywords)
7696 (sql-mode-informix-font-lock-keywords)
7697 (sql-mode-interbase-font-lock-keywords)
7698 (sql-mode-ingres-font-lock-keywords)
7699 (sql-mode-solid-font-lock-keywords)
7700 (sql-mode-mysql-font-lock-keywords)
7701 (sql-mode-sqlite-font-lock-keywords)
7702 (sql-mode-db2-font-lock-keywords)
7703 (sql-mode-linter-font-lock-keywords): Update initialization to
7704 reduce run-time complexity.
7705 (sql-add-product, sql-del-product): New functions.
7706 (sql-set-product-feature, sql-get-product-feature): New functions.
7707 (sql-product-font-lock): Update product API.
7708 (sql-add-product-keywords): New function.
7709 (sql-highlight-product): Update product API.
7710 (sql-help-list-products): New function.
7711 (sql-help): Dynamically lists free and non-free products.
7712 (sql-get-login): Correct bug in handling history and added
7714 (sql-copy-column): Copy without properties.
7715 (sqli-input-sender): Apply filters to SQLi input.
7716 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7717 Implement as a filter.
7718 (sql-escape-newlines-filter): Implement as a filter.
7719 (sql-remove-tabs-filter): New function.
7720 (sql-send-magic-terminator): New function.
7721 (sql-send-string): Implement magic terminator.
7722 (sql-send-region): Use `sql-send-string'.
7723 (sql-interactive-mode): Use product API.
7724 (sql-product-interactive): Use product API.
7725 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7726 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7727 (sql-db2, sql-linter): Use `sql-product-interactive'.
7728 (sql-connect): New function.
7729 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7730 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7731 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7732 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7735 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7737 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7738 New custom variable.
7739 (completion-pcm--string->pattern): Use it.
7740 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7741 Make it handle any symbol as `any'.
7742 (completion-pcm--merge-completions): Extract common suffix for the new
7743 `prefix' symbol as well.
7744 (completion-substring--all-completions): Use the new `prefix' symbol.
7746 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
7748 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7750 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7751 (tramp-compat-funcall): New defmacro.
7752 (tramp-compat-line-beginning-position)
7753 (tramp-compat-line-end-position)
7754 (tramp-compat-temporary-file-directory)
7755 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7756 (tramp-compat-copy-file, tramp-compat-copy-directory)
7757 (tramp-compat-delete-file, tramp-compat-delete-directory)
7758 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7759 * net/tramp.el (top, with-progress-reporter)
7760 (tramp-rfn-eshadow-setup-minibuffer)
7761 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7762 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7763 (tramp-completion-mode-p, tramp-check-for-regexp)
7764 (tramp-open-connection-setup-interactive-shell)
7765 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7766 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7767 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7768 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7769 (tramp-reporter-dump-variable, tramp-load-report-modules)
7770 (tramp-append-tramp-buffers)
7771 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7773 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7775 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7777 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7778 buffer-modtime. Adjust users.
7780 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7782 * international/mule.el (auto-coding-alist): Only purecopy
7783 car of each item, not the whole list (Bug#6083).
7785 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7787 * progmodes/js.el (js-mode): Make paragraph variables local before
7788 calling c-setup-paragraph-variables (Bug#6071).
7790 2010-05-08 Eli Zaretskii <eliz@gnu.org>
7792 * composite.el (compose-region, reference-point-alist): Fix typos
7795 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7797 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7798 gnuplot's "set" command.
7800 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7802 * abbrev.el (last-abbrev-text): Doc fix.
7803 (abbrev-prefix-mark): Don't escape parenthesis.
7805 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
7807 * composite.el (find-composition): Doc fix.
7809 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7811 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7812 (sql-oracle-program, sql-sqlite-options)
7813 (sql-query-placeholders-and-send): Doc fixes.
7814 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7815 (sql-imenu-generic-expression, sql-buffer)
7816 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7817 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7818 (sql-mode-sybase-font-lock-keywords)
7819 (sql-mode-informix-font-lock-keywords)
7820 (sql-mode-interbase-font-lock-keywords)
7821 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7822 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7823 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7824 (sql-product-feature, sql-highlight-product)
7825 (comint-line-beginning-position, sql-rename-buffer)
7826 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7827 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7828 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7829 Fix typos in docstrings.
7831 2010-05-08 Juri Linkov <juri@jurta.org>
7833 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7834 property instead of `invisible' and `after-string' (bug#5998).
7836 2010-05-08 Juri Linkov <juri@jurta.org>
7838 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7840 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
7842 * filecache.el (file-cache-add-directory-list)
7843 (file-cache-add-directory-recursively): Fix typos in docstrings.
7845 2010-05-08 Kenichi Handa <handa@m17n.org>
7847 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7848 (gujarati-composable-pattern): Fix typo.
7850 2010-05-08 Kenichi Handa <handa@m17n.org>
7852 * language/indian.el (oriya-composable-pattern)
7853 (tamil-composable-pattern, malayalam-composable-pattern):
7854 Add two-part vowels to "v" (vowel sign).
7856 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
7858 * files.el (copy-directory): Handle symlinks (Bug#5982).
7860 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
7862 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7863 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7866 2010-05-08 Glenn Morris <rgm@gnu.org>
7868 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7870 * minibuffer.el (completion-at-point): Doc fix.
7872 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * electric.el (Electric-command-loop): Minor tweak.
7876 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7877 better with dedicated windows.
7879 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
7881 * Version 23.2 released.
7883 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
7884 Stefan Monnier <monnier@iro.umontreal.ca>
7886 Highlight vendor specific properties.
7887 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7888 (css-proprietary-property): New face.
7889 (css-font-lock-keywords): Use them.
7891 2010-05-07 Eli Zaretskii <eliz@gnu.org>
7893 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7895 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7897 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7898 * files.el (auto-mode-alist): Remove redundant entries.
7900 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7901 * simple.el (auto-save-mode): Move from files.el.
7902 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7904 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
7906 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7908 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7910 * mail/binhex.el (binhex-decode-region-internal)
7911 * mail/uudecode.el (uudecode-decode-region-internal)
7912 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7913 (dns-read-type, dns-query)
7914 * pgg-parse.el (pgg-parse-armor)
7915 * pgg.el (pgg-verify-region)
7916 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7919 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7921 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
7923 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7925 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7926 * emulation/cua-base.el (cua-repeat-replace-region):
7927 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7928 (cua-cut-region-to-global-mark):
7929 Remove text properties with `set-text-properties'.
7931 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
7933 * net/tramp.el (top, with-progress-reporter):
7934 Use `symbol-function' inside `funcall'.
7936 * net/tramp-compat.el (tramp-compat-file-attributes)
7937 (tramp-compat-delete-file, tramp-compat-delete-directory):
7938 Handle only `wrong-number-of-arguments' error.
7940 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7941 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7944 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7946 * minibuffer.el (completion--sreverse, completion--common-suffix):
7948 (completion-pcm--merge-completions): Extract common suffix when safe.
7950 * emacs-lisp/easy-mmode.el (define-minor-mode):
7951 Make :variable more flexible.
7952 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7954 2010-05-05 Juri Linkov <juri@jurta.org>
7956 Add `slow' and `history' tags to the desktop data.
7958 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7959 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7960 (Info-finder-find-node): Require `finder.el' to be able
7961 to restore node from the desktop.
7962 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7963 data `Info-history' and `slow' tag in the assoc list.
7964 (Info-restore-desktop-buffer): Don't restore nodes with the
7965 `slow' tag. Restore `Info-history'.
7967 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
7969 Add FORCE argument to `delete-file'.
7971 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7972 forcing to delete the temporary file.
7973 (ange-ftp-delete-file): Add FORCE arg.
7974 (ange-ftp-rename-remote-to-remote)
7975 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7976 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7977 Force file deletion.
7979 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7981 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7982 (tramp-handle-make-symbolic-link, tramp-handle-load)
7983 (tramp-do-copy-or-rename-file-via-buffer)
7984 (tramp-do-copy-or-rename-file-directly)
7985 (tramp-do-copy-or-rename-file-out-of-band)
7986 (tramp-handle-process-file, tramp-handle-call-process-region)
7987 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7988 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7989 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7991 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7992 (tramp-fish-handle-make-symbolic-link)
7993 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7995 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7996 Use `tramp-compat-delete-file'.
7998 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7999 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8001 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8002 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8004 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8005 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8006 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8007 Use `tramp-compat-delete-file'.
8009 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8012 * subr.el (add-minor-mode): Use push.
8013 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8014 * emulation/edt.el (edt-select-mode): Simplify.
8016 Use define-minor-mode in more cases.
8017 * term/tvi970.el (tvi970-set-keypad-mode):
8018 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8019 (normal-erase-is-backspace-mode):
8020 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8021 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8022 (get-scroll-bar-mode): New function.
8023 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8025 Use define-minor-mode for less obvious cases.
8026 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8027 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8028 * international/iso-ascii.el (iso-ascii-mode):
8029 * frame.el (auto-raise-mode, auto-lower-mode):
8030 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8032 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8034 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8035 in order to see error messages for failed logins.
8037 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8039 * diff.el (diff-sentinel):
8041 * epg.el (epg--make-temp-file, epg-decrypt-string)
8042 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8044 * jka-compr.el (jka-compr-partial-uncompress)
8045 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8047 * server.el (server-sentinel): Use delete-file's new FORCE arg
8050 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8052 Use define-minor-mode where applicable.
8053 * view.el (view-mode):
8054 * type-break.el (type-break-query-mode)
8055 (type-break-mode-line-message-mode):
8056 * textmodes/reftex.el (reftex-mode):
8057 * term/vt100.el (vt100-wide-mode):
8058 * tar-mode.el (tar-subfile-mode):
8059 * savehist.el (savehist-mode):
8060 * ibuf-ext.el (ibuffer-auto-mode):
8061 * composite.el (auto-composition-mode):
8062 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8063 Use define-minor-mode.
8064 (vhdl-mode): Use static mode-line format.
8065 (vhdl-mode-line-update): Delete.
8066 (vhdl-create-mode-menu, vhdl-activate-customizations)
8067 (vhdl-hs-minor-mode): Don't bother calling it.
8069 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8071 * simple.el (with-wrapper-hook): Move.
8072 (buffer-substring-filters): Mark obsolete.
8073 (filter-buffer-substring-functions): New variable.
8074 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8076 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8077 Michael Albinus <michael.albinus@gmx.de>
8079 Implement compression for inline methods.
8081 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8082 (tramp-copy-size-limit): Allow also nil.
8083 (tramp-inline-compress-commands): New defconst.
8084 (tramp-find-inline-compress, tramp-get-inline-compress)
8085 (tramp-get-inline-coding): New defuns.
8086 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8087 replaced by `tramp-get-inline-coding'.
8088 (tramp-handle-file-local-copy, tramp-handle-write-region)
8089 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8091 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8093 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8094 Remove unused functions.
8096 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8097 Set find-tag-default-function as a variable rather than a property.
8099 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8100 * progmodes/etags.el (tags-completion-at-point-function):
8101 Remove left over interactive spec. Add autoloading stub.
8102 (complete-tag): Use tags-completion-at-point-function.
8104 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8106 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8108 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8110 * ido.el (ido-init-completion-maps): Remove C-v binding.
8111 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8113 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8115 * minibuffer.el (tags-completion-at-point-function): New function.
8116 (completion-at-point-functions): Use it.
8118 * progmodes/etags.el (complete-tag): Revert last change.
8120 2010-04-29 Alan Mackenzie <acm@muc.de>
8122 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8123 off-by-one error (in end of macro position).
8125 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8127 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8128 firefox is absent. Don't autoload.
8129 (browse-url-galeon-program): Don't autoload.
8131 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8133 * bindings.el (complete-symbol): Move into minibuffer.el.
8135 * minibuffer.el (complete-tag): Move from etags.el. If tags
8136 completion cannot be performed, return nil instead of signalling
8138 (completion-at-point): Make it an alias for complete-symbol.
8139 (complete-symbol): Move from bindings.el, and replace with the
8140 body of completion-at-point.
8142 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8144 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8146 * net/tramp.el (tramp-remote-selinux-p): New defun.
8147 (tramp-handle-file-selinux-context)
8148 (tramp-handle-set-file-selinux-context): Use it.
8150 2010-04-28 Sam Steingold <sds@gnu.org>
8152 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8153 `safe-local-variable' if the value is a string or a symbol with
8154 the property `bug-reference-url-format'.
8156 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8158 * progmodes/bug-reference.el (bug-reference-url-format):
8159 Revert 2010-04-27 change due to security risk.
8161 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8163 Make it possible to locally disable a globally enabled mode.
8164 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8165 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8166 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8167 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8168 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8169 that subsequent hooks get a chance to disable it.
8171 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8173 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8174 Avoid re-enabling a minor mode after the user turned the minor mode
8175 off if MODE-enable-in-buffers is run twice (typically once from
8176 fundamental-mode's after-change-major-mode-hook and a second time from
8177 run-mode-hook's own after-change-major-mode-hook).
8179 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8181 2010-04-27 Sam Steingold <sds@gnu.org>
8183 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8184 `safe-local-variable' if the value is a string or a function, as
8185 documented and implemented on 2010-04-02.
8187 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8189 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8190 when method is 'kill.
8192 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8194 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8195 condition in default directory check.
8196 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8197 Kill ispell process when killing its associated buffer.
8199 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8201 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8202 but we aren't using it.
8204 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8206 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8207 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8209 2010-04-24 Glenn Morris <rgm@gnu.org>
8211 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8212 Ignore VCS-ignore files, and deleted nextstep preferences files.
8213 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8214 (authors-ambiguous-files): New list.
8215 (authors-valid-file-names): Add some deleted files.
8216 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8217 (authors-disambiguate-file-name): New function. (Bug#5501)
8218 (authors-canonical-file-name): Doc fix.
8219 Don't warn about obsolete files.
8220 (authors-canonical-file-name, authors-scan-el):
8221 Use authors-disambiguate-file-name.
8223 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8224 Add autoload cookies.
8225 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8226 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8227 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8228 They have definitions / compiler macros in cl.el.
8229 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8230 Replace manual autoloads with generated ones.
8231 (htmlfontify-unload-rgb-file): Remove autoload.
8232 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8234 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8237 (byte-compile-setq-default): Optimize for the
8238 single-var case and don't call byte-compile-form in this case to avoid
8239 inf-loop with byte-compile-set-default.
8241 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8243 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8245 Implement SELINUX backends.
8247 * net/tramp.el (tramp-file-name-handler-alist):
8248 Add `file-selinux-context' and `set-file-selinux-context'.
8249 (tramp-handle-file-selinux-context)
8250 (tramp-handle-set-file-selinux-context): New defuns.
8251 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8252 Handle PRESERVE-SELINUX-CONTEXT.
8254 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8255 Add `file-selinux-context' and `set-file-selinux-context'.
8256 (tramp-gvfs-handle-file-selinux-context)
8257 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8258 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8260 * net/ange-ftp.el (ange-ftp-copy-file):
8261 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8262 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8263 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8264 Add PRESERVE-SELINUX-CONTEXT.
8266 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8268 Synchronize with Tramp repository.
8270 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8271 (tramp-action-process-alive, tramp-action-out-of-band)
8272 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8273 (tramp-exists-file-name-handler): Fix docstring.
8274 (with-progress-reporter): New defmacro.
8275 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8276 (tramp-maybe-open-connection): Use it.
8278 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8280 Detect ssh 'ControlMaster' argument automatically in some cases.
8282 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8283 (tramp-default-method): Use it.
8285 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8287 * net/tramp.el (tramp-handle-copy-file): Add new optional
8288 parameter `preserve-selinux-context'.
8289 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8291 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8293 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8294 Ensure, that non remote files are still checked. Oops.
8296 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8300 * icomplete.el (icomplete-completions): Use `non-essential'.
8302 * net/tramp.el (tramp-connectable-p): New defun.
8303 (tramp-handle-expand-file-name)
8304 (tramp-completion-handle-file-name-all-completions)
8305 (tramp-completion-handle-file-name-completion): Use it.
8307 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8309 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8311 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8313 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8315 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8317 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8320 * info.el (info-tool-bar-map): Add labels.
8322 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8324 * cus-edit.el (custom-commands): Add labels for tool bar.
8325 (custom-buffer-create-internal, Custom-mode): Adjust for
8326 labels in custom-commands.
8328 * dynamic-setting.el: Renamed from font-setting.el.
8330 2010-04-21 John Wiegley <jwiegley@gmail.com>
8332 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8333 toggles the use of virtual buffers.
8334 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8335 (ido-toggle-virtual-buffers): New function.
8337 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8339 Use `define-derived-mode'; fix window selection; doc fixes.
8340 * play/tetris.el (tetris, tetris-update-speed-function)
8341 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8342 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8343 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8344 (tetris-pause-game): Fix typos in docstrings.
8345 (tetris-mode-map, tetris-null-map):
8346 Move initialization into declaration.
8347 (tetris-mode): Define with `define-derived-mode';
8348 set show-trailing-whitespace to nil.
8349 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8351 2010-04-21 Karel Klíč <kklic@redhat.com>
8353 * files.el (backup-buffer): Handle SELinux context, and return it
8354 if a backup was made by renaming.
8355 (backup-buffer-copy): Set SELinux context to the target file.
8356 (basic-save-buffer): Set SELinux context of the newly written file.
8357 (basic-save-buffer-1): Now it also returns any SELinux context.
8358 (basic-save-buffer-2): Set SELinux context of the newly created file,
8360 * net/tramp.el (tramp-file-name-for-operation):
8361 Add file-selinux-context.
8363 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8365 Make the log-edit comments use RFC822 format throughout.
8367 * vc.el (vc-checkin, vc-modify-change-comment):
8368 Adjust to new vc-start/finish-logentry.
8369 (vc-find-conflicted-file): New command.
8370 (vc-transfer-file): Adjust to new vc-checkin.
8371 (vc-next-action): Improve scoping.
8373 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8374 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8376 * vc-git.el (vc-git-log-edit-mode): Remove.
8377 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8378 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8380 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8381 (vc-start-logentry): Remove argument `extra'.
8382 (vc-finish-logentry): Remove extra args.
8384 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8385 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8386 (vc-bzr-conflicted-files): New function.
8388 * log-edit.el (log-edit-extra-flags)
8389 (log-edit-before-checkin-process): Remove.
8390 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8391 (log-edit-headers-alist): New var.
8392 (log-edit-header-contents-regexp): New const.
8393 (log-edit-match-to-eoh): New function.
8394 (log-edit-font-lock-keywords): Use them.
8395 (log-edit): Insert a "Summary:" header as default.
8396 (log-edit-mode): Mark font-lock rules as case-insensitive.
8397 (log-edit-done): Cleanup headers.
8398 (log-view-process-buffer): Remove.
8399 (log-edit-extract-headers): New function to replace it.
8401 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8403 * subr.el (default-direction-reversed): Remove obsolescence info.
8405 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8407 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8410 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8411 I.e. include text after point in the completion region.
8412 Also, return nil when we're not after/in a symbol.
8414 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8415 default enable-multibyte-characters.
8417 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8419 * international/mule.el: Help the user choose a valid coding-system.
8420 (read-buffer-file-coding-system): New function.
8421 (set-buffer-file-coding-system): Use it. Prompt the user if the
8422 coding-system cannot encode all the chars.
8424 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8425 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8426 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8427 Don't use *vc-bzr-shelve*.
8429 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8431 Fix the version number for added files.
8432 * vc-hg.el (vc-hg-working-revision): Check if the file is
8433 registered after hg parent fails (Bug#5961).
8435 2010-04-19 Glenn Morris <rgm@gnu.org>
8437 * htmlfontify.el (htmlfontify-buffer)
8438 (htmlfontify-copy-and-link-dir): Autoload entry points.
8440 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8442 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8443 name relative to the project root (Bug#5960).
8445 2010-04-19 Glenn Morris <rgm@gnu.org>
8447 * vc-git.el (vc-git-print-log): Doc fix.
8449 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8451 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8453 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8455 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8456 default settings (Bug#5928).
8458 2010-04-19 Glenn Morris <rgm@gnu.org>
8460 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8462 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8464 2010-04-19 Kenichi Handa <handa@m17n.org>
8466 * language/indian.el (malayalam-composable-pattern): Fix previous
8467 change (add U+0D4D "SIGN VIRAMA").
8468 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8469 (tamil-composable-pattern): Fix typo in the regexp.
8470 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8471 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8472 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8474 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8476 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8477 paragraph-separate (Bug#5821).
8479 2010-04-19 Juri Linkov <juri@jurta.org>
8481 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8483 * info.el (Info-find-node-2): Comment out code that skips
8485 (Info-mouse-follow-link): New command.
8486 (Info-link-keymap): New keymap.
8487 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8488 Return a string with links instead of inserting breadcrumbs
8490 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8491 Instead of putting the `invisible' text property over the Info
8492 header, make an overlay over the Info header with the `invisible'
8493 property and `after-string' set to the string returned by
8496 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8498 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8499 Reported by monkey@sandpframing.com.
8501 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8503 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8504 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8505 available in the "keyseq cache" any more.
8507 * custom.el (defcustom): Add edebug spec.
8509 2010-04-18 Juri Linkov <juri@jurta.org>
8511 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8513 * view.el (view-file, view-buffer): Move test for special mode-class
8514 from view-file to view-buffer.
8516 * tar-mode.el (tar-extract): Turn if's into one cond
8517 like in arc-mode.el.
8519 2010-04-18 Juri Linkov <juri@jurta.org>
8521 Add 7z archive format support (bug#5475).
8523 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8524 (archive-7z-extract): New defcustom.
8525 (archive-find-type): Add magic string for 7z.
8526 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8527 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8528 `buffer' arg of `call-process'.
8529 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8530 call the function `archive-7z-extract' with the variable
8531 `archive-7z-extract' let-bound to `archive-zip-extract'.
8532 (archive-7z-summarize, archive-7z-extract): New functions.
8534 * international/mule.el (auto-coding-alist):
8535 * files.el (auto-mode-alist): Add 7z file extension.
8537 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * loadup.el: Setup hash-cons for pure data.
8541 Fix duplicate entries in cedet's loaddefs.el files.
8542 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8543 Should make most file-local generated-autoload-file unnecessary.
8544 (print-readably): Silence warnings.
8545 (autoload-find-destination): Take load-name as an arg to make sure
8546 it's the same as the one that will be in the file.
8547 (autoload-generate-file-autoloads): Adjust to above changes.
8548 Try to make the dataflow a bit simpler.
8550 * cvs-status.el (cvs-refontify): Remove unused.
8552 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
8554 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8556 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8557 twos-complement mode.
8559 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
8561 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8562 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
8563 (calc-inverse): Add "Option" to message, as appropriate.
8564 (calc-hyperbolic): Add "Option" to message, as appropriate.
8565 (calc-option, calc-is-option): New functions.
8567 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8568 (calc-option-prefix-help): New function.
8570 * calc/calc-misc.el (calc-help): Add "Option" entry.
8572 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8573 (calc-option-flag): New variable.
8574 (calc-do): Set `calc-option-flag to nil.
8575 (calc-set-mode-line): Add "Opt " as appropriate.
8577 2010-04-16 Juri Linkov <juri@jurta.org>
8579 Move scrolling commands from simple.el to window.el
8580 because their primitives are implemented in window.c.
8582 * simple.el (scroll-error-top-bottom)
8583 (scroll-up-command, scroll-down-command, scroll-up-line)
8584 (scroll-down-line, scroll-other-window-down)
8585 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8586 * window.el (scroll-error-top-bottom)
8587 (scroll-up-command, scroll-down-command, scroll-up-line)
8588 (scroll-down-line, scroll-other-window-down)
8589 (beginning-of-buffer-other-window, end-of-buffer-other-window):
8590 Move from simple.el to window.el because their primitives are
8591 implemented in window.c.
8593 2010-04-16 Juri Linkov <juri@jurta.org>
8595 * isearch.el (isearch-lookup-scroll-key): Check both
8596 `isearch-scroll' and `scroll-command' properties.
8597 (scroll-up, scroll-down): Remove `isearch-scroll' property.
8599 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8601 * simple.el (scroll-up-command, scroll-down-command)
8602 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8604 2010-04-15 Juri Linkov <juri@jurta.org>
8606 * simple.el (scroll-up-command, scroll-down-command)
8607 (scroll-up-line, scroll-down-line): Put `scroll-command'
8608 property on the these symbols. Remove them from
8609 `scroll-preserve-screen-position-commands'.
8611 * mwheel.el (mwheel-scroll): Put `scroll-command' and
8612 `isearch-scroll' properties on the `mwheel-scroll' symbol.
8613 Remove it from `scroll-preserve-screen-position-commands'.
8615 * isearch.el (isearch-allow-scroll): Doc fix.
8617 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
8619 * net/tramp.el (tramp-error-with-buffer): Don't show the
8620 connection buffer when we are in completion mode.
8621 (tramp-file-name-handler): Catch the error for some operations
8622 when we are in completion mode. This gives the user the chance to
8623 correct the file name in the minibuffer.
8625 2010-04-15 Glenn Morris <rgm@gnu.org>
8627 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8629 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
8631 Simplify by using `define-derived-mode'.
8632 * info.el (Info-mode):
8633 * calendar/todo-mode.el (todo-mode):
8634 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8635 (gomoku-mode-map): Move initialization into declaration.
8637 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
8640 * ido.el (ido-file-name-all-completions-1):
8641 * minibuffer.el (minibuffer-completion-help):
8642 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8644 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8646 * simple.el (non-essential): New var.
8648 Add a new field `location' to bookmarks for non-file bookmarks.
8649 * bookmark.el (bookmark-location): Use the new field, if present.
8650 (bookmark-insert-location): Undo last change, not needed any more.
8651 * man.el (Man-bookmark-make-record):
8652 * woman.el (woman-bookmark-make-record): Add `location' field.
8654 2010-04-14 Juri Linkov <juri@jurta.org>
8656 * simple.el (scroll-error-top-bottom): New defcustom.
8657 (scroll-up-command, scroll-down-command): Use it. Doc fix.
8659 * emulation/pc-select.el (pc-select-override-scroll-error):
8660 Obsolete in favor of `scroll-error-top-bottom'.
8662 2010-04-14 Juri Linkov <juri@jurta.org>
8664 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8665 `scroll-up-command' and `M-v' to `scroll-down-command'.
8667 * emulation/cua-rect.el (cua--init-rectangles):
8668 * forms.el (forms--change-commands):
8669 * image-mode.el (image-mode-map):
8670 Remap scroll-down-command and scroll-up-command
8671 in addition to scroll-down and scroll-up.
8673 2010-04-14 Juri Linkov <juri@jurta.org>
8675 * mwheel.el (scroll-preserve-screen-position-commands):
8676 Add mwheel-scroll to this list of commands.
8678 * simple.el (scroll-preserve-screen-position-commands):
8679 Add scroll-up-command, scroll-down-command, scroll-up-line,
8680 scroll-down-line to this list of commands.
8682 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8684 * obsolete/complete.el: Move from lisp/complete.el.
8686 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8688 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8689 to the minor mode function now turns the mode ON unconditionally.
8691 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8693 * vc-dir.el (vc-dir-kill-line): New command.
8694 (vc-dir-mode-map): Bind it to C-k.
8696 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8698 * woman.el: Add bookmark declarations to silence the compiler.
8699 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8700 step to compatibility between man and woman bookmarks.
8701 Adjust for Man-default-bookmark-title renaming.
8702 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8704 * man.el: Add bookmark declarations to silence the compiler.
8705 (Man-name-local-regexp): Make it match NAME as well.
8706 (Man-getpage-in-background): Return the buffer.
8707 (Man-notify-when-ready): Use `case'.
8708 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8709 Don't hardcode "NAME". Simplify.
8710 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8711 Rename from Man-bookmark-make-record.
8712 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8713 we have the actual man-args. Use Man-getpage-in-background rather
8714 than `man' since the arg is already processed. Let bookmark.el do the
8715 window handling. Only wait for the relevant process.
8716 Don't forget to autoload.
8718 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8720 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8722 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8724 (woman-mode): Setup bookmark support.
8726 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8727 (man-bookmark-jump): New functions.
8728 (Man-mode): Setup bookmark support.
8730 2010-04-10 Jari Aalto <jari.aalto@cante.net>
8732 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8733 recognize ssh-keygen prompt (Bug#2817).
8735 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8737 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8739 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
8741 Synchronize with Tramp repository.
8743 * net/tramp.el (tramp-completion-function-alist)
8744 (tramp-file-name-regexp, tramp-chunksize)
8745 (tramp-local-coding-commands, tramp-remote-coding-commands):
8747 (tramp-remote-process-environment): Use `format' instead of `concat'.
8748 (tramp-handle-directory-files-and-attributes)
8749 (tramp-get-remote-path): Use `copy-tree'.
8750 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8751 compatibility: Use `completion-ignore-case' if
8752 `read-file-name-completion-ignore-case' does not exist.
8753 (tramp-do-copy-or-rename-file-directly): Do not use
8754 `tramp-handle-file-remote-p'.
8755 (tramp-do-copy-or-rename-file-out-of-band):
8756 Use `tramp-compat-delete-directory'.
8757 (tramp-do-copy-or-rename-file-out-of-band)
8758 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8759 Use `format-spec-make'.
8760 (tramp-find-foreign-file-name-handler)
8761 (tramp-advice-make-auto-save-file-name)
8762 (tramp-set-auto-save-file-modes): Remove superfluous check for
8763 `stringp'. This is done inside `tramp-tramp-file-p'.
8764 (tramp-debug-outline-regexp): New defconst.
8765 (tramp-get-debug-buffer): Use it.
8766 (tramp-check-for-regexp): Use (forward-line 1).
8767 (tramp-set-auto-save-file-modes): Adapt version check.
8769 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8770 Wrap call of `featurep' for 2nd argument.
8771 (tramp-compat-make-temp-file): Simplify fallback implementation.
8772 (tramp-compat-copy-tree): Remove function.
8773 (tramp-compat-delete-directory): Provide implementation for older
8776 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8777 Do not use `tramp-fish-handle-file-attributes.
8779 * net/trampver.el: Update release number.
8781 2010-04-10 Glenn Morris <rgm@gnu.org>
8783 * progmodes/compile.el (compilation-save-buffers-predicate):
8784 Add missing :version tag.
8786 2010-04-09 Sam Steingold <sds@gnu.org>
8788 * progmodes/compile.el (compilation-save-buffers-predicate):
8789 Remove the "autoload" cookie.
8791 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8792 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8793 and `bug-reference-prog-mode' can be used in hooks directly.
8795 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8797 Add --author support to git commit.
8798 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8799 (vc-git-log-edit-mode): New minor mode.
8800 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8803 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8805 * vc-hooks.el, vc-git.el: Improve documentation comments.
8807 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8809 Fix some of the problems in defsubst* (bug#5728).
8810 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8811 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8813 2010-04-07 Sam Steingold <sds@gnu.org>
8815 * progmodes/compile.el (compilation-save-buffers-predicate):
8816 New custom variable.
8817 (compile, recompile): Pass it to `save-some-buffers'.
8819 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8821 * wid-edit.el (widget-choose): Move cursor to the second line of
8822 the buffer (Bug#5695).
8824 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8826 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8827 * vc.el (vc-print-log-setup-buttons): New function split out from
8828 vc-print-log-internal.
8829 (vc-log-internal-common): New function, a parametrized version of
8830 vc-print-log-internal.
8831 (vc-print-log-internal): Just call vc-log-internal-common with the
8833 (vc-incoming-outgoing-internal):
8834 (vc-log-incoming, vc-log-outgoing): New functions.
8835 (vc-log-view-type): New permanent local variable.
8837 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8839 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8840 of the dynamic bound vc-short-log.
8841 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8843 * vc-git.el (vc-git-log-outgoing): New function.
8844 (vc-git-log-view-mode): Use vc-log-view-type instead
8845 of the dynamic bound vc-short-log.
8847 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8848 of the dynamic bound vc-short-log. Highlight the tag.
8849 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8850 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8851 (vc-hg-incoming-mode): Remove.
8852 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8854 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8856 Fix default-directory for vc-root-diff.
8857 * vc.el (vc-root-diff): Bind default-directory to the root
8858 directory for the diff command.
8860 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
8862 * progmodes/verilog-mode.el (verilog-forward-sexp):
8863 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8864 word keywords, suggested by Steve Pearlmutter.
8865 (verilog-pretty-declarations): Support lineup of declarations in
8867 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8868 fix bug for /* / comments.
8869 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8870 Speed up and simplfy as this is never called with a bound.
8871 (verilog-pretty-declarations): Enhance to line up declarations
8872 inside a parameter list, suggested by Alan Morgan.
8873 (verilog-pretty-expr): Tune assignment regular expression match
8874 string for corner cases; also use markers instead of character
8875 number as indent changes the later.
8877 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8879 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8881 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8882 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8883 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8884 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8887 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8888 1800-2009 keywords, including "global.".
8890 2010-04-06 John Wiegley <jwiegley@gmail.com>
8892 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8893 appearing in buffer list (if a live buffer name matched a recentf
8894 file basename). Should use uniquify to offer a real solution.
8896 2010-04-06 John Wiegley <jwiegley@gmail.com>
8898 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8899 comment to code, and add a :version tag.
8900 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8902 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
8904 Enable recentf-mode if using virtual buffers.
8905 * ido.el (recentf-list): Declare for byte-compiler.
8906 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
8907 (ido-make-buffer-list): Simplify.
8908 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8910 2010-04-05 Juri Linkov <juri@jurta.org>
8912 Scrolling commands which scroll a line instead of full screen.
8913 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8915 * simple.el (scroll-up-line, scroll-down-line): New commands.
8916 Put property isearch-scroll=t on them.
8918 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8921 2010-04-05 Juri Linkov <juri@jurta.org>
8923 Scrolling commands which do not signal errors at top/bottom.
8924 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8926 * simple.el (scroll-up-command, scroll-down-command): New commands.
8927 Put property isearch-scroll=t on them.
8929 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8930 `scroll-down-command' and [next] from `scroll-up' to
8931 `scroll-up-command'.
8933 * emulation/cua-base.el: Put property CUA=move on
8934 `scroll-up-command' and `scroll-down-command'.
8935 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8936 and `scroll-down-command' to `cua-scroll-down'.
8938 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
8940 * help.el (describe-mode): Return nil.
8942 2010-04-04 John Wiegley <jwiegley@gmail.com>
8944 * ido.el (ido-use-virtual-buffers): New variable to indicate
8945 whether "virtual buffer" support is enabled for IDO.
8946 (ido-virtual): Face used to indicate virtual buffers in the list.
8947 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8948 exists, but a virtual buffer of that name does (which would be why
8949 it was in the list), recreate the buffer by reopening the file.
8950 (ido-make-buffer-list): If virtual buffers are being used, call
8951 `ido-add-virtual-buffers-to-list' before the make list hook.
8952 (ido-virtual-buffers): New variable which contains a copy of the
8953 current contents of the `recentf-list', albeit pared down for the
8954 sake of speed, and with proper faces applied.
8955 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8956 create a list of "virtual buffers" to present to the user in
8957 addition to the currently open set. Note that this logic could
8958 get rather slow if that list is too large. With the default
8959 `recentf-max-saved-items' of 200, there is little speed penalty.
8961 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8963 * font-lock.el: Require CL when compiling.
8964 (font-lock-turn-on-thing-lock): Use `case'.
8966 2010-04-03 Eli Zaretskii <eliz@gnu.org>
8968 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8971 2010-04-02 Juri Linkov <juri@jurta.org>
8973 * ehelp.el (electric-help-orig-major-mode):
8974 New buffer-local variable.
8975 (electric-help-mode): Set it to original major-mode. Doc fix.
8976 (with-electric-help): Use `electric-help-orig-major-mode' instead
8977 of (default-value 'major-mode). Doc fix.
8978 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8980 2010-04-02 Sam Steingold <sds@gnu.org>
8982 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8983 `vc-hg-command' with a list of flags.
8985 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8986 Also accept "patch" and "RFE".
8987 (bug-reference-fontify): `bug-reference-url-format' can also be a
8988 function to be able to handle the bug kind.
8989 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8991 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8993 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8994 value to fboundp, it may not be a symbol.
8996 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
8998 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9000 2010-03-31 Juri Linkov <juri@jurta.org>
9002 * simple.el (next-line, previous-line): Re-throw a signal
9003 with `signal' instead of using `ding'.
9004 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9006 2010-03-31 Juri Linkov <juri@jurta.org>
9008 * simple.el (keyboard-escape-quit): Raise deselecting the active
9009 region higher than exiting the minibuffer.
9010 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9012 2010-03-31 Juri Linkov <juri@jurta.org>
9014 * image.el (image-animated-p): Use `image-metadata' instead of
9015 `image-extension-data'. Get GIF extenstion data from metadata
9016 property `extension-data'.
9018 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9020 * simple.el (append-to-buffer): Simplify.
9022 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9024 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9025 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9027 2010-03-31 Kenichi Handa <handa@m17n.org>
9029 * language/sinhala.el (composition-function-table): Fix regexp for
9030 the new Unicode specification.
9032 * language/indian.el (devanagari-composable-pattern)
9033 (tamil-composable-pattern, kannada-composable-pattern)
9034 (malayalam-composable-pattern): Adjust for the new Unicode
9036 (bengali-composable-pattern, gurmukhi-composable-pattern)
9037 (gujarati-composable-pattern, oriya-composable-pattern)
9038 (telugu-composable-pattern): New variables to cope with the new
9039 Unicode specification. Use them in composition-function-table.
9041 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9043 Make tmm-menubar work for the Buffers menu again (bug#5726).
9044 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9045 vectors rather than cons cells, as used in menu-bar-update-buffers.
9047 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9049 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9050 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9051 electric punctuation for "{}();,:" (Bug#5586).
9053 * mail/sendmail.el (mail-default-directory): Doc fix.
9055 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9057 * mail/sendmail.el (mail-default-directory): Doc fix.
9059 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9061 * subr.el (version-regexp-alist, version-to-list)
9062 (version-list-<, version-list-=, version-list-<=)
9063 (version-list-not-zero, version<, version<=, version=): Doc fix.
9066 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9068 * vc.el (vc-root-diff): Doc fix.
9070 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9072 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9074 * simple.el (append-to-buffer): Fix last change.
9076 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9078 * simple.el (append-to-buffer): Ensure that point is preserved if
9079 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9082 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * files.el (auto-mode-case-fold): Change default to t.
9086 2010-03-30 Juri Linkov <juri@jurta.org>
9088 * dired-x.el (dired-omit-mode): Doc fix.
9090 2010-03-30 Juri Linkov <juri@jurta.org>
9092 * replace.el (occur-accumulate-lines): Move occur-engine related
9093 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9094 to be located after `occur-engine'.
9096 2010-03-30 Juri Linkov <juri@jurta.org>
9098 Make occur handle multi-line matches cleanly with context.
9099 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9101 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9102 (occur-engine): Add local variables `ret', `prev-after-lines',
9103 `prev-lines'. Use more arguments for `occur-context-lines'.
9104 Set first elem of its returned list to `data', and the second elem
9105 to `prev-after-lines'. Don't print the separator line.
9106 In the end, print remaining context after-lines.
9107 (occur-context-lines): Add new arguments `begpt', `endpt',
9108 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9109 after-lines of the previous match with before-lines of the
9110 current match and not overlap them. Return a list with two
9111 values: the output line and the list of context after-lines.
9113 2010-03-30 Juri Linkov <juri@jurta.org>
9115 * replace.el (occur-accumulate-lines): Fix a bug where the first
9116 context line at the beginning of the buffer was missing.
9118 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9120 * files.el: Make bidi-display-reordering safe variable for boolean
9123 2010-03-29 Phil Hagelberg <phil@evri.com>
9124 Chong Yidong <cyd@stupidchicken.com>
9126 * subr.el: Extend progress reporters to perform "spinning".
9127 (progress-reporter-update, progress-reporter-do-update):
9128 Handle non-numeric value arguments.
9129 (progress-reporter--pulse-characters): New var.
9131 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9133 * progmodes/compile.el (compilation-start): Fix regexp detection
9134 of initial cd command (Bug#5771).
9136 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9138 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9140 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9142 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9143 * progmodes/gdb-mi.el: Restore.
9144 * progmodes/gdb-ui.el: Remove.
9145 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9147 2010-03-25 Glenn Morris <rgm@gnu.org>
9149 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9150 all dired buffers, even tramp ones. (Bug#5755)
9152 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9154 Add "union tags" in mpc.el.
9155 * mpc.el: Remove backward compatibility code.
9156 (mpc-browser-tags): Change default.
9157 (mpc--find-memoize-union-tags): New var.
9158 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9159 (mpc-cmd-find): Handle the case where the playlist does not exist.
9161 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9162 (mpc-cmd-add): Use mpc-cmd-flush.
9163 (mpc-tagbrowser-tag-name): New fun.
9164 (mpc-tagbrowser-buf): Use it.
9165 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9167 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9170 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9171 Use replace-regexp-in-string.
9172 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9173 (makefile-imake-mode-syntax-table): Move init into defvar.
9174 (makefile-mode): Use define-derived-mode.
9176 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9177 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9178 not be present any more.
9180 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9182 * faces.el (set-face-attribute): Fix typo in docstring.
9183 (face-valid-attribute-values): Reflow docstring.
9185 2010-03-24 Glenn Morris <rgm@gnu.org>
9187 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9189 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9191 * indent.el (indent-for-tab-command): Doc fix.
9193 2010-03-24 Alan Mackenzie <acm@muc.de>
9195 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9196 Fix off-by-one error. Fixes bug #5747.
9198 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9200 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9201 (image-dired-read-comment): Doc fix.
9203 * json.el (json-object-type, json-array-type, json-key-type)
9204 (json-false, json-null, json-read-number):
9205 * minibuffer.el (completion-in-region-functions):
9206 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9207 (cal-tex-cursor-week):
9208 * emacs-lisp/trace.el (trace-function):
9209 * eshell/em-basic.el (eshell/printnl):
9210 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9211 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9212 * obsolete/levents.el (allocate-event, event-key, event-object)
9213 (event-point, event-process, event-timestamp, event-to-character)
9214 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9215 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9216 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9217 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9218 (reftex-highlight-selection): Fix typos in docstrings.
9220 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9222 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9224 2010-03-24 Glenn Morris <rgm@gnu.org>
9226 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9227 2008-02-13 without comment; mark it obsolete.
9228 (rmail-highlight-headers): Use rmail-highlight-face once more.
9230 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9232 * woman.el (woman2-process-escapes): Only consume the newline if
9233 the filler character is on a line by itself (Bug#5729).
9235 2010-03-24 Kenichi Handa <handa@m17n.org>
9237 * language/indian.el (devanagari-composable-pattern): Add more
9240 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9242 * net/trampver.el: Update release number.
9244 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9246 * net/tramp.el (tramp-find-executable):
9247 Use `tramp-get-connection-buffer'. Make the regexp for checking
9248 output of "wc -l" more robust.
9249 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9250 (tramp-open-connection-setup-interactive-shell): Remove workaround
9251 for OpenSolaris bug, it is not needed anymore.
9253 2010-03-24 Glenn Morris <rgm@gnu.org>
9255 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9257 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9259 * files.el (auto-mode-alist): Accept more verilog file patterns.
9261 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9265 2010-03-24 Glenn Morris <rgm@gnu.org>
9267 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9268 log-edit-before-checkin-process.
9270 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9272 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9274 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9275 (log-view-process-buffer, log-edit-extra-flags): Declare.
9277 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9279 2010-03-23 Sam Steingold <sds@gnu.org>
9281 Fix bug#5620: recalculate all markers on compilation buffer
9282 modifications, not on file modifications.
9283 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9284 the buffer modification time, for buffers not associated with files.
9285 (compilation-mode): Create it.
9286 (compilation-filter): Update it.
9287 (compilation-next-error-function): Use it instead of
9288 `visited-file-modtime' for timestamp.
9290 2010-03-23 Juri Linkov <juri@jurta.org>
9292 Implement Occur multi-line matches.
9293 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9295 * replace.el (occur): Doc fix.
9296 (occur-engine): Set `begpt' to the beginning of the first line.
9297 Set `endpt' to the end of the last match line. At first, count
9298 line numbers between `origpt' and `begpt'. Split out code from
9299 `out-line' variable to new let-bindings `match-prefix' and
9300 `match-str'. In `out-line' add non-numeric prefix to all
9301 non-first lines of multi-line matches. Finally, count lines
9302 between `begpt' and `endpt' and add to `lines'.
9304 2010-03-23 Juri Linkov <juri@jurta.org>
9306 * replace.el (occur-accumulate-lines, occur-engine):
9307 Use `occur-engine-line' instead of duplicate code.
9308 (occur-engine-line): New function created from duplicate code
9309 in `occur-accumulate-lines' and `occur-engine'.
9311 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9312 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9314 2010-03-23 Juri Linkov <juri@jurta.org>
9316 * finder.el: Remove TODO tasks.
9318 * info.el (Info-finder-find-node): Add node "all"
9319 with all package info. Handle a list of multiple keywords
9321 (info-finder): In interactive use with a prefix argument,
9322 use `completing-read-multiple' to read a list of keywords
9325 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9327 Add a new completion style `substring'.
9328 * minibuffer.el (completion-basic--pattern): New function.
9329 (completion-basic-try-completion, completion-basic-all-completions):
9331 (completion-substring--all-completions)
9332 (completion-substring-try-completion)
9333 (completion-substring-all-completions): New functions.
9334 (completion-styles-alist): New style `substring'.
9336 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9338 Get rid of .elc files after removal of the corresponding .el.
9339 * Makefile.in (compile-clean): New target.
9340 (compile-main): Use it.
9342 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9344 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9345 don't do make there. When compiling with separate object dir, there
9346 is no Makefile there.
9348 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9350 Get rid of the ELCFILES abomination, again.
9351 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9352 (all, compile): Don't call compile-last.
9353 (compile-main): Build the "elcfiles" list dynamically.
9354 (compile-targets): New (internal) target.
9356 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9358 * Makefile.in (top_srcdir): Define.
9359 (abs_top_builddir): Define.
9360 (srcdir): Don't append `/..'.
9361 (EMACS): Use ${abs_top_builddir}.
9362 (all, compile, compile-always, compile-last): Don't set emacswd.
9363 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9365 (lisp): Use $(srcdir) instead of @srcdir@.
9367 2010-03-21 Juri Linkov <juri@jurta.org>
9369 Fix message of multi-line occur regexps and multi-buffer header lines.
9370 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9372 * replace.el (occur-1): Don't display regexp if it is longer
9373 than window-width. Use `query-replace-descr' to display regexp.
9374 (occur-engine): Don't display regexp in the buffer header for
9375 multi-buffer occur. Display a separate header line with total
9376 match count and regexp for multi-buffer occur.
9377 Use `query-replace-descr' to display regexp.
9379 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9381 * net/secrets.el: Fix parenthesis.
9382 (secrets-enabled): Fix parenthesis.
9384 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9386 Use more relative file and directory names.
9387 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9388 (setwins, setwins_almost, setwins_for_subdirs):
9389 Don't `cd'; output relative names.
9390 (all, compile, compile-always, compile-last): Set emacswd.
9391 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9392 Just cd to the lisp source dir so we can use relative file names.
9394 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9396 2010-03-20 Glenn Morris <rgm@gnu.org>
9398 * textmodes/rst.el: Use faces for font-lock customization, and make the
9399 old -face variables obsolete.
9400 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9401 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9402 (rst-block-face, rst-external-face, rst-definition-face)
9403 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9404 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9406 (rst-font-lock-keywords-function): Update for above changes.
9408 2010-03-20 Juri Linkov <juri@jurta.org>
9411 * obsolete/s-region.el: Move to obsolete.
9413 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9415 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9417 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9419 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9421 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9423 Add special markup processing for commit logs.
9424 * log-edit.el (log-edit-extra-flags): New variable.
9425 (log-edit): Add new argument MODE. Use that mode when non-nil
9426 instead of the log-view-mode.
9427 (log-view-process-buffer): New function.
9429 * vc.el: Document that the checkin method takes optional
9430 arguments. Document new backend specific method: log-view-mode.
9431 (vc-default-log-edit-mode): New function.
9432 (vc-checkin): Use a backend specific log-view-mode.
9433 Pass extra arguments to the checkin method.
9434 (vc-modify-change-comment): Pass a dummy extra argument.
9436 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9438 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9439 (vc-finish-logentry): Process the log buffer before passing it
9440 down. Pass log-edit-extra-flags.
9442 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9444 (log-edit-extra-flags, log-edit-before-checkin-process):
9447 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9449 (log-edit-extra-flags, log-edit-before-checkin-process):
9451 (vc-hg-log-edit-mode): New derived mode.
9453 * vc-arch.el (vc-arch-checkin):
9454 * vc-cvs.el (vc-cvs-checkin):
9455 * vc-git.el (vc-git-checkin):
9456 * vc-mtn.el (vc-mtn-checkin):
9457 * vc-rcs.el (vc-rcs-checkin):
9458 * vc-sccs.el (vc-sccs-checkin):
9459 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9461 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9463 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9466 2010-03-19 Glenn Morris <rgm@gnu.org>
9468 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9470 2010-03-18 Glenn Morris <rgm@gnu.org>
9472 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9474 * replace.el (query-replace-history): Give it a doc string.
9475 (map-query-replace-regexp): Use query-replace-from-history-variable
9476 and query-replace-to-history-variable.
9478 * mail/hashcash.el (declare-function): Remove duplicate definition.
9480 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9481 Make it an obsolete alias for report-emacs-bug-address.
9482 (message-strip-special-text-properties): Declare.
9483 (report-emacs-bug): Remove test for a pretest bug address.
9484 Combine message-mode-specific code.
9486 * mail/supercite.el: Don't require sendmail.
9487 (mh-in-header-p): Declare rather than using with-no-warnings.
9488 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9489 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9491 * calendar/cal-french.el: Convert to utf-8.
9493 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9496 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9498 * net/secrets.el (secrets-enabled): New variable. Use it instead
9501 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9503 * net/secrets.el (top): Register the D-Bus signals only when the
9504 service "org.freedesktop.secrets" can be pinged.
9505 Provide subfeature `enabled'.
9507 2010-03-14 Juri Linkov <juri@jurta.org>
9509 Add finder unknown keywords.
9511 * finder.el (finder-unknown-keywords): New function.
9513 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9514 to create a Finder node with unknown keywords.
9516 2010-03-14 Juri Linkov <juri@jurta.org>
9518 * finder.el (finder-compile-keywords): Replace `princ' with
9519 `prin1' on a list of symbols interned from keyword strings.
9521 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9522 a comma, then split keywords using a comma and optional whitespace.
9523 Otherwise, split by whitespace.
9531 * progmodes/mixal-mode.el: Fix keywords.
9533 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9535 * Makefile.in (ELCFILES): Add net/secrets.elc.
9537 * net/secrets.el: New file.
9539 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9541 * facemenu.el (list-colors-display, list-colors-print): New arg
9542 callback. Use it to allow selecting colors.
9544 * wid-edit.el (widget-image-insert): Insert image prop even if the
9545 current display is non-graphic.
9546 (widget-field-value-set): New fun.
9547 (editable-field): Use it.
9548 (widget-field-value-get): Clean up unused var.
9549 (widget-color-value-create, widget-color--choose-action):
9550 New funs. Allow using list-colors-display to choose color.
9552 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9554 * cus-edit.el: Resort topmost custom groups.
9555 (custom-buffer-sort-alphabetically): Default to t.
9556 (customize-apropos): Use apropos-parse-pattern.
9557 (custom-search-field): New var.
9558 (custom-buffer-create-internal): Add custom-apropos search field.
9559 (custom-add-parent-links): Don't display parent doc.
9560 (custom-group-value-create): Don't sort top-level custom group.
9561 (custom-magic-value-create): Show visibility button before option name.
9563 (custom-variable-state): New fun, from custom-variable-state-set.
9564 (custom-variable-state-set): Use it.
9565 (custom-group-value-create): Hide options with standard values
9566 using the :hidden-states property. Use progress reporter.
9568 (custom-show): Simplify.
9569 (custom-visibility): Disable images by default.
9570 (custom-variable): New property :hidden-states.
9571 (custom-variable-value-create): Enable images for
9572 custom-visibility widgets. Use :hidden-states property to
9573 determine initial visibility.
9575 * wid-edit.el (widget-image-find): Give images center ascent.
9576 (visibility): Add :on-image and :off-image properties.
9577 (widget-visibility-value-create): Use them.
9579 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9581 * cus-edit.el (processes): Remove from development group.
9582 (oop, hypermedia): Delete group.
9583 (comm): Promote to top-level group.
9585 * net/browse-url.el (browse-url):
9586 * net/xesam.el (xesam):
9587 * net/tramp.el (tramp):
9588 * net/goto-addr.el (goto-address):
9589 * net/ange-ftp.el (ange-ftp): Put in comm group.
9591 * view.el (view): Remove from editing group.
9593 * uniquify.el (uniquify): Put in files group.
9595 * net/browse-url.el (browse-url):
9596 * ps-print.el (postscript): Put in external group.
9598 * cus-edit.el (outlines):
9599 * textmodes/text-mode.el (text-mode-hook):
9600 * textmodes/table.el (table):
9601 * textmodes/picture.el (picture):
9602 * outline.el (outlines): Put in wp group.
9604 * nxml/nxml-mode.el (nxml): Remove from wp group.
9606 * net/tramp-imap.el (tramp-imap): Put in tramp group.
9608 * mail/metamail.el (metamail): Remove from hypermedia group.
9610 * cus-edit.el (abbrev):
9611 * whitespace.el (whitespace):
9612 * vcursor.el (vcursor):
9613 * reveal.el (reveal):
9614 * hl-line.el (hl-line): Put in convenience group.
9616 * epg-config.el (epg): Put in data group.
9618 * emulation/pc-select.el (pc-select): Put in emulations group.
9620 * calculator.el (calculator): Put in applications group.
9622 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9624 Add .dir-locals.el support for file-less buffers.
9625 * files.el (hack-local-variables): Split out code to apply local
9626 variable settings ...
9627 (hack-local-variables-apply): ... here. New function.
9628 (hack-dir-local-variables): Use the default directory for when the
9629 buffer does not have an associated file.
9630 (hack-dir-local-variables-non-file-buffer): New function.
9631 * diff-mode.el (diff-mode):
9632 * vc-annotate.el (vc-annotate-mode):
9633 * vc-dir.el (vc-dir-mode):
9634 * log-edit.el (log-edit-mode):
9635 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9637 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
9639 Add support for shelving snapshots and for showing shelves.
9640 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9641 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9643 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9644 (vc-bzr-extra-menu-map): Map them.
9646 2010-03-11 Glenn Morris <rgm@gnu.org>
9648 * cus-edit.el (customize-changed-options-previous-release):
9651 * image.el (image-animate-max-time): Fix :version tag.
9653 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
9657 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9659 * vc-git.el (vc-git-revision-table): Include remote branches.
9661 2010-03-10 Kim F. Storm <storm@cua.dk>
9664 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9666 * image.el (image-animate-max-time): New defcustom.
9667 (image-animated-types): New defconst.
9668 (create-animated-image, image-animate-timer)
9669 (image-animate-start, image-animate-stop, image-animate-timeout)
9670 (image-animated-p): New functions.
9672 * image-mode.el (image-toggle-display-image):
9673 Replace `create-image' with `create-animated-image'.
9675 2010-03-09 Miles Bader <miles@gnu.org>
9677 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9678 instead of "format:"; this ensures that the output is
9681 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
9683 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9684 that all errors are caught, and that the return value is always a
9687 2010-03-08 Kenichi Handa <handa@m17n.org>
9689 * language/misc-lang.el (windows-1256): New coding system.
9690 (cp1256): New alias of windows-1256 (bug#5690).
9692 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9694 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9695 call to rfc822-bad-address. (Bug#5692)
9697 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9699 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9700 Use vc-git-root as default directory for revision path (Bug#5657).
9702 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
9704 * calculator.el (calculator): Don't bind split-window-keep-point
9707 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9709 * vc-git.el: Re-flow to fit into 80 columns.
9710 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9711 Remove spurious `quote' element in each case alternative.
9712 (vc-git-show-log-entry): Use prog1.
9713 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9715 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9717 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9719 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
9721 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9722 definition, not the name (Bug#5481).
9724 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
9726 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9727 argument with a local variable. (Bug#5670)
9729 2010-03-02 Juri Linkov <juri@jurta.org>
9731 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9733 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
9735 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9736 error when FILENAME and NEWNAME are existing remote directories.
9738 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9741 2010-03-02 Glenn Morris <rgm@gnu.org>
9743 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9744 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9746 2010-03-01 Kenichi Handa <handa@m17n.org>
9748 * language/burmese.el (burmese-composable-pattern): Rename from
9749 myanmar-composable-pattern.
9751 * international/characters.el (script-list):
9752 * international/fontset.el (script-representative-chars):
9753 Change myanmar to burmese.
9754 (otf-script-alist): Likewise.
9755 (setup-default-fontset): Likewise. Re-fix :otf spec.
9757 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9759 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9761 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9763 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9765 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9767 * net/tramp.el (tramp-handle-write-region): START can be a string.
9768 Take care in the checks. Reported by Dan Davison
9769 <davison@stats.ox.ac.uk>.
9771 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
9773 * net/dbus.el (dbus-introspect, dbus-get-property)
9774 (dbus-set-property, dbus-get-all-properties):
9775 Use `dbus-call-method' when noninteractive. (Bug#5645)
9777 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
9779 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9780 * emacs-lisp/elint.el (elint-add-required-env):
9781 * calendar/icalendar.el (icalendar--add-diary-entry):
9782 * calc/calcalg2.el (math-tracing-integral):
9783 * files.el (recover-session-finish): Use with-current-buffer
9784 instead of save-excursion.
9786 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9788 Fix in-buffer completion when after-change-functions modify the buffer.
9789 * minibuffer.el (completion--replace): New function.
9790 (completion--do-completion): Use it and use relative movement.
9792 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
9794 * international/fontset.el (setup-default-fontset): Fix :otf spec.
9796 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9798 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9799 Allow the characters _<> in the stack entry (Bug#5653).
9801 2010-02-26 Kenichi Handa <handa@m17n.org>
9803 * language/burmese.el: Fix entries in composition-function-table.
9804 (myanmar-composable-pattern): New variable.
9806 * international/fontset.el (setup-default-fontset): Add an entry
9809 * international/characters.el (script-list): Add Myanmar
9812 2010-02-26 Glenn Morris <rgm@gnu.org>
9814 * custom.el (custom-initialize-delay): Doc fix.
9816 * mail/sendmail.el (send-mail-function): Autoload the call
9817 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9819 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
9821 * files.el (hack-local-variables-filter): For eval forms, also
9822 check safe-local-variable-p (Bug#5636).
9824 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
9826 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9827 setting the modes by `ignore-errors'. It might fail, for example
9828 if the file is not owned by the user but the group.
9829 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9831 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
9833 * files.el (directory-listing-before-filename-regexp):
9834 Use stricter matching for iso-style dates, to avoid false matches with
9835 date-like filenames (Bug#5597).
9837 * htmlfontify.el (htmlfontify): Doc fix.
9839 * eshell/eshell.el (eshell): Doc fix.
9841 * startup.el (fancy-about-screen): In mode-line, apply
9842 mode-line-buffer-id face only to the buffer name (Bug#5613).
9844 2010-02-20 Kevin Ryde <user42@zip.com.au>
9846 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9847 In `watcom' anchor regexp to start of line, to avoid slowness
9850 2010-02-20 Eli Zaretskii <eliz@gnu.org>
9852 * subr.el (remove-yank-excluded-properties): Explain in a comment
9853 why `category' property is removed.
9855 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
9857 * isearch.el (isearch-update-post-hook, isearch-update):
9858 Revert 2010-02-17 change.
9860 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
9862 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9863 (icalendar--convert-weekly-to-ical)
9864 (icalendar--convert-yearly-to-ical)
9865 (icalendar--convert-block-to-ical)
9866 (icalendar--convert-cyclic-to-ical)
9867 (icalendar--convert-anniversary-to-ical): Take care of time
9868 specifications where hour has 1-digit only (Bug#5549).
9870 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
9872 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9873 of disassemble output in GDB 7.1.
9875 2010-02-19 Glenn Morris <rgm@gnu.org>
9877 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9878 property. (Bug#5593)
9880 2010-02-18 Sam Steingold <sds@gnu.org>
9882 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9884 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9886 Use abbreviated file names in bookmarks (bug#5591).
9887 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9888 calls to expand-file-name.
9889 (bookmark-relocate): Use abbreviated file names in bookmarks.
9890 (bookmark-load): Use abbreviated file names in messages.
9892 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9894 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9895 expand "." and "..". Reported by Thierry Volpiatto
9896 <thierry.volpiatto@gmail.com>.
9898 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
9900 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9901 permissions of the temporary file to "0600". In case the remote
9902 file has no read permissions for the owner, there might be
9903 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9905 22010-02-18 Glenn Morris <rgm@gnu.org>
9907 * emacs-lisp/authors.el (authors-renamed-files-alist):
9908 Add entries for INSTALL.CVS.
9910 2010-02-17 Mark A. Hershberger <mah@everybody.org>
9912 * vc-bzr.el: Fix typo in Known Bugs section.
9914 * isearch.el (isearch-update-post-hook): New hook.
9915 (isearch-update): Use the new hook.
9917 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
9919 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9920 Fix errors in copying directories.
9921 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9922 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9923 (tramp-handle-delete-file)
9924 (tramp-handle-dired-recursive-delete-directory)
9925 (tramp-handle-write-region): Flush also the cache for the upper
9928 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
9930 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9932 * cus-edit.el (hardware): Doc fix.
9934 * man.el (man): Add to external custom group.
9936 * delim-col.el (columns): Move to wp custom group.
9938 * doc-view.el (doc-view): Add to data custom group.
9940 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9942 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9943 by ispell-parse-output (Bug#5575).
9945 2010-02-16 Kenichi Handa <handa@m17n.org>
9947 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9948 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9949 (skkdic-convert): Use `euc-japan' coding system for writing.
9951 2010-02-16 Glenn Morris <rgm@gnu.org>
9953 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9954 tex-main-file before using it. (Bug#5562)
9956 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9959 warnings, since it is annoying for the user to see them each time he
9962 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
9964 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9965 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9966 instead of PROC for caching "first-password-request". Otherwise,
9967 new processes would not profit from passwords already entered.
9969 * net/tramp-cache.el (tramp-dump-connection-properties):
9970 Don't save "first-password-request" property.
9972 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
9974 * outline.el (outline-head-from-level):
9975 * simple.el (with-wrapper-hook):
9976 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9977 (elint-defun, elint-buffer-env, elint-top-form-logged)
9978 (elint-unbound-variable):
9979 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9980 Fix typos in docstrings.
9982 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
9984 * files.el (insert-directory): When WILDCARD-REGEXP and
9985 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9986 whole directory. (Bug#5551)
9988 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9989 dired's alignment sanity. (Bug#5516)
9991 2010-02-14 Juri Linkov <juri@jurta.org>
9993 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9994 Remove remaining ^H with their preceding chars. (Bug#5566)
9996 2010-02-13 Glenn Morris <rgm@gnu.org>
9998 * simple.el (transpose-subr): Give it a doc-string.
10000 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10003 2010-02-12 Juri Linkov <juri@jurta.org>
10005 * arc-mode.el (archive-unique-fname): Make directories for nested
10006 archives. (Bug#5540)
10008 2010-02-12 Juri Linkov <juri@jurta.org>
10010 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10012 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * subr.el (copy-overlay): Handle deleted overlays.
10016 * man.el (Man-completion-table): Don't signal an error if we can't run
10017 manual-program (bug#4056).
10019 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10021 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10023 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10025 * info.el (Info-bookmark-jump): Simplify.
10027 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10028 (bookmark-default-handler): Accept new bookmark field `buffer'.
10030 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10032 * iswitchb.el (iswitchb-completions): Revert last change.
10034 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10036 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10037 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10038 This prevents file names like "~/" being listed literally.
10040 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10042 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10043 Remove dead code. (Bug#5546)
10045 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10047 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10048 correctly (Bug#5548).
10050 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10052 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10053 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10055 2010-02-08 Kenichi Handa <handa@m17n.org>
10057 * international/mule-util.el (with-coding-priority): Add autoload
10058 cookie for putting `lisp-indent-function'.
10060 2010-02-07 Glenn Morris <rgm@gnu.org>
10062 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10063 Move F2003 named interfaces from keywords-2 to keywords-1, and
10064 use function-name-face rather than constant-face.
10065 Simplify "abstract interface" regexp.
10067 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10069 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10070 ID-FORMAT. Pass it to `file-attributes'.
10072 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10074 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10076 * faces.el (set-face-attribute): Allow calling
10077 internal-set-lisp-face-attribute with 'unspecified family and
10078 foundry argument (Bug#5536).
10080 2010-02-07 Glenn Morris <rgm@gnu.org>
10082 * progmodes/f90.el (f90-font-lock-keywords-2)
10083 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10084 Handle F2003 named interfaces.
10086 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10088 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10089 beg and end before calling c-get-state-before-change-functions.
10091 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10093 * vc-bzr.el (vc-bzr-dir-extra-headers):
10094 Disable the pending merges header.
10096 2010-02-05 Juri Linkov <juri@jurta.org>
10098 * doc-view.el (doc-view-mode):
10099 * image-mode.el (image-mode): Put property mode-class=special.
10102 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10104 * vc-svn.el (vc-svn-revision-table): New function.
10106 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10108 * net/ange-ftp.el (ange-ftp-insert-directory):
10109 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10110 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10111 Handle also directories. (Bug#5478)
10113 2010-02-05 Glenn Morris <rgm@gnu.org>
10115 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10117 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10119 * startup.el (command-line-1): Convert options beginning with a
10120 single dash as well (Bug#5519).
10122 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10124 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10125 * minibuffer.el (completion-initials-expand): Only check the presence
10126 of delims *within* the boundaries, since otherwise the / delim is
10127 always found for files.
10129 Fix up various corner case problems.
10130 * doc-view.el (doc-view-last-page-number): New function.
10131 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10132 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10133 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10134 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10135 (doc-view-convert-current-doc): Don't create the resolution.el file
10137 (doc-view-pdf/ps->png): Do it here instead.
10138 (doc-view-already-converted-p): Check that resolution.el is present.
10139 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10140 windows that are not yet showing images.
10142 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10144 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10145 `dired-uncache' for every elemnt which is an absolute file name.
10147 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10148 directory, handle its directory component.
10149 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10150 function is called permanently and creates noise, otherwise.
10152 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10153 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10154 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10156 2010-02-04 David Burger <dburger@google.com> (tiny change)
10158 * macros.el (apply-macro-to-region-lines):
10159 Minor simplification. (Bug#5485)
10161 2010-02-04 Glenn Morris <rgm@gnu.org>
10163 * mail/rmail.el (rmail-show-message-1): Handle malformed
10164 quoted-printable text. (Bug#5441)
10166 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10168 * simple.el (visual-line-mode): Capitalize lighter.
10170 2010-02-03 John Wiegley <jwiegley@gmail.com>
10172 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10173 list of files considered for "virtual buffer" completions.
10175 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10177 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10178 also in case of (and (not full) (not wildcard)). This is needed
10179 when dired is called with a list of files, which are not in
10180 `default-directory'. (Bug#5478)
10182 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10184 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10186 2010-02-02 Juri Linkov <juri@jurta.org>
10188 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10189 from unidiff to allow function-line after @@.
10191 2010-02-02 Juri Linkov <juri@jurta.org>
10193 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10194 '(RCS SCCS) with inverted condition.
10196 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10198 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10201 2010-02-01 Juri Linkov <juri@jurta.org>
10203 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10204 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10205 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10206 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10208 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10210 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10211 (doc-view-revert-buffer): New command.
10212 (doc-view-mode-map): Use it.
10214 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10216 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10217 pending merge is detected.
10219 2010-01-31 Juri Linkov <juri@jurta.org>
10221 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10222 beginning of interactive spec like all other grep commands do.
10223 Put "all" in front of "gz". (Bug#5260)
10225 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10227 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10229 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10231 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10232 regexp is incorrect (Bug#5476).
10234 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10236 * net/tramp.el (tramp-handle-insert-directory): Handle also
10237 symlinks, when FILENAME is not in `default-directory'.
10239 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10241 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10242 FILE is not in `default-directory'. (Bug#5478)
10244 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10245 of SWITCHES. Handle the case, FILENAME is not in
10246 `default-directory'. (Bug#5478)
10247 (tramp-register-file-name-handlers): Add safe-magic property.
10249 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10251 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10254 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10256 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10257 (flymake-master-make-header-init): Add other C++ filename masks.
10258 (flymake-find-possible-master-files)
10259 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10261 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10263 Fix some busybox annoyances.
10265 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10266 not responding." string.
10267 (tramp-open-connection-setup-interactive-shell): Dump stty
10268 settings. Enable "neveropen" arg for all `tramp-send-command'
10269 calls. Handle "=" in variable values properly.
10270 (tramp-find-inline-encoding): Raise an error, when no encoding is
10272 (tramp-wait-for-output): Check, whether PROC buffer is available.
10273 Remove spurious " ^H" sequences, sent by busybox.
10274 (tramp-get-ls-command): Suppress coloring, if possible.
10276 2010-01-28 Glenn Morris <rgm@gnu.org>
10278 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10280 * log-edit.el (log-edit-strip-single-file-name): Add missing
10281 :safe, :group, and :version tags.
10283 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10285 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10286 buffers. (Bug#5477)
10288 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10290 * files.el (delete-directory): Handle moving to trash without
10291 first doing recursion (Bug#5436).
10293 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10295 * vc-hooks.el (vc-path): Mark as obsolete.
10297 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10299 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10302 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10304 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10306 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10308 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10310 * vc-bzr.el (vc-bzr-revision-table): New function.
10312 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10314 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10315 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10317 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10319 Remove support for adding --signoff on commit.
10320 Future support will use an incompatible generic mechanism.
10321 * vc-git.el (vc-git-add-signoff): Remove variable.
10322 (vc-git-toggle-signoff): Remove function.
10323 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10325 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10326 Rename from xterm-set-background-mode. Return t if the background mode
10328 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10329 earlier, call it again in case the background mode has changed.
10331 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10333 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10336 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10338 * emacs-lisp/assoc.el (aelement): Doc fix.
10339 (aput, adelete, amake): Use lexical-let (Bug#5450).
10341 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10343 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10344 is the same as subprogram call, not declaration. (Bug#5435).
10346 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10348 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10349 (tramp-smb-maybe-open-connection): Use it.
10351 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10353 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10355 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10357 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10358 just because we see "encoding: 8bit".
10359 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10361 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10363 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10365 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10367 * jka-compr.el (jka-compr-load): If load-file is not in
10368 load-history, try its file-truename version. (bug#5447)
10370 2010-01-21 Alan Mackenzie <acm@muc.de>
10372 Fix a situation where deletion of a cpp construct throws an error.
10373 * progmodes/cc-engine.el (c-invalidate-state-cache):
10374 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10375 special cpp construct is still in the buffer.
10376 (c-parse-state): Record the special cpp with markers, not numbers.
10378 2010-01-21 Kenichi Handa <handa@m17n.org>
10380 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10381 process last-command-event, as it is now decoded first (Bug#5380).
10383 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10385 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10387 2010-01-20 Glenn Morris <rgm@gnu.org>
10389 * indent.el (tab-always-indent): Fix custom-type.
10391 2010-01-19 Alan Mackenzie <acm@muc.de>
10393 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10394 buffer throws "args out of range".
10395 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10396 playing the role of delimiter.
10398 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10400 * progmodes/ada-mode.el: Fix bug#5400.
10401 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10402 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10403 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10404 Improve comments in "is" portion. Handle null procedure declaration.
10405 (ada-move-to-end): Improve doc string.
10407 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10409 * ido.el (ido-cur-list): Initialize to nil.
10410 Remove obsolete information from commentary.
10411 (ido-choice-list): Initialize to nil.
10412 (ido-get-bufname): Reject minibuffers.
10413 (ido-make-buffer-list): If "default" is a nonexistent
10414 buffer, ignore it, as per the function's comment.
10415 (ido-kill-buffer-internal): New function.
10416 (ido-kill-buffer-at-head): Use it.
10417 (ido-visit-buffer): Likewise.
10419 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10421 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10423 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10425 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10426 Fix typos in chart titles.
10428 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10429 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10430 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10431 (describe-class, eieio-describe-generic, describe-generic):
10432 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10433 (eieio-speedbar-expand):
10434 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10435 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10436 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10437 (viper-del-backward-char-in-replace, viper-backward-indent)
10438 (viper-brac-function, viper-register-to-point, viper-submit-report):
10439 * net/tramp.el (tramp-remote-coding-commands):
10440 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10441 Fix typos in docstrings.
10443 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10445 * mail/sendmail.el (mail-yank-original): Set the mark if the
10446 specified function for yanking does not do it.
10448 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10450 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10452 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10453 resyncing a directory.
10455 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10457 * progmodes/ada-mode.el: Fix bug#1920.
10458 (ada-ident-re): Delete ., allow multibyte characters.
10459 (ada-goto-label-re): New; matches goto labels.
10460 (ada-block-label-re): New; matches block labels.
10461 (ada-label-re): New; matches both.
10462 (ada-named-block-re): Deleted; callers changed to use
10463 `ada-block-label-re' instead.
10464 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10465 Use `ada-block-label-re'.
10466 (ada-indent-on-previous-lines): Improve handling of goto labels.
10467 (ada-get-indent-block-start): Special-case block label.
10468 (ada-get-indent-label): Split into `ada-indent-block-label' and
10469 `ada-indent-goto-label'.
10470 (ada-goto-stmt-start, ada-goto-next-non-ws):
10471 Optionally ignore goto labels.
10472 (ada-goto-next-word): Simplify.
10473 (ada-indent-newline-indent-conditional): Insert newline before
10474 trying to fix indentation; doc fix.
10476 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10478 * calc/calc.el (calc-command-flags): Give it an initial value.
10480 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10482 * files.el (minibuffer-with-setup-hook):
10483 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10484 (artist-key-draw-continously, artist-key-do-continously-continously)
10485 (artist-key-set-point-continously, artist-mouse-draw-continously):
10486 Fix typos in docstrings.
10488 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10490 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10491 Never return t (Bug#3898).
10493 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10495 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10496 can parse the output of the external commands (Bug#5279).
10498 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10500 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10502 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10504 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10506 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10508 * startup.el (command-line): Remove unused --icon-type arg.
10509 Handle --display arg, passing it to command-line-1 (Bug#5392).
10511 2010-01-16 Mario Lang <mlang@delysid.org>
10513 * emacs-lisp/chart.el (chart-translate-namezone):
10514 * textmodes/artist.el (artist-compute-popup-menu-table):
10515 Remove duplicated words in doc-strings.
10517 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10519 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10520 to mairix-search to suppress threading (Bug#5342).
10522 2010-01-15 Kenichi Handa <handa@m17n.org>
10524 * international/mule-cmds.el (canonicalize-coding-system-name):
10525 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10527 2010-01-15 Glenn Morris <rgm@gnu.org>
10529 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10531 * wid-edit.el (widget-keymap): Doc fix.
10533 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10534 former seems to be more widely accepted by various svn versions.
10536 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10538 * find-cmd.el (find-constituents):
10539 * vc-arch.el (vc-arch-root):
10540 * window.el (window-body-height, pop-up-frames):
10541 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10542 * progmodes/ada-stmt.el (ada-if):
10543 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10544 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10545 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10546 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10548 * progmodes/flymake.el (flymake-post-syntax-check):
10549 Fix typo in error message.
10551 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10553 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10554 which is always a string. (Bug#5313)
10556 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10558 * progmodes/ada-xref.el (ada-default-prj-properties):
10559 Simplify previous change.
10561 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10563 * progmodes/ada-xref.el (ada-default-prj-properties):
10564 Default ada_project_path to $ADA_PROJECT_PATH.
10566 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10568 * progmodes/ada-mode.el (ada-create-keymap):
10569 Override `narrow-to-defun' with `ada-narrow-to-defun'.
10571 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10573 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10574 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10575 (ada-get-current-indent, ada-imenu-generic-expression)
10576 (ada-which-function): Check for it.
10578 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
10580 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10581 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10583 2010-01-14 Glenn Morris <rgm@gnu.org>
10585 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
10587 2010-01-14 Kenichi Handa <handa@m17n.org>
10589 * composite.el (auto-composition-mode): Make it a buffer local
10590 variable (permanent-local).
10591 (auto-composition-function): Set the default value to
10592 auto-compose-chars.
10593 (auto-composition-mode): Make it a simple function, not a minor mode.
10594 (global-auto-composition-mode): Likewise.
10595 (turn-on-auto-composition-if-enabled): Delete it.
10597 2010-01-13 Karl Fogel <kfogel@red-bean.com>
10599 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10601 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
10603 * files.el (copy-directory): Compute target for recursive
10604 directories with identical names. (Bug#5343)
10606 2010-01-12 Glenn Morris <rgm@gnu.org>
10608 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10609 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10611 2010-01-11 Sam Steingold <sds@gnu.org>
10613 * imenu.el (imenu-default-create-index-function): Detect infinite
10614 loops caused by imenu-prev-index-position-function.
10616 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10618 * htmlfontify.el (htmlfontify-load-rgb-file)
10619 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10620 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10621 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10622 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10623 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10624 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10625 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10626 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10627 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10628 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10629 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10630 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10631 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10632 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10633 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10634 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10635 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10636 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10637 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10638 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10639 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10640 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10641 backslash-quoting from parentheses, etc.
10643 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
10645 * progmodes/js.el: Autoload javascript-mode alias.
10647 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
10649 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10650 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10651 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10652 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10653 Fix typos in docstrings.
10654 (ffap-url-regexp): Doc fix.
10655 (ffap-at-mouse): Fix typo in message.
10657 2010-01-11 Glenn Morris <rgm@gnu.org>
10659 * version.el (emacs-copyright): Set copyright year to 2010.
10661 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
10663 * format.el (format-annotate-function): Only set
10664 write-region-post-annotation-function after running to-fn so as not to
10665 affect nested write-region calls (bug#5273).
10667 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
10669 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10672 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10674 * man.el (Man-goto-section): Signal error if the section is not
10677 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
10679 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10680 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10682 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
10684 * progmodes/compile.el: Don't treat compile-command as safe if
10685 compilation-read-command might be nil (Bug#4218).
10687 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10689 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10692 2010-01-08 Kenichi Handa <handa@m17n.org>
10694 * international/fontset.el (build-default-fontset-data):
10695 Exclude characters in scripts kana, hangul, han, or cjk-misc.
10697 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
10699 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10700 to `create-file-buffer' as it expects, not just a buffer name.
10701 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10702 to help uniquify. (Bug#3224)
10704 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10706 * font-setting.el (font-setting-change-default-font): Use user-spec
10709 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10711 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10713 2010-01-05 Tom Tromey <tromey@redhat.com>
10715 * progmodes/python.el (python-font-lock-keywords):
10716 Handle qualified decorators (Bug#881).
10718 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10720 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10721 in a lightweight checkout.
10723 2010-01-05 Kenichi Handa <handa@m17n.org>
10725 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10727 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10729 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10731 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10733 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10734 checkouts. (Bug#618)
10735 (vc-bzr-log-view-mode): Also highlight the author.
10736 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10737 (vc-bzr-shelve-menu-map):
10738 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10739 (vc-bzr-shelve-apply): Make prompt more explicit.
10741 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
10743 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10744 They are valid characters in URL paths (rfc3986), and at least
10745 Firefox does not understand the encoded version (Bug#3166).
10747 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10749 * progmodes/octave-mod.el (octave-end-keywords)
10750 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10751 Add "end" keyword (Bug#3061).
10752 (octave-end-as-array-index-p): New function.
10753 (calculate-octave-indent): Use it.
10755 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10757 * bookmark.el: Consistently put the text property on the bookmark name.
10758 (bookmark-bmenu-marks-width): Bump back to 2, to include
10760 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10761 property on the bookmark name, instead of not putting it at all.
10762 (bookmark-bmenu-list): Fix where we put the text property.
10764 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10766 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10767 for showing buffer modified state (as added in the previous change).
10769 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10771 * bookmark.el: Show modified state of bookmark buffer more accurately.
10772 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10773 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10774 (with-buffer-modified-unmodified): New macro.
10775 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10776 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10777 Use new macro to preserve the buffer modified state.
10779 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10781 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10782 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10783 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10784 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10785 (bookmark-bmenu-rename, bookmark-bmenu-locate)
10786 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10787 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10789 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10791 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10792 Make the lines in the generated doc string shorter. (Bug#4668)
10794 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
10796 * net/rcirc.el: Add follow-link binding (Bug#4738).
10798 2010-01-02 Eli Zaretskii <eliz@gnu.org>
10800 * Makefile.in (bzr-update): Rename from cvs-update.
10801 (cvs-update): New target for backward compatibility.
10803 * makefile.w32-in (bzr-update): Rename from cvs-update.
10804 (cvs-update): New target for backward compatibility.
10806 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10808 * bookmark.el: Remove gratuitous gratitude.
10810 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10812 * bookmark.el (bookmark-bmenu-any-marks): New function.
10813 (bookmark-bmenu-save): Clear buffer modification if no marks.
10815 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10817 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10818 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10819 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10820 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10822 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10823 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10824 To: emacs-devel {_AT_} gnu.org
10825 Subject: bookmark.el bug report
10826 Date: Mon, 28 Dec 2009 14:19:16 +0800
10827 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10829 2010-01-02 Karl Fogel <kfogel@red-bean.com>
10831 * bookmark.el: Improvements suggested by Drew Adams:
10832 (bookmark-bmenu-ensure-position): New name for
10833 `bookmark-bmenu-check-position'. Just ensure the position,
10834 don't return any meaningful value.
10835 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10838 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
10840 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10841 (bookmark-yank-point, bookmark-bmenu-check-position):
10842 Fix typos in docstrings.
10843 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10844 (bookmark-name-from-full-record, bookmark-get-position)
10845 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10846 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10847 Remove useless quoting of parenthesis, etc. in docstrings.
10849 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10850 (ediff-append-custom-diff): Fix typo in error message.
10851 (ediff-meta-mark-equal-files): Fix typos in messages.
10853 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10855 * net/imap-hash.el (imap-hash-make): Doc fix.
10856 (imap-hash-test): Fix typo in error message; reflow docstring.
10857 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10858 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10859 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10860 Fix typos in docstrings.
10861 (imap-hash-open-connection): Fix typo in error message.
10863 * play/gomoku.el (gomoku): Fix typos in docstring.
10865 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10866 (gdb-jsonify-buffer): Fix typos in docstring.
10867 (gdb-goto-breakpoint): Fix typo in error message.
10868 ("Display Other Windows"): Fix typo in help message.
10869 (gdb-speedbar-expand-node): Fix typo in question.
10871 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10872 (idlwave-html-system-help-location, idlwave-html-help-location)
10873 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10874 (idlwave-help-browser-generic-args, idlwave-help-directory)
10875 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10876 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10877 (idlwave-online-help, idlwave-help-html-link)
10878 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10879 Fix typos in docstrings.
10880 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10882 (idlwave-help-assistant-start): Fix typo in error message.
10884 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10885 (octave-electric-space): Fix typos in docstrings.
10887 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
10889 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10891 2010-01-01 Juri Linkov <juri@jurta.org>
10893 * comint.el (comint-input-ring-size): Make it a defcustom and
10894 increase the default to 500 (Bug#5148).
10896 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
10898 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10899 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10900 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10902 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
10904 Show working revision correctly for mercurial.
10905 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10906 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10908 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
10910 Declare some functions for the byte-compiler.
10911 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10912 (speedbar-timer-fn, speedbar-change-expand-button-char)
10913 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10915 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
10917 This changeset reverts GDB Graphical Interface to use annotations.
10918 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10920 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10922 Make vc-dir work on subdirectories of the bzr root.
10923 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10924 Return file names relative to it.
10925 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10926 relative directory to vc-bzr-after-dir-status.
10928 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10930 * font-lock.el (font-lock-refresh-defaults): New function, which
10931 can be used to let font-lock react to external changes in
10932 variables like font-lock-defaults and keywords.
10933 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10935 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10937 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10939 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10941 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
10943 Supersede color.diff settings in git log (bug#5211).
10945 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10946 escape chars in its output when the user has color.diff set to `always'.
10947 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10949 2009-12-26 Kevin Ryde <user42@zip.com.au>
10951 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10952 node. Keep previous "Index" name to work with past coreutils too.
10954 * man.el (man): Revise docstring a bit to show -a and -l as
10955 examples. Add -k description since support for it has otherwise
10956 been a secret. (Further to bug#3717.)
10957 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10958 "no matches" rather than "Can't find manpage", as the latter reads
10959 like -k was interpreted as a page name, which is not so. (Bug#5431)
10961 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
10963 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10964 switches. Check also for //SUBDIRED// line.
10966 2009-12-25 Kenichi Handa <handa@m17n.org>
10968 * language/indian.el (devanagari-composable-pattern): Fix to
10969 handle ZWNJ and ZWJ. Use it in composition-function-table for
10971 (malayalam-composable-pattern): Fix previous change.
10973 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10975 * ps-print.el (ps-face-attributes): It was not returning the
10976 attribute face for faces specified as string. Reported by harven
10977 <harven@free.fr>. (Bug#5254)
10978 (ps-print-version): New version 7.3.5.
10980 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
10982 * calendar/icalendar.el (icalendar--convert-tz-offset):
10983 Fix timezone names.
10984 (icalendar--convert-tz-offset): Fix the "last-day-problem".
10985 (icalendar--add-diary-entry): Remove the trailing blank that
10986 diary-make-entry inserts.
10988 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
10990 Make `file-expand-wildcards' work for remote files.
10992 * files.el (file-expand-wildcards): In case of remote files, check
10993 only local file name part for wildcards. Provide feature 'files
10994 and subfeature 'remote-wildcards. (Bug#5198)
10996 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10997 if there is already an established connection.
10998 (tramp-advice-file-expand-wildcards): Remove it.
11000 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11001 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11002 Activate advice for older GNU Emacs versions. (Bug#5237)
11004 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11006 Some doc fixes (more needed).
11008 * find-cmd.el (find-constituents): Reflow docstring.
11009 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11010 (find-generic): Doc fix.
11012 2009-12-17 Juri Linkov <juri@jurta.org>
11014 Fix regression from 23.1 to allow multiple modes in Local Variables.
11016 * files.el (hack-local-variables-filter): While ignoring duplicates,
11017 don't take `mode' into account.
11018 (hack-local-variables-filter, hack-dir-local-variables):
11019 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11021 2009-12-17 Juri Linkov <juri@jurta.org>
11023 Make `dired-diff' safer. (Bug#5225)
11025 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11026 `current' or when `file' is a directory of the `current' file.
11028 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11030 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11031 unconditionally preloaded files.
11033 2009-12-16 Juri Linkov <juri@jurta.org>
11035 Revert to old 23.1 logic of using the file at the mark as default.
11036 * dired-aux.el (dired-diff): Use the file at the mark as default
11037 if it's not the same as the current file, and the target dir is
11038 the current dir or the mark is active. Add the current file
11039 as the arg of `dired-dwim-target-defaults'. Use the default file
11040 in the prompt. (Bug#5225)
11042 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11044 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11045 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11046 (tramp-check-for-regexp): Check also, when an echoing shell stops
11047 to echo sent commands.
11049 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11051 * Makefile.in: Revert last change (Bug#5191).
11053 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11055 * vc-hg.el (vc-hg-print-log): Fix argument order.
11056 (vc-hg-working-revision): Make sure the command is executed in a
11057 known environment so that we can parse the output. (Bug#4417)
11059 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11061 * progmodes/python.el (python-symbol-completions): Remove text
11062 properties from symbol string before calling python-send-receive.
11064 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11066 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11067 when there are values for both file and line. (Bug#5060)
11069 2009-12-14 Juri Linkov <juri@jurta.org>
11071 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11072 whitespace after the file name of the first line of unified format,
11073 because git-diff doesn't output whitespace and file modification time
11074 after the file name.
11076 2009-12-14 David Kastrup <dak@gnu.org>
11078 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11079 check if it already has the `display' property added by
11080 `Info-display-images-node', and not put the `invisible' property
11083 2009-12-13 Glenn Morris <rgm@gnu.org>
11085 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11086 (report-emacs-bug): In message-mode, sort manually before storing
11087 original report text. (Bug#5178)
11088 Remove superfluous save-excursion.
11090 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11092 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11093 when responding to "GetAll" properties.
11095 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11097 * simple.el (compose-mail): Remove mail-setup-with-from from
11098 customization checks.
11100 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11102 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11103 RAR archives created on Unix systems.
11105 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11107 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11108 the varalias that was accidentally removed by the 2009-11-19 change
11111 2009-12-12 Kenichi Handa <handa@m17n.org>
11113 * language/indian.el (indian-compose-regexp): New function.
11114 (malayalam-composable-pattern): Fix the pattern.
11115 (composition-function-table): Set malayalam-composable-pattern for
11116 Malayalam characters.
11118 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11120 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11121 rather than down-mouse-1, based on follow-link conventions.
11123 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11126 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11128 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11129 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11130 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11131 (verilog-leap-to-head, verilog-backward-token):
11132 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11134 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11136 * progmodes/verilog-mode.el (verilog-auto-lineup)
11137 (verilog-nameable-item-re): Cleanup user-visible spelling and
11138 documentation errors. One reported by Gary Delp.
11139 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11140 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11141 package, bug195. Reported by Pierre-David Pfister.
11143 2009-12-11 Glenn Morris <rgm@gnu.org>
11145 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11147 * mail/emacsbug.el: No longer require sendmail.
11148 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11149 (report-emacs-bug-orig-text): Doc fix.
11150 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11151 New local variables, to adapt to different mail-user-agents.
11152 (report-emacs-bug): Fix test for a gnu.org address.
11153 Use overlays for emphasis, since font-lock defeats 'face property.
11154 Pretest bugs also end up at the newsgroup these days.
11155 Stop message-mode stripping text properties.
11156 Set and use the new buffer-local variables.
11157 (report-emacs-bug-hook): Add doc-string.
11158 Remove some unnecessary save-excursions and simplify.
11159 Use the appropriate hook and send-command.
11161 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11162 capitalization of some menu entries.
11164 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11166 * whitespace.el (whitespace-display-char-on):
11167 Ensure `buffer-display-table' is unique when two or more windows are
11168 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11171 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11173 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11174 characters in the Attribute field.
11176 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11178 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11180 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11182 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11183 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11184 Disregard autoload-excludes.
11185 (update-directory-autoloads): Obey autoload-excludes here instead.
11186 But don't store its contents in no-autoloads and remove entries that
11187 refer to excludes files.
11189 2009-12-10 Glenn Morris <rgm@gnu.org>
11191 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11192 (expand-mail-aliases): Define for compiler.
11194 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11195 Define for compiler.
11197 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11198 appropriate for the mail-user-agent in use.
11200 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11202 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11204 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11206 Fix short log parsing and fontification.
11207 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11208 Fix fontification for the [merge] label.
11210 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11212 Drop some properties to avoid surprises (bug#5002).
11213 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11214 (hfy-fontify-buffer): Use it.
11216 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11219 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11220 Adjust all callers.
11221 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11222 args compulsory. Adjust callers.
11223 (ffap-gopher-at-point): Remove unused var `name'.
11225 Get rid of the ELCFILES abomination.
11226 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11227 (compile-elcfiles): New phony target.
11228 (compile-main): Compute ELCFILES dynamically.
11229 (compile-clean): New target to remove left-over elc files.
11230 (compile, all): Use it.
11232 2009-12-09 Kenichi Handa <handa@etlken>
11234 * international/mule-diag.el: Require help-mode instead of help-fns.
11236 2009-12-09 Kenichi Handa <handa@m17n.org>
11238 * international/mule-cmds.el (ucs-names): Supply sufficiently
11239 fine ranges instead of pre-calculating accurate ranges.
11240 Iterate with bigger gc-cons-threshold.
11242 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11244 Add support for stashing a snapshot of the current tree.
11245 * vc-git.el (vc-git-stash-snapshot): New function.
11246 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11248 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11250 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11251 instead of `(beginning|end)-of-line'.
11253 2009-12-08 Glenn Morris <rgm@gnu.org>
11255 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11257 * Makefile.in (ELCFILES): Regenerate.
11259 2009-12-07 Juri Linkov <juri@jurta.org>
11261 Don't lazy-highlight the comint output in history Isearch mode.
11263 * comint.el (comint-history-isearch-search): Instead of
11264 `comint-line-beginning-position', use `comint-after-pmark-p'
11265 to check if point if before the process mark, and go to
11266 `process-mark' in this case.
11268 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11270 * textmodes/tex-mode.el (latex-complete)
11271 (latex-indent-or-complete): Remove.
11272 (latex-mode): Set completion-at-point-functions instead.
11274 Provide a standard completion command and hook it into TAB.
11275 * minibuffer.el (completion-at-point-functions): New var.
11276 (completion-at-point): New command.
11277 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11278 * progmodes/python.el (python-mode-map): Use completion-at-point.
11279 (python-completion-at-point): Rename from python-partial-symbol and
11280 adjust for use in completion-at-point-functions.
11281 (python-mode): Setup completion-at-point for Python completion.
11282 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11283 extracted from lisp-complete-symbol.
11284 (lisp-complete-symbol): Use it.
11285 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11286 setup completion-at-point for Elisp completion.
11287 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11288 Use completion-at-point.
11289 * ielm.el (ielm-map): Use completion-at-point.
11290 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11291 * progmodes/sym-comp.el: Move to...
11292 * obsolete/sym-comp.el: Move from progmodes.
11294 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11296 Prevent save-buffer in Rmail buffers from using the coding-system
11297 of the current message, and from clobbering the encoding mnemonics
11298 in the mode line (Bug#4623).
11300 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11302 (rmail-message-encoding): New variable.
11303 (rmail-write-region-annotate): Record the encoding of the current
11304 message in rmail-message-encoding.
11305 (rmail-after-save-hook): New function, restores the encoding of
11306 the current message after the message collection is saved.
11308 2009-12-07 Juri Linkov <juri@jurta.org>
11310 * progmodes/grep.el (grep-read-files): Use `completing-read'
11311 instead of `read-string'. Set its `collection' arg to
11312 `read-file-name-internal'. (Bug#4301)
11314 2009-12-07 Juri Linkov <juri@jurta.org>
11316 Correctly restore original Isearch point. (Bug#4994)
11318 * isearch.el (isearch-mode): Move `isearch-push-state' after
11319 `(run-hooks 'isearch-mode-hook)'.
11320 (isearch-cancel): When `isearch-push-state-function' is defined,
11321 let-bind `isearch-cmds' to the first state (the last element of
11322 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11323 function and restores the original point). Otherwise, move point
11324 to `isearch-opoint'.
11326 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11328 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11329 chars that don't have names, so the table can be built much faster at
11332 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11334 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11335 change. Suggested by David Kastrup.
11337 * simple.el (compose-mail): Check for incompatibilities and warn.
11338 (compose-mail-user-agent-warnings): New option.
11340 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11342 Support showing a single log entry from vc-annotate.
11343 * vc.el (print-log): Add a new argument: START-REVISION.
11344 (vc-print-log-internal): Add a new optional argument and
11345 pass it to the backend.
11346 (vc-print-log, vc-print-root-log): Adjust callers.
11347 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11348 buffer already displays the requested log entry, use it.
11349 Otherwise display only the log entry in question.
11350 * vc-svn.el (vc-svn-print-log):
11351 * vc-mtn.el (vc-mtn-print-log):
11352 * vc-hg.el (vc-hg-state):
11353 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11354 (vc-git-show-log-entry): Return t on success.
11355 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11356 (vc-bzr-show-log-entry): Return t on success.
11357 * vc-rcs.el (vc-rcs-print-log):
11358 * vc-sccs.el (vc-sccs-print-log):
11359 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11361 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11363 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11364 Add menus to the meta mode. (Bug#5043)
11366 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11368 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11371 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11373 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11375 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11376 Berbain <raphael.berbain@gmail.com>.
11378 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11380 (tramp-initial-end-of-output): New defconst.
11381 (tramp-methods, tramp-find-shell)
11382 (tramp-open-connection-setup-interactive-shell)
11383 (tramp-maybe-open-connection): Use it.
11384 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11385 Handle existence of `#' and `$'.
11387 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11388 Use `tramp-initial-end-of-output'.
11390 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11392 Get the background mode from the terminal for xterm, and set
11394 * term/xterm.el (xterm-set-background-mode): New function.
11395 (terminal-init-xterm): Use it in case xterm supports background
11396 color queries. Recompute faces after getting the background
11399 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11401 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11402 number comment back on its own line, for easier parsing.
11404 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11406 Make it work for non-file buffers (bug#5102).
11407 * doc-view.el (doc-view-current-cache-dir):
11408 Use doc-view-buffer-file-name rather than buffer-file-name.
11409 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11411 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11413 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11414 author field is too short.
11416 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11418 * vc-git.el (vc-git-print-log): Handle a limit argument.
11419 Display the short log in graph form and with labels.
11420 (vc-git-log-view-mode): Handle labels.
11422 Make vc-revert change VC state from 'added to 'unregistered.
11423 * vc-git.el (vc-git-revert): Call git reset first.
11425 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11427 * net/newst-backend.el, net/newst-plainview.el:
11428 * net/newst-reader.el, net/newst-ticker.el:
11429 * net/newst-treeview.el, net/newsticker.el:
11430 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11432 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11434 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11436 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11437 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11438 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11439 Update annotation regexp.
11441 * simple.el (beginning-of-visual-line): Constrain to field
11442 boundaries (Bug#5106).
11444 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11446 * xml.el (xml-substitute-numeric-entities):
11447 Move newsticker--decode-numeric-entities in newst-backend.el to
11448 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11449 * net/newst-backend.el (newsticker--parse-generic-feed)
11450 (newsticker--parse-generic-items)
11451 (newsticker--decode-numeric-entities):
11452 Move newsticker--decode-numeric-entities in newst-backend.el to
11453 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11455 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11457 * progmodes/js.el (js--js-not): Add null to the list of values.
11459 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11461 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11463 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11465 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11466 delimiter if it is at the end of the current line.
11467 (bibtex-generate-url-list): Fix docstring.
11469 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11471 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11472 minibuffer's content with itself.
11473 Fold the confirm-after-completion case into the `confirm' case.
11474 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11476 2009-12-06 Kevin Ryde <user42@zip.com.au>
11478 * ffap.el (ffap-rfc-path): Make this a defcustom since
11479 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11481 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11482 manuals, similar to existing setup for help-mode. (Bug#3913.)
11484 2009-12-05 Juri Linkov <juri@jurta.org>
11486 Save and restore dired buffer's point positions too. (Bug#4880)
11488 * dired.el (dired-save-positions): Return in the first element
11489 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11491 (dired-restore-positions): First restore buffer's position.
11492 While restoring window's positions, check if window still displays
11493 the original buffer.
11495 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11497 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11500 * shell.el (shell): Require ansi-color (Bug#5113).
11502 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11504 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11506 2009-12-05 Alan Mackenzie <acm@muc.de>
11508 * progmodes/cc-mode.el (c-before-hack-hook)
11509 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11510 `c-file-style' to work again. This reversion restores the current
11511 software to its state in Emacs 23.1. (Bug#4146)
11513 2009-12-05 Kevin Ryde <user42@zip.com.au>
11515 * textmodes/sgml-mode.el (sgml-lexical-context):
11516 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11518 2009-12-05 Juri Linkov <juri@jurta.org>
11520 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11521 for virtual nodes. (Bug#4147)
11522 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11523 when moving from a virtual node.
11524 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11525 (Info-mode): Add `Info-virtual-index' to the docstring.
11527 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11529 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11530 track of the buffer position of the end of a BibTeX entry as this
11531 position may change during reformatting.
11532 (bibtex-format-entry): Remove whitespace before processing
11533 numerical fields so that we recognize the latter properly.
11534 (bibtex-reformat): Do not use push which changes the global value
11535 of bibtex-entry-format.
11536 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11537 (bibtex-field-re-init): Replace only space characters by regexp
11539 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11540 (bibtex-initialize): Also update bibtex-strings.
11541 (bibtex-kill-field): Preserve white space at end of entry.
11542 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11543 Update bibtex-reference-keys.
11545 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11547 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11548 point after a star, if that's the only place where modifications can
11551 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
11553 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11556 2009-12-04 Juri Linkov <juri@jurta.org>
11558 * proced.el (proced): Call `(proced-update t)' to update process
11559 information instead of only running proced-post-display-hook.
11560 (proced-send-signal): Add a leading space to the buffer name
11561 " *Marked Processes*" to make this buffer ephemeral.
11563 2009-12-04 Juri Linkov <juri@jurta.org>
11565 * dired.el (dired-auto-revert-buffer): New defcustom.
11566 (dired-internal-noselect): Use it.
11568 2009-12-04 Juri Linkov <juri@jurta.org>
11570 Change roles of modes and functions in image-mode.el (Bug#5062).
11572 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11573 in `auto-mode-alist'.
11574 (image-mode-previous-major-mode): New variable.
11575 (image-minor-mode-map): Rename from `image-mode-text-map'.
11576 (image-mode): Move graceful error-handling code from
11577 `image-minor-mode' to here. On errors call `image-mode-as-text'.
11578 (image-minor-mode): Remove all image-handling code.
11579 Replace `image-mode-text-map' with `image-minor-mode-map'.
11580 Check for `image-type' in mode-line format string.
11581 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11582 (image-mode-as-text): New function with most code from
11583 `image-mode-maybe'.
11584 (image-toggle-display-text): Move code that removes image
11585 properties from `image-toggle-display' to here.
11586 (image-toggle-display-image): New function with code that adds
11587 image properties copied from `image-toggle-display'.
11588 (image-toggle-display): Remove most code with leaving only code
11589 that toggles between `image-mode-as-text' and `image-mode'.
11591 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
11593 * net/newst-treeview.el
11594 (newsticker--treeview-list-highlight-start): Restored call to
11595 save-excursion: Selected item was stuck.
11596 (newsticker--treeview-list-select): New.
11597 (newsticker--treeview-item-show-text)
11598 (newsticker--treeview-item-show)
11599 (newsticker--treeview-item-update): Use new
11600 newsticker-treeview-item-mode.
11601 (newsticker-treeview-update): Keep current item.
11602 (newsticker-treeview-next-new-or-immortal-item): Doc change.
11603 (newsticker--treeview-first-feed): Doc change.
11604 (newsticker-treeview-list-menu)
11605 (newsticker-treeview-item-menu): Add menu entries.
11606 (newsticker-treeview-item-mode): New.
11608 * net/newst-backend.el (newsticker-customize): Delete other
11611 2009-12-04 Sam Steingold <sds@gnu.org>
11613 * log-view.el (log-view-mode-map): "q" calls quit-window,
11614 like in all the other non-self-insert buffers.
11616 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
11619 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11620 key decoding rather than do it manually via last-input-event +
11622 (term-exec): Use delete-and-extract-region.
11623 (term-handle-ansi-terminal-messages): Remove unused var `end'.
11624 (term-process-pager): Remove unused var `i'.
11625 (term-dynamic-simple-complete): Make obsolete.
11626 (serial-update-config-menu): Remove unused vars `y' and `str'.
11627 (term-update-mode-line): Remove unused var `temp'.
11629 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11631 Limit the number of log entries displayed by default.
11632 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11633 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11634 using a prefix argument.
11636 2009-12-03 Glenn Morris <rgm@gnu.org>
11638 * progmodes/idlwave.el (class): Restore still useful declaration.
11640 2009-12-03 Alan Mackenzie <acm@muc.de>
11642 Enhance `c-parse-state' to run efficiently in "brace deserts".
11644 * progmodes/cc-mode.el (c-basic-common-init):
11645 Call c-state-cache-init.
11646 (c-neutralize-syntax-in-and-mark-CPP): Rename from
11647 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
11648 placing `category' properties value 'c-cpp-delimiter at its boundaries.
11650 * progmodes/cc-langs.el (c-before-font-lock-function):
11651 c-extend-and-neutralize-syntax-in-CPP has been renamed
11652 c-neutralize-syntax-in-and-mark-CPP.
11654 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11655 with `category' properties now, not `syntax-table' ones.
11657 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11658 enhanced (but slower) version of c-end-of-macro that won't land
11659 inside a literal or on another awkward character.
11660 (c-state-cache-too-far, c-state-cache-start)
11661 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11662 (c-state-nonlit-pos-cache-limit, c-state-point-min)
11663 (c-state-point-min-lit-type, c-state-point-min-lit-start)
11664 (c-state-min-scan-pos, c-state-brace-pair-desert)
11665 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11666 buffer local variables.
11667 (c-state-literal-at, c-state-lit-beg)
11668 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11669 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11670 (c-state-cache-top-paren, c-state-cache-after-top-paren)
11671 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11672 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11673 (c-renarrow-state-cache)
11674 (c-append-lower-brace-pair-to-state-cache)
11675 (c-state-push-any-brace-pair, c-append-to-state-cache)
11676 (c-remove-stale-state-cache)
11677 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11678 (c-invalidate-state-cache-1, c-parse-state-1)
11679 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11680 (c-parse-state): Enhance and refactor.
11681 (c-debug-parse-state): Amend to deal with all the new variables.
11683 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11684 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11685 modify to use category text properties rather than syntax-table ones.
11686 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11687 to switch off/on the syntactic paren property of C++ template
11688 delimiters using the category property.
11689 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11690 template delims suppressed.
11691 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11692 New constant/macros which apply category properties to the start
11693 and end of preprocessor constructs.
11694 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11695 "comment out" the syntactic value of characters in preprocessor
11697 (c-with-cpps-commented-out)
11698 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11699 with characters in all or all but one preprocessor constructs
11702 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11704 * proced.el (proced-filter-alist): Use regexp-quote.
11706 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
11709 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11710 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11711 arguments. Expand `default-directory'.
11713 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11714 the benefit of returning an expanded localname.
11715 (tramp-tramp-file-p): Handle the case NAME is not a string.
11717 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11719 Add support for bzr shelve/unshelve.
11720 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11721 (vc-bzr-extra-menu-map): New variables.
11722 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11723 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11724 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11725 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11726 (vc-bzr-dir-extra-headers): Display shelves.
11728 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11730 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11732 * textmodes/bibtex.el (bibtex-complete-internal):
11733 Use completion-in-region.
11734 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11736 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11738 Support applying stashes. Improve UI.
11739 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11740 (vc-git-stash-apply, vc-git-stash-pop)
11741 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11742 (vc-git-stash-menu): New functions.
11743 (vc-git-stash-menu-map): New variable.
11744 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11746 2009-12-03 Glenn Morris <rgm@gnu.org>
11748 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11749 (vc-print-log-internal): Fix previous change.
11750 (vc-revert): Correct pluralization.
11752 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11754 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11755 it to be an alist any more.
11756 (makefile-complete): Use completion-in-region.
11758 * progmodes/octave-mod.el (octave-complete-symbol):
11759 Use completion-in-region.
11762 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11763 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11764 (idlwave-complete-class): Don't quote lambda.
11765 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11766 (idlwave-mode-map): Move initialization into declaration.
11767 (idlwave-action-and-binding): Use backquotes.
11768 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11770 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11771 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11772 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11773 `parts', and `all-parts'.
11774 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11775 (idlwave-convert-xml-system-routine-info): Remove unused string
11777 (idlwave-display-user-catalog-widget): Use dolist.
11778 (idlwave-scanning-lib): Declare dynamically-scoped var.
11779 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11780 (completion-highlight-first-word-only): Declare to silence bytecomp.
11781 (idlwave-popup-select): Tighten scope of `resp'.
11782 (idlwave-find-struct-tag): Remove unused var `beg'.
11783 (idlwave-after-load-rinfo-hook): Declare.
11784 (idlwave-sintern-class-info): Remove unused var `taglist'.
11785 (idlwave-find-class-definition): Remove unused var `list'.
11786 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11787 (idlwave-what-module-find-class): Remove unused var `classes'.
11789 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
11791 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11793 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11795 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11796 buffers visited. Remove redundant current-buffer-saving.
11798 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11800 Use completion-in-buffer and remove uses of dynamic scoping.
11801 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11802 (pascal-buffer-to-use, pascal-flag): Don't declare.
11803 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11804 (pascal-get-completion-decl, pascal-keyword-completion):
11805 Add `pascal-str' argument, save-excursion,
11806 return the found completions, and don't filter with pascal-pred.
11807 (pascal-completion-cache): New var.
11808 (pascal-completion): Don't switch buffer any more (it was never
11809 necessary). Don't save-excursion any more (it's done by the called
11810 subroutines). Use a cache to avoid redundant computations.
11811 Use complete-with-action rather than pascal-completion-response and
11812 let it apply the predicate as well.
11813 (pascal-complete-word): Use completion-in-buffer when
11814 pascal-toggle-completions is nil.
11815 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11817 (pascal-comp-defun): Don't change buffer any more.
11818 Use complete-with-action rather than pascal-completion-response and
11819 let it apply the predicate as well.
11820 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11823 2009-12-02 Kenichi Handa <handa@m17n.org>
11825 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11826 shape for all Indic scripts.
11828 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11830 Use completion-in-buffer.
11831 * wid-edit.el (widget-field-text-end): New function.
11832 (widget-field-value-get): Use it.
11833 (widget-string-complete, widget-file-complete)
11834 (widget-color-complete): Use it and completion-in-region.
11835 (widget-complete): Don't narrow the buffer.
11837 2009-12-02 Glenn Morris <rgm@gnu.org>
11839 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11840 (rmail-select-summary): Use rmail-pop-to-buffer.
11841 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11842 rmail-pop-to-buffer, to prevent horizontal splits.
11844 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11845 save-excursion with save-current-buffer.
11846 Widen before searching. (Bug#5093)
11847 (diary-list-sexp-entries): Remove superfluous save-excursion.
11849 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
11851 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11854 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11856 * ido.el (ido-file-internal): Handle filenames at point that do
11857 not have a directory part. (Bug#5049)
11859 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
11861 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11862 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11864 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11866 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11867 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11870 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11872 * comint.el (comint-insert-input): Ignore clicks to the right of
11873 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11875 * vc.el (vc-print-log-internal): Don't wait for the process to
11876 terminate before setting up the major mode.
11878 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11881 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11884 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11886 2009-12-01 Glenn Morris <rgm@gnu.org>
11888 * window.el (window--display-buffer-2): Fix previous changes.
11890 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
11892 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11894 2009-12-01 Glenn Morris <rgm@gnu.org>
11896 * Makefile.in (ELCFILES): Add mpc.elc.
11898 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11900 * mpc.el: New file.
11902 2009-12-01 Glenn Morris <rgm@gnu.org>
11904 * window.el (window-to-use): Define for compiler.
11906 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11907 consistent with others (no final period).
11909 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11910 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11912 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11914 Make vc-print-log buttons work.
11915 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11917 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11919 * savehist.el (savehist-autosave-interval): Allow setting to nil
11920 through customize. (Bug#5056)
11922 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
11924 Fix references to jit-lock properties.
11925 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11926 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11927 (perl-font-lock-special-syntactic-constructs):
11928 Quote jit-lock-defer-multiline property.
11930 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11932 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11934 2009-11-30 Juri Linkov <juri@jurta.org>
11936 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11937 value `buffer' of `multi-isearch-next-buffer-current-function'.
11938 Use `(current-buffer)' when `buffer' is nil.
11939 (multi-isearch-next-buffer-from-list): Don't fallback to
11940 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11942 2009-11-30 Juri Linkov <juri@jurta.org>
11944 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11945 of buffers with `get-buffer' to `multi-isearch-buffers'.
11946 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11947 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11948 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11949 FILES with `expand-file-name' converting relative file names
11950 to absolute. Doc fix. (Bug#4727)
11952 2009-11-30 Juri Linkov <juri@jurta.org>
11954 * misearch.el (multi-isearch-read-buffers)
11955 (multi-isearch-read-matching-buffers): New functions.
11956 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11957 Use them in the `interactive' spec. Doc fix.
11958 (multi-isearch-read-files, multi-isearch-read-matching-files):
11960 (multi-isearch-files, multi-isearch-files-regexp):
11961 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11963 2009-11-30 Juri Linkov <juri@jurta.org>
11965 * doc-view.el (doc-view-continuous):
11966 Rename from `doc-view-continuous-mode'.
11967 (doc-view-menu): Move "Toggle display" to the top.
11968 Add submenu "Continuous" with radio buttons "Off"/"On"
11969 and "Save as Default".
11970 (doc-view-scroll-up-or-next-page)
11971 (doc-view-scroll-down-or-previous-page)
11972 (doc-view-next-line-or-next-page)
11973 (doc-view-previous-line-or-previous-page):
11974 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11976 2009-11-30 Juri Linkov <juri@jurta.org>
11978 * comint.el (comint-mode-map): Rebind `M-r' from
11979 `comint-previous-matching-input' to
11980 `comint-history-isearch-backward-regexp'.
11981 Unbind `M-s' to allow global key binding `M-s'.
11982 Add menu items for `comint-history-isearch-backward' and
11983 `comint-history-isearch-backward-regexp'. (Bug#3746)
11985 2009-11-30 Juri Linkov <juri@jurta.org>
11987 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11988 For def=recenter, replace `recenter' with `recenter-top-bottom'
11989 that is called with `this-command' and `last-command' let-bound
11990 to `recenter-top-bottom'. When the last `def' was not `recenter',
11991 set `recenter-last-op' to nil. (Bug#4981)
11993 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11995 Minor cleanup and simplification.
11996 * filecache.el (file-cache-add-directory)
11997 (file-cache-add-directory-recursively)
11998 (file-cache-add-from-file-cache-buffer)
11999 (file-cache-delete-file-regexp, file-cache-delete-directory)
12000 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12001 (file-cache-temp-minibuffer-message): Delete function.
12002 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12004 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12005 Don't signal an error when bumping into EOB in tr, s, or y.
12007 2009-11-29 Juri Linkov <juri@jurta.org>
12009 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12012 * descr-text.el (describe-char-unidata-list): Use lowercase name
12013 for "Unicode name" like in other tags.
12015 2009-11-29 Juri Linkov <juri@jurta.org>
12017 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12018 New compatibility macro.
12019 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12021 2009-11-29 Juri Linkov <juri@jurta.org>
12023 Add defcustom to define the cycling order of `recenter-top-bottom'.
12026 * window.el (recenter-last-op): Doc fix.
12027 (recenter-positions): New defcustom.
12028 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12029 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12031 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12033 Improve integration of Tramp and ange-ftp in eshell.
12035 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12036 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12037 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12039 * eshell/esh-util.el (top): Require also Tramp when compiling.
12040 (eshell-directory-files-and-attributes): Check for FTP remote
12042 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12043 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12044 (eshell-file-attributes): Handle ".". Return `entry'.
12046 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12047 (ange-ftp-directory-files-and-attributes)
12048 (ange-ftp-real-directory-files-and-attributes): New defuns.
12050 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12051 shell with "exec" when possible. This prevents trailing prompts
12052 in `start-file-process'.
12054 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12056 Try and remove assumptions about point-min==1.
12057 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12058 (rng-compute-mode-line-string): Show the validation percentage in
12059 terms of the narrowed text, not the widened text.
12060 (rng-do-some-validation): Don't catch internal errors when debugging.
12061 (rng-first-error): Simplify.
12062 (rng-after-change-function): Remove work around. AFAIK the bug has
12063 been fixed a while ago.
12065 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12066 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12068 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12070 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12071 `cd' doesn't always do it for us (bug#5067).
12073 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12074 on 2009-10-25 as part of some other change (bug#5067).
12076 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12078 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12080 (byte-compile-warnings): Use byte-compile-warning-types.
12081 (byte-compile-save-excursion): Warn about use of set-buffer right
12082 after save-excursion.
12084 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12085 the excursion as well.
12087 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12089 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12090 providing a Tramp related implementation of "su" and "sudo".
12091 (eshell-unix-initialize): Add "su" and "sudo".
12093 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12095 * net/socks.el (socks-send-command): Convert binary request to
12096 unibyte before sending. This fixes mishandling of some port
12097 numbers such as 129.
12099 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12101 * help.el (describe-bindings-internal): Remove `interactive'.
12103 * man.el (Man-completion-table): Trim a terminating "(".
12104 Remove the space between name page a section.
12105 Add the command's description on the `help-echo' property.
12106 Remove `process-connection-type' binding since it's unused by
12108 Provide completion for the "<section> <name>" format as well.
12109 (Man-default-man-entry): Remove spurious var shadowing the argument.
12111 2009-11-26 Kevin Ryde <user42@zip.com.au>
12113 * log-view.el: Add "Keywords: tools", since its other keywords
12114 aren't in finder-known-keywords, and following vc.el.
12116 * sha1.el (sha1-string-external): default-directory "/" in case
12117 otherwise non-existent. process-connection-type pipe for touch of
12118 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12120 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12122 Misc coding convention cleanups.
12123 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12124 hfy-init-kludge-hooks.
12125 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12126 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12127 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12129 (hfy-slant, hfy-weight): Use tables rather than code.
12130 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12131 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12132 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12133 (hfy-face-to-css): Remove `nconc' with single arg.
12134 (hfy-p-to-face-lennart): Use `or'.
12135 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12136 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12137 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12138 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12139 (hfy-force-fontification): Use run-hooks.
12141 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12143 Various minor fixes.
12144 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12145 Javascript belongs in the header, not the body.
12146 (hfy-javascript): Remove.
12147 (hfy-fontify-buffer): Don't insert it any more.
12148 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12149 Fix bug in invis handling when there were no invis props in a chunk.
12151 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12153 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12155 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12157 * finder.el (finder-mode-map): Add a menu.
12159 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12161 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12162 "unsigned" structs.
12164 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12165 fork" statement better.
12167 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12169 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12170 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12171 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12172 Reported by Clay Douglass.
12174 (verilog-auto-inst, verilog-auto-star-safe)
12175 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12176 Fix removing "// Interfaces" when saving .* expansions.
12177 Reported by Pierre-David Pfister.
12179 2009-11-26 Glenn Morris <rgm@gnu.org>
12181 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12184 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12186 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12187 Really use previous revision.
12189 2009-11-25 Kevin Ryde <user42@zip.com.au>
12191 * man.el (Man-completion-table): default-directory "/" in case
12192 doesn't otherwise exist. process-environment COLUMNS=999 so as
12193 not to truncate long names. process-connection-type pipe to avoid
12194 any chance of hitting the pseudo-tty TIOCGWINSZ.
12195 (man): completion-ignore-case t for friendliness and since man
12196 itself is case-insensitive on the command line.
12197 Further to Bug#3717.
12199 * arc-mode.el: Add "Keywords: files", so the details in its
12200 commentary can be reached from finder-by-keyword.
12201 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12202 editing mode, but it's comms related and sgml-mode.el has "comm"
12204 * textmodes/bibtex-style.el: Add "Keywords: tex".
12205 * international/isearch-x.el, international/ja-dic-cnv.el:
12206 * international/ja-dic-utl.el, international/kkc.el:
12207 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12209 2009-11-25 Juri Linkov <juri@jurta.org>
12211 * man.el (Man-completion-table): Modify regexp to include
12212 section names to completion strings. (Bug#3717)
12214 2009-11-25 Juri Linkov <juri@jurta.org>
12216 Search recursively in gzipped files. (Bug#4982)
12218 * progmodes/grep.el (grep-highlight-matches): Add new options
12219 `always' and `auto'. Doc fix.
12220 (grep-process-setup): Check `grep-highlight-matches' for
12221 `auto-detect' to determine the need to compute grep defaults.
12222 Move Windows/DOS specific --colors settings handling
12223 to `grep-compute-defaults'. Check `grep-highlight-matches'
12224 to get the value of "--color=".
12225 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12226 has the value `auto-detect'. Move Windows/DOS specific settings
12227 from `grep-process-setup'.
12228 (zrgrep): New command with alias `rzgrep'.
12230 2009-11-25 Juri Linkov <juri@jurta.org>
12232 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12233 to nil instead of switching off view-mode. (Bug#4896)
12235 2009-11-25 Juri Linkov <juri@jurta.org>
12237 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12239 * mwheel.el (mwheel-scroll-up-function)
12240 (mwheel-scroll-down-function): New defvars.
12241 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12242 `scroll-up', and `mwheel-scroll-down-function' instead of
12245 * doc-view.el (doc-view-scroll-up-or-next-page)
12246 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12247 Use this ARG in the call to image-scroll-up/image-scroll-down.
12248 Change `interactive' spec to "P". Goto next/previous page only
12249 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12250 SPC/DEL case). Doc fix.
12251 (doc-view-next-line-or-next-page)
12252 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12254 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12255 `doc-view-scroll-up-or-next-page', and buffer-local
12256 `mwheel-scroll-down-function' to
12257 `doc-view-scroll-down-or-previous-page'.
12259 2009-11-25 Juri Linkov <juri@jurta.org>
12261 Provide additional default values (directories at other Dired
12262 windows) via M-n in the minibuffer of some Dired commands.
12264 * dired-aux.el (dired-diff, dired-compare-directories)
12265 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12266 `minibuffer-default' in `minibuffer-with-setup-hook'.
12267 (dired-dwim-target-directory): Find a window that displays Dired
12268 buffer instead of failing when the next window is not Dired.
12269 Use `get-window-with-predicate' to find for the next Dired window.
12270 (dired-dwim-target-defaults): New function.
12272 * ediff-util.el (ediff-read-file-name):
12273 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12274 in `minibuffer-with-setup-hook'.
12276 2009-11-25 Juri Linkov <juri@jurta.org>
12278 Provide additional default values (file name at point or at the
12279 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12281 * minibuffer.el (read-file-name-defaults): New function.
12282 (read-file-name): Reset `minibuffer-default' to nil when
12283 it duplicates initial input `insdef'.
12284 Bind `minibuffer-default-add-function' to lambda that
12285 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12286 (minibuffer-insert-file-name-at-point): New command.
12288 * files.el (file-name-at-point-functions): New defcustom.
12289 (find-file-default): Remove defvar.
12290 (find-file-read-args): Don't use `find-file-default'.
12291 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12292 to `read-file-name'.
12293 (find-file-literally): Use `read-file-name' with
12294 `confirm-nonexistent-file-or-buffer'.
12296 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12298 * dired.el (dired-read-dir-and-switches):
12299 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12300 to `read-file-name'.
12301 (dired-file-name-at-point): New function.
12302 (dired-mode): Add hook `dired-file-name-at-point' to
12303 `file-name-at-point-functions'.
12305 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12307 Really make the *Completions* window soft-dedicated (bug#5030).
12308 * window.el (window--display-buffer-2): Add `dedicated' argument.
12309 (display-buffer): Pass it when needed so the dedicated flag is set
12310 after calling set-window-buffer, which would otherwise reset it.
12312 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12314 * progmodes/meta-mode.el (meta-complete-symbol):
12315 * progmodes/etags.el (complete-tag):
12316 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12317 Use completion-in-region.
12319 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12320 (dabbrev-completion): Use completion-in-region.
12321 (dabbrev--abbrev-at-point): Simplify regexp.
12323 * abbrev.el (abbrev--before-point): Use word-motion functions
12324 if :regexp is not specified (bug#5031).
12326 * subr.el (string-prefix-p): New function.
12328 * man.el (Man-completion-cache): New var.
12329 (Man-completion-table): Use it.
12331 * vc.el (vc-print-log-internal): Make `limit' optional for better
12332 compatibility (e.g. with vc-annotate.el).
12334 2009-11-24 Kevin Ryde <user42@zip.com.au>
12336 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12337 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12339 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12340 when .el source file not found or other error.
12342 2009-11-24 Markus Triska <markus.triska@gmx.at>
12344 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12346 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12348 Handle the [back] button properly (bug#4979).
12349 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12350 Use help-setup-xref, help-buffer, and with-help-window.
12351 (describe-char): Add `buffer' argument.
12352 Pass proper command to help-setup-xref. Don't meddle with
12353 help-xref-stack-item directly.
12354 (describe-text-category): Use with-help-window and help-buffer.
12356 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12357 for the displayed buffer (bug#4887).
12359 * man.el (Man-completion-table): New function.
12362 2009-11-24 David Reitter <david.reitter@gmail.com>
12364 * vc-git.el (vc-git-registered): Use checkout directory (where
12365 .git is) rather than the file's directory and a relative path spec
12366 to work around a bug in git.
12368 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12370 Improve handling of processes on remote hosts.
12372 * eshell/esh-util.el (eshell-path-env): New defvar.
12373 (eshell-parse-colon-path): New defun.
12374 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12376 * eshell/esh-ext.el (eshell-search-path):
12377 Use `eshell-parse-colon-path'.
12378 (eshell-remote-command): Remove argument HANDLER.
12379 (eshell-external-command): Check for FTP remote connection.
12381 * eshell/esh-proc.el (eshell-gather-process-output):
12382 Use `file-truename', in order to start also symlinked files.
12383 Apply `start-file-process' instead of `start-process'.
12384 Shorten `command' to the local file name part.
12386 * eshell/em-cmpl.el (eshell-complete-commands-list):
12387 Use `eshell-parse-colon-path'.
12389 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12391 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12392 to `eshell-directory-change-hook'.
12394 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12396 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12397 because it could be enabled automatically if view-read-only is non-nil.
12399 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12401 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12402 made on 2009-11-22.
12404 2009-11-24 Glenn Morris <rgm@gnu.org>
12406 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12407 deleted variable bookmark-bmenu-bookmark-column.
12409 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12411 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12413 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12415 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12416 two slashes to the "file:" prefix.
12417 (browse-url-file-url): De-munge Cygwin filenames before passing
12418 them to Windows browser.
12419 (browse-url-default-windows-browser): Use call-process.
12421 2009-11-23 Juri Linkov <juri@jurta.org>
12423 Implement DocView Continuous mode. (Bug#4896)
12424 * doc-view.el (doc-view-continuous-mode): New defcustom.
12425 (doc-view-mode-map): Bind C-n/<down> to
12426 `doc-view-next-line-or-next-page', C-p/<up> to
12427 `doc-view-previous-line-or-previous-page'.
12428 (doc-view-next-line-or-next-page)
12429 (doc-view-previous-line-or-previous-page): New commands.
12431 2009-11-23 Juri Linkov <juri@jurta.org>
12433 Implement Isearch in comint input history. (Bug#3746)
12434 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12435 `isearch-mode-hook'.
12436 (comint-history-isearch): New defcustom.
12437 (comint-history-isearch-backward)
12438 (comint-history-isearch-backward-regexp): New commands.
12439 (comint-history-isearch-message-overlay): New buffer-local variable.
12440 (comint-history-isearch-setup, comint-history-isearch-end)
12441 (comint-goto-input, comint-history-isearch-search)
12442 (comint-history-isearch-message, comint-history-isearch-wrap)
12443 (comint-history-isearch-push-state)
12444 (comint-history-isearch-pop-state): New functions.
12446 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12448 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12450 (tramp-handle-make-symbolic-link)
12451 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12453 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12454 (tramp-handle-process-file): Use it.
12456 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12458 * window.el (move-to-window-line-last-op): Remove.
12459 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12461 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12463 Make M-r mirror the new cycling behavior of C-l.
12464 * window.el (move-to-window-line-last-op): New var.
12465 (move-to-window-line-top-bottom): New command.
12466 (global-map): Bind M-r move-to-window-line-top-bottom.
12468 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12470 * dired-x.el (dired-guess-shell-alist-default):
12471 Support xz format. (Bug#4953)
12473 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12475 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12476 last-command-char/last-command-event.
12477 (viper-prefix-arg-value): Do correct conversion of event-char for
12480 * emulation/viper-util.el, emulation/viper.el:
12481 Use viper-last-command-char instead of
12482 last-command-char/last-command-event.
12484 * ediff-init.el, ediff-mult.el, ediff-util.el:
12485 Replace last-command-char and last-command-event
12486 with (ediff-last-command-char) everywhere.
12488 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12489 created in fundamental mode.
12491 * ediff.el (ediff-version): Revert the change of interactive-p to
12492 called-interactively-p.
12494 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12496 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12497 generation from word-movement command names.
12499 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12501 * cus-start.el (all): Add native condition for font-use-system-font.
12503 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12505 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12506 Correct the patch from 2009-11-18. (Bug#3910)
12508 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12510 * progmodes/subword.el: Rename from lisp/subword.el.
12512 * subword.el: Rename to progmodes/subword.el.
12514 * Makefile.in (ELCFILES): Adapt to subword.el move.
12516 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12517 Stefan Monnier <monnier@iro.umontreal.ca>
12519 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12520 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12521 (bookmark-bmenu-show-filenames): Use push.
12522 (bookmark-bmenu-hide-filenames): Use local var instead of
12523 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12524 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12525 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12526 filenames now that the bookmark names are always available.
12528 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12530 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12531 (bookmark-search-pattern): Move and leave unbound.
12532 (bookmark-bmenu-mode-map): Change binding.
12533 (bookmark-read-search-input): Simplify.
12534 Don't use text-char-description. Don't error on non-char events.
12535 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12536 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12537 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12538 Use a local var for the timer.
12539 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12540 (i.e. bookmark-bmenu-search).
12542 2009-11-21 Glenn Morris <rgm@gnu.org>
12544 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12546 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12548 * net/browse-url.el (browse-url-default-windows-browser):
12549 Use cygstart for cygwin.
12551 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
12553 * bookmark.el: Formatting and doc fixes only:
12554 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12555 (bookmark-bmenu-search): Wrap to fit within 80 columns.
12556 Minor grammar and punctuation fixes in doc string.
12557 (bookmark-read-search-input): Adjust to fit within 80 columns.
12559 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12561 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12562 (c-backward-into-nomenclature): Adapt to subword renaming.
12564 * subword.el (subword-forward, subword-backward, subword-mark)
12565 (subword-kill, subword-backward-kill, subword-transpose)
12566 (subword-downcase, subword-upcase, subword-capitalize)
12567 (subword-forward-internal, subword-backward-internal):
12568 Rename from forward-subword, backward-subword, mark-subword,
12569 kill-subword, backward-kill-subword, transpose-subwords,
12570 downcase-subword, upcase-subword, capitalize-subword,
12571 forward-subword-internal, backward-subword-internal.
12573 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12575 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12577 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12579 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12580 (bookmark-bmenu-filter-alist-by-regexp)
12581 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12582 (bookmark-bmenu-search): New command.
12583 (bookmark-bmenu-mode-map): Bind it.
12585 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
12587 * progmodes/cc-cmds.el: declare-functioned forward-subword and
12588 backward-subword to quit the byte-compiler.
12590 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12592 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12594 * progmodes/cc-cmds.el (c-update-modeline)
12595 (c-forward-into-nomenclature, c-backward-into-nomenclature):
12596 Refer to subword.el functions instead of cc-subword.el.
12598 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12599 subword.el functions instead of cc-subword.el.
12601 * progmodes/cc-subword.el: Rename to subword.el.
12602 * subword.el: Rename from progmodes/cc-subword.el.
12603 (subword-mode-map): Rename from c-subword-mode-map.
12604 (subword-mode): Rename from c-subword-mode.
12605 (global-subword-mode): New global minor mode.
12606 (forward-subword): Rename from c-forward-subword.
12607 (backward-subword): Rename from c-backward-subword.
12608 (mark-subword): Rename from c-mark-subword.
12609 (kill-subword): Rename from c-kill-subword.
12610 (backward-kill-subword): Rename from c-backward-kill-subword.
12611 (transpose-subwords): Rename from c-tranpose-subword.
12612 (downcase-subword): Rename from c-downcase-subword.
12613 (capitalize-subword): Rename from c-capitalize-subword.
12614 (forward-subword-internal): Rename from c-forward-subword-internal.
12615 (backward-subword-internal): Rename from c-backward-subword-internal.
12617 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
12619 * vc.el (vc-deduce-fileset): Allow non-state changing operations
12620 from a dired buffer.
12621 (vc-dired-deduce-fileset): New function.
12622 (vc-root-diff, vc-print-root-log): Use it.
12624 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12625 nil LIMIT argument to vc-print-log-internal.
12627 2009-11-20 Glenn Morris <rgm@gnu.org>
12629 * Makefile.in (ELCFILES): Regenerate.
12631 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
12633 * calc/calc.el (calc-set-mode-line):
12634 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12635 (math-format-number): Rename `math-format-complement-signed' to
12636 `math-format-twos-complement'.
12638 * calc/calc-bin.el (math-format-twos-complement): Rename from
12639 math-format-complement-signed.
12640 (calc-radix): Rename `calc-complement-signed-mode' to
12641 `calc-twos-complement-mode'.
12642 (calc-octal-radix, calc-hex-radix): Add an argument for
12645 * calc/calc-embed.el (calc-embedded-mode-vars):
12646 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12648 * calc/calc-ext.el (calc-init-extensions):
12649 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12650 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12652 * calc/calc-units.el (math-build-units-table-buffer):
12653 Let `calc-twos-complement-mode' be nil.
12655 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12658 * calc/calc-vec.el (calcFunc-vunpack):
12659 * calc/calc-aent.el (calc-do-calc-eval):
12660 * calc/calc-forms.el (math-format-date):
12661 * calc/calc-graph.el (calc-graph-plot):
12662 * calc/calc-math.el (math-use-emacs-fn):
12663 * calc/calccomp.el (math-compose-expr):
12664 Let `calc-twos-complement-mode' be nil.
12666 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12668 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12669 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
12670 * minibuffer.el (completion-in-region-functions): New hook.
12671 (completion-in-region): New function.
12672 * emacs-lisp/lisp.el (lisp-complete-symbol):
12673 * pcomplete.el (pcomplete-std-complete): Use it.
12675 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
12677 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12678 (latex-complete-alist): New vars.
12679 (latex-string-prefix-p, latex-complete-bibtex-keys)
12680 (latex-complete-envnames, latex-complete-refkeys)
12681 (latex-complete-data): New functions.
12682 (latex-complete, latex-indent-or-complete): New commands.
12684 * window.el (display-buffer-mark-dedicated): New var.
12685 (display-buffer): Obey it.
12686 * minibuffer.el (minibuffer-completion-help): Use it.
12688 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12690 * filecache.el (file-cache-add-file): Use push and cons.
12691 (file-cache-delete-file-regexp): Use push.
12692 (file-cache-complete): Use completion-in-region.
12694 * simple.el (with-wrapper-hook): Fix thinko.
12696 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12697 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12698 Use with-current-buffer and string-to-number.
12699 (hfy-fallback-colour-values): Use assoc-string.
12700 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12701 (hfy-face-at): Remove unused var `found-face'.
12702 (hfy-compile-stylesheet): Remove unused var `css'.
12703 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12705 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12706 Use with-current-buffer.
12707 (hfy-text-p): Use expand-file-name and fewer setq.
12709 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12711 * htmlfontify.el, hfy-cmap.el: New files.
12713 2009-11-19 Juri Linkov <juri@jurta.org>
12715 * minibuffer.el (completions-format): New defcustom.
12716 (completion--insert-strings): Implement vertical format.
12718 * simple.el (switch-to-completions): Move point to the first
12719 completion when point was at the beginning of the buffer.
12721 2009-11-19 Juri Linkov <juri@jurta.org>
12723 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12725 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12727 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
12729 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12730 (mail-signature): Change default to t.
12731 (mail-from-style): Deprecate `system-default' value.
12732 (mail-insert-from-field): For default value of mail-from-style,
12733 default to `angles' unless `angles' needs quoting and `parens'
12735 (mail-citation-prefix-regexp): Use citation regexp from
12738 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
12740 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12741 Set variables for computing the prompt for reading password.
12743 2009-11-19 Glenn Morris <rgm@gnu.org>
12745 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12747 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12749 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12750 (newsticker-treeview-listwindow-height): Fix custom type.
12752 2009-11-19 Kenichi Handa <handa@m17n.org>
12754 * descr-text.el (describe-char-padded-string): Compose with TAB
12755 only if there's a font for CH.
12756 (describe-char): Fix the condition for detecting a trivial composition.
12758 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
12760 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12761 more accurate version of the regexp. (Bug#3910)
12763 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12765 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12767 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
12769 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12770 (font-setting-change-default-font): Fix typo in docstring.
12772 2009-11-18 Alan Mackenzie <acm@muc.de>
12774 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12776 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12778 * font-setting.el (font-use-system-font): Move ...
12780 * cus-start.el (all): ... to here.
12782 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
12784 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12785 Don't set `ad-return-value' if `ad-do-it' doesn't.
12787 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12790 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12792 * menu-bar.el: Put "Use system font" in Option-menu.
12793 (menu-bar-options-save): Add font-use-system-font.
12795 * loadup.el: If feature system-font-setting or font-render-setting is
12796 there, load font-setting.
12798 * Makefile.in (ELCFILES): Add font-settings.el.
12799 * font-setting.el: New file.
12801 2009-11-17 Glenn Morris <rgm@gnu.org>
12803 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12805 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12806 Preserve point in the list buffer. (Bug#4939)
12808 (newsticker--treeview-list-update-highlight)
12809 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12811 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12813 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12816 * calc/calc-ext.el (calc-init-extensions): Remove references to
12819 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12821 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12822 * calc/calc-help.el (calc-b-prefix-help): Remove references to
12825 2009-11-16 Kevin Ryde <user42@zip.com.au>
12827 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12828 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12830 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12831 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12832 Ignore trailing spaces by omit-nulls to split-string (fixing
12833 regression from Emacs 21 due to the incompatible split-string
12834 change). (Bug #4928.)
12836 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12838 * vc.el (vc-log-show-limit): Default to 2000.
12839 (vc-print-log-internal): Insert buttons to request more entries
12840 when limiting the output.
12842 * vc-sccs.el (vc-sccs-print-log):
12843 * vc-rcs.el (vc-rcs-print-log):
12844 * vc-cvs.el (vc-cvs-print-log):
12845 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12848 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12850 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12851 error when `tramp-gvfs-dbus-event-vector' is set.
12852 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12854 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12856 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12858 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
12860 * net/dbus.el (dbus-unregister-service): New defun.
12861 (dbus-register-property): Register the handlers of
12862 "org.freedesktop.DBus.Properties" for SERVICE.
12863 (dbus-property-handler): Fix docstring.
12865 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12867 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12868 Quote doc string reference in defvaralias as it is not in special form.
12869 (byte-compile-output-docform): Doc fix.
12871 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12873 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12874 (calc-complement-signed-mode): New variables.
12875 (calc-set-mode-line): Add indicator for twos-complements.
12876 (math-format-number): Format twos-complement notation.
12878 * calc/calc-bin.el (calc-word-size): Reset the variables
12879 `math-2-word-size' and `math-half-2-word-size'.
12880 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12881 (calc-symclip): New functions.
12883 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12885 * calc/calc-embed.el (calc-embedded-mode-vars):
12886 Add `calc-complement-signed-mode' to the list of modes.
12888 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12889 (calc-b-oper-keys): Add `calc-symclip' to list.
12891 * calc/calc-ext.el (math-read-number-fancy): Read complement
12893 (calc-init-extensions): Add binding for `calc-symclip'.
12894 Add autoload for `calcFunc-symclip' and `calc-symclip'.
12896 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12898 (calc-modes-menu): Add item for twos complement mode.
12900 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12902 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12904 * register.el (jump-to-register, insert-register): Handle Semantic
12905 tags. From commented-out advice in semantic/senator.el.
12907 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12909 * vc.el (vc-log-show-limit): New variable.
12910 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12911 when using a prefix argument.
12912 (vc-print-log-internal): Add new argument LIMIT.
12914 * vc-svn.el (vc-svn-print-log):
12915 * vc-mtn.el (vc-mtn-print-log):
12916 * vc-hg.el (vc-hg-print-log):
12917 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12918 pass it to the log command when set. Make the BUFFER argument
12921 * vc-sccs.el (vc-sccs-print-log):
12922 * vc-rcs.el (vc-rcs-print-log):
12923 * vc-git.el (vc-git-print-log):
12924 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12925 ignore it. Make the BUFFER argument non-optional
12927 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12929 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
12931 * dired.el (dired-mode-map): Move encryption items to "Operate"
12934 * strokes.el (strokes-update-window-configuration): Make strokes
12935 buffer current before erasing (Bug#4906).
12937 2009-11-15 Juri Linkov <juri@jurta.org>
12939 * simple.el (set-mark-default-inactive): Add :type, :group
12940 and :version. (Bug#4876)
12942 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
12944 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12945 (archive-unique-fname): ... here. (Bug#4929)
12947 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12949 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12952 * novice.el (disabled-command-function): Add useful args.
12953 Setup the help buffer so that [back] works.
12954 Remove redundant call to help-mode.
12955 (disabled-command-function): Use `case'.
12956 (en/disable-command): New function extracted from enable-command.
12957 (enable-command, disable-command): Use it.
12959 2009-11-14 Glenn Morris <rgm@gnu.org>
12961 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12962 constants. (Bug#4913)
12964 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12966 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12968 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12969 defined in C that have no doc-strings. (Bug#1063)
12971 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12973 * cus-edit.el (data, files):
12974 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12976 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
12978 * simple.el (shell-command): Doc fix (Bug#4891).
12980 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12982 2009-11-14 Glenn Morris <rgm@gnu.org>
12984 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12985 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12986 If they are already loaded, eval-after-load will do the right thing.
12988 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12991 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12993 * simple.el (x-selection-owner-p): Declare.
12994 (read-mail-command): Use custom radio type rather than choice.
12995 (completion-no-auto-exit): Doc fix.
12997 * custom.el (defgroup):
12998 * epg-config.el (epg): Doc fixes.
13000 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13002 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13003 * international/ccl.el (define-ccl-program): Do not purecopy the
13004 docstring, defconst does it anyway.
13006 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13008 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13011 * x-dnd.el (x-dnd-maybe-call-test-function):
13012 * window.el (split-window-vertically):
13013 * whitespace.el (whitespace-help-on):
13014 * vc-rcs.el (vc-rcs-consult-headers):
13015 * userlock.el (ask-user-about-lock-help)
13016 (ask-user-about-supersession-help):
13017 * type-break.el (type-break-force-mode-line-update):
13018 * time-stamp.el (time-stamp-conv-warn):
13019 * terminal.el (te-set-output-log, te-more-break, te-filter)
13020 (te-sentinel, terminal-emulator):
13021 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13022 (term-write-input-ring, term-check-source, term-start-output-log):
13023 (term-display-buffer-line, term-dynamic-list-completions):
13024 (term-ansi-make-term, serial-term):
13025 * subr.el (selective-display):
13026 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13027 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13028 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13029 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13030 (speedbar-remove-localized-speedbar-support)
13031 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13032 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13033 (speedbar-buffers-line-directory):
13034 * simple.el (shell-command-on-region, append-to-buffer)
13035 (prepend-to-buffer):
13036 * shadowfile.el (shadow-save-todo-file):
13037 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13038 (scroll-bar-maybe-set-window-start):
13039 * sb-image.el (speedbar-image-dump):
13040 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13041 (load-save-place-alist-from-file):
13042 * ps-samp.el (ps-print-message-from-summary):
13043 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13044 (ps-background-image, ps-begin-job, ps-do-despool):
13045 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13046 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13047 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13048 (pr-call-process, pr-file-list, pr-interface-save):
13049 * novice.el (disabled-command-function)
13050 (enable-command, disable-command):
13051 * mouse.el (mouse-buffer-menu-alist):
13052 * mouse-copy.el (mouse-kill-preserving-secondary):
13053 * macros.el (kbd-macro-query):
13054 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13055 * informat.el (batch-info-validate):
13056 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13057 * hippie-exp.el (try-expand-dabbrev-visible):
13058 * help-mode.el (help-make-xrefs):
13059 * help-fns.el (describe-variable):
13060 * generic-x.el (bat-generic-mode-run-as-comint):
13061 * finder.el (finder-mouse-select):
13062 * find-dired.el (find-dired-sentinel):
13063 * filesets.el (filesets-file-close):
13064 * files.el (list-directory):
13065 * faces.el (list-faces-display, describe-face):
13066 * facemenu.el (list-colors-display):
13067 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13068 * epg.el (epg--process-filter, epg-cancel):
13069 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13070 (epa--read-signature-type):
13071 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13072 (emerge-file-names):
13073 * ehelp.el (electric-helpify):
13074 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13075 * ediff-vers.el (rcs-ediff-view-revision):
13076 * ediff-util.el (ediff-setup):
13077 * ediff-mult.el (ediff-append-custom-diff):
13078 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13080 * echistory.el (Electric-command-history-redo-expression):
13081 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13082 * disp-table.el (describe-display-table):
13083 * dired.el (dired-find-buffer-nocreate):
13084 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13085 * dabbrev.el (dabbrev--same-major-mode-p):
13086 * chistory.el (list-command-history):
13087 * apropos.el (apropos-documentation):
13088 * allout.el (allout-obtain-passphrase):
13089 (allout-copy-exposed-to-buffer):
13090 (allout-verify-passphrase): Use with-current-buffer.
13092 2009-11-13 Glenn Morris <rgm@gnu.org>
13094 * Makefile.in (ELCFILES): Regenerate.
13096 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13098 * net/dbus.el (dbus-registered-objects-table): Rename from
13099 `dbus-registered-functions-table', because it contains also properties.
13100 (dbus-unregister-object): Unregister also properties.
13101 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13102 Use a timeout of 500 msec, in order to not block.
13103 (dbus-register-property, dbus-property-handler): New defuns.
13105 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13107 * simple.el (minibuffer-default-add-completions): Drop deprecated
13110 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13112 * textmodes/artist.el (artist-mouse-choose-operation):
13113 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13114 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13115 (artist-compute-up-event-key): New function.
13116 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13118 2009-11-13 Kenichi Handa <handa@m17n.org>
13120 * language/japan-util.el: Make sure that the value of jisx0208
13121 property is jisx0208 character.
13123 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13125 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13126 car or each item, not the whole list.
13128 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13130 * minibuffer.el (minibuffer-completion-help):
13131 Use minibuffer-hide-completions.
13133 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13135 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13136 (dired-revert): Use them (bug#4880).
13138 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13140 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13142 2009-11-12 Juri Linkov <juri@jurta.org>
13144 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13146 (find-file-literally-at-point): Alias of `ffap-literally'.
13148 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13150 * textmodes/ispell.el (ispell-skip-region-alist):
13151 * textmodes/css-mode.el (auto-mode-alist):
13152 * progmodes/compile.el (auto-mode-alist):
13153 * international/mule.el (ctext-non-standard-encodings-alist)
13154 (ctext-non-standard-encodings-regexp):
13155 * simple.el (shell-command-switch, text-read-only):
13156 * replace.el (occur-mode-map):
13157 * paths.el (rmail-file-name):
13158 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13159 * find-file.el (ff-special-constructs):
13160 * files.el (file-name-handler-alist):
13161 * composite.el: Purecopy strings.
13163 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13165 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13167 * widget.el (define-widget): Purecopy the docstring.
13168 * international/mule-cmds.el (charset): Do not purecopy the
13169 docstring here, define-widget does it.
13171 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13172 * textmodes/bibtex-style.el (auto-mode-alist):
13173 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13174 * progmodes/compile.el (compile-command):
13175 * language/korea-util.el (default-korean-keyboard):
13176 * international/mule-conf.el (file-coding-system-alist):
13177 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13178 * tooltip.el (tooltip-frame-parameters):
13179 * newcomment.el (comment-end, comment-padding):
13180 * dired.el (dired-trivial-filenames):
13181 * comint.el (comint-file-name-prefix): Purecopy initial values.
13183 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13185 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13186 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13188 (tramp-advice-make-auto-save-file-name)
13189 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13190 after removing the advice.
13192 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13194 * progmodes/grep.el (grep-regexp-alist):
13195 * international/mule-cmds.el (iso-2022-control-alist):
13196 * emacs-lisp/timer.el (timer-duration-words):
13197 * subr.el (version-separator, version-regexp-alist):
13198 * minibuffer.el (completion-styles-alist):
13199 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13200 Change defvars to defconsts.
13202 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13203 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13204 * international/mule-conf.el: Allow to be byte compiled.
13206 * international/mule.el (define-charset): Purecopy props.
13207 (load-with-code-conversion): Purecopy doc string and file name.
13208 (put-charset-property): Purecopy strings.
13209 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13211 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13212 (define-char-code-property): Correctly purecopy the table.
13214 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13216 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13218 * subr.el (add-hook): Purecopy strings.
13219 (eval-after-load): Purecopy load-history-regexp and the form.
13221 * custom.el (custom-declare-group): Purecopy load-file-name.
13223 * subr.el (menu-bar-separator): New defconst.
13224 * net/eudc.el (eudc-tools-menu):
13225 * international/mule-cmds.el (set-coding-system-map)
13226 (mule-menu-keymap):
13227 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13228 * vc-hooks.el (vc-menu-map):
13229 * replace.el (occur-mode-map):
13230 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13231 (menu-bar-edit-menu, menu-bar-goto-menu)
13232 (menu-bar-custom-menu, menu-bar-showhide-menu)
13233 (menu-bar-options-menu, menu-bar-tools-menu)
13234 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13235 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13236 (menu-bar-help-menu):
13237 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13238 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13240 * term/x-win.el (x-gtk-stock-map):
13241 * progmodes/vera-mode.el (auto-mode-alist):
13242 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13243 (inferior-lisp-program, inferior-lisp-load-command):
13244 * progmodes/hideshow.el (hs-special-modes-alist):
13245 * progmodes/gud.el (same-window-regexps):
13246 * progmodes/grep.el (grep-program, find-program, xargs-program):
13247 * net/telnet.el (same-window-regexps):
13248 * net/rlogin.el (same-window-regexps):
13249 * language/ethiopic.el (font-ccl-encoder-alist):
13250 * vc-sccs.el (vc-sccs-master-templates):
13251 * vc-rcs.el (vc-rcs-master-templates):
13252 * subr.el (cl-assertion-failed):
13253 * simple.el (next-error-overlay-arrow-position):
13254 * lpr.el (lpr-command):
13255 * locate.el (locate-ls-subdir-switches):
13256 * info.el (same-window-regexps, info)
13257 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13258 * image-mode.el (image-mode, auto-mode-alist):
13259 * hippie-exp.el (hippie-expand-ignore-buffers):
13260 * format.el (format-alist):
13261 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13263 * facemenu.el (facemenu-keybindings):
13264 * dired.el (dired-listing-switches, dired-chown-program):
13265 * diff.el (diff-switches, diff-command):
13266 * cus-edit.el (same-window-regexps):
13267 * bindings.el (mode-line-mule-info)
13268 (mode-line-buffer-identification): Purecopy strings.
13270 2009-11-11 Juri Linkov <juri@jurta.org>
13272 * simple.el (dired-get-filename) <declare-function>:
13273 Tell the byte-compiler about dired-get-filename.
13274 (shell-command): In Dired mode, get filename from the current line
13275 as the default value.
13277 2009-11-10 Glenn Morris <rgm@gnu.org>
13279 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13280 * calendar/holidays.el, progmodes/cperl-mode.el:
13281 Update x-popup-menu declarations.
13283 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13284 (list-load-path-shadows): Use dolist.
13285 (list-load-path-shadows): Use with-current-buffer.
13287 2009-11-10 Juri Linkov <juri@jurta.org>
13289 * minibuffer.el (read-file-name): Support a list of default values
13290 in `default-filename'. Use the first file name where only one
13291 element is required. Doc fix.
13293 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13295 * net/dbus.el (dbus-unregister-object): Release service, if no
13296 other method is registered for it.
13298 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13300 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13301 bookmark-sort-flag is non-nil (Bug#4653).
13303 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13305 * emulation/cua-base.el: Add CUA property to some CC mode commands
13308 2009-11-08 Kevin Ryde <user42@zip.com.au>
13310 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13311 at end of sentence (Bug#4818).
13313 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13315 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13316 Handle "see declaration of" MSFT statements (Bug#4100).
13318 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13320 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13321 (tramp-advice-file-expand-wildcards): Unload via
13322 `ad-remove-advice'.
13324 * net/trampver.el: Update release number.
13326 2009-11-08 Kevin Ryde <user42@zip.com.au>
13328 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13331 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13333 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13334 in order to keep context in SELinux.
13336 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13338 * dired-aux.el (dired-query): Place cursor in echo area and allow
13341 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13342 menu item if not on a directory (Bug#4701).
13344 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13346 Sync with Tramp 2.1.17.
13348 * net/tramp.el (tramp-handle-copy-directory): Don't use
13349 `file-remote-p' (due to compatibility).
13351 * net/tramp-compat.el (tramp-compat-copy-directory)
13352 (tramp-compat-delete-directory): New defuns.
13354 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13355 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13356 Use `tramp-compat-delete-directory'.
13358 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13359 (tramp-smb-handle-delete-directory):
13360 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13362 * net/trampver.el: Update release number.
13364 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13366 * tar-mode.el (tar-copy): Call write-region on the right buffer
13369 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13370 by hand, if necessary (Bug#4878).
13372 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13374 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13375 align size column (Bug#4839).
13377 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13380 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13382 * progmodes/ld-script.el (auto-mode-alist):
13383 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13385 * cus-face.el (custom-declare-face): Purecopy face spec.
13387 2009-11-06 Kenichi Handa <handa@m17n.org>
13389 * international/uni-bidi.el: Re-generated.
13390 * international/uni-category.el: Re-generated.
13391 * international/uni-combining.el: Re-generated.
13392 * international/uni-mirrored.el: Re-generated.
13394 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13396 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13397 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13398 (tex-start-options, slitex-run-command, latex-run-command)
13399 (tex-run-command, tex-directory):
13400 * textmodes/ispell.el (ispell-html-skip-alists)
13401 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13402 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13403 (adaptive-fill-regexp):
13404 * textmodes/dns-mode.el (auto-mode-alist):
13405 * progmodes/python.el (interpreter-mode-alist):
13406 * progmodes/etags.el (tags-compression-info-list):
13407 * progmodes/etags.el (tags-file-name):
13408 * net/browse-url.el (browse-url-galeon-program)
13409 (browse-url-firefox-program):
13410 * mail/sendmail.el (mail-signature-file)
13411 (mail-citation-prefix-regexp):
13412 * international/mule-conf.el (eight-bit):
13413 * international/latexenc.el (latex-inputenc-coding-alist):
13414 * international/fontset.el (x-pixel-size-width-font-regexp):
13415 * emacs-lisp/warnings.el (warning-type-format):
13416 * emacs-lisp/trace.el (trace-buffer):
13417 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13418 (emacs-lisp-mode-map):
13419 * calendar/holidays.el (holiday-solar-holidays)
13420 (holiday-bahai-holidays, holiday-islamic-holidays)
13421 (holiday-christian-holidays, holiday-hebrew-holidays)
13422 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13423 (hebrew-holidays-1, holiday-oriental-holidays)
13424 (holiday-general-holidays):
13425 * x-dnd.el (x-dnd-known-types):
13426 * tool-bar.el (tool-bar):
13427 * startup.el (site-run-file):
13428 * shell.el (shell-dumb-shell-regexp):
13429 * rfn-eshadow.el (file-name-shadow-tty-properties)
13430 (file-name-shadow-properties):
13431 * paths.el (remote-shell-program, news-directory):
13432 * mouse.el ([C-down-mouse-3]):
13433 * menu-bar.el (menu-bar-tools-menu):
13434 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13435 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13436 (jka-compr-compression-info-list):
13437 * isearch.el (search-whitespace-regexp):
13438 * image-file.el (image-file-name-extensions):
13439 * find-dired.el (find-ls-option):
13440 * files.el (directory-listing-before-filename-regexp)
13441 (directory-free-space-args, insert-directory-program)
13442 (list-directory-brief-switches, magic-fallback-mode-alist)
13443 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13444 (automount-dir-prefix):
13445 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13446 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13447 (face-font-registry-alternatives, face-font-registry-alternatives)
13448 (face-font-family-alternatives):
13449 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13450 (facemenu-foreground-menu, facemenu-face-menu):
13451 * epa-hook.el (epa-file-name-regexp):
13452 * dnd.el (dnd-protocol-alist):
13453 * textmodes/rst.el (auto-mode-alist):
13454 * button.el (default-button): Purecopy strings.
13456 2009-11-06 Glenn Morris <rgm@gnu.org>
13458 * Makefile.in (ELCFILES): Update.
13460 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13462 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13463 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13465 * nxml/xsd-regexp.el (xsdre-gen-categories):
13466 * nxml/xmltok.el (xmltok-parse-entity):
13467 * nxml/rng-parse.el (rng-parse-validate-file):
13468 * nxml/rng-maint.el (rng-format-manual)
13469 (rng-manual-output-force-new-line):
13470 * nxml/rng-loc.el (rng-save-schema-location-1):
13471 * nxml/rng-cmpct.el (rng-c-parse-file):
13472 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13473 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13475 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13477 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13478 Remove extra save-excursions and make-variable-buffer-local's.
13479 Suggested by Stefan Monnier.
13481 (verilog-getopt-file, verilog-module-inside-filename-p)
13482 (verilog-set-define): Merge GNU 1.35 and repair changes from
13483 switching to using with-current-buffer.
13485 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13486 being treated as a number and confusing AUTORESET.
13487 Reported by Dan Dever.
13489 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13490 Add verilog-auto-ignore-concat to fix backward compatibility with
13491 older verilog-modes. Reported by Dan Katz.
13493 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13494 containing closing anchors "...$".
13496 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13497 Reported by Wade Smith.
13499 (verilog-batch-execute-func): Comment on function usage.
13501 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13503 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13506 (verilog-label-re, verilog-calc-1): Support proper indent of named
13509 (verilog-backward-token, verilog-basic-complete-re)
13510 (verilog-beg-of-statement, verilog-indent-re): Support proper
13511 indent of the assert statement at the beginning of a block of text.
13513 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13514 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13517 2009-11-05 Glenn Morris <rgm@gnu.org>
13519 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13520 Emacs 19. (Bug#1531)
13521 (byte-compile-fix-header): Update for the above change.
13522 Drop test for epoch::version.
13524 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13525 * cus-dep.el (custom-make-dependencies):
13526 * finder.el (finder-compile-keywords):
13527 Use autoload-rubric's feature argument.
13529 * calendar/diary-lib.el (top-level): Make load behave more like require.
13531 * vc-git.el (vc-git-stash-map): Move definition before use.
13533 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13535 * custom.el (custom-declare-group): Purecopy standard-value.
13536 (custom-declare-group): Purecopy custom-prefix.
13538 * international/mule.el (load-with-code-conversion):
13539 Call do-after-load-evaluation unconditionally.
13541 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13543 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13545 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13547 2009-11-04 Glenn Morris <rgm@gnu.org>
13549 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13550 (byte-compile-compatibility): Remove option.
13551 (byte-compile-close-variables, byte-compile-fix-header)
13552 (byte-compile-insert-header, byte-compile-output-docform)
13553 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13554 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13555 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13556 (byte-compile-insert, byte-compile-defun):
13557 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
13558 (byte-defop-compiler19): Remove.
13559 Without byte-compile-compatibility, the 'emacs19-opcode property is not
13560 used by anything. Replace all calls with byte-defop-compiler.
13562 2009-11-04 Juri Linkov <juri@jurta.org>
13564 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13565 (menu-bar-options-menu): Don't quote the `prop' arg of
13566 `menu-bar-make-mm-toggle'.
13568 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
13570 * calendar/calendar.el (cal-loaddefs):
13571 * calendar/diary-lib.el (diary-loaddefs):
13572 * calendar/holidays.el (hol-loaddefs):
13573 * eshell/esh-module.el (esh-groups): Load rather than require.
13575 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13577 * calendar/todo-mode.el (todo-add-category): Don't hardcode
13579 (todo-top-priorities): Only display-buffer when called interactively.
13580 (todo-item-start): Don't save excursion point.
13581 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
13582 (todo-insert-item-here, todo-file-item, todo-remove-item):
13583 Adjust uses of todo-item-start and todo-item-end.
13585 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13586 (autoload-rubric): Don't use any more.
13588 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13589 and only put a prop if it is non-nil.
13591 2009-11-03 Juri Linkov <juri@jurta.org>
13593 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13594 (menu-bar-options-menu): Fix list quoting (Bug#4429).
13596 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13597 and "Menu" to make top-level menu item visually one unit (like
13598 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13599 multi-word menu items). Fix :help string for quit-window.
13601 2009-11-03 Glenn Morris <rgm@gnu.org>
13603 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13604 (byte-compile-file-form-define-abbrev-table)
13605 (byte-compile-file-form-custom-declare-variable)
13606 (byte-compile-variable-ref, byte-compile-defvar):
13607 Whether or not a warning is enabled should only affect whether we issue
13608 the warning, not whether or not we collect the relevant data.
13609 Eg warnings can be turned on and off throughout the course of a file.
13611 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13612 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13614 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
13616 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13617 * play/mpuz.el (mpuz-create-buffer):
13618 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13619 (lm-print-y,s,noise, lm-print-w0, lm-init):
13620 * play/gomoku.el (gomoku-prompt-for-move):
13621 * play/fortune.el (fortune-in-buffer):
13622 * play/dissociate.el (dissociated-press):
13623 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13624 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13625 * mail/supercite.el (sc-eref-show):
13626 * mail/smtpmail.el (smtpmail-send-it):
13627 * mail/rmailsum.el (rmail-summary-next-labeled-message)
13628 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13629 (rmail-summary-undelete-many, rmail-summary-rmail-update)
13630 (rmail-summary-goto-msg, rmail-summary-expunge)
13631 (rmail-summary-get-new-mail, rmail-summary-search-backward)
13632 (rmail-summary-add-label, rmail-summary-output-menu)
13633 (rmail-summary-output-body):
13634 * mail/rfc822.el (rfc822-addresses):
13635 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13636 * mail/mailpost.el (post-mail-send-it):
13637 * mail/hashcash.el (hashcash-generate-payment):
13638 * mail/feedmail.el (feedmail-run-the-queue)
13639 (feedmail-queue-send-edit-prompt-help-first)
13640 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13641 (feedmail-deduce-address-list):
13642 * eshell/esh-ext.el (eshell-remote-command):
13643 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13644 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13645 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13646 (viper-save-string-in-file, viper-valid-marker):
13647 * emulation/viper-keym.el (viper-toggle-key):
13648 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13649 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13650 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13651 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13652 (viper-exec-form-in-emacs, viper-brac-function):
13653 * emulation/viper.el (viper-delocalize-var):
13654 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13655 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13656 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13657 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13658 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13659 * emulation/edt.el (edt-electric-helpify):
13660 * emulation/cua-rect.el (cua--rectangle-aux-replace):
13661 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13662 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13663 (cua-indent-to-global-mark-column):
13664 * calendar/diary-lib.el (calendar-mark-1):
13665 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13666 Use with-current-buffer.
13667 * emulation/viper.el (viper-delocalize-var): Use dolist.
13669 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
13671 * comint.el (comint-replace-by-expanded-history-before-point):
13672 Replace !! with the previous input string literally (Bug#1795).
13674 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
13676 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13677 to be made up of whitespace.
13679 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
13681 * minibuffer.el (read-file-name): Don't use file dialogs for
13682 remote directories (Bug#99).
13684 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
13686 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13688 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13690 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13691 instead of deleting the window or frame.
13693 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13695 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13696 Support face colors.
13698 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13699 New function. Support face colors (Bug#1168).
13700 (tex-common-initialization): Use it.
13702 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13703 mode allows it (Bug#1168).
13705 2009-10-31 Juri Linkov <juri@jurta.org>
13707 * facemenu.el (list-colors-display): Don't mark buffer as
13708 modified (Bug#3948).
13710 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
13712 * international/mule-diag.el (list-character-sets-1):
13713 Minor message fix (Bug#3526).
13715 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13716 Fix face property (Bug#4834).
13717 (etags-list-tags, etags-tags-apropos-additional)
13718 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13721 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13724 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13726 * textmodes/two-column.el (2C-split):
13727 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13728 * textmodes/tex-mode.el (tex-set-buffer-directory):
13729 * textmodes/spell.el (spell-region, spell-string):
13730 * textmodes/reftex.el (reftex-erase-buffer):
13731 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13732 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13733 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13734 (reftex-select-item):
13735 * textmodes/reftex-ref.el (reftex-label-info-update)
13736 (reftex-offer-label-menu):
13737 * textmodes/reftex-index.el (reftex-index-change-entry)
13738 (reftex-index-phrases-info):
13739 * textmodes/reftex-global.el (reftex-create-tags-file)
13740 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13741 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13742 (reftex-view-crossref-from-bibtex):
13743 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13744 (reftex-extract-bib-entries-from-thebibliography)
13745 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13746 * textmodes/refbib.el (r2b-capitalize-title):
13747 (r2b-convert-buffer, r2b-help):
13748 * textmodes/page-ext.el (pages-directory)
13749 (pages-directory-goto-with-mouse):
13750 * textmodes/bibtex.el (bibtex-validate-globally):
13751 * textmodes/bib-mode.el (bib-capitalize-title):
13752 * textmodes/artist.el (artist-clear-buffer, artist-system):
13753 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13754 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13755 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13756 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13757 (xscheme-send-control-g-interrupt, xscheme-start-process)
13758 (xscheme-process-sentinel, xscheme-cd):
13759 * progmodes/verilog-mode.el (verilog-read-always-signals)
13760 (verilog-set-define, verilog-getopt-file)
13761 (verilog-module-inside-filename-p):
13762 * progmodes/sh-script.el:
13763 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13764 (python-pdbtrack-grub-for-buffer, python-execute-file):
13765 * progmodes/octave-inf.el (inferior-octave):
13766 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13767 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13768 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13769 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13770 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13771 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13772 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13773 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13774 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13775 (idlwave-shell-examine-display, idlwave-shell-run-region)
13776 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13777 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13778 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13779 (idlwave-help-get-help-buffer):
13780 * progmodes/gud.el (gud-basic-call, gud-find-class)
13781 (gud-tooltip-activate-mouse-motions-if-enabled):
13782 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13783 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13784 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13785 (ebrowse-tags-next-file):
13786 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13787 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13788 (ebnf-eps-finish-and-write):
13789 * progmodes/cpp.el (cpp-edit-save):
13790 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13791 * progmodes/cc-defs.el (c-emacs-features):
13792 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13793 (antlr-directory-dependencies):
13794 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13795 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13796 (ada-find-any-references, ada-make-filename-from-adaname)
13797 (ada-make-body-gnatstub):
13798 * obsolete/rnews.el (news-list-news-groups):
13799 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13800 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13801 * net/rcirc.el (rcirc-debug):
13802 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13803 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13804 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13805 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13806 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13807 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13808 (newsticker--treeview-list-clear-highlight)
13809 (newsticker--treeview-list-update-highlight)
13810 (newsticker--treeview-list-highlight-start)
13811 (newsticker--treeview-tree-update-highlight)
13812 (newsticker--treeview-get-selected-item)
13813 (newsticker-treeview-mark-list-items-old)
13814 (newsticker--treeview-set-current-node):
13815 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13816 * net/newst-backend.el (newsticker--get-news-by-funcall)
13817 (newsticker--get-news-by-wget, newsticker--image-get)
13818 (newsticker--image-sentinel):
13819 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13820 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13821 (eudc-ph-close-session):
13822 * net/eudc.el (eudc-save-options):
13823 * language/thai-word.el (thai-update-word-table):
13824 * language/japan-util.el (japanese-string-conversion):
13825 * international/titdic-cnv.el (tsang-quick-converter)
13826 (ziranma-converter, ctlau-converter):
13827 * international/mule-cmds.el (describe-language-environment):
13828 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13829 (skkdic-convert-postfix, skkdic-convert-prefix):
13830 (skkdic-convert-okuri-nasi, skkdic-convert):
13831 * emacs-lisp/re-builder.el (reb-update-overlays):
13832 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13833 * emacs-lisp/gulp.el (gulp-send-requests):
13834 * emacs-lisp/find-gc.el (trace-call-tree):
13835 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13836 (eieio-describe-generic):
13837 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13838 * emacs-lisp/edebug.el (edebug-outside-excursion):
13839 * emacs-lisp/debug.el (debugger-make-xrefs):
13840 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13841 * emacs-lisp/chart.el (chart-new-buffer):
13842 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13843 Use with-current-buffer.
13844 * textmodes/artist.el (artist-system): Don't call
13845 copy-sequence on a fresh string.
13846 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13848 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
13850 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13851 is no item to edit. (Bug#4820)
13852 (todo-top-priorities): Restore point and restore narrowing in Todo
13855 2009-10-31 Glenn Morris <rgm@gnu.org>
13857 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13858 (comint-last-output-start, comint-last-input-start)
13859 (comint-last-input-end): Don't defvar when compiling.
13860 (ange-ftp-process-file): Use bound-and-true-p.
13862 * pcmpl-rpm.el (top-level): Move provide statement to end.
13863 (pcmpl-rpm): Remove unused custom group.
13865 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13867 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13869 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13870 (byte-compile-warnings): Add `constants' as an option.
13871 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13872 (display-call-tree): Update for byte-compile-fdefinition possibly
13873 returning `(macro lambda ...)'. (Bug#4778)
13874 (byte-compile-variable-ref, byte-compile-setq-default):
13875 Respect `constants' member of byte-compile-warnings.
13877 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13879 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13880 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13883 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13885 * textmodes/ispell.el (ispell-skip-region-alist):
13886 * international/mule-conf.el (eight-bit):
13887 * international/fontset.el (font-encoding-alist):
13888 * startup.el (pure-space-overflow-message):
13889 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13890 * paths.el (gnus-nntp-service, rmail-spool-directory)
13891 (term-file-prefix):
13892 * files.el (save-some-buffers-action-alist):
13893 * cmuscheme.el (same-window-buffer-names):
13894 * ielm.el (same-window-buffer-names):
13895 * shell.el (same-window-buffer-names):
13896 * mail/sendmail.el (same-window-buffer-names):
13897 * progmodes/inf-lisp.el (same-window-buffer-names):
13898 * bindings.el (mode-line-client)
13899 (mode-line-column-line-number-mode-map):
13900 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13901 (tibetan-precomposed-regexp): Purecopy string arguments.
13903 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13905 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13906 (calcDigit-nondigit):
13907 * calc/calc-yank.el (calc-copy-to-buffer):
13908 * calc/calc-units.el (calc-invalidate-units-table):
13909 * calc/calc-trail.el (calc-trail-yank):
13910 * calc/calc-store.el (calc-insert-variables):
13911 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13912 * calc/calc-prog.el (calc-read-parse-table):
13913 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13914 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13915 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13916 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13917 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13918 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13919 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13920 * calc/calc-ext.el (calc-realign):
13921 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13922 (calc-embedded-finish-edit, calc-embedded-make-info)
13923 (calc-embedded-finish-command, calc-embedded-stack-change):
13924 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13926 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13927 shell-dynamic-complete-filename in preference to
13928 comint-dynamic-complete-filename.
13930 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13931 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13932 Don't consider whether the display supports colors.
13933 (bookmark-import-new-list): Use dolist.
13934 (bookmark-bmenu-mode-map): Move initialization into declaration.
13935 (bookmark-bmenu-list): Use dolist, simplify.
13936 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13937 (menu-bar-final-items): Use push.
13939 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13941 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13942 it works on remote files.
13943 (vc-hg-diff): Don't pass any `--cwd' argument.
13945 2009-10-27 Kevin Ryde <user42@zip.com.au>
13947 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13948 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13949 (Further to Bug#3921).
13951 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
13953 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13954 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13955 calling `tramp-imap-put-file'. Add file size to the call.
13956 (tramp-imap-get-file-entries): Compute also user name, file size,
13958 (tramp-imap-handle-insert-directory): Insert uid and gid.
13959 (tramp-imap-handle-file-attributes): Transform uid and gid
13960 according to `id-format'.
13961 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13962 size in header X-Size.
13964 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
13966 * simple.el (transpose-subr): Give clearer error when the mark
13967 is not set. (Bug#4807)
13969 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
13971 * net/tramp.el (tramp-perl-file-truename): New defconst.
13972 Perl code contributed by yary <not.com@gmail.com> (tiny change).
13973 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13974 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13975 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13977 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13978 Ignore `dired-call-process'.
13979 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13981 2009-10-26 Julian Scheid <julians37@gmail.com>
13983 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13984 (tramp-get-remote-readlink): New defun.
13985 (tramp-handle-file-truename): Use it.
13986 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13987 file exists if cache value present.
13988 (tramp-check-cached-permissions): New defun.
13989 (tramp-handle-file-readable-p): Use it.
13990 (tramp-handle-file-writable-p): Likewise.
13991 (tramp-handle-file-executable-p): Likewise.
13992 (tramp-handle-file-name-all-completions): Try using Perl to get
13993 partial completions. When perl not available, combine `cd' and
13994 `ls' into single remote operation and use shell expansion to get
13995 partial remote directory contents. Set `file-exists-p' cache for
13996 directory and any files returned by ls. Change cache handling to
13997 support partial directory contents. Use error message emitted by
13998 remote `cd' or Perl code for local tramp-error.
13999 (tramp-do-copy-or-rename-file-directly): Avoid separate
14000 tramp-send-command-and-check call.
14001 (tramp-handle-process-file): Merge three remote ops into one.
14002 Do not flush all caches when `process-file-side-effects' is set.
14003 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14004 file-attributes shows uid/gid to be set already.
14006 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14008 * textmodes/tex-mode.el (tex-dvi-view-command)
14009 (tex-show-queue-command, tex-open-quote):
14010 * progmodes/ruby-mode.el (auto-mode-alist)
14011 (interpreter-mode-alist): Purecopy strings.
14013 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14015 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14016 string for the hook, keymap and abbrev table.
14018 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14020 * x-dnd.el (x-dnd-xdnd-to-action):
14021 * startup.el (fancy-startup-text, fancy-about-text): Change to
14022 defconst from defvar.
14024 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14026 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14027 Purecopy initialization strings.
14029 * mail/sendmail.el (mail-header-separator)
14030 (mail-personal-alias-file):
14031 * mail/rmail.el (rmail-default-dont-reply-to-names)
14032 (rmail-ignored-headers, rmail-retry-ignored-headers)
14033 (rmail-highlighted-headers, rmail-secondary-file-directory)
14034 (rmail-secondary-file-regexp):
14035 * files.el (null-device, file-name-invalid-regexp)
14036 (locate-dominating-stop-dir-regexp)
14037 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14038 (interpreter-mode-alist): Use mapcar instead of mapc.
14040 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14042 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14043 (completion-ignored-extensions):
14044 (debug-ignored-errors): Purecopy strings.
14046 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14048 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14049 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14050 (pcomplete--here): Use push.
14052 * subr.el (all-completions): Declare the 4th arg obsolete.
14054 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14056 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14057 (pcomplete-unquote-argument): New function.
14058 (pcomplete--common-suffix): Always pay attention to case.
14059 (pcomplete--table-subvert): Quote and unquote the text.
14060 (pcomplete--common-quoted-suffix): New function.
14061 (pcomplete-std-complete): Use it and pcomplete-begin.
14063 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14064 we're inside a dedicated or minibuffer window.
14066 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14068 * bookmark.el: Update documentation, especially documentation
14069 of `bookmark-alist' and of the bookmark file format.
14070 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14072 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14074 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14075 keybindings apply to the mail buffer (Bug#4003). Shrink help
14078 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14079 (global-whitespace-mode, global-whitespace-newline-mode)
14080 (whitespace-toggle-options, global-whitespace-toggle-options):
14081 Doc fix (Bug#3660).
14083 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14084 of xmltok-start before the end tag was inserted (Bug#2840).
14086 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14087 patterns that are preceded by an open-paren (Bug#1320).
14089 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14091 * files.el (delete-directory): Delete symlinks to directories with
14092 delete-file (Bug#4739).
14094 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14096 * vc.el (vc-backend-for-registration): Rename from
14097 vc-get-backend-for-registration. Update callers.
14099 * international/mule-cmds.el (set-language-info-alist):
14101 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14102 (charset): Purecopy the name.
14103 (define-char-code-property): Purecopy string arguments.
14105 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14106 Purecopy string arguments.
14108 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14109 * ediff-hook.el (menu-bar-ediff-menu):
14110 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14111 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14113 2009-10-24 Glenn Morris <rgm@gnu.org>
14115 * comint.el (comint-dynamic-list-completions):
14116 * term.el (term-dynamic-list-completions): Use choose-completion rather
14117 than obsolete alias mouse-choose-completion.
14119 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14120 file-cache-choose-completion.
14121 (file-cache-choose-completion): Handle an optional event argument.
14122 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14124 * progmodes/octave-mod.el (octave-complete-symbol):
14125 Use choose-completion if mouse-choose-completion is ever removed.
14127 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14130 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14133 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14135 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14137 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14138 Ignore `pred' now that we receive one.
14139 Handle test-completion specially.
14141 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14143 * vc.el (vc-responsible-backend): Throw an error if not backend is
14144 found. Remove the REGISTER argument. Move the code dealing with
14146 (vc-get-backend-for-registration): ... here. New function.
14147 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14148 of vc-responsible-backend, pass the file name instead of the
14151 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14153 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14155 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14156 (pcomplete-comint-setup): Don't modify a global var via
14157 accidental side-effects.
14158 (pcomplete-shell-setup): Adjust call accordingly.
14159 (pcomplete-parse-comint-arguments): Use push.
14161 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14163 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14164 Allow uncapitalized info node names (Bug#3921).
14166 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14167 to the DEBUG file (Bug#3781).
14169 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14171 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14172 dictionary entry (Bug#4579).
14174 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14176 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14177 from `rfn-eshadow-update-overlay-hook' when unloading.
14178 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14179 "rsyncc". Adjust doc string.
14180 (tramp-temp-buffer-file-name): New buffer-local defvar.
14181 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14182 Keep temporary file when indicated by method ("rsync" and
14184 (tramp-handle-write-region): Handle APPEND.
14185 (tramp-delete-temp-file-function): New defun. Added to
14186 `kill-buffer-hook'.
14188 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14190 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14192 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14194 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14195 (color-name-rgb-alist, tty-standard-colors)
14196 (tty-color-mode-alist): Change to defconst.
14198 * simple.el (mark-inactive): Purecopy message.
14200 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14201 (global-map, yank-menu):
14202 * textmodes/ispell.el (ispell-menu-map):
14203 * net/eudc.el (eudc-tools-menu):
14204 * international/mule-cmds.el (describe-language-environment-map)
14205 (setup-language-environment-map, set-coding-system-map)
14206 (mule-menu-keymap):
14207 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14208 * replace.el (occur-mode-map):
14209 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14211 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14213 * calc/calc.el (math-read-number, math-read-number-simple):
14214 Use `save-match-data'.
14216 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14218 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14219 rather than fiddling with global-map bindings, since it should only
14220 affect per-terminal settings.
14221 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14223 * minibuffer.el (completion-table-with-terminator): Allow to specify
14224 the terminator-regexp.
14226 * simple.el (switch-to-completions): Look for *Completions* in other
14229 * pcomplete.el: Allow the use of completion-tables.
14230 (pcomplete-std-complete): New command.
14231 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14232 (pcomplete--here): Use a function for `form' rather than an expression,
14233 so it can be byte-compiled.
14234 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14235 Add edebug declaration.
14236 (pcomplete-show-completions): Remove unused var `curbuf'.
14237 (pcomplete-do-complete, pcomplete-stub):
14238 Don't assume `completions' is a list of strings any more.
14240 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14242 * find-dired.el (find-name-arg): Fix typo in docstring.
14244 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14246 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14247 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14249 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14252 * comint.el (comint-read-input-ring, comint-write-input-ring)
14253 (comint-substitute-in-file-name)
14254 (comint-dynamic-complete-as-filename)
14255 (comint-dynamic-simple-complete)
14256 (comint-dynamic-list-filename-completions)
14257 (comint-dynamic-list-completions)
14258 (comint-redirect-results-list-from-process): Minor simplifications.
14260 2009-10-21 Kevin Ryde <user42@zip.com.au>
14262 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14263 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14264 the first form. And insert a blank line after ";;; Code" since
14265 that's usual style. (Bug#4612)
14267 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14269 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14271 * minibuffer.el (completion-table-with-terminator): Properly implement
14272 boundaries, in case `terminator' appears in the suffix.
14273 (completion--embedded-envvar-table): Don't return boundaries if
14274 there's no valid completion. Simplify.
14275 (completion-file-name-table): New completion table extracted from
14276 completion--file-name-table.
14277 (completion--file-name-table): Use it.
14278 (read-file-name-predicate): Declare obsolete.
14279 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14280 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14281 completion-file-name-table, and use the `pred' argument.
14282 * files.el (locate-file-completion-table): Use the `pred' arg rather
14283 than read-file-name-predicate.
14284 (abbreviate-file-name): Use \` rather than ^ for BOS.
14286 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14288 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14289 vc-responsible-backend to register, it causes problems.
14291 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14293 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14295 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14297 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14298 (tramp-smb-handle-file-attributes): Use it.
14299 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14300 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14301 `mapcar'. Use `tramp-smb-get-stat-capability'.
14302 Add `dired-filename' text properties.
14303 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14304 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14307 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14309 * subr.el (read-key-delay): Reduce to 0.01.
14310 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14313 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14315 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14317 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14318 (Info-menu): Remove unused vars `last' and `completions'.
14319 (Info-index-nodes): Remove unused var `node'.
14321 * info.el (Info-complete-menu-item): Use complete-with-action.
14323 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14325 Make vc-annotate work through copies and renames.
14326 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14327 Return the file name too.
14328 (vc-annotate-revision-at-line)
14329 (vc-annotate-find-revision-at-line)
14330 (vc-annotate-revision-previous-to-line)
14331 (vc-annotate-show-log-revision-at-line): Update to get the file
14332 name from vc-annotate-extract-revision-at-line.
14333 (vc-annotate-show-diff-revision-at-line-internal): Change the
14334 argument to mean whether to show a file diff or not. Get the file
14335 name from vc-annotate-extract-revision-at-line.
14336 (vc-annotate-show-diff-revision-at-line):
14337 Update vc-annotate-show-diff-revision-at-line call.
14338 (vc-annotate-warp-revision): Add an optional file argument.
14340 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14341 (vc-git-annotate-extract-revision-at-line): Also return the file
14344 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14345 command. Remove unused code.
14346 (vc-hg-annotate-re): Update to match --follow output.
14347 (vc-hg-annotate-extract-revision-at-line): Also return the file
14350 * vc.el: Update annotate-extract-revision-at-line documentation.
14352 2009-10-18 Kevin Ryde <user42@zip.com.au>
14354 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14355 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14357 * net/browse-url.el (browse-url): Identify alist with "consp and
14358 not functionp" and let all other things go down the `apply' leg,
14359 as suggested by Stefan. (Further to bug#4531.)
14361 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14363 * minibuffer.el (read-file-name): Check for repeat before putting
14364 a default argument in file-name-history (Bug#4657).
14366 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14367 read syntax (Bug#4737).
14369 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14371 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14373 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14374 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14375 entries and make note of obsolete tags.
14377 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14379 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14381 2009-10-18 Glenn Morris <rgm@gnu.org>
14383 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14384 grep, so that binary files (eg international/uni-bidi.el) can match.
14385 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14386 now, and in any case the file header format has changed.
14388 2009-10-17 Glenn Morris <rgm@gnu.org>
14390 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14391 (flyspell-get-word, flyspell-large-region)
14392 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14394 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14396 * Makefile.in (ELCFILES): Add ede/shell.
14398 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14400 * term/common-win.el (x-colors): Purecopy it.
14402 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14404 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14405 permissive for when the buffer is empty.
14406 (tar-header-block-tokenize): Decode the username and groupname.
14407 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14409 2009-10-17 Eric Ludlam <zappo@gnu.org>
14411 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14412 contains multibyte characters, choose first applicable coding
14413 system automatically.
14415 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14417 * international/mule-cmds.el (select-safe-coding-system): If the file
14418 has a coding cookie, use it regardless of any other setting (bug#4712).
14420 2009-10-17 Glenn Morris <rgm@gnu.org>
14422 * foldout.el (foldout-mouse-swallow-events):
14423 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14425 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14426 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14427 (dired-keep-marker-symlink, dired-dwim-target)
14428 (dired-copy-preserve-time): Do not autoload these defcustoms.
14430 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14431 messages from messing up the file coding. (Bug#4623)
14433 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14435 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14436 if no match is found for the current dictionary. (Bug#4578)
14438 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14439 optional, since that is how it is documented, and this is often called
14440 with a nil argument. (Bug#4577)
14441 (flyspell-external-point-words, flyspell-auto-correct-word)
14442 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14443 (flyspell-word-search-backward): Remove nil argument in calls to
14444 flyspell-get-word, since it is not needed now.
14446 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14448 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14450 2009-10-16 Glenn Morris <rgm@gnu.org>
14452 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14454 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14456 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14457 (ange-ftp-file-size): New function.
14458 (ange-ftp-file-attributes): Use it.
14460 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14462 * net/tramp-smb.el (tramp-smb-version): New defvar.
14463 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14466 2009-10-16 Glenn Morris <rgm@gnu.org>
14468 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14469 Maybe copy some custom properties from old to new name. (Bug#4706)
14471 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14473 * subr.el (error, sit-for, start-process-shell-command)
14474 (start-file-process-shell-command): Set the calling convention
14475 after the function definition.
14477 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14479 * subr.el (error, sit-for, start-process-shell-command)
14480 (start-file-process-shell-command): Use the new
14481 set-advertised-calling-convention feature.
14483 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14485 * international/ucs-normalize.el (ucs-normalize-version):
14487 (check-range): Adjust for Unicode 5.2.
14489 2009-10-15 Juri Linkov <juri@jurta.org>
14491 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14492 to the `menu-item' format.
14494 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14496 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14497 if the environment variable does not exist.
14499 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14500 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14502 (tramp-smb-handle-add-name-to-file)
14503 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14504 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14505 (tramp-smb-handle-file-attributes)
14506 (tramp-smb-do-file-attributes-with-stat)
14507 (tramp-smb-handle-file-local-copy)
14508 (tramp-smb-handle-insert-directory)
14509 (tramp-smb-handle-make-directory)
14510 (tramp-smb-handle-make-directory-internal)
14511 (tramp-smb-handle-make-symbolic-link)
14512 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14513 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14514 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14515 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14516 Handle long file names.
14517 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14518 process is running.
14519 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14520 Read share names with "-g" option.
14522 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14524 * net/rcirc.el (rcirc-view-log-file): New command.
14525 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14526 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14529 2009-10-15 Glenn Morris <rgm@gnu.org>
14531 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14532 from the second command-line argument.
14533 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14534 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14535 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14536 w32-batch-update-autoloads.
14537 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14538 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14540 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14541 the headers cannot be located. Simplify, subtracting superflous
14544 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14546 Replace completion-base-size by completion-base-position to fix bugs
14547 such as (bug#4699).
14548 * simple.el (completion-base-position): New var.
14549 (completion-base-size): Mark as obsolete.
14550 (choose-completion): Make it work for mouse events as well.
14551 Pass the new base-position to choose-completion-string.
14552 (choose-completion-guess-base-position): New function, extracted from
14553 choose-completion-delete-max-match.
14554 (choose-completion-delete-max-match): Use it. Make obsolete.
14555 (choose-completion-string): Use the new base-position info.
14556 (completion-root-regexp): Delete.
14557 (completion-setup-function): Preserve completion-base-position.
14558 Eliminate obsolete base-size manipulation.
14559 * minibuffer.el (display-completion-list): Don't mess with base-size.
14560 (minibuffer-completion-help): Set completion-base-position instead.
14561 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14563 * textmodes/bibtex.el (bibtex-complete):
14564 * emacs-lisp/crm.el (crm--choose-completion-string):
14565 Adjust to new calling convention.
14566 * complete.el (partial-completion-mode): Use minibufferp to avoid
14567 bumping into incompatible change to choose-completion-string-functions.
14568 * ido.el (ido-choose-completion-string): Make its calling convention
14570 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14571 base-size manipulation.
14572 (comint-dynamic-list-input-ring): Use dotimes and push.
14573 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14574 fundamental-mode. Use `or'.
14576 2009-10-14 Juri Linkov <juri@jurta.org>
14578 * misearch.el (multi-isearch-next-buffer-from-list)
14579 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
14581 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14583 * Makefile.in (compile-onefile): Load `bytecomp' rather than
14586 * minibuffer.el (completion-pcm--merge-completions): Make sure the
14587 string we return is all made up of text from the completions rather
14588 than part from the completions and part from the input (bug#4219).
14590 * ido.el (ido-everywhere): Use define-minor-mode.
14592 * buff-menu.el (list-buffers, ctl-x-map):
14593 Mark the entry points with ;;;###autoload cookies.
14595 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
14597 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14598 correctly in the detached head case.
14599 (vc-git-print-log): Remove unused binding.
14601 * vc.el (vc-responsible-backend): When a directory is passed for
14602 for registration create a VC repository if no backend is
14603 responsible for the directory argument.
14604 (vc-deduce-fileset): Tell vc-responsible-backend to register.
14606 * vc.el: Move comments about RCS and SCCS ...
14608 * vc-sccs.el: ... here, respectively.
14610 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14612 * minibuffer.el (completion--file-name-table): Return nil if there's
14613 no file completion, even if substitute-in-file-name changed
14614 the string (bug#4708).
14616 2009-10-13 Juri Linkov <juri@jurta.org>
14618 * files-x.el (read-file-local-variable-value): Don't filter out
14619 minor modes from mode name completion (bug#4664).
14621 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14623 * international/mule-cmds.el (ucs-names): Remove exclusion of
14624 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14626 2009-10-13 Kenichi Handa <handa@m17n.org>
14628 * international/uni-name.el: Regenerated.
14630 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
14632 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
14633 should be automatically buffer-local, but isn't.)
14635 2009-10-12 Sam Steingold <sds@gnu.org>
14637 * progmodes/compile.el (compilation-next-error-function): Fix the
14638 timestamps if the buffer has been visited before.
14639 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14640 non-anchored patterns, like the perl one (bug#3928).
14642 2009-10-12 Glenn Morris <rgm@gnu.org>
14644 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14647 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
14649 * proced.el (proced-unload-function): New function.
14651 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14652 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14655 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14657 2009-10-11 Juri Linkov <juri@jurta.org>
14659 * files-x.el (read-file-local-variable-value):
14660 Provide default value only for bound variables (bug#4664).
14662 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
14664 * net/tramp.el (tramp-local-host-p): Function shall return nil for
14665 connection methods like smb.
14667 * net/tramp-cache.el (tramp-flush-connection-property): The hash
14670 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14671 (tramp-smb-file-name-handler-alist): Add handlers for
14672 `add-name-to-file', `make-symbolic-link'.
14673 (tramp-smb-handle-add-name-to-file)
14674 (tramp-smb-do-file-attributes-with-stat)
14675 (tramp-smb-handle-make-symbolic-link)
14676 (tramp-smb-get-cifs-capabilities): New defuns.
14677 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14678 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14679 (tramp-smb-handle-file-local-copy)
14680 (tramp-smb-handle-make-directory-internal)
14681 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14682 The file name syntax depends on cifs capabilities.
14683 (tramp-smb-handle-file-attributes):
14684 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14685 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14686 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14688 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
14690 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14691 (eieio-defclass): Apply deftype handler and setf-method properties
14693 (eieio-add-new-slot): Avoid union function from cl library.
14694 (eieio--typep): New function.
14695 (eieio-perform-slot-validation): Use it.
14697 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14699 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14700 Update documentation to refer to the variables documented in r1.135.
14703 2009-10-10 Karl Fogel <kfogel@red-bean.com>
14705 * bookmark.el (Info-suffix-list): Remove this unused variable.
14706 (bookmark-current-point): Remove this obsolete variable.
14707 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14708 Adjust for removal of bookmark-current-point.
14710 (bookmarks-already-loaded, bookmark-current-buffer)
14711 (bookmark-yank-point): Document. (Bug#4188)
14713 2009-10-10 Glenn Morris <rgm@gnu.org>
14715 * frame.el (frame-height): Doc fix.
14717 * calendar/calendar.el (calendar-split-width-threshold): New option.
14718 (calendar-basic-setup): Use calendar-split-width-threshold.
14720 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
14722 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14723 Ideographic Supplement" range (U+1F200..U+1F2FF).
14725 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14727 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14728 since the list will have been rebuilt anyway. (Bug#4349)
14730 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14732 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14733 (bookmark-bmenu-execute-deletions): Don't save here, as
14734 bookmark-delete will now do so if necessary.
14735 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14738 2009-10-09 Glenn Morris <rgm@gnu.org>
14740 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14742 2009-10-09 Karl Fogel <kfogel@red-bean.com>
14744 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14745 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14746 argument now, so the two function's behaviors will match. (Bug#3645)
14748 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
14750 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14751 (tramp-file-name-real-host, tramp-file-name-port):
14752 Apply `save-match-data'.
14754 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14755 case both directories are remote.
14756 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14757 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14759 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14761 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14763 2009-10-07 Glenn Morris <rgm@gnu.org>
14765 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14768 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14770 * files-x.el (read-file-local-variable): Include some
14771 non-user-variables in the completion table (bug#4664).
14773 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
14775 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14778 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14779 (tramp-smb-file-name-handler-alist): Add handler for
14780 `copy-directory', `expand-file-name', `set-file-modes'.
14781 (tramp-smb-handle-copy-directory)
14782 (tramp-smb-handle-expand-file-name)
14783 (tramp-smb-handle-set-file-modes): New defuns.
14784 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14785 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14787 (tramp-smb-handle-insert-directory): Don't flush the cache.
14788 (tramp-smb-maybe-open-connection): Check for samba client and
14791 2009-10-07 Eli Zaretskii <eliz@gnu.org>
14793 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14794 to not error out of search for "^lisp=" fails.
14796 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
14798 * makefile.w32-in (WINS_UPDATES): New macro.
14799 (custom-deps, finder-data, autoloads): Use it.
14801 2009-10-07 Glenn Morris <rgm@gnu.org>
14803 * Makefile.in (autoloads): Revert previous change.
14804 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14805 the list of preloaded files passed on the command-line, get
14806 it from src/Makefile.
14808 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14809 show the original buffer rather than a random one.
14811 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
14813 * help.el (describe-no-warranty): Place point in a slightly better
14814 position in the GPLv3 text.
14816 2009-10-06 Sam Steingold <sds@gnu.org>
14818 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14819 the comm attribute is present before calling regexp-quote.
14821 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
14823 * play/animate.el (animate-string): For good effect, make sure
14824 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14826 * play/animate.el (animate-sequence, animate-birthday-present):
14827 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14829 2009-10-06 Glenn Morris <rgm@gnu.org>
14831 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14833 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14834 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14835 (batch-update-autoloads): Process a string value of autoload-excludes,
14836 set during the build process.
14837 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14839 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14840 inside with-parsed... macro so that `v' is defined.
14842 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14843 * progmodes/fortran.el (fortran-end-of-block)
14844 (fortran-beginning-of-block):
14845 Also push mark in the macro case.
14847 * emerge.el (emerge-show-file-name):
14848 * calc/calc.el (calc-quit):
14849 * calc/calc-misc.el (calc-big-or-small):
14850 * calc/calc-graph.el (calc-graph-view):
14851 * calc/calc-ext.el (calc-reset):
14852 * calendar/calendar.el (calendar-basic-setup):
14853 Use window-full-height-p.
14855 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14856 header we don't understand, don't insert another. (Bug#4624)
14857 If changing mime charset, insert the new one in the right place.
14859 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14861 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14862 (cal-tex-cursor-month): Correctly increment the end date for diary and
14863 holiday listing. (Bug#4626)
14865 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14867 * help-fns.el (describe-function-1): Don't burp if the function is not
14870 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
14872 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14873 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14874 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14875 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14877 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14878 (eieio-default-superclass): Reflow docstrings.
14879 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14880 (eieio-unbind-method-implementations, defmethod)
14881 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14882 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14883 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14884 (eieio-slot-originating-class-p, eieio-slot-name-index)
14885 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14886 (constructor, initialize-instance, no-next-method, object-print)
14887 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14888 Fix typos in docstrings.
14889 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14890 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14891 (next-method-p): Doc fixes.
14892 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14893 Fix typos in error messages.
14894 (eieio-defmethod): Fix typo in description of generic method.
14896 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14897 (eieio-persistent-save-interactive, slot-missing):
14898 Fix typos in docstrings.
14899 (eieio-instance-inheritor-slot-boundp): Doc fix.
14901 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14902 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14904 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14905 (eieio-custom-object-apply-reset):
14906 Fix typos in docstrings and error messages.
14908 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14909 Fix typo in docstring.
14911 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14912 (eieio-browse-tree): Doc fix.
14913 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14914 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14915 Fix typos in docstrings.
14917 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14918 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14919 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14920 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14923 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14925 * vc-hg.el (log-view-vc-backend): Declare for compiler.
14926 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14927 Set log-view-vc-backend so that diff can work.
14929 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14931 (vc-diff-internal): Autoload this instead of vc-version-diff.
14933 2009-10-05 Eli Zaretskii <eliz@gnu.org>
14935 * simple.el (eval-expression): Doc fix.
14937 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14939 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
14941 * files.el (directory-files-no-dot-files-regexp): New defconst.
14942 (delete-directory): Use it.
14943 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14945 * net/tramp.el (tramp-verbose): Fix docstring.
14946 (tramp-methods): Add recursive option to `tramp-copy-args'.
14947 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
14948 "scp1_old", "scp2_old", "rsync", "rsyncc".
14949 (tramp-default-method): Check also for `auth-source-user-or-password'.
14950 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14951 Add handler for `copy-directory'.
14952 (tramp-handle-copy-directory): New defun.
14953 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14954 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14955 Optimize sent command.
14957 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14959 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14960 window if necessary.
14962 * calendar/calendar.el (calendar-basic-setup): Don't call
14963 switch-to-buffer in a dedicated window.
14965 2009-10-05 Karl Fogel <kfogel@red-bean.com>
14967 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14968 don't do anything related to relocating, just return nil.
14969 (bookmark-error-no-filename): New error.
14970 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14971 bookmark has no file. Don't even attempt to handle things that
14972 are not files; the whole point of custom handlers is to keep that
14973 knowledge elsewhere anyway. Tighten some comments.
14974 (bookmark-file-or-variation-thereof): Remove now-unused function.
14975 (bookmark-location): Doc string fix.
14978 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14980 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14981 don't use a file dialog, because they usually don't know how to read
14982 a directory target from the user. (Bug#4230)
14983 Also, make sure the prompt can display directories as well as files.
14985 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14987 * bookmark.el (bookmark-set, bookmark-buffer-name):
14988 Improve doc strings. (Bug#1193)
14990 2009-10-04 Karl Fogel <kfogel@red-bean.com>
14992 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14993 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14994 (bookmark-get-annotation, bookmark-set-annotation)
14995 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14996 (bookmark-set-position, bookmark-get-front-context-string)
14997 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14998 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14999 (bookmark-jump-other-window, bookmark-handle-bookmark)
15000 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15001 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15002 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15003 Improve doc strings to say whether bookmark can be a string or
15004 a record or both, and make other consistency and clarity fixes.
15005 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15006 (bookmark-default-annotation-text, bookmark-yank-word)
15007 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15008 (bookmark-import-new-list, bookmark-maybe-rename)
15009 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15010 (bookmark-bmenu-bookmark): Give these doc strings.
15011 (bookmark-bmenu-check-position): Give this a doc string, but also
15012 add a FIXME comment about how the function may be pointless.
15013 (bookmark-default-handler): Rework doc string and change a
15014 parameter name, to clarify that this takes a bookmark record
15015 not a bookmark name.
15016 (bookmark-set): Change a parameter name to indicate its meaning,
15017 and improve the doc string a bit.
15020 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15022 * bookmark.el (bookmark-alist): Document the new `handler' element
15023 in the param alist.
15024 (bookmark-make-record-function): Adjust documentation for above.
15027 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15029 * info.el (Info-bookmark-make-record): Document this function.
15030 (Info-bookmark-jump): Document with a doc string, not just a comment.
15033 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15035 * files.el (copy-directory): New defun.
15037 * dired-aux.el (dired-copy-file-recursive): Use it.
15039 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15041 * files-x.el (modify-dir-local-variable)
15042 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15045 * recentf.el (recentf-unload-function): New function.
15047 2009-10-04 Glenn Morris <rgm@gnu.org>
15049 * window.el (window-full-height-p): Add doc string.
15051 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15053 * window.el (window-full-height-p): New function. (Bug#4543)
15055 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15057 * vc.el: Remove commented out code.
15058 (vc-derived-from-dir-mode): Remove, unused.
15059 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15061 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15063 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15064 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15065 there could be recursive loading when `default-directory' is a
15066 remote file name. (Bug#4614)
15068 2009-10-03 Glenn Morris <rgm@gnu.org>
15070 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15072 (calendar-generate-window): Test for shrinkability rather than width.
15074 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15075 reusing existing buffers, in case we happen to visit two files with the
15076 same basename. (Bug#4593)
15078 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15080 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15081 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15082 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15083 subdirs of cedet as well.
15084 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15086 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15088 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15089 Obey advertised-signature-table.
15091 * help-fns.el (help-function-arglist): Don't check
15092 advertised-signature-table.
15093 (describe-function-1): Do it here instead so it also applies to subrs.
15095 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15097 * simple.el (start-file-process): Say in the doc-string, that file
15098 handlers might not support pty association, if PROGRAM is nil.
15100 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15101 HOST and USER are strings. They are nil, when there are
15102 incomplete entries in ~/.netrc, for example.
15103 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15104 root directory ("device busy" error otherwise).
15106 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15107 Flush file properties of created directory.
15109 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15111 * makefile.w32-in (WINS_BASIC): Remove cedet.
15112 (WINS_CEDET): Add cedet.
15113 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15115 2009-10-02 Kevin Ryde <user42@zip.com.au>
15117 * net/browse-url.el (browse-url): Pass any symbol in
15118 browse-url-browser-function to `apply', since if you've mistakenly put
15119 an unbound symbol then the error is clearer. (Bug#4531)
15121 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15123 * allout.el (allout-init, allout-back-to-current-heading)
15124 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15125 (allout-ascend, allout-up-current-level, allout-end-of-level)
15126 (allout-previous-visible-heading, allout-forward-current-level)
15127 (allout-backward-current-level, allout-show-children):
15128 * apropos.el (apropos-describe-plist):
15129 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15130 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15131 * completion.el (add-completion, add-permanent-completion):
15132 * descr-text.el (describe-text-category, describe-char):
15133 * desktop.el (desktop-lazy-abort):
15134 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15135 * dired.el (dired-build-subdir-alist):
15136 * ediff.el (ediff-version):
15137 * elide-head.el (elide-head, elide-head-show):
15138 * emerge.el (emerge-version):
15140 * face-remap.el (variable-pitch-mode):
15141 * faces.el (describe-face):
15142 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15144 * files.el (find-file-existing, auto-save-mode):
15145 * font-lock.el (font-lock-fontify-buffer):
15146 * help-fns.el (describe-function, describe-variable)
15147 (describe-syntax, describe-categories):
15148 * help.el (view-lossage, describe-bindings, describe-key)
15150 * hexl.el (hexl-current-address):
15151 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15152 * info.el (Info-goto-emacs-key-command-node):
15153 * log-edit.el (log-edit-insert-cvs-template)
15154 (log-edit-insert-cvs-rcstemplate):
15155 * menu-bar.el (menu-bar-mode):
15156 * mouse.el (mouse-appearance-menu):
15157 * newcomment.el (comment-indent-new-line):
15158 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15159 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15160 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15161 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15162 * recentf.el (recentf-mode):
15163 * savehist.el (savehist-mode, savehist-save):
15164 * shadowfile.el (shadow-copy-files):
15165 * simple.el (kill-ring-save, next-line, previous-line)
15166 (normal-erase-is-backspace-mode):
15167 * strokes.el (strokes-update-window-configuration)
15168 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15169 (strokes-xpm-for-stroke):
15170 * time.el (emacs-uptime, emacs-init-time):
15171 * tutorial.el (tutorial--describe-nonstandard-key)
15172 (tutorial--detailed-help):
15173 * type-break.el (type-break-mode)
15174 (type-break-mode-line-message-mode, type-break-query-mode)
15175 (type-break-guesstimate-keystroke-threshold):
15176 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15177 * version.el (emacs-version):
15178 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15179 * winner.el (winner-mode):
15180 * calendar/timeclock.el (timeclock-in, timeclock-out)
15181 (timeclock-status-string, timeclock-change)
15182 (timeclock-workday-remaining-string)
15183 (timeclock-workday-elapsed-string)
15184 (timeclock-when-to-leave-string):
15185 * calendar/todo-mode.el (todo-add-category):
15186 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15187 * emacs-lisp/autoload.el (update-file-autoloads):
15188 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15189 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15190 (checkdoc-message-text, checkdoc-defun):
15191 * emacs-lisp/debug.el (debugger-list-functions):
15192 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15193 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15194 (eieio-describe-generic):
15195 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15196 * emacs-lisp/shadow.el (list-load-path-shadows):
15197 * emulation/cua-base.el (cua-mode):
15198 * emulation/edt.el (edt-set-scroll-margins):
15199 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15200 (tpu-toggle-regexp, tpu-toggle-search-direction)
15201 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15202 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15203 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15204 (viper-set-parsing-style-toggling-macro)
15205 (viper-set-emacs-state-searchstyle-macros):
15206 * emulation/viper.el (viper-set-hooks):
15207 * eshell/esh-mode.el (eshell-truncate-buffer):
15208 * international/mule-cmds.el (prefer-coding-system)
15209 (describe-input-method, describe-language-environment):
15210 * international/mule-diag.el (list-character-sets)
15211 (describe-character-set, describe-coding-system)
15212 (describe-fontset, list-fontsets, list-input-methods):
15213 * mail/sendmail.el (mail-signature):
15214 * net/ange-ftp.el (ange-ftp-copy-file):
15215 * net/browse-url.el (browse-url):
15216 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15217 * net/quickurl.el (quickurl-add-url):
15218 * net/rcirc.el (names, topic):
15219 * net/xesam.el (xesam-mode):
15220 * play/5x5.el (5x5-new-game):
15221 * play/yow.el (apropos-zippy):
15222 * progmodes/ada-mode.el (ada-mode-version):
15223 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15225 (f90-beginning-of-block):
15226 * progmodes/fortran.el (fortran-end-of-block)
15227 (fortran-beginning-of-block):
15228 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15229 * progmodes/python.el (python-describe-symbol, python-shell):
15230 * term/ns-win.el (ns-print-buffer):
15231 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15232 * textmodes/flyspell.el (flyspell-mode-on):
15233 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15234 (pages-directory-for-addresses):
15235 * textmodes/table.el (table-recognize-cell)
15236 (table-query-dimension, table-generate-source)
15237 (table-insert-sequence, table--warn-incompatibility):
15238 * textmodes/tex-mode.el (tex-validate-buffer):
15239 * textmodes/texinfmt.el (texinfmt-version)
15240 (texinfo-format-buffer):
15241 Use `called-interactively-p' instead of `interactive-p'.
15243 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15245 * image-mode.el (image-toggle-display):
15246 * emacs-lisp/elp.el (elp-instrument-function):
15247 * emacs-lisp/advice.el (ad-make-advised-definition):
15248 * emacs-lisp/easy-mmode.el (define-minor-mode):
15249 * net/browse-url.el (browse-url-maybe-new-window):
15250 * progmodes/sh-script.el (sh-learn-buffer-indent):
15251 Pass new argument 'any to `called-interactively-p'.
15253 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15255 * international/uni-bidi.el:
15256 * international/uni-category.el:
15257 * international/uni-combining.el:
15258 * international/uni-comment.el:
15259 * international/uni-decimal.el:
15260 * international/uni-decomposition.el:
15261 * international/uni-digit.el:
15262 * international/uni-lowercase.el:
15263 * international/uni-mirrored.el:
15264 * international/uni-name.el:
15265 * international/uni-numeric.el:
15266 * international/uni-old-name.el:
15267 * international/uni-titlecase.el:
15268 * international/uni-uppercase.el:
15269 Regenerate from Unicode 5.2.0 data.
15271 2009-10-01 Glenn Morris <rgm@gnu.org>
15273 * Makefile.in (ELCFILES): Regenerate.
15275 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15277 * subr.el (interactive-p): Mark obsolete.
15278 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15279 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15280 advertised-signature-table for subroutines as well.
15282 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15283 (set-advertised-calling-convention): New function.
15284 (make-obsolete, define-obsolete-function-alias)
15285 (make-obsolete-variable, define-obsolete-variable-alias):
15286 Make the optional-ness of `when' obsolete.
15287 (define-obsolete-face-alias): Make `when' non-optional.
15288 * help-fns.el (help-function-arglist):
15289 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15290 Use advertised-signature-table.
15292 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15294 * files.el (delete-directory): New defun. The original function
15295 in fileio.c has been renamed to `delete-directory-internal'.
15297 * dired.el (dired-delete-file): Call `delete-directory' with
15298 RECURSIVE parameter.
15300 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15301 parameter RECURSIVE. Implementation is missing.
15303 * net/tramp.el (tramp-handle-make-directory): Flush upper
15304 directory's file properties.
15305 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15306 (tramp-handle-dired-recursive-delete-directory): Flush directory
15307 properties after the remove command only.
15309 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15310 Handle optional parameter RECURSIVE.
15312 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15313 Handle optional parameter RECURSIVE.
15315 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15316 connection timeout.
15317 (tramp-smb-handle-delete-directory): Handle optional parameter
15320 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15322 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15323 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15324 (byte-compile-defmacro): Use backquotes.
15326 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15328 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15329 has no associated file.
15330 (vc-resynch-buffer): Use vc-dir-buffers.
15332 2009-10-01 Glenn Morris <rgm@gnu.org>
15334 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15335 (chart-file-count):
15336 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15337 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15338 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15339 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15340 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15341 (eieio-copy-parents-into-subclass, make-instance, class-children)
15342 (eieio-generic-form):
15344 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15345 match-data. (Bug#4555).
15347 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15348 rather than parsing it as a regexp. This relaxes the layout
15349 requirements and makes errors easier to detect.
15350 (check-declare-verify): Check file is regular.
15351 (check-declare-directory): Doc fix.
15352 * subr.el (declare-function): Doc fix.
15354 * ibuffer.el (ibuffer-format-qualifier):
15355 * isearch.el (hi-lock-regexp-okay):
15356 * calc/calc.el (math-zerop):
15357 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15358 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15359 Remove unused declarations.
15361 2009-09-30 Eric Ludlam <zappo@gnu.org>
15363 * emacs-lisp/eieio.el (boolean-p): Delete.
15365 2009-09-30 Glenn Morris <rgm@gnu.org>
15367 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15369 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15370 filename is not a string.
15372 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15374 * files.el (safe-local-eval-forms): Fix typo.
15376 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15378 * vc-hooks.el (vc-dir-buffers): New var.
15379 (vc-state-refresh): New function.
15380 (vc-state): Use it.
15381 (vc-after-save): Always ask the backend to recompute the new state.
15382 Always call vc-dir if necessary, using vc-dir-buffers.
15383 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15384 Use vc-dir-buffers.
15385 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15386 (vc-dir-prepare-status-buffer, vc-dir-update)
15387 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15388 Don't call expand-file-name on default-directory.
15390 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15392 * speedbar.el (speedbar-item-delete):
15393 * calc/calc-prog.el (calc-kbd-if):
15394 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15396 * epa.el (epa-key-list-mode-map):
15397 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15399 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15400 (hs-show-hook): Fix typo in docstring.
15402 2009-09-29 Glenn Morris <rgm@gnu.org>
15404 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15405 file-name-nondirectory call preventing location of cedet files.
15406 (check-declare-verify): Use literal search rather than re-search.
15407 Add basic defmethod and defclass, and define-overloadable-function.
15409 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15410 Use tramp-compat-file-attributes rather than nonexistent
15411 tramp-compat-handle-file-attributes.
15413 * Makefile.in (lisptagsfiles4): New.
15414 (AUTOGENEL): Add cedet loaddefs files.
15415 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15416 (update-elclist, compile-always, backup-compiled-files)
15417 (bootstrap-clean): Add yet another directory level.
15418 (update-elclist): Use LC_COLLATE rather than COLLATE.
15419 (ELCFILES): Update, via `make update-elclist'.
15421 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15423 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15424 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15425 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15427 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15429 * Makefile.in (lisptagsfiles3): Define.
15430 (TAGS, TAGS-LISP): Use it.
15431 (update-elclist): Add third directory level to look for elc files.
15432 (compile-always): Likewise.
15433 (backup-compiled-files): Likewise.
15434 (bootstrap-clean): Likewise.
15435 (ELCFILES): Update.
15437 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15439 * Makefile.in (ELCFILES): Add CEDET files.
15441 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15443 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15445 * net/tramp.el (top): Require tramp-imap.
15447 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15448 Use `tramp-compat-handle-file-attributes'.
15450 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15452 * net/tramp-imap.el: New package.
15454 2009-09-28 Eric Ludlam <zappo@gnu.org>
15456 * emacs-lisp/chart.el:
15457 * emacs-lisp/eieio-base.el:
15458 * emacs-lisp/eieio-comp.el:
15459 * emacs-lisp/eieio-custom.el:
15460 * emacs-lisp/eieio-datadebug.el:
15461 * emacs-lisp/eieio-opt.el:
15462 * emacs-lisp/eieio-speedbar.el:
15463 * emacs-lisp/eieio.el: New files.
15465 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15467 * whitespace.el (whitespace-trailing-regexp)
15468 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15471 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15473 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15476 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15477 menu-bar-ediff-menu.
15479 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15480 define-overloadable-function.
15482 * progmodes/autoconf.el: Provide autoconf as well, so that this
15483 file can be `require'd.
15485 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15487 * emacs-lisp/autoload.el (generated-autoload-feature)
15488 (generated-autoload-load-name): New vars.
15489 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15490 (make-autoload): Recognize define-overloadable-function and
15491 defclass forms (for EIEIO).
15493 * Makefile.in (update-subdirs): Exclude cedet directory.
15495 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15497 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15499 * faces.el: Default light-background background for region face to
15500 ns_selection_color under NS.
15502 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15504 * net/imap-hash.el: New library, see NEWS.
15506 * Makefile.in (ELCFILES): Add imap-hash.el.
15508 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15510 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15511 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15512 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15513 definition where the docstring could be taken for the return value.
15515 2009-09-26 Glenn Morris <rgm@gnu.org>
15517 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15518 Add option to only show images below a certain size.
15519 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15520 save-excursion calls.
15522 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15524 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15525 subdirectories) and eieio.
15527 2009-09-26 Alan Mackenzie <acm@muc.de>
15529 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15530 Correct buggy bracketing. (Bug#4289)
15532 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15533 character constants (as case labels). (Bug#4289)
15535 2009-09-25 Juri Linkov <juri@jurta.org>
15537 * files.el (safe-local-eval-forms): Allow time-stamp in
15538 before-save-hook (Bug#4554).
15540 2009-09-25 Drew Adams <drew.adams@oracle.com>
15542 * menu-bar.el (list-buffers-directory): Doc fix.
15544 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15546 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15547 Try and avoid copying twice the same paragraph.
15548 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15549 Remove save-excursion.
15550 (log-edit-changelog-entry): Do it here instead.
15552 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
15554 * bs.el (bs--get-file-name): Use `list-buffers-directory'
15555 when available, instead of hardcoding mode names. Doc fix.
15557 * menu-bar.el (list-buffers-directory): Add docstring.
15558 Make automatically buffer-local.
15560 * dired.el (dired-mode):
15561 * files.el (cd-absolute):
15562 * pcvs.el (cvs-temp-buffer):
15563 * pcvs-util.el (cvs-get-buffer-create):
15564 * shell.el (shell-mode):
15565 * vc-dir.el (vc-dir-mode):
15566 Don't make `list-buffers-directory' buffer local.
15568 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
15570 * comint.el (comint-exec, comint-run, make-comint):
15571 Doc fixes (Bug#4542).
15573 2009-09-25 Glenn Morris <rgm@gnu.org>
15575 * mail/rmailmm.el (rmail-mime): New custom group.
15576 Move all defcustoms in this file into this group.
15577 (rmail-mime-media-type-handlers-alist): Revert previous change.
15578 (rmail-mime-show-images): New option.
15579 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15580 references to it, since it wasn't actually used for anything.
15581 (rmail-mime-insert-image): New function.
15582 (rmail-mime-image): Use rmail-mime-insert-image.
15583 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15584 obey the value of `rmail-mime-show-images' option. Print the size of
15587 2009-09-25 David Engster <deng@randomsample.de>
15589 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
15591 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15593 * whitespace.el: Does not highlight trailing spaces While point is
15594 at end of line. Does not highligt spaces at beginning of buffer
15595 while point is at beginning of buffer. Does not highlight spaces
15596 at end of buffer while point is at end of buffer. (Bug#4177)
15598 (whitespace-display-mappings): Adjust initialization.
15599 (whitespace-point, whitespace-font-lock-refontify): New vars.
15600 (whitespace-color-on, whitespace-color-off): Adjust code.
15601 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15602 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15603 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15605 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
15607 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15609 * textmodes/sgml-mode.el: Remove xml-mode alias.
15611 * files.el (auto-mode-alist, conf-mode-maybe)
15612 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15614 2009-09-24 Alan Mackenzie <acm@muc.de>
15616 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15617 c-forward-conditionals, but it doesn't move point and doesn't set
15619 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15620 (c-down-conditional-with-else, c-backward-conditional)
15621 (c-forward-conditional): Refactor to use c-scan-conditionals.
15623 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15625 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15626 (help-default-arg-highlight): Remove.
15627 (help-highlight-arg): New function.
15628 (help-do-arg-highlight): Use it.
15629 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
15631 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15633 * term.el (term-set-scroll-region, term-handle-ansi-escape):
15634 Undo last change, which didn't fix the problem and introduced others.
15636 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
15638 * progmodes/gdb-mi.el: Don't require speedbar.
15639 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15641 2009-09-24 Glenn Morris <rgm@gnu.org>
15643 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15645 * term/ns-win.el (ns-reg-to-script): Define for compiler.
15647 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15648 there is no newline after the final mime boundary. (Bug#4539)
15649 Move markers on insertion so that any buttons inserted don't end up in
15650 the next part of a multipart message.
15651 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
15652 (rmail-mime-bulk-handler): Optionally handle images.
15653 (rmail-mime-image): New button action.
15654 (rmail-mime-image-handler): New function.
15655 (rmail-mime-mode): New mode.
15656 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
15658 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
15660 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15661 than just dropping elements from it (bug#4504).
15663 * term.el (term-set-scroll-region): Don't move cursor any more.
15664 (term-handle-ansi-escape): Call term-goto here instead.
15665 Suggested by Ivan Kanis <apple@kanis.eu>.
15667 * term.el: Require CL.
15668 (term-ansi-reset): New function.
15669 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15670 (term-handle-colors-array): Simplify.
15672 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
15674 * allout.el (allout-overlay-interior-modification-handler)
15675 (allout-obtain-passphrase):
15676 * epa-file.el (epa-file-write-region):
15677 * ps-print.el (ps-begin-job):
15678 * vc-hooks.el (vc-toggle-read-only):
15679 * vc-rcs.el (vc-rcs-rollback):
15680 * vc-sccs.el (vc-sccs-rollback):
15681 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15682 (vc-version-diff, vc-revert, vc-rollback):
15683 * wdired.el (wdired-check-kill-buffer):
15684 * emacs-lisp/authors.el (authors):
15685 * net/socks.el (socks-open-connection):
15686 * net/zeroconf.el (zeroconf-service-add-hook):
15687 * obsolete/vc-mcvs.el (vc-mcvs-register):
15688 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15689 (gdb-select-frame):
15690 * progmodes/grep.el (lgrep, rgrep):
15691 * progmodes/idlw-help.el (idlwave-help-check-locations)
15692 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15693 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15694 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15695 (reftex-toc-rename-label): Fix typos in error messages.
15697 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15698 (dired-copy-how-to-fn): Doc fix.
15699 (dired-files-attributes, dired-read-shell-command):
15700 Fix typos in docstrings.
15702 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15703 (dired-x-find-file-other-window): Reflow docstrings.
15704 (dired-omit-marker-char, dired-read-shell-command)
15705 (dired-x-submit-report): Fix typos in docstrings.
15707 * shell.el (shell-mode-hook):
15708 * view.el (View-scroll-line-forward):
15709 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15710 Fix typos in docstrings.
15712 * net/dig.el (dig-invoke): Fix typo in docstring.
15713 (query-dig): Reflow docstring.
15715 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15716 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15717 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15718 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15719 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15720 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15721 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15722 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15723 (idlwave-completion-map, idlwave-current-indent)
15724 (idlwave-custom-ampersand-surround, idlwave-customize)
15725 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15726 (idlwave-define-abbrev, idlwave-determine-class-special)
15727 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15728 (idlwave-end-block-reg, idlwave-end-of-statement)
15729 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15730 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15731 (idlwave-explicit-class-listed, idlwave-file-header)
15732 (idlwave-fill-paragraph, idlwave-find-class-definition)
15733 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15734 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15735 (idlwave-in-quote, idlwave-indent-action-table)
15736 (idlwave-indent-expand-table, idlwave-indent-line)
15737 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15738 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15739 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15740 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15741 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15742 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15743 (idlwave-outlawed-buffers, idlwave-popup-select)
15744 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15745 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15746 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15747 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15748 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15749 (idlwave-statement-type, idlwave-struct-skip)
15750 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15751 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15752 (idlwave-what-module-find-class): Fix typos in docstrings.
15753 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15754 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15755 (idlwave-find-module, idlwave-find-structure-definition)
15756 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15757 (idlwave-list-load-path-shadows, idlwave-next-statement)
15758 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15759 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15760 (idlwave-template): Reflow docstrings.
15762 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15763 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15764 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15765 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15766 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15767 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15768 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15769 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15770 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15771 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15772 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15773 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15774 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15775 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15776 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15777 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15778 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15779 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15780 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15781 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15782 Fix typos in docstrings.
15783 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15784 (idlwave-shell-hide-output, idlwave-shell-mode)
15785 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15788 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15790 2009-09-24 Ivan Kanis <apple@kanis.eu>
15792 * term.el (term-bold-attribute): New var.
15793 (term-handle-colors-array): Use it.
15795 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
15797 * progmodes/gdb-mi.el (gdb-version): New variable.
15798 (gdb-non-stop-handler): Set gdb-version.
15799 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15800 Condition "--thread" option on gdb-version.
15801 (gdb-invalidate-threads): Remove unused argument.
15803 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15805 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15806 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15808 2009-09-23 Glenn Morris <rgm@gnu.org>
15810 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15811 replying to mail without References or Message-Id. (Bug#4525)
15813 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15815 * term/ns-win.el (ns-reg-to-script): New variable.
15817 2009-09-23 Daiki Ueno <ueno@unixuser.org>
15819 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15821 2009-09-22 Sam Steingold <sds@gnu.org>
15823 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15824 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15825 to 1 because hg returns status 1 when nothing is found.
15826 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15828 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15830 * textmodes/fill.el: Convert to utf-8 encoding.
15831 (fill-french-nobreak-p): Remove redundant » and « inherited from our
15834 * add-log.el (change-log-fill-forward-paragraph): New function.
15835 (change-log-mode): Use it so fill-region DTRT.
15836 Set fill-indent-according-to-mode here rather than in
15837 change-log-fill-paragraph.
15838 (change-log-fill-paragraph): Remove.
15840 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
15842 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15843 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15845 2009-09-22 Glenn Morris <rgm@gnu.org>
15847 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15848 the scroll-bar scroll the calendar window rather than the buffer.
15850 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15851 commands that move point (as opposed to scrolling).
15853 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15855 * emacs-lisp/elint.el (elint): New custom group.
15856 (elint-log-buffer): Make it a defcustom.
15857 (elint-scan-preloaded, elint-ignored-warnings)
15858 (elint-directory-skip-re): New options.
15859 (elint-builtin-variables): Doc fix.
15860 (elint-preloaded-env): New variable.
15861 (elint-unknown-builtin-args): Add an entry for encode-time.
15862 (elint-extra-errors): Make it a variable rather than a constant.
15863 (elint-preloaded-skip-re): New constant.
15864 (elint-directory): Skip files matching elint-directory-skip-re.
15865 (elint-features): New variable, local to linted buffers.
15866 (elint-update-env): Initialize elint-features. Possibly add
15867 elint-preloaded-env to the buffer's environment.
15868 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15870 (elint-init-form): New function, extracted from elint-init-env.
15871 Make non-list forms a warning rather than an error.
15872 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15873 easy-menu-define, put that adds an error-condition, and provide.
15874 When requiring cl, also require cl-macs. Really require cl, to handle
15875 some cl macros. Store required libraries in the list elint-features,
15876 so as not to re-load them. Treat cc-require like require.
15877 (elint-init-env): Call elint-init-form to do the work.
15878 Handle eval-and-compile and such like.
15879 (elint-add-required-env): Do not clear messages.
15880 (elint-special-forms): Add handlers for function, defalias, if, when,
15882 (elint-form): Add optional argument to ignore elint-special-forms,
15883 useful to prevent recursive calls from handlers. Doc fix.
15884 Respect elint-ignored-warnings.
15885 (elint-form): Respect elint-ignored-warnings.
15886 (elint-bound-variable, elint-bound-function): New variables.
15887 (elint-unbound-variable): Respect elint-bound-variable.
15888 (elint-get-args): Respect elint-bound-function.
15889 (elint-check-cond-form): Add some simple handling for (f)boundp and
15891 (elint-check-defalias-form): New handler.
15892 (elint-check-let-form): Make an empty let a warning rather than an
15894 (elint-check-setq-form): Make an empty setq a warning rather than an
15895 error. Respect elint-ignored-warnings.
15896 (elint-check-defvar-form): Accept null doc-strings.
15897 (elint-check-conditional-form): New handler. Does some simple-minded
15898 checking of featurep and (f)boundp tests.
15899 (elint-put-function-args): New function.
15900 (elint-initialize): Use elint-scan-doc-file rather than
15901 elint-find-builtin-variables. Use elint-put-function-args.
15902 Possibly scan preloaded-file-list.
15903 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15904 extend to handle functions as well.
15906 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15908 * linum.el (linum-delete-overlays, linum-update-window):
15909 Do not modify the right margin. (Bug#3971)
15911 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
15913 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15914 Use nxml-mode instead of xml-mode.
15916 2009-09-21 Kevin Ryde <user42@zip.com.au>
15918 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15920 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15922 * net/dig.el (dig-mode): Use define-derived-mode.
15924 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15926 * vc-dispatcher.el (vc-do-command): Return the process object in
15927 the asynchronous case. Use when instead of if. Do not run
15928 vc-exec-after to display a message if not enabled. (Bug#4463)
15930 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15931 properties to the stash strings.
15932 (vc-git-stash-list): Return a list of strings.
15933 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15934 (vc-git-stash-show-at-point): New functions.
15935 (vc-git-stash-map): New keymap.
15937 * register.el (ctl-x-r-map): Define the keys here instead of
15940 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
15942 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15943 list, to workaround performance problem (bug#4485).
15945 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
15947 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15949 2009-09-20 Daiki Ueno <ueno@unixuser.org>
15951 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15952 Document that this option is not recommended to use.
15954 2009-09-19 Glenn Morris <rgm@gnu.org>
15956 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15959 * calc/calc-alg.el (var):
15960 * calc/calcalg2.el (var): Define for compiler.
15962 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
15964 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15965 Doc fix (Bug#3932).
15967 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15969 * time-stamp.el (time-stamp-month-dd-yyyy)
15970 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15971 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15972 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15973 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15974 Remove functions that have been obsolete since 1995 (Bug#4436).
15976 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15977 indent buffer only if called interactively (Bug#4452).
15979 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
15980 Eli Zaretskii <eliz@gnu.org>
15982 This fixes bug#4197 (merged to bug#865, though not identical).
15983 * server.el (server-auth-dir): Add docstring note about FAT32.
15984 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15985 but warn against using them.
15987 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
15989 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15990 older GDB where there is no has_more field.
15992 2009-09-19 Glenn Morris <rgm@gnu.org>
15994 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15996 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
15998 * files.el (auto-mode-alist): Change default for XML files to nXML
16001 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16003 * server.el (server-ensure-safe-dir): Pass 'integer
16004 to `file-attributes', as suggested.
16006 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16008 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16009 (dired-query): Use read-key.
16011 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16013 * cus-start.el (ns-use-qd-smoothing): Remove.
16015 2009-09-18 Glenn Morris <rgm@gnu.org>
16017 * allout.el (top-level): Remove unnecessary progn.
16019 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16021 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16022 definition of abbrev table.
16024 * speedbar.el (speedbar-track-mouse):
16025 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16026 * net/eudc.el (eudc-expand-inline):
16027 * net/newst-backend.el (newsticker--cache-read-feed):
16028 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16029 condition-case handlers.
16031 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16033 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16034 (gdb-var-list): Add an element for has_more field.
16035 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16036 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16037 (gdb-var-update-handler-1): Parse output of dynamic variable
16038 objects (STL containers).
16039 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16040 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16042 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16044 (gud-speedbar-buttons): Make node expandable if expression "has more"
16047 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16049 * startup.el (emacs-quick-startup): Remove variable and all uses.
16050 (command-line): Set `inhibit-x-resources' instead.
16051 (command-line-1): Use `inhibit-x-resources' instead.
16053 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16055 * subr.el: Fix last change to avoid using the `unless' macro,
16056 which breaks bootstrapping.
16058 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16060 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16061 extended definitions, in case we reload subr.el after having
16063 (eval-next-after-load): Mark as obsolete.
16065 2009-09-17 Juri Linkov <juri@jurta.org>
16067 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16068 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16069 (menu-bar-showhide-menu, menu-bar-tools-menu)
16070 (menu-bar-describe-menu, menu-bar-help-menu)
16071 (minibuffer-local-completion-map, minibuffer-local-map):
16074 2009-09-17 Glenn Morris <rgm@gnu.org>
16076 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16077 arguments, whether or not it has a handler.
16079 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16081 * simple.el (hard-newline): Give it a doc-string.
16083 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16084 (lisp-mode-syntax-table): Give them doc-strings.
16086 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16088 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16089 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16090 (menu-bar-options-menu, menu-bar-showhide-menu)
16091 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16092 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16093 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16094 (menu-bar-options-menu, menu-bar-tools-menu)
16095 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16096 (menu-bar-help-menu):
16097 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16100 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16101 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16102 calls for the menu names and :help.
16104 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16106 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16107 to :minor-mode-function (bug#4455).
16109 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16111 * startup.el (command-line): Initialize the window-system after
16112 processing the command-line.
16114 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16115 page-delimiter matches the empty string.
16117 2009-09-16 Glenn Morris <rgm@gnu.org>
16119 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16120 byte-compile-not-obsolete-var. It's a list now.
16121 (byte-compile-not-obsolete-funcs): New variable.
16122 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16123 byte-compile-not-obsolete-funcs.
16124 (byte-compile-variable-ref, byte-compile-defvar): Update for
16125 byte-compile-not-obsolete-vars name-change and list nature.
16126 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16127 and variables behind (f)boundp tests.
16128 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16130 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16132 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16134 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16136 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16137 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16140 2009-09-15 Stephen Eglen <stephen@gnu.org>
16142 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16143 the virtual-buffers, use the name of the buffer specified by
16144 find-file-noselect, as the match may be a symlink. (This was a
16145 problem if the target and the symlink had different names.)
16147 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16149 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16151 * desktop.el (desktop-path): Check user-emacs-directory.
16153 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16155 * loadup.el: Use after-load-functions to GC after loading each file.
16156 Remove the explicit GC calls that used to be sprinkled around.
16158 * subr.el (after-load-functions): New hook.
16159 (do-after-load-evaluation): Run it. Use string-match-p to detect
16160 `obsolete' packages, rather than painfully extracting the relevant
16163 2009-09-15 Glenn Morris <rgm@gnu.org>
16165 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16166 free variable `doc'.
16168 * dired.el (dired-mode-map): Add menu entry for async shell command.
16170 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16171 variables, also consider the .elc files, since the .el files are
16172 normally gzipped (subsequent code locates the .el.gz from the .elc).
16174 * calc/calc-prog.el (arglist): Define for compiler.
16176 * calendar/diary-lib.el (diary-display-function): Change the default to
16178 (body): Define for compiler.
16180 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16181 (byte-compile-file-form, byte-compile-lambda)
16182 (byte-compile-top-level-body, byte-compile-form)
16183 (byte-compile-variable-ref, byte-compile-setq)
16184 (byte-compile-setq-default, byte-compile-body)
16185 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16186 (batch-byte-compile): Give some more local variables with common names
16187 a "bytecomp-" prefix to avoid masking warnings about free variables.
16189 * startup.el (command-line-1): Give local variables with common names a
16190 distinguishing prefix, so as not to hide free variable warnings during
16193 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16194 clever and add a suffix to make a unique name, just let the user decide
16195 whether or not to overwrite it. If the input is a directory, write the
16196 default filename to that directory. (Bug#4388)
16197 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16198 is a filename-as-a-directory.
16200 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16202 * textmodes/page.el (what-page): Don't move to beginning of line.
16203 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16205 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16207 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16209 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16211 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16212 * help.el (help-for-help-internal): Add purecopy calls for text.
16214 * vc.el (top): print-log method now takes an optional SHORTLOG
16215 argument. Add a new method: root.
16216 (vc-root-diff, vc-print-root-log): New functions.
16217 (vc-log-short-style): New variable.
16218 (vc-print-log-internal): Add support for showing short logs.
16220 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16221 vc-print-root-log and vc-print-root-diff.
16223 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16224 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16225 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16228 * vc-cvs.el (vc-cvs-print-log):
16229 * vc-mtn.el (vc-mtn-print-log):
16230 * vc-rcs.el (vc-rcs-print-log):
16231 * vc-sccs.el (vc-sccs-print-log):
16232 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16233 that is ignored for now.
16235 * vc-mtn.el (vc-mtn-annotate-command):
16236 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16238 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16240 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16241 to function-key-map, and give them ascii-character property.
16242 * term/x-win.el (x-alternatives-map):
16243 * term/ns-win.el (ns-alternatives-map):
16244 * term/internal.el (msdos-key-remapping-map):
16245 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16247 2009-09-14 Glenn Morris <rgm@gnu.org>
16249 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16250 temp-buffers (2009-09-12).
16252 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16254 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16255 the new read-key function.
16257 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16259 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16260 is defined (Bug#4405).
16262 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16264 * recentf.el (recentf-cleanup): Use a hash table to find
16265 duplicates (Bug#4407).
16267 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16269 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16270 kp-0 to ascii equivalents (Bug#4325).
16272 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16274 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16276 * eshell/em-hist.el:
16277 * eshell/em-dirs.el (eshell-complete-user-reference):
16278 Declare pcomplete functions and variables to avoid compiler warnings.
16280 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16282 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16283 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16284 * eshell/em-alias.el (eshell-aliases-file):
16285 * eshell/em-hist.el (eshell-history-file-name):
16286 Use expand-file-name instead of concat to make file names (Bug#4308).
16288 2009-09-13 Glenn Morris <rgm@gnu.org>
16290 * ediff-merg.el (ediff-do-merge):
16291 * filesets.el (filesets-run-cmd):
16292 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16293 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16294 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16295 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16296 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16297 Replace empty `let's with `progn'.
16299 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16301 * mail/sendmail.el (send-mail-function):
16302 * tooltip.el (tooltip-mode):
16303 * simple.el (transient-mark-mode):
16304 * rfn-eshadow.el (file-name-shadow-mode):
16305 * frame.el (blink-cursor-mode):
16306 * font-core.el (global-font-lock-mode):
16307 * files.el (temporary-file-directory)
16308 (small-temporary-file-directory, auto-save-file-name-transforms):
16309 * epa-hook.el (auto-encryption-mode):
16310 * composite.el (global-auto-composition-mode):
16311 Use custom-initialize-delay.
16312 * startup.el (command-line): Don't explicitly call
16313 custom-reevaluate-setting for all the above vars.
16314 * custom.el (custom-initialize-safe-set)
16315 (custom-initialize-safe-default): Delete.
16317 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16319 * term/x-win.el (x-initialize-window-system):
16320 * term/w32-win.el (w32-initialize-window-system):
16321 * term/ns-win.el (ns-initialize-window-system): Don't call
16322 mouse-wheel-mode since it's enabled globally by default already.
16324 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16325 actually define the variable, but only silences the byte-compiler.
16326 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16327 before looking it up.
16328 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16331 2009-09-12 Glenn Morris <rgm@gnu.org>
16333 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16335 (elint-add-required-env): Don't beep on error.
16336 (elint-forms): In case of error, return ENV unchanged.
16337 (elint-init-env): Skip non-list forms.
16338 (elint-log): Handle unknown file positions.
16340 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16342 * epg.el (epg-make-context): Add autoload cookie.
16343 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16344 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16345 (epg-verify-string, epg-start-sign, epg-sign-file)
16346 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16347 (epg-encrypt-string, epg-start-export-keys)
16348 (epg-export-keys-to-file, epg-export-keys-to-string)
16349 (epg-start-import-keys, epg-import-keys-from-file)
16350 (epg-import-keys-from-string, epg-start-receive-keys)
16351 (epg-receive-keys, epg-import-keys-from-server)
16352 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16353 (epg-sign-keys, epg-start-generate-key)
16354 (epg-generate-key-from-file, epg-generate-key-from-string):
16355 Remove autoload cookie.
16357 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16359 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16360 reevaluation of trash-directory.
16362 * mwheel.el: Fix last change.
16363 (mouse-wheel-mode): New defvar.
16364 (mouse-wheel-mode): Remove autoload cookie.
16366 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * mwheel.el (mwheel-installed-bindings): New var.
16369 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16370 the bindings we set last time. Use custom-initialize-delay.
16371 * loadup.el: Load mwheel after term/*-win.el.
16372 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16373 and mouse-wheel-up-event now that their first evaluation is done
16374 sufficiently late to be correct.
16376 * startup.el (tutorial-directory): Make it a defcustom.
16377 Use custom-initialize-delay rather than eval-at-startup to set it.
16378 * image.el (image-load-path): Make it a defcustom.
16379 Use custom-initialize-delay rather than eval-at-startup to set it.
16380 * subr.el (eval-at-startup): Remove.
16381 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16383 * subr.el (do-after-load-evaluation): Warn the user after loading an
16386 2009-09-12 Glenn Morris <rgm@gnu.org>
16388 * proced.el (proced-mark-alt): Remove alias.
16389 (proced-mode-map): Remove proced-mark-alt.
16391 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16392 Elint file and directory. Remove initialization entry.
16394 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16396 (elint-current-buffer): Set mode-line-process.
16397 (elint-init-env): Handle define-derived-mode.
16398 Fix declare-function with unspecified arglist. Guard against odd
16399 defalias statements (eg iso-insert's 8859-1-map).
16400 (elint-add-required-env): Use a temp buffer.
16401 (elint-form): Just print the function/macro name, not the whole form.
16402 Return env unchanged if we fail to parse a macro.
16403 (elint-forms): Guard against parse errors.
16404 (elint-output): New function, to handle batch mode.
16405 (elint-log-message): Add optional argument. Use elint-output.
16406 (elint-set-mode-line): New function.
16408 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16410 * emacs-lisp/elp.el (elp-not-profilable): Add more
16411 functions (Bug#4233).
16413 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16415 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16416 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16418 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16420 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16421 (gdb-var-list-children): Use json parsing.
16423 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16425 * progmodes/js.el (js--proper-indentation): Handle the case where
16426 char-before is null. Reported by Deniz Dogan.
16428 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16430 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16432 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16434 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16435 (epg-digest-algorithm-alist): Add SHA224.
16436 (epg-context-set-passphrase-callback)
16437 (epg-context-set-progress-callback): Add description about
16440 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16442 * custom.el (custom-delayed-init-variables): New var.
16443 (custom-initialize-delay): New function.
16444 * startup.el (command-line): "Re"evaluate all vars in
16445 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16446 explicitly any more.
16447 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16448 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16450 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16452 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16454 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16455 (gdb-var-update-handler): Use json parsing.
16457 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16459 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16460 decode annotated text, regardless of language environment. (Bug#2741)
16462 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16464 * Makefile.in (autoloads): Make rmail.el writable as well.
16466 2009-09-11 Glenn Morris <rgm@gnu.org>
16468 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16470 * dired.el: Regenerate with extracted autoloads.
16471 * Makefile.in (autoloads): Make dired.el writable.
16473 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16474 * ibuffer.el: Regenerate with extracted autoloads.
16475 * Makefile.in (autoloads): Make ibuffer.el writable.
16477 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16478 * version.el (emacs-copyright, emacs-major-version)
16479 (emacs-minor-version): Reformat doc-strings for make-docfile.
16481 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16482 functions and variables, since they must be stuff specific to some other
16484 (apropos-print): Make mouse-click message less specific about button.
16486 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16487 that records where a macro was defined.
16488 * help-fns.el (describe-function-1): Mention if a function has a
16490 * help-mode.el (help-function-cmacro): New button.
16492 * locate.el (top-level): Always require dired.
16493 (locate-mode-map): Initialize inside the defvar.
16495 * net/ange-ftp.el (dired-compress-file): Declare.
16496 (ange-ftp-dired-compress-file): Add doc string.
16498 * term/ns-win.el (x-display-name, x-setup-function-keys):
16499 Unify doc-strings with X versions.
16501 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16503 * emulation/crisp.el (crisp-mode-map): Move initialization
16505 (crisp-mode): Use define-minor-mode.
16507 * progmodes/xscheme.el (xscheme-evaluation-commands):
16508 Put a :advertised-binding property rather than using
16509 advertised-xscheme-send-previous-expression.
16510 (advertised-xscheme-send-previous-expression): Declare obsolete.
16511 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16513 (crisp-mode): Add corresponding bindings to
16514 undo's :advertised-binding instead.
16515 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16516 than using dired-advertised-find-file.
16517 (dired-advertised-find-file):
16518 * simple.el (advertised-undo):
16519 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16520 (widget-keymap): Put a :advertised-binding property rather
16521 than using advertised-widget-backward.
16522 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16523 than using advertised-undo.
16524 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16526 2009-09-10 Simon South <ssouth@slowcomputing.org>
16528 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16529 Mark mode is enabled and region is active; otherwise indent or
16530 insert TAB as usual.
16531 (delphi-mode): Update description of TAB-key binding.
16533 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16535 * subr.el (define-key-rebound-commands): Mark obsolete.
16536 * startup.el (precompute-menubar-bindings): Remove.
16537 (normal-top-level): Remove obsolete code that tried to precompute
16539 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16540 define-key-rebound-commands and precompute-menubar-bindings.
16542 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16544 * net/imap.el (imap-interactive-login): Better messages.
16545 (imap-open): Fix bug with renamed buffer on reconnect.
16546 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16547 for easier debugging and cleaner code. On successful (guessed based on
16548 server capabilities) secondary authentication, set imap-state
16550 (imap-last-authenticator): Define imap-last-authenticator as a variable
16553 2009-09-10 Glenn Morris <rgm@gnu.org>
16555 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16557 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16558 (byte-compile-file-form-autoload): Don't warn about unknown functions
16559 where the autoload statement comes after the use.
16560 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16561 that any handlers inside the body (eg require) are in turn respected.
16563 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16566 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16567 and syntax and abbrev tables basic docs, if they don't have any.
16569 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16571 * international/mule-cmds.el (top-level): Require cl when compiling.
16572 (view-hello-file): Use default-value rather than
16573 default-enable-multibyte-characters.
16575 * progmodes/fortran.el: Move all safe and risky properties into the
16578 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16579 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16580 * mail/undigest.el:
16581 Put autoloads in rmail.el rather than loaddefs.el.
16582 * mail/rmail.el: Regenerate with extracted autoloads.
16584 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16585 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16587 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
16589 Reported in thread for Bug#4375.
16590 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16591 "-data-evaluate-expression" instead of print.
16592 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16593 (gdb-tooltip-print): Parse output from above MI command.
16594 (gdb): Revert 2009-08-11 change. User should detach inferior
16597 Remove the word "separate" from IO functions as inferior
16598 output is now never displayed in the GUD buffer.
16600 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
16602 * startup.el (command-line-normalize-file-name): On Windows and
16603 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16605 2009-09-10 Juri Linkov <juri@jurta.org>
16607 * isearch.el (isearch-text-char-description): Propertize escape
16608 character sequences with the `escape-glyph' face. (Bug#4344)
16610 * simple.el (shell-command): Set asynchronous process filter to
16611 `comint-output-filter'. (Bug#4343)
16613 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16614 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
16615 the list. Move "asm" to the bottom.
16616 (grep-find-ignored-directories): Add `choice' with nil value
16617 to empty the list easily.
16618 (grep-find-ignored-files): New option.
16619 (grep-files-history): Set to nil by default instead of '("ch" "el").
16620 (grep-compute-defaults): Add "<X>" to `grep-template'.
16621 (grep-read-files): Bind new local variables `default-alias' and
16622 `default-extension'. Use a list of default values for the file prompt.
16623 (lgrep): Add `--exclude=' command line options composed from
16624 `grep-find-ignored-files'.
16625 (rgrep): Add `-name' command line options composed from
16626 `grep-find-ignored-files'. (Bug#4301)
16628 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
16630 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16633 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
16635 * calendar/time-date.el (autoload):
16636 Expand define-obsolete-function-alias into defalias and make-obsolete
16637 for old Emacsen that Gnus supports.
16638 (with-no-warnings): Define it for old Emacsen.
16639 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16641 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16642 float-time is available; suppress compile warning for time-to-seconds.
16644 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
16646 * net/imap.el (imap-message-map): Docstring fix.
16648 2009-09-09 Glenn Morris <rgm@gnu.org>
16650 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16651 line numbers too. (Bug#4374)
16653 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
16655 * smerge-mode.el (smerge-remove-props, smerge-refine):
16656 Use with-silent-modifications (bug#4342).
16658 * subr.el (with-silent-modifications): New macro.
16660 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
16662 * files.el (top-level): Require `cl' when compiling.
16664 2009-09-07 Glenn Morris <rgm@gnu.org>
16666 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16668 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16669 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
16671 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
16673 * vc-git.el (vc-git-annotate-command): Use separator to parse
16674 arguments correctly.
16676 2009-09-06 Eli Zaretskii <eliz@gnu.org>
16678 * proced.el (proced-mode): Doc fix.
16680 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16682 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16684 (tramp-do-file-attributes-with-ls): Check for file existence at
16686 (tramp-do-file-attributes-with-stat): Likewise.
16687 (tramp-convert-file-attributes): Return nil when attr is nil.
16689 2009-09-05 Glenn Morris <rgm@gnu.org>
16691 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16692 properties to this button.
16693 (diary-fancy-display): Don't extend the button to the final newline.
16694 (diary-fancy-display-mode): Continue to define "q" as a local key.
16696 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16699 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16701 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16702 (byte-compile-dest-file-function): New option.
16703 (byte-compile-dest-file): Doc fix.
16704 Obey byte-compile-dest-file-function.
16705 (byte-compile-cl-file-p): New function.
16706 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16707 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16708 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16709 than for file being previously loaded.
16710 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16711 (byte-compile-file-form-require): Handle the case where requiring a file
16712 indirectly causes CL to be loaded.
16714 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16716 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16717 before killing the old buffer, since by the time `kill-buffer' is
16718 run so many buffer variables have been set to nil that it may not
16719 behave as expected. (Bug#4061)
16721 2009-09-05 Karl Fogel <kfogel@red-bean.com>
16723 * files.el (find-alternate-file): If the old buffer is modified
16724 and visiting a file, behave similarly to `kill-buffer' when
16725 killing it, thus reverting to the pre-1.878 behavior; see
16726 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16727 for discussion. Also, consult `buffer-file-name' as a variable
16728 not as a function, for consistency with the rest of the code.
16730 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
16732 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16733 also when adding a new directory.
16735 * net/tramp-compat.el (tramp-compat-line-beginning-position):
16738 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16740 * files.el (locate-file-completion-table): Make it provide boundary
16741 information, so partial-completion works better.
16743 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16745 * mail/footnote.el (Footnote-text-under-cursor):
16746 Check footnote-text-marker-alist before using it (bug#4324).
16748 2009-09-04 Glenn Morris <rgm@gnu.org>
16750 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16751 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16752 * play/solitaire.el, play/tetris.el:
16753 Remove leading * from defcustom and defface docs.
16755 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16757 (diary-fancy-overriding-map): New variable.
16758 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16761 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16764 2009-09-03 Glenn Morris <rgm@gnu.org>
16766 * arc-mode.el (archive-mode):
16767 * dos-fns.el (set-default-process-coding-system):
16768 * man.el (Man-getpage-in-background):
16769 * menu-bar.el (menu-bar-describe-menu):
16770 * server.el (server-process-filter):
16771 * startup.el (command-line):
16772 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16773 * w32-fns.el (set-default-process-coding-system):
16774 * x-dnd.el (x-dnd-handle-file-name):
16775 * international/mule-cmds.el (mule-menu-keymap)
16776 (set-default-coding-systems, language-info-alist, set-language-info)
16777 (set-language-environment, standard-display-european-internal)
16778 (set-locale-environment):
16779 * international/mule-diag.el (mule-diag):
16780 * mail/emacsbug.el (report-emacs-bug):
16781 * mail/rmail.el (rmail-mode):
16782 * mail/sendmail.el (mail-setup):
16783 Use default-value rather than default-enable-multibyte-characters.
16785 * progmodes/f90.el: Move all safe properties into the defcustoms.
16786 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16788 * calendar/appt.el (appt-check):
16789 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16790 (diary-check-diary-file, diary-list-entries)
16791 (diary-include-other-diary-files, diary-simple-display)
16792 (diary-fancy-display, diary-print-entries)
16793 (diary-mark-included-diary-files, diary-make-entry):
16794 Don't call substitute-in-file-name on diary-file.
16796 2009-09-03 Eduard Wiebe <usenet@pusto.de>
16797 Stefan Monnier <monnier@iro.umontreal.ca>
16799 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16800 (footnote-mode-map): Move initialization into the declaration.
16801 (footnote-minor-mode-map): Define it rather than changing global-map.
16802 (footnote-mode): Use define-minor-mode.
16804 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
16806 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16807 (tramp-do-file-attributes-with-perl)
16808 (tramp-do-file-attributes-with-stat): Rename from
16809 `tramp-handle-file-attributes-with-*'.
16810 (tramp-handle-file-attributes): Use them.
16811 (tramp-do-directory-files-and-attributes-with-perl)
16812 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16813 `tramp-handle-directory-files-and-attributes-with-*'.
16814 (tramp-handle-directory-files-and-attributes): Use them.
16815 (tramp-method-out-of-band-p): Additional parameter SIZE.
16816 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16817 (tramp-handle-write-region): Use it.
16818 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16819 (tramp-handle-vc-registered): Check, whether the first run did
16820 return files to be tested.
16821 (tramp-advice-make-auto-save-file-name): Do not call directly
16822 `tramp-handle-make-auto-save-file-name', because this would bypass
16823 the locking mechanism.
16825 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16826 (file-remote-p, process-file, start-file-process, set-file-times)
16827 (tramp-compat-file-attributes): Compatibility functions shall not
16828 call directly `tramp-handle-*', because this would bypass the
16830 (tramp-compat-number-sequence): New defun.
16832 2009-09-02 Glenn Morris <rgm@gnu.org>
16834 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16835 alias for float-time.
16836 (time-to-number-of-days): In Emacs, use float-time.
16837 * net/newst-backend.el (time-add): Suppress warnings from compat
16839 * time.el (emacs-uptime, emacs-init-time):
16840 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16841 Use float-time rather than time-to-seconds.
16843 * minibuffer.el (completion-initials-expand): Fix typo.
16845 * faces.el (modeline, modeline-inactive, modeline-highlight)
16846 (modeline-buffer-id):
16847 * info.el (info-menu-5): Mark these face aliases as obsolete.
16849 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16851 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16853 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16854 no "--thread" option.
16855 (gdb-stopped): Don't print "Switched to thread" message when it is
16858 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16860 * minibuffer.el (completion-try-completion)
16861 (completion-all-completions): Remove ill-defined (and
16862 mistakenly installed and luckily never used nor documented)
16863 `completion-styles' property.
16864 (completion-initials-expand, completion-initials-all-completions)
16865 (completion-initials-try-completion): New functions.
16866 (completion-styles-alist): Add doc to each entry.
16867 Add new `initials' entry.
16869 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
16871 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16872 MI command -var-evaluate-expression.
16873 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16874 and tweak for case of string child.
16875 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16877 2009-09-01 Glenn Morris <rgm@gnu.org>
16879 * add-log.el (change-log-date-face, change-log-name-face)
16880 (change-log-email-face, change-log-file-face, change-log-list-face)
16881 (change-log-conditionals-face, change-log-function-face)
16882 (change-log-acknowledgement-face):
16883 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16884 (custom-modified-face, custom-set-face, custom-changed-face)
16885 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16886 (custom-documentation-face, custom-state-face, custom-comment-face)
16887 (custom-comment-tag-face, custom-variable-tag-face)
16888 (custom-variable-button-face, custom-face-tag-face)
16889 (custom-group-tag-face-1, custom-group-tag-face):
16890 * diff-mode.el (diff-header-face, diff-file-header-face)
16891 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16892 (diff-added-face, diff-changed-face, diff-function-face)
16893 (diff-context-face, diff-nonexistent-face):
16894 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16895 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16896 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16897 (Info-title-4-face):
16898 * isearch.el (isearch-lazy-highlight-face):
16899 * log-view.el (log-view-file-face, log-view-message-face):
16900 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16901 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16902 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16904 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16905 (smerge-base-face, smerge-markers-face):
16906 * wid-edit.el (widget-documentation-face, widget-button-face)
16907 (widget-field-face, widget-single-line-field-face)
16908 (widget-inactive-face, widget-button-pressed-face):
16909 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16910 (woman-addition-face):
16911 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16912 (eshell-ls-executable-face, eshell-ls-readonly-face)
16913 (eshell-ls-unreadable-face, eshell-ls-special-face)
16914 (eshell-ls-missing-face, eshell-ls-archive-face)
16915 (eshell-ls-backup-face, eshell-ls-product-face)
16916 (eshell-ls-clutter-face):
16917 * eshell/em-prompt.el (eshell-prompt-face):
16918 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16919 * obsolete/old-whitespace.el (whitespace-highlight-face):
16920 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16921 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16922 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16923 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16924 (antlr-font-lock-literal-face):
16925 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16926 (ebrowse-root-class-face, ebrowse-file-name-face)
16927 (ebrowse-default-face, ebrowse-member-attribute-face)
16928 (ebrowse-member-class-face, ebrowse-progress-face):
16929 * progmodes/make-mode.el (makefile-space-face):
16930 * progmodes/sh-script.el (sh-heredoc-face):
16931 * textmodes/flyspell.el (flyspell-incorrect-face)
16932 (flyspell-duplicate-face):
16933 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16934 * textmodes/texinfo.el (texinfo-heading-face):
16935 Mark face aliases with "-face" suffix as obsolete.
16937 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16940 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16941 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16942 easy-menu-define wants to modify these.
16944 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16946 * net/browse-url.el (browse-url-file-url):
16947 * term/internal.el (dos-codepage-setup):
16948 Use default-value rather than default-enable-multibyte-characters.
16950 * progmodes/etags.el (etags-goto-tag-location):
16951 * progmodes/flymake.el (flymake-highlight-line)
16952 (flymake-goto-file-and-line, flymake-goto-line):
16953 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16954 (gdb-goto-breakpoint):
16955 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16956 * progmodes/python.el (python-find-function)
16957 (python-pdbtrack-track-stack-file):
16958 * progmodes/verilog-mode.el (verilog-surelint-off):
16959 * term/ns-win.el (ns-open-file-select-line):
16960 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16961 Use forward-line rather than goto-line.
16963 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16964 * textmodes/reftex-index.el (reftex-display-index):
16965 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16966 * textmodes/reftex-toc.el (reftex-toc):
16967 Remove unnecessary bindings of default-major-mode (all are followed by
16968 major-mode check and possible mode switch).
16970 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
16972 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16973 Handle watchpoints (bug#4282).
16974 (def-gdb-thread-buffer-command): Enable thread to be selected by
16975 clicking without selecting threads buffer first.
16976 (gdb-current-context-command): Use selected frame so that "up",
16977 "down" etc work in the GUD buffer.
16978 (gdb-update): Find selected frame before rendering stack buffer.
16979 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16981 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16983 * progmodes/sym-comp.el (displayed-completions): Remove.
16984 (symbol-complete): Use minibuffer-complete.
16986 2009-08-31 Glenn Morris <rgm@gnu.org>
16988 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16990 * apropos.el (apropos-symbols-internal):
16991 Handle (obsolete) face aliases.
16993 * faces.el (describe-face): Adjust the output format to be more like
16994 describe-variable, and to mention (obsolete) face aliases.
16995 Adjust the whitespace so that help-setup-xref works.
16997 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16998 * calendar/diary-lib.el (diary-button-face):
16999 Mark these face aliases as obsolete.
17001 * calendar/calendar.el (calendar-today): Doc fix.
17003 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17005 * progmodes/gdb-mi.el (gdb-control-all-threads)
17006 (gdb-control-current-thread): Force tool bar update.
17007 (gdb-non-stop-handler): New function.
17008 (gdb-init-1): Use it to test if non-stop mode is supported.
17009 Remove unused gdbmi buffer type.
17011 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17013 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17014 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17016 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17018 * comint.el (comint-exec-1): Check command is non-null first.
17019 Part of gdb-mi.el change (2009-08-28).
17021 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17023 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17025 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17027 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17028 instead of `dolist' to avoid a recursive require when bootstrapping.
17030 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17032 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17034 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17036 * net/imap.el (imap-send-command): Simplify.
17037 (imap-wait-for-tag): point-max -> buffer-size.
17039 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17041 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17042 with constant argument.
17044 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17046 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17048 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17049 Change default, since most of our files don't have a history.
17050 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17053 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17056 * calc/calc.el: Improve commenting convention.
17057 (calc-digit-map, toplevel): Simplify.
17059 * comint.el (comint-insert-input): Be careful to only set point if we
17060 don't delegate to some other command.
17062 * proced.el (proced-signal-list): Make it an alist.
17063 (proced-grammar-alist): Capitalize names.
17064 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17065 Disable undo manually and make it read-only.
17066 Use completion-annotate-function.
17068 * minibuffer.el (minibuffer-message): If the current buffer is not
17069 a minibuffer, insert the message in the echo area rather than at the
17071 (completion-annotate-function): New variable.
17072 (minibuffer-completion-help): Use it.
17073 (completion--embedded-envvar-table): Environment vars are
17074 always case-sensitive.
17076 2009-08-30 Glenn Morris <rgm@gnu.org>
17078 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17079 from fortran-current-defun.
17080 (fortran-beginning-of-subprogram): Be more precise about finding the
17081 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17082 (fortran-end-of-subprogram): Simplify.
17083 (fortran-current-defun): Use fortran-start-prog-re.
17085 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17087 * subr.el (do-after-load-evaluation): Simplify.
17089 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17091 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17093 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17094 (vc-rcs-print-log): Use it.
17096 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17098 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17100 * paths.el (abbrev-file-name): Move to abbrev.el.
17101 * abbrev.el (abbrev-file-name): Move from paths.el.
17102 Obey user-emacs-directory.
17103 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17104 user-emacs-directory.
17105 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17106 abbrev-file-name and calc-settings-file any more.
17107 * startup.el (command-line): Recompute abbrev-file-name and
17108 abbreviated-home-dir.
17109 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17110 of the special code for when C-h bindings haven't been changed.
17111 (display-startup-echo-area-message): Use with-current-buffer.
17112 (command-line-1): Use a list of strings, rather than a list of lists
17113 of strings for longopts.
17115 * files.el (get-free-disk-space): Use / for default-directory.
17117 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17118 Use with-current-buffer.
17120 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17121 Recognize immutable variables like most-positive-fixnum.
17122 (byte-compile-setq-default): Check and warn if trying to assign
17123 to an immutable variable, or a non-variable.
17125 * progmodes/cc-vars.el (c-comment-continuation-stars):
17126 * progmodes/cc-engine.el (c-looking-at-bos):
17127 * progmodes/cc-cmds.el (c-toggle-auto-state)
17128 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17129 (c-comment-line-break-function): Add version of obsolescence.
17131 2009-08-28 Juri Linkov <juri@jurta.org>
17133 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17134 associated with `archive-mode'.
17136 * image.el (image-type-header-regexps): Use only JPEG magic number
17137 to determine JPEG images, and don't use `image-jpeg-p' because
17138 Emacs can display non-JFIF non-Exif JPEG images.
17140 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17142 * arc-mode.el (archive-mode):
17143 * emacs-lisp/re-builder.el (re-builder-unload-function):
17144 Protect against the default value of `major-mode' being nil.
17146 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17148 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17149 Fix typos in docstrings.
17151 * progmodes/js.el (js--macro-decl-re): Doc fix.
17152 (js--plain-method-re, js--split-name): Refloc docstring.
17153 (js--class-styles, js--make-merged-item, js--splice-into-items):
17154 Fix typos in docstrings; reflow docstrings.
17155 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17156 (js--variable-decl-matcher, js--inside-pitem-p)
17157 (js--parse-state-at-point, js--get-all-known-symbols)
17158 (js--symbol-history, js-find-symbol, js--js-references)
17159 (js--moz-interactor, js--js-encode-value, js--read-tab):
17160 Fix typos in docstrings.
17162 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17164 * textmodes/reftex.el (reftex-get-file-buffer-force):
17165 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17166 * emulation/viper.el (viper-go-away, viper-set-hooks):
17167 * emacs-lisp/re-builder.el (re-builder-unload-function):
17168 * emacs-lisp/bytecomp.el (byte-compile-file):
17169 * ses.el (ses-unload-function):
17170 * hexl.el (hexl-find-file):
17171 * files.el (normal-mode):
17172 * ehelp.el (with-electric-help):
17173 * autoinsert.el (auto-insert-alist):
17174 * arc-mode.el (archive-mode):
17175 Use (default-value 'major-mode) instead of default-major-mode.
17177 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17178 * international/mule.el (load-with-code-conversion):
17179 * emacs-lisp/debug.el (debug):
17180 * ediff-vers.el (ediff-rcs-get-output-buffer):
17181 * dired.el (dired-internal-noselect): Don't let-bind
17182 default-major-mode around code that doesn't use it.
17183 E.g. buffer creation via get-buffer-create doesn't use it.
17185 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17187 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17188 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17189 when writing the temp file. Otherwise, epa-file gets confused.
17190 (tramp-register-file-name-handlers): Make it a defun. Move also
17191 `epa-file-handler' to the front of `file-name-handler-alist'.
17193 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17195 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17196 start right after a ^M.
17197 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17198 (tramp-completion-file-name-regexp-separate)
17199 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17200 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17201 Don't modify last-coding-system-used by accident.
17202 (tramp-completion-file-name-handler): Apply the checks here,
17203 instead during registration.
17204 (tramp-register-file-name-handlers): Rename from
17205 `tramp-register-file-name-handler'. Register both
17206 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17207 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17209 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17211 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17212 Remove variable ...
17213 (gdb-init-1, gdb-display-separate-io-buffer)
17214 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17216 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17217 (gdb-inferior-filter): Use comint-output-filter to stop
17218 echoing and remove ^M characters.
17220 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17222 * emulation/viper-init.el (viper-restore-cursor-type):
17223 * emulation/cua-base.el (cua--update-indications):
17224 Replace default-cursor-type with (default-value 'cursor-type).
17226 * mail/sendmail.el (mail-recover-1):
17227 * international/mule-diag.el (describe-current-coding-system-briefly)
17228 (describe-current-coding-system):
17229 * international/mule-cmds.el (select-safe-coding-system)
17230 (select-message-coding-system)
17231 (set-language-environment-coding-systems, set-locale-environment):
17232 * hexl.el (hexl-insert-multibyte-char):
17233 * dos-w32.el (find-buffer-file-type-coding-system):
17234 * simple.el (what-cursor-position):
17235 Replace uses of default-buffer-file-coding-system
17236 with (default-value 'buffer-file-coding-system).
17238 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17239 Replace uses of default-cursor-in-non-selected-windows
17240 with (default-value 'cursor-in-non-selected-windows).
17241 Use with-current-buffer.
17243 * mail/feedmail.el: Use CL macros.
17244 (feedmail-run-the-queue, feedmail-send-it-immediately):
17245 * dos-w32.el (find-buffer-file-type): Replace uses of
17246 default-buffer-file-type with (default-value 'buffer-file-type).
17248 2009-08-28 Glenn Morris <rgm@gnu.org>
17250 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17251 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17252 Use default-value of major-mode rather than default-major-mode.
17254 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17256 * Makefile.in (update-elcfiles): Report left over elc files.
17258 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17259 expand-file-name and with-current-buffer.
17260 (mail-get-names, mail-directory): Use with-current-buffer.
17262 * vc.el (vc-read-revision): New function.
17263 (vc-version-diff, vc-merge): Use it.
17265 2009-08-27 Sam Steingold <sds@gnu.org>
17267 * simple.el (kill-do-not-save-duplicates): New user option.
17268 (kill-new): When it is non-nil, and the new string is the same as
17269 the latest kill, set replace to t to avoid duplicates in kill-ring.
17271 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17273 * net/tramp.el (tramp-handle-process-file): Do not flush all
17274 caches when `process-file-side-effects' is set.
17275 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17276 instead of `tramp-find-file-exists-command'.
17277 Unset `process-file-side-effects'.
17279 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17281 * net/tramp.el (tramp-methods): New method "rsyncc".
17282 (top): Add completion function for "rsyncc".
17283 (tramp-message-show-message): New defvar.
17284 (tramp-message, tramp-error): Use it.
17285 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17287 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17288 `tramp-methods' entry `copy-env' of "rsyncc".
17289 (tramp-vc-registered-read-file-names): New defconst.
17290 (tramp-vc-registered-file-names): New defvar.
17291 (tramp-handle-vc-registered): Implement optimization strategy.
17292 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17293 (tramp-vc-file-name-handler): New defun.
17294 (tramp-get-ls-command, tramp-get-test-command)
17295 (tramp-get-file-exists-command, tramp-get-remote-ln)
17296 (tramp-get-remote-perl, tramp-get-remote-stat)
17297 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17299 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17300 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17302 (tramp-get-file-property): Check for timestamps in
17303 `tramp-cache-inhibit-cache'.
17304 (tramp-set-file-property): Write timestamp.
17306 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17308 * language/japan-util.el (japanese-symbol-table): Add entries for
17311 * international/characters.el: Add category `j' to cp932-2-byte.
17313 2009-08-27 Kenichi Handa <handa@m17n.org>
17315 * international/fontset.el (build-default-fontset-data): New macro.
17316 (setup-default-fontset): Use build-default-fontset-data for CJK,
17317 tibetan, ethiopic, and ipa.
17319 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17321 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17322 (enable-multibyte-characters): Not customizable any more.
17324 * subr.el (default-mode-line-format, default-header-line-format)
17325 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17326 (default-direction-reversed, default-truncate-lines)
17327 (default-left-margin, default-tab-width, default-case-fold-search)
17328 (default-left-margin-width, default-right-margin-width)
17329 (default-left-fringe-width, default-right-fringe-width)
17330 (default-fringes-outside-margins, default-scroll-bar-width)
17331 (default-vertical-scroll-bar, default-indicate-empty-lines)
17332 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17333 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17334 (default-scroll-down-aggressively, default-fill-column)
17335 (default-cursor-type, default-buffer-file-type)
17336 (default-cursor-in-non-selected-windows)
17337 (default-buffer-file-coding-system, default-major-mode)
17338 (default-enable-multibyte-characters): Mark as obsolete.
17340 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17342 * vc-dir.el (vc-dir-update): Remove debug helper.
17344 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17346 2009-08-26 Sam Steingold <sds@gnu.org>
17348 * simple.el (save-interprogram-paste-before-kill): New user option.
17349 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17350 save the interprogram-paste into kill-ring before overriding it
17351 with the Emacs kill.
17353 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17355 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17356 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17357 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17358 and move to vc-rcs.el.
17359 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17361 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17362 (vc-rcs-update-changelog): Remove.
17363 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17364 and move to vc-rcs.el.
17366 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17367 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17369 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17370 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17371 vc.el, renamed to be RCS specific.
17373 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17375 (vc-cvs-update-changelog): Move here from vc.el.
17377 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17380 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17382 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17384 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17386 * vc-git.el (vc-git-register): Use "git add" for directories.
17387 (vc-git-stash, vc-git-stash-show): New functions.
17388 (vc-git-extra-menu-map): Bind them.
17390 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17391 directory correctly in case the item is a directory itself.
17393 * vc.el: Document the desired behavior for reverted files in the
17395 (vc-default-prettify-state-info): Remove function, unused.
17397 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17399 2009-08-26 Glenn Morris <rgm@gnu.org>
17401 * bindings.el (standard-mode-line-format): Reposition dashes in
17402 which-func entry. (Bug#4217)
17404 * files.el (enable-local-variables, enable-local-eval)
17405 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17407 (auto-mode-alist, ignored-local-variables)
17408 (save-some-buffers-action-alist): Move risky declarations to the
17410 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17411 (font-lock-defaults, format-alist, imenu--index-alist)
17412 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17413 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17414 (mode-line-modified, mode-line-mule-info, mode-line-position)
17415 (mode-line-process, mode-line-remote, outline-level)
17416 (parse-time-rules, rmail-output-file-alist)
17417 (special-display-buffer-names, vc-mode):
17418 Move risky declarations to the relevant files.
17419 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17420 (mode-line-modified, mode-line-process, mode-line-position)
17421 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17422 * font-core.el (font-lock-defaults):
17423 * format.el (format-alist):
17424 * vc-hooks.el (vc-mode):
17425 * window.el (special-display-buffer-names):
17426 * international/mule-cmds.el (input-method-alist):
17427 Define riskiness here (dumped file) rather than in files.el.
17428 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17429 * imenu.el (imenu-generic-expression, imenu--index-alist):
17430 * outline.el (outline-level):
17431 * time.el (display-time-string):
17432 * calendar/parse-time.el (parse-time-rules):
17433 * mail/rmailout.el (rmail-output-file-alist):
17434 Autoload riskiness here, rather than placing in files.el.
17436 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17438 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17440 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17442 * simple.el (process-file-side-effects): New defvar.
17444 * dired-aux.el (dired-show-file-type):
17445 * vc.el (vc-diff-internal):
17446 * vc-arch.el (vc-arch-diff):
17447 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17448 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17449 * vc-git.el (vc-git-registered, vc-git-working-revision)
17450 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17451 (vc-git--empty-db-p):
17452 * vc-hooks.el (vc-user-login-name):
17453 * vc-svn.el (vc-svn-registered, vc-svn-state)
17454 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17455 * progmodes/grep.el (grep-probe): Let-bind
17456 `process-file-side-effects' with nil.
17458 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17460 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17461 daemon. Replace ping by checking for running service for bluez
17462 and zeroconf. (Bug#4239)
17464 2009-08-25 Kevin Ryde <user42@zip.com.au>
17466 * net/dig.el (dig): Add autoload cookie.
17468 2009-08-25 Glenn Morris <rgm@gnu.org>
17470 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17471 load-history for absolute file-names.
17472 (byte-compile-file-form-require): Warn about use of the cl package.
17474 * format.el (format-alist): Doc fix.
17476 * play/bubbles.el (top-level): Don't require cl at run-time.
17478 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17481 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17483 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17485 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17487 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17489 * calc/calc-alg.el (math-trig-rewrite)
17490 (math-hyperbolic-trig-rewrite): New functions.
17491 (calc-simplify): Simplify trig functions when asked.
17493 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17495 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17497 2009-08-24 Kenichi Handa <handa@m17n.org>
17499 * language/ind-util.el (mapthread): Delete it.
17500 (combinatorial): New function.
17501 (indian--puthash-cv): Use combinatorial instead of mapthread.
17503 2009-08-22 Kevin Ryde <user42@zip.com.au>
17505 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17506 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17507 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17508 Clarify docstring that the value is strings not symbols.
17509 (checkdoc-list-of-strings-p): New function.
17511 2009-08-22 Glenn Morris <rgm@gnu.org>
17513 * files.el (auto-mode-alist):
17514 * hippie-exp.el (he-concat-directory-file-name):
17515 * lpr.el (lpr-windows-system, printer-name):
17516 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17517 * ps-print.el (ps-windows-system):
17518 * startup.el (command-line):
17519 * emulation/viper-ex.el (viper-glob-function):
17520 * international/mule-cmds.el (set-language-environment-coding-systems):
17521 * net/ange-ftp.el (ange-ftp-write-region):
17522 * obsolete/fast-lock.el (fast-lock-cache-name):
17523 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17524 unisoft-unix, vax-vms, win32, w32.
17526 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17527 given name if the pattern is not more specific.
17529 * calendar/lunar.el (lunar-phase-names): New option.
17530 (lunar-phase): Doc fix.
17531 (lunar-cycles-per-year): New constant.
17532 (lunar-index): New function.
17533 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17534 (lunar-phase-name): Use lunar-phase-names.
17535 (calendar-lunar-phases): Use format.
17536 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17538 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17539 Copy imenu-example--name-and-position function here for own use.
17540 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17542 * bs.el (bs--redisplay):
17543 * cus-edit.el (custom-redraw):
17544 * ibuffer.el (ibuffer-bury-buffer):
17545 * server.el (server-goto-line-column):
17546 * startup.el (command-line-1):
17547 * strokes.el (strokes-xpm-for-stroke):
17548 * term.el (term-display-buffer-line):
17549 * view.el (View-goto-line):
17550 * calc/calc.el (calc-do, calc-trail-buffer):
17551 * play/gamegrid.el (gamegrid-add-score-insecure):
17552 * progmodes/ada-mode.el (ada-compile-goto-error):
17553 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17554 (ebrowse-select-1st-to-9nth):
17555 * progmodes/cperl-mode.el (cperl-time-fontification):
17556 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17557 * progmodes/gud.el (gud-display-line):
17558 (idlwave-shell-display-line):
17559 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17560 * progmodes/make-mode.el (makefile-browser-toggle):
17561 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17562 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17563 * textmodes/picture.el (picture-draw-rectangle):
17564 * textmodes/reftex-index.el (reftex-index-goto-letter):
17565 (reftex-select-jump-to-previous):
17566 * textmodes/reftex-sel.el (reftex-find-start-point)
17567 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17568 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17569 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17570 * textmodes/tex-mode.el (tex-compilation-parse-errors):
17571 * textmodes/two-column.el (2C-associated-buffer):
17572 Use forward-line rather than goto-line.
17574 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17577 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17578 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17579 (quick-check-list-to-regexp): Declare.
17581 * progmodes/make-mode.el (makefile-browser-insert-selection):
17582 Use goto-char rather than goto-line.
17584 * progmodes/prolog.el (compilation-error-regexp-alist)
17585 (compilation-forget-errors): Declare.
17587 2009-08-22 Juri Linkov <juri@jurta.org>
17589 * progmodes/grep.el (lgrep, rgrep): At the beginning
17590 set `dir' to `default-directory' unless `dir' is a non-nil
17591 readable directory. (Bug#4052)
17592 (lgrep, rgrep): Change a weird way to report an error
17593 from using `read-string' to using `error'.
17594 Instead of using interactive arguments in the function body,
17595 add new argument `confirm'.
17597 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17599 * textmodes/remember.el (remember-buffer):
17600 * progmodes/cperl-mode.el (cperl-vc-header-alist):
17601 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17602 (icalendar-extract-ical-from-buffer):
17603 * net/newst-treeview.el (newsticker-groups-filename):
17604 * net/newst-backend.el (newsticker-cache-filename):
17605 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17606 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17607 (speedbar-add-ignored-path-regexp, speedbar-line-path)
17608 (speedbar-buffers-line-path, speedbar-path-line)
17609 (speedbar-buffers-line-path):
17610 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17612 * epa.el (epa-display-verify-result):
17613 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17615 2009-08-21 Glenn Morris <rgm@gnu.org>
17617 * progmodes/js.el (inferior-moz-process): Fix declaration.
17619 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17621 * obsolete/rnewspost.el (news-mail-reply):
17622 Use goto-char rather than goto-line.
17624 * term/ns-win.el (ns-open-file-select-line):
17625 Use line-beginning-position rather than goto-line.
17627 * apropos.el (apropos-command):
17628 * ehelp.el (electric-helpify):
17629 * printing.el (pr-show-setup):
17630 * strokes.el (strokes-help):
17631 * tutorial.el (tutorial--describe-nonstandard-key)
17632 (tutorial--detailed-help):
17633 * woman.el (woman-mini-help, woman-display-extended-fonts):
17634 * calc/calc-help.el (calc-describe-key):
17635 * emulation/edt.el (edt-electric-helpify):
17636 * international/mule-diag.el (mule-diag):
17637 * play/yow.el (apropos-zippy):
17638 * progmodes/python.el (python-describe-symbol):
17639 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17640 * textmodes/table.el (*table--cell-describe-mode)
17641 (*table--cell-describe-bindings):
17642 Use help-print-return-message rather than the now obsolete alias.
17644 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17645 (calendar-cursor-to-visible-date):
17646 * play/5x5.el (5x5-position-cursor):
17647 * play/decipher.el (decipher):
17648 * play/gomoku.el (gomoku-goto-xy):
17649 * play/landmark.el (lm-goto-xy):
17650 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17651 (mpuz-paint-digit):
17652 Use forward-line, not goto-line.
17654 * mail/rmail.el (rmail-obsolete): Delete custom group.
17655 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17656 (rmail-remote-password, rmail-remote-password-required):
17657 Remove unneeded :set-after and :set properties.
17659 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
17661 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17663 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
17665 * loadup.el: Remove leftover macos code.
17667 * vc-git.el (vc-git-annotate-command): Run asynchronously.
17668 Explicitly pass the date format to git blame so that user local
17669 so that the output format can be parsed.
17671 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
17673 * net/dbus.el (top): Don't check for (getenv
17674 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
17676 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
17678 * log-edit.el (log-edit-strip-single-file-name): New var.
17679 (log-edit-insert-changelog): Use it. Bug#3571
17681 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17683 * subr.el (read-passwd): Use read-key so keypad keys work as well.
17686 * help.el (help-print-return-message): Rename from
17687 print-help-return-message.
17689 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17690 cvs-mode-map parent hack.
17691 (log-view-mode): Derive from special-mode.
17693 * linum.el (linum-mode): window-size-change-functions is redundant.
17694 Adapt to new window-configuration-change-hook behavior.
17695 (linum-after-size, linum-after-config): Remove.
17697 * imenu.el (imenu-example--name-and-position)
17698 (imenu-example--lisp-extract-index-name)
17699 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17702 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17703 (inferior-prolog-mode): Use it.
17704 (inferior-prolog-load-file): Reset list of errors.
17706 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17708 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17710 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17712 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
17714 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17715 is running already.
17717 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17719 * subr.el (listify-key-sequence-1): Use normal syntax since those
17720 integers are nowadays always represented by the same (positive) number
17722 (read-key-empty-map): New const.
17723 (read-key-delay): New var.
17724 (read-key): New function.
17725 (force-mode-line-update): Use with-current-buffer.
17726 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17727 (start-process-shell-command, start-file-process-shell-command):
17728 Discourage the use of command-args.
17730 2009-08-19 Glenn Morris <rgm@gnu.org>
17732 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17734 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17736 * simple.el (choose-completion-string): Don't rely on
17737 minibuffer-completing-file-name and ad-hoc checks to decide whether
17738 to continue completion or not.
17740 * minibuffer.el (minibuffer-hide-completions): New function.
17741 (completion--do-completion): Use it.
17742 (completions-annotations): New face.
17743 (completion--insert-strings): Use it.
17744 (completion-pcm--delim-wild-regex): Add docstring.
17745 (completion-pcm--string->pattern): Add support for 0-width delimiters
17746 in completion-pcm--delim-wild-regex.
17748 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17750 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17751 Remove unused var `buffer-modified-p'.
17753 * minibuffer.el (completion--do-completion): Move point for the #b001
17754 case as well (bug#4176).
17755 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17757 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
17759 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17760 and :session buses.
17762 2009-08-18 Kenichi Handa <handa@m17n.org>
17764 * international/ucs-normalize.el (ucs-normalize-version):
17766 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17767 (utf-8-hfs): Make it perform normalization on encoding too.
17769 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17770 (sentence-end-without-space): Delete duplicated chars.
17771 (sentence-end-base): Likewise.
17773 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17774 (html-mode): Delete duplicated chars from sentence-end-base.
17776 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17777 (texinfo-mode): Delete duplicated chars from sentence-end-base.
17779 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
17781 * files.el (hack-one-local-variable): If the mode function is for
17782 a minor mode, pass it an argument (Bug#4148).
17784 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
17786 * net/tramp.el (tramp-register-completion-file-name-handler):
17787 Check also for (member 'partial-completion completion-styles).
17789 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17791 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17794 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
17796 * progmodes/cperl-mode.el: Merge upstream 6.2.
17797 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17798 (cperl-forward-re): Check cperl-brace-recursing.
17799 (cperl-highlight-charclass): New function.
17800 (cperl-find-pods-heres): Use it.
17801 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17802 (cperl-beautify-regexp-piece): Fix column calculation.
17803 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17804 (cperl-beautify-level): Don't process entire regexp.
17805 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17807 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17808 (cperl-init-faces): Build a list in the normal way.
17810 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17812 * calendar/parse-time.el (parse-time-string-chars): Save match
17815 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17817 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17818 (sql-product): Use it.
17819 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17820 (sql-set-product): Add completion.
17821 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17822 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17823 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17824 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17825 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17826 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17827 (sql-highlight-db2-keywords): Remove.
17828 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17829 (sql-highlight-product): Use derived-mode-p.
17830 (sql-set-sqli-buffer): Use with-current-buffer.
17831 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17834 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17836 * term.el: Fix commenting convention, turn comments into docstrings.
17838 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17840 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17842 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
17844 * calendar/parse-time.el (parse-time-string-chars): Compute using
17845 character classes, to handle non-ascii characters (Bug#3190).
17847 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
17849 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17850 another heredoc if the user adds another < (Bug#3226).
17852 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17853 Don't initialize based on window-system (Bug#4124).
17855 * facemenu.el (facemenu-read-color): Use a completion function
17856 that accepts any defined color, such as RGB triplets (Bug#3677).
17858 * files.el (get-free-disk-space): Change fallback default
17859 directory to /. Expand DIR argument before switching to fallback.
17860 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17862 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17864 * files.el (load-library): Doc fix.
17866 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
17868 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17869 (viper-if-string): Redefine C-s in the minibuffer to insert the last
17870 incremental search string.
17872 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17875 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17876 (ediff-merge-region-is-non-clash)
17877 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17878 Also check if the job is really a merge job.
17880 * ediff.el (ediff-current-file): New function.
17882 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
17884 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17886 (js-insert-and-indent): Delete function.
17887 (js-mode-map): Don't bind keys to js-insert-and-indent.
17888 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17889 (js-end-of-defun): Rename from js--end-of-defun.
17890 (js-auto-indent-flag): Delete variable.
17892 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
17894 * progmodes/js.el: Remove proclaim statement.
17895 Defvar which-func-imenu-joiner-function to silence compiler.
17897 * files.el (auto-mode-alist): Use js-mode for .js files.
17899 * progmodes/js2-mode.el: Remove file.
17901 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17903 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17905 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17907 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
17908 Karl Landstrom <karl.landstrom@brgeight.se>
17910 * progmodes/js.el: New file.
17912 2009-08-14 Mark A. Hershberger <mah@everybody.org>
17914 * timezone.el (timezone-parse-date): Add ability to understand ISO
17915 basic format (minimal separators) dates in addition to the
17916 already-supported extended format dates.
17918 2009-08-14 Eli Zaretskii <eliz@gnu.org>
17920 * international/ucs-normalize.el: Add a `coding' file variable.
17922 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17924 2009-08-14 Sam Steingold <sds@gnu.org>
17926 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17928 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
17930 * faces.el (help-argument-name): Define it here instead of
17931 help-fns.el, because in daemon mode help-fns.el may be loaded when
17932 faces are still uninitialized (Bug#1078).
17934 * help-fns.el (help-argument-name): Move defface to faces.el.
17936 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
17938 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17939 create buffer with a pty but no process so that GDB can make the
17940 inferior the controlling process.
17942 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
17944 * international/ucs-normalize.el: New file.
17946 2009-08-13 Richard Stallman <rms@gnu.org>
17948 * mail/rmail.el (rmail-get-attr-names):
17949 Accept an attribute header that is too short.
17951 * mail/rmail.el (rmail-forget-messages):
17952 Ignore nil elt in rmail-message-vector. Use dotimes.
17954 * progmodes/compile.el (compilation-goto-locus):
17955 Use next-error-move-function.
17957 * simple.el (next-error-move-function): New variable.
17959 2009-08-12 Juri Linkov <juri@jurta.org>
17961 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17962 always non-nil. (Bug#4052)
17964 * replace.el (read-regexp): Return empty string when
17965 `default-value' is nil.
17966 (keep-lines-read-args): Don't use empty string as the
17967 default value for `read-regexp'. (Bug#2495)
17969 2009-08-12 Juri Linkov <juri@jurta.org>
17971 * international/mule-cmds.el (ucs-insert): Change arguments
17972 from `arg' to `character', `count', `inherit' to be the same
17973 as in `insert-char'. Doc fix. (Bug#4039)
17975 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17977 2009-08-12 Juri Linkov <juri@jurta.org>
17979 * files-x.el: New file.
17981 * files.el: Move code that deals with adding/deleting
17982 file/directory-local variables to files-x.el.
17984 * Makefile.in (ELCFILES): Add files-x.elc.
17986 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17988 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17989 to use `goto-line'.
17990 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17992 (gdb-invalidate-disassembly): Do not refresh upon receiving
17993 'update signal. Instead, update all disassembly buffers only after
17995 (gdb): Send -target-detach when buffer is killed (Bug#3794).
17996 (gdb-starting): Move -data-list-register-names...
17997 (gdb-stopped): ...here so it's sent when first thread stops.
17998 (gdb-registers-handler-custom): Do nothing if register names are
18001 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18002 from `gdb-mi.el' to avoid extra tangling.
18004 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18005 change which breaks `gud-def' definitions used in `gdb'.
18006 (gdb-update-gud-running): No extra fuss for updating frame number.
18008 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18010 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18011 (describe-language-environment-map, setup-language-environment-map)
18012 (set-coding-system-map): Move initialization into declaration.
18013 (set-language-info-alist): Last arg to define-key-after can be skipped.
18015 * international/quail.el (quail-completion-1): Simplify.
18016 (quail-define-rules): Use slightly more compact code.
18017 (quail-insert-decode-map): Propertize keys, compact columns.
18019 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18022 2009-08-10 Miles Bader <miles@gnu.org>
18024 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18025 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18026 (js2-instance-member, js2-private-member, js2-private-function-call)
18027 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18028 (js2-magic-paren, js2-external-variable):
18029 Remove "-face" suffix from face names.
18030 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18031 (js2-highlight-undeclared-vars, js2-peek-token)
18032 (js2-parse-function-params, js2-mode-show-errors)
18033 (js2-mode-show-warnings, js2-make-magic-delimiter)
18034 (js2-mode-highlight-magic-parens): Update to use new face names.
18036 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18038 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18039 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18041 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18043 * subr.el: Provide hashtable-print-readable.
18045 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18046 hs-c-like-adjust-block-beginning.
18047 (hs-hide-block-at-point): Stop hiding at the beginning of
18048 hs-block-end-regexp (Bug#700).
18050 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18052 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18054 (gdb-registers-handler-custom): Do not fail when register names
18057 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18059 * progmodes/gdb-mi.el (gdb-control-all-threads)
18060 (gdb-control-current-thread): Interactive setters for
18061 `gdb-gud-control-all-threads' to use in menu.
18062 (gdb-show-run-p): Show «Go» when process is not active.
18063 (gud-tool-bar-map): Add non-stop/A,T indicator.
18064 Uses gud/thread.xpm and gud/all.xpm.
18066 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18068 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18069 (nslookup-font-lock-keywords): Make it a variable.
18070 (net-utils-mode): New mode for viewing diagnostic network output.
18071 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18072 (net-utils-run-simple): New function.
18073 (ifconfig, iwconfig, netstat, arp, route): Use it.
18075 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18077 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18078 (gdb-memory-set-address, def-gdb-set-positive-number)
18079 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18080 after changing settings.
18081 (gdb-invalidate-disassembly): Update when first shown.
18082 (gdb-edit-locals-value): Fixed.
18083 (gdb-registers-handler-custom): Print registers in right order and
18084 allow changing register values (only for current thread yet).
18085 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18086 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18087 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18088 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18089 Thread info in mode name.
18090 (gdb-registers-mode-map): TAB to switch to locals.
18092 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18094 * mail/rmail.el (rmail-add-mbox-headers)
18095 (rmail-set-message-counters-counter): Search for
18096 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18098 2009-08-08 Glenn Morris <rgm@gnu.org>
18100 * Makefile.in (ELCFILES): Update.
18102 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18104 * mail/sendmail.el (mail-yank-original):
18105 Set buffer-file-coding-system from the one used by the message whose
18108 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18109 to "windows" when "pgnuplot" is used.
18110 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18111 Don't call accept-process-output if "pgnuplot" is used.
18112 (calc-graph-init): Don't send -display and -geometry to
18113 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18114 running "pgnuplot -V" with shell-command-to-string.
18116 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18119 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18121 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18124 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18126 * vc-dispatcher.el (vc-resynch-window): Update comment.
18128 * term.el (term-handle-ansi-escape): Add comments with the
18129 terminfo capabilities implemented.
18131 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18133 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18134 (gdb-var-create-handler): Rewritten using JSON parser.
18135 (gdb-propertize-header): Move earlier.
18136 (gdb-set-header): Remove to avoid duplication.
18137 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18138 Refresh disassembly buffers only after threads list have been
18140 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18143 2009-08-04 Juri Linkov <juri@jurta.org>
18145 * files.el: Commands to add/delete file/directory-local variables.
18146 (read-file-local-variable, read-file-local-variable-value)
18147 (read-file-local-variable-mode, modify-file-local-variable)
18148 (modify-file-local-variable-prop-line)
18149 (modify-dir-local-variable): New functions.
18150 (add-file-local-variable, delete-file-local-variable)
18151 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18152 (add-dir-local-variable, delete-dir-local-variable)
18153 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18154 (copy-dir-locals-to-file-locals-prop-line): New commands.
18156 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18158 * abbrev.el (insert-abbrev-table-description): Prettify output.
18159 Suggested by Karl Chen.
18161 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18163 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18164 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18165 (gdb-overlay-arrow-position, gdb-thread-position)
18166 (gdb-disassembly-position): Declare variables.
18167 (gdb-wait-for-pending): Function now.
18168 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18169 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18170 compilation goes smoothly.
18171 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18172 (gdb-non-stop-setting): New customization setting which replaces
18173 `gdb-non-stop' so changing it doesn't break active GDB session.
18174 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18175 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18176 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18177 (gdb-show-threads-by-default): New customization options.
18178 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18180 (gdb-get-buffer-create): Send buffers update signal when they are
18182 (gdb-invalidate-locals, gdb-invalidate-registers)
18183 (gdb-invalidate-breakpoints)
18184 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18185 (gdb-invalidate-memory): Accept update signal.
18186 (gdb-current-context-command): Use --frame option.
18187 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18188 Implement `gdb-frame-number' selection logic.
18189 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18190 whether to show GUD toolbar buttons.
18191 (gdb-thread-exited): Unselect current thread when it exits.
18192 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18193 (gdb-mark-line): Routine which sets overlay arrow or inverses
18194 video on fringeless displays.
18195 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18196 to build aligned columns of data in GDB buffers and set text
18197 properties line-by-line.
18198 (gdb-invalidate-breakpoints)
18199 (gdb-breakpoints-list-handler-custom)
18200 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18201 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18202 (gdb-registers-handler-custom): Align data columns.
18203 (gdb-locals-handler-custom): Now prints data like in variable
18205 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18206 Remove confusing buttons.
18207 (gdb-invalidate-threads): Append --frame.
18208 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18209 between breakpoints/threads buffers.
18210 (gdb-set-window-buffer): Now can ignore dedicated windows.
18211 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18212 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18213 (def-gdb-thread-buffer-gud-command): Replaces
18214 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18215 for fine thread control.
18216 (gdb-preempt-existing-or-display-buffer): New function used to
18217 display bound buffers without breaking window layout.
18218 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18219 (gdb-select-frame): New version of `gdb-frames-select' which now
18220 sets `gdb-frame-number' so commands may use --frame option instead
18221 of inner debugger state.
18222 (gdb-frame-handler): Do not set `gdb-frame-number'.
18223 (gdb-threads-mode-map): Select threads with mouse.
18225 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18226 avoid compilation warning.
18227 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18230 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18231 Argument `key' renamed to `buffer-type'.
18232 (gdb-current-context-buffer-name): Do not add thread info to
18233 buffer name when no thread is selected.
18234 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18235 command (bug 3794).
18236 (gdb-thread-selected): Handle `=thread-selected' notification.
18237 (gdb-wait-for-pending): New macro to deal with congestion problems.
18238 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18240 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18241 This fixes problem similar to one described in bug 3947.
18242 (gud-menu-map): More menu items.
18243 (gdb-init-1): Reset `gdb-thread-number' to nil.
18245 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18248 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18249 (gdb-current-context-command): Do not append --thread if
18250 `gdb-thread-number' is nil.
18251 (gdb-running-threads-count, gdb-stopped-threads-count):
18253 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18254 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18255 New customization options.
18256 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18258 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18259 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18260 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18261 set `gdb-thread-number' and update `gud-running' properly.
18262 (gdb-running): Update threads list when new threads appear.
18263 (gdb-stopped): Support non-stop operation and new thread switching
18265 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18266 (gdb-json-partial-output): New set of JSON routines.
18267 (def-gdb-auto-update-trigger): New `signal-list' optional
18269 (gdb-thread-list-handler-custom): Update `gud-running',
18270 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18271 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18272 (gdb-continue-thread, gdb-step-thread): New commands for fine
18273 thread execution control.
18274 (gud-menu-map): New menu items to switch non-stop options.
18275 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18276 (gdb-send): Mimic RET properly (bug 3794).
18278 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18279 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18281 (def-gdb-auto-update-handler): New nopreserve optional argument.
18282 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18284 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18285 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18286 (gdb-parent-mode): New mode to derive other GDB modes from.
18287 (gdb-display-disassembly-for-thread)
18288 (gdb-frame-disassembly-for-thread): New commands for threads
18291 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18292 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18293 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18294 (gdb-update): We now store all GDB buffers in a list so that they
18295 can be updated by traversing a list instead of calling invalidate
18296 triggers explicitly.
18297 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18298 pair for GDB buffer.
18299 (gdb-stack-buffer-name): Add thread information.
18300 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18301 handle pending triggers.
18302 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18303 (def-gdb-thread-buffer-simple-command)
18304 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18305 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18306 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18307 New commands which show buffers bound to thread.
18308 (gdb-stack-list-locals-regexp): Remove unused regexp.
18310 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18311 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18312 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18313 to (gud-comint-buffer) in *-buffer-name functions
18314 because (gdb-get-target-string) already does that.
18315 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18316 (gdb-changed-registers-handler): Rewritten without regexps.
18318 * progmodes/gdb-mi.el: Basic thread selection support.
18319 (gdb-thread-number): New variable.
18320 (gdb-current-context-command): New macro which adds --thread
18322 (gdb-threads-mode-map): Select thread with SPC.
18323 (gdb-thread-list-handler-custom): Mark current thread with overlay
18324 arrow. Synchronize GDB thread and Emacs thread.
18325 (gdb-select-thread): New command which selects current thread.
18326 (gdb-invalidate-frames, gdb-invalidate-locals)
18327 (gdb-invalidate-registers): Use --thread option.
18329 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18331 * net/tramp.el (top): Make check for tramp-gvfs loading more
18333 (tramp-handle-insert-file-contents): `unwind-protect' must be
18334 inside `with-parsed-tramp-file-name'.
18336 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18339 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18341 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18342 directory if CLASSPATH is not set.
18344 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18346 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18348 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18350 2009-08-02 Kevin Ryde <user42@zip.com.au>
18352 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18353 Update freshmeat link. Delete newsforge.com as it seems gone.
18355 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18357 * select.el (x-set-selection): Doc fix (Bug#4021).
18359 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18361 * help-fns.el (describe-variable): Treat list return values from
18362 dir-locals-find-file properly (Bug#4005).
18364 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18366 * net/tramp.el (tramp-debug-message): Print also microseconds.
18368 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18370 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18372 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18373 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18376 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18377 (tramp-get-file-property): Use it.
18379 * autorevert.el (auto-revert-handler):
18380 Allow `auto-revert-tail-mode' for remote files.
18382 2009-08-02 Jason Rumney <jasonr@gnu.org>
18384 * minibuffer.el (read-file-name): Treat confirm options to
18385 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18387 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18389 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18390 (font-lock-variable-name-face, font-lock-constant-face):
18391 Darken the colors for light backgrounds.
18393 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18395 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18396 month names. (Bug#3987)
18398 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18400 * simple.el (line-move-finish): Pass whole number to
18401 line-move-to-column.
18402 (line-move-visual): Perform hscroll to the recorded position.
18404 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18406 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18408 2009-07-29 Alan Mackenzie <acm@muc.de>
18410 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18412 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18414 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18415 (gdb-place-breakpoints): Use full path when setting breakpoints.
18417 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18419 * calc/calc.el (calc-mode-map): Add keybinding for
18420 `calc-transpose-lines'.
18422 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18424 * calc/calc-misc.el (calc-transpose-lines): New function.
18426 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18428 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18429 Simplify check for out-of-band methods.
18430 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18431 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18433 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18435 * vc-git.el (vc-git-checkin): Fix typo.
18437 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18439 * progmodes/js2-mode.el: New file.
18441 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18443 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18444 (gud-menu-map): Adjust tooltip accordingly.
18446 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18448 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18449 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18451 * add-log.el (change-log-mode-map): Add a menu.
18453 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18455 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18456 function returns nil.
18457 (dbus-handle-event): Handle special return value :ignore.
18458 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18460 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18462 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18465 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18469 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18471 * term/pc-win.el (x-display-name, x-colors)
18472 (x-select-enable-clipboard, x-select-text): Doc fix.
18474 * term/common-win.el (x-display-name, x-colors): Doc fix.
18476 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18477 (xw-defined-colors): Doc fix.
18479 * w32-fns.el (x-select-text, x-setup-function-keys)
18480 (x-get-selection, x-set-selection): Doc fix.
18482 * term/x-win.el (x-select-text, x-setup-function-keys)
18483 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18485 * select.el (x-set-selection): Doc fix.
18487 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18489 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18490 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18491 "IsNSSSupportAvailable" method is not available.
18492 Reported by Steve Youngs <steve@sxemacs.org>.
18494 2009-07-24 Kenichi Handa <handa@m17n.org>
18496 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18497 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18498 (build-unicode-category-table): Fix range checks.
18500 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18502 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18503 the buffer we try to sync is current when calling
18506 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18507 not show up to date files.
18509 2009-07-24 Glenn Morris <rgm@gnu.org>
18511 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18512 Add autoload cookies. If necessary, initialize.
18513 (elint-log): Handle non-file buffers.
18514 (elint-initialize): Add optional argument to reinitialize.
18515 (elint-find-builtin-variables): Save excursion.
18517 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18519 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18522 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18524 * vc.el (vc-print-log-internal): New function, split out from ...
18525 (vc-print-log): ... here.
18526 (vc-dir-move-to-goal-column): Declare.
18528 * vc-git.el (vc-git-add-signoff): New variable.
18529 (vc-git-checkin): Use it.
18530 (vc-git-toggle-signoff): New function.
18531 (vc-git-extra-menu-map): Bind it to menu.
18532 (vc-git--run-command-string): Accept a nil FILE argument.
18533 (vc-git-stash-list): New function.
18534 (vc-git-dir-extra-headers): Use it.
18536 2009-07-23 Glenn Morris <rgm@gnu.org>
18538 * help-fns.el (describe-variable): Describe ignored and risky local
18539 variables in a similar way to that in which we describe safe ones.
18541 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18542 (byte-compile-output-file-form, byte-compile-output-docform)
18543 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18544 Give some more local variables with common names a "bytecomp-" prefix,
18545 so as not to shadow things during compilation.
18546 * emacs-lisp/cl-macs.el (load-time-value)
18547 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18548 `outbuffer' to `bytecomp-outbuffer'.
18550 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18551 since the next two variables cover them automatically now.
18552 (elint-builtin-variables, elint-autoloaded-variables): New.
18553 (elint-unknown-builtin-args): Remove all members, since they can be
18554 parsed automatically now.
18555 (elint-extra-errors): New.
18556 (elint-env-add-env, elint-env-add-macro): Use cadr.
18557 (elint-current-buffer): Use or. Change final message.
18558 (elint-get-top-forms): Use line-end-position.
18559 (elint-init-env): Use cadr. Handle autoload, declare-function,
18561 (elint-add-required-env): Doc fix. Use or. Standardize error.
18562 (regexp-assoc): Remove unused function.
18563 (elint-top-form): Set elint-current-pos, to record the start of the
18564 top-level form, for compilation-mode.
18565 (elint-form): Trap errors in macro expansion. Use dolist.
18566 (elint-unbound-variable): Use elint-builtin-variables and
18567 elint-autoloaded-variables.
18568 (elint-get-args): Use cadr, or.
18569 (elint-check-cond-form): Use dolist, cadr.
18570 (elint-check-condition-case-form): Doc fix. Use cadr.
18571 Use elint-extra-errors.
18572 (elint-log): New function.
18573 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18574 Distinguish errors and warnings.
18575 (elint-log-message): Use with-current-buffer. Inhibit read-only.
18576 Use a bytecomp-style format.
18577 (elint-clear-log): Preserve default-directory. Inhibit read-only.
18578 (elint-get-log-buffer): Use compilation mode. Disable undo.
18579 Don't truncate lines.
18580 (elint-initialize): Set builtin and autoloaded variable lists.
18581 Only process elint-unknown-builtin-args if non-nil.
18582 (elint-find-builtin-variables, elint-find-autoloaded-variables):
18584 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
18586 2009-07-22 Kevin Ryde <user42@zip.com.au>
18588 * net/newst-backend.el (newsticker--parse-atom-1.0)
18589 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18590 (newsticker--parse-rss-1.0):
18591 * progmodes/idlwave.el (idlwave-mode):
18592 * progmodes/idlw-shell.el (idlwave-shell-mode):
18593 * progmodes/vera-mode.el (vera-mode):
18594 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18595 * progmodes/vhdl-mode.el (vhdl-mode):
18596 * textmodes/table.el (table-generate-source)
18597 (table--warn-incompatibility):
18598 Hyperlink urls in docstrings with URL `...'.
18600 2009-07-22 Glenn Morris <rgm@gnu.org>
18602 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18603 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18604 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18605 Remove leading * from defcustom docs.
18607 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
18609 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18611 (list-load-path-shadows): Optionally, just return shadows as a string.
18613 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18615 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
18617 * mail/rmailedit.el (rmail-edit-mode):
18618 Use auto-save-include-big-deletions.
18620 * mail/rmail.el (rmail-variables):
18621 Use auto-save-include-big-deletions.
18623 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18626 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
18628 * calc/calc.el (calc-undo-length): New variable.
18629 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18631 2009-07-21 Richard Stallman <rms@gnu.org>
18633 * files.el (auto-save-mode): Handle buffer-save-size = -2
18636 2009-07-21 Glenn Morris <rgm@gnu.org>
18638 * textmodes/ispell.el (ispell-looking-back): Update declaration.
18640 * calendar/todo-mode.el (calendar-current-date): Update declaration.
18642 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18643 silence compiler. Instead...
18644 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18645 (ps-print-ensure-fontified): Update for above function name changes.
18647 * printing.el (pr-mh-get-msg-num, pr-mh-show)
18648 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18649 silence compiler. Instead...
18650 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18651 (mh-show-buffer): Only define for compiler.
18652 (pr-mh-current-message): Update for above function name changes.
18654 * files.el (abort-if-file-too-large): Explicitly pass `filename'
18656 (find-file-noselect, insert-file-1): Update for above change.
18658 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18660 * mail/mailclient.el (mailclient-send-it): Fix message.
18662 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18663 (edebug-eval): Check cl-debug-env is bound.
18664 (print-level, print-circle): Don't redefine built-in variables.
18666 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18667 (custom-print-vectors): Remove old comments from doc.
18669 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18670 (emerge-version): Make the variable an obsolete alias for the
18671 emacs-version variable. Make the function obsolete.
18672 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18673 Emerge options, rather than merging in into the main Options menu.
18674 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
18675 and auto advance modes. Disable edit/fast items when not relevant.
18677 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18679 * term/vt420.el (terminal-init-vt420): Fix typo.
18681 2009-07-20 Sam Steingold <sds@gnu.org>
18683 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18684 variable (removed from compile.el on 2004-03-11).
18686 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
18688 * files.el (hack-local-variables-filter): Fix last change.
18690 2009-07-19 Juri Linkov <juri@jurta.org>
18692 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18693 (dir-local-variables-alist): New buffer-local variable.
18694 (hack-local-variables-filter): If variable is not dir-local,
18695 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18696 because file-local overrides dir-local.
18697 (c-postprocess-file-styles) <declare-function>:
18698 Remove obsolete declaration.
18699 (hack-dir-local-variables): Add dir-local variable/value pair to
18700 `dir-local-variables-alist' and remove duplicates. Doc fix.
18702 * help-fns.el (describe-variable): Add information about
18703 file-local and dir-local variables.
18705 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
18707 * files.el (hack-local-variables-filter): Rewrite.
18709 2009-07-19 Glenn Morris <rgm@gnu.org>
18711 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18712 Silence compiler by only defining on XEmacs.
18714 * international/mule.el (auto-coding-regexp-alist): Only match
18715 BABYL... at the start of buffer, not of lines. (Bug#3790)
18717 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18718 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18719 (cal-menu-context-mouse-menu): Doc fix.
18721 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18723 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18725 2009-07-18 Juri Linkov <juri@jurta.org>
18727 * info.el: Virtual Info keyword finder.
18728 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18729 (Info-finder-file): New variable.
18730 (Info-finder-find-file): New function.
18731 (finder-known-keywords, finder-package-info)
18732 (find-library-name, lm-commentary): Use defvar and
18733 declare-function to silence compiler warnings.
18734 (Info-finder-find-node): New function.
18735 (info-finder): New command.
18737 * subr.el (process-kill-buffer-query-function): New function.
18738 (add-hook)<kill-buffer-query-functions>: Add hook
18739 `process-kill-buffer-query-function'.
18741 2009-07-18 Alan Mackenzie <acm@muc.de>
18743 * progmodes/cc-mode.el (c-before-hack-hook)
18744 (c-postprocess-file-styles): Give invocation of `c-set-style'
18745 DONT-OVERRIDE parameter of t. Already set style variables will
18746 thus not be overridden by style settings given by `c-file-syle'.
18748 * files.el (hack-local-variables-filter): Remove entries with
18749 duplicate keys from `file-local-variables-alist'.
18751 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18753 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18754 x-set-selection if display-selections-p returns nil for the
18757 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
18759 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18761 2009-07-18 Eli Zaretskii <eliz@gnu.org>
18763 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18764 Accept nil in addition to a regexp.
18765 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18766 Accept nil in addition to a regexp.
18767 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18768 buffers that have an associated file. Handle nil values of
18769 desktop-buffers-not-to-save and desktop-files-not-to-save.
18772 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18773 (x-disown-selection-internal): New functions.
18775 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
18777 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18779 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18780 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18782 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
18784 * simple.el (set-mark): Revert last change.
18786 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18788 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18789 rendering of pngs is not possible instead of messaging a long
18792 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
18794 * w32-fns.el (x-selection-owner-p): New function.
18796 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18797 (mouse-yank-at-click, mouse-yank-primary):
18798 If select-active-regions is non-nil, deactivate the mark before
18801 * simple.el (deactivate-mark, set-mark): Only save selection if we
18804 2009-07-17 Kenichi Handa <handa@m17n.org>
18806 * case-table.el (describe-buffer-case-table): Fix for the case
18807 that KEY is a cons.
18809 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18811 * vc-rcs.el (vc-rcs-find-file-hook):
18812 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18814 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
18816 * net/tramp.el (tramp-wait-for-output): Handle the case when
18817 commands do not return a newline but a null byte before the shell
18820 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18822 * term/ns-win.el (ns-set-alpha): Don't declare.
18823 (ns-set-background-alpha): Remove function.
18825 2009-07-16 Kevin Ryde <user42@zip.com.au>
18827 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18828 y-or-n-p, for safety.
18830 2009-07-16 Richard Stallman <rms@gnu.org>
18832 * files.el (auto-save-mode): If buffer-saved-size is -2,
18835 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18836 (rmail-retry-ignored-headers): Add more uninteresting fields.
18838 2009-07-15 Jari Aalto <jari.aalto@cante.net>
18840 * net/rcirc.el (rcirc): Use history variables.
18841 (rcirc-server-name-history, rcirc-nick-name-history)
18842 (rcirc-server-port-history): New variables.
18844 2009-07-15 Kenichi Handa <handa@m17n.org>
18846 * international/mule-cmds.el (set-language-environment-charset):
18847 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18850 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18851 Delete unibyte-display.
18853 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18855 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18857 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
18859 * simple.el (deactivate-mark): Optional argument FORCE.
18860 (set-mark): Use deactivate-mark.
18862 * info.el (Info-search): No need to check transient-mark-mode
18863 before calling deactivate-mark.
18865 * select.el (x-set-selection): Doc fix.
18866 (x-valid-simple-selection-p): Allow buffer values.
18867 (xselect--selection-bounds): Handle buffer values.
18868 Suggested by David De La Harpe Golden.
18870 * mouse.el (mouse-set-region, mouse-drag-track):
18871 Call copy-region-as-kill before setting the mark, to let
18872 select-active-regions work.
18874 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
18876 * simple.el (deactivate-mark): If select-active-regions is
18877 non-nil, copy the selection data into a string.
18878 (activate-mark): If select-active-regions is non-nil, set the
18879 selection to the current buffer.
18880 (set-mark): Update selection if select-active-regions is non-nil.
18882 * select.el (x-valid-simple-selection-p): Allow buffer values.
18884 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18886 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18887 and more featureful message-mode.
18889 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
18891 * select.el (x-set-selection): Doc fix.
18892 (x-valid-simple-selection-p): Disallow selection data consisting
18893 of a list or cons of integers, since that is not used.
18894 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18895 (xselect-convert-to-string, xselect-convert-to-length)
18896 (xselect-convert-to-filename, xselect-convert-to-charpos)
18897 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18899 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18901 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18902 output in -break-info command (Emacs bug #3794).
18904 2009-07-14 Glenn Morris <rgm@gnu.org>
18906 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18907 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18908 (edebug-print-length, edebug-print-level, edebug-print-circle)
18909 (edebug-sit-for-seconds, edebug-view-outside)
18910 (edebug-bounce-point, edebug-set-global-break-condition)
18911 (edebug-Go-nonstop-mode, edebug-trace-mode)
18912 (edebug-Trace-fast-mode, edebug-continue-mode)
18913 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18914 (edebug-visit-eval-list): Doc fixes.
18916 * subr.el (def-edebug-spec): Doc fix.
18918 2009-07-14 Kenichi Handa <handa@m17n.org>
18920 * international/characters.el: Fix setting of category ?C.
18922 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18924 * term/ns-win.el (x-select-font): defalias x-select-font to
18925 ns-popup-font-panel instead of generate-fontset-menu.
18927 2009-07-12 Eli Zaretskii <eliz@gnu.org>
18929 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
18931 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18933 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18934 the PK\003\004 header (Bug#3770).
18936 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18938 * pcomplete.el (pcomplete-comint-setup): Check for
18939 shell-dynamic-complete-filename too.
18941 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
18943 * simple.el (temporary-goal-column): Change the value for
18944 line-move-visual to a cons cell.
18945 (line-move-visual): Record or set the window hscroll, if
18946 necessary (Bug#3494).
18947 (line-move-1): Handle cons value of temporary-goal-column.
18949 2009-07-11 Kenichi Handa <handa@m17n.org>
18951 * international/mule-diag.el (describe-character-set): Don't show
18954 2009-07-10 Sam Steingold <sds@gnu.org>
18956 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18957 Omake sometimes indents the errors it prints, so allow all
18958 regexps to start with spaces.
18960 2009-07-10 Eli Zaretskii <eliz@gnu.org>
18962 * cus-edit.el (customize-changed-options-previous-release):
18963 Bump value to 22.1. (Bug#3804)
18965 2009-07-08 Sam Steingold <sds@gnu.org>
18967 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18968 to be a cons cell (test . ignored-directory) to selectively ignore
18969 some directories depending on the location of the search.
18971 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
18973 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18974 remote user is root, on the local host.
18975 (tramp-local-host-p): Either the local user or the remote user
18976 must be root. (Bug#3771)
18978 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
18980 * progmodes/gdb-mi.el (gdb): Remove description of
18981 gdb-use-separate-io-buffer.
18982 (menu): Don't allow toggling of or enable
18983 gdb-use-separate-io-buffer from menubar.
18985 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18987 * mail/unrmail.el (unrmail): Make sure the message ends with two
18988 newlines (Bug#3769).
18990 2009-07-08 Glenn Morris <rgm@gnu.org>
18992 * calendar/calendar.el (calendar-current-date): Rework previous change.
18994 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18996 * calendar/calendar.el (calendar-current-date):
18997 Add an optional argument giving an offset from today.
18999 2009-07-08 Glenn Morris <rgm@gnu.org>
19001 * tutorial.el (tutorial--describe-nonstandard-key):
19002 Adjust the message for when a key has been unbound.
19003 (help-with-tutorial): Hide the arch-tag.
19005 2009-07-08 Kenichi Handa <handa@m17n.org>
19007 * international/fontset.el (setup-default-fontset): For each
19008 script, append (not set) font-specs.
19010 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19013 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19015 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19016 -data-list-register-names to ...
19017 (gdb-starting): ... here because GDB 7.0 requires execution to
19018 have started when using this MI command.
19019 (gdb-set-header): New function to distinguish select and
19020 unselected tabs in gdb buffers.
19021 (gdb-propertize-header): New macro that uses gdb-set-header.
19022 (gdb-breakpoints-header, gdb-locals-header): Use it.
19023 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19025 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19027 * Makefile.in (ELCFILES): Remove fadr.elc.
19029 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19031 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19032 may contain frame information, so `string-match' should be used.
19033 (gdb-update): Disassembly is invalidated through
19034 `gdb-get-selected-frame'.
19035 (gdb-pad-string): New function to pad string with spaces.
19036 (gdb-invalidate-disassembly): Invalidate only if the buffer
19038 (gdb-disassembly-handler-custom): Column alignment.
19039 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19041 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19043 (gdb-frame-handler): Match convention to for disassembly buffer
19045 (gdb-stack-list-frames-handler): Rewritten without regexps.
19046 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19047 not highlight breakpoints without line information.
19048 (gdb-input): Add trailing newline to command.
19050 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19052 (gdb-breakpoints-list-handler-custom): Replacement for
19053 `gdb-break-list-handler'. Using real parser instead of regexps
19055 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19056 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19057 to place breakpoints.
19058 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19060 (gdb-disassembly-handler-custom): Show overlay arrow.
19061 (gdb-disassembly-place-breakpoints): Show breakpoints in
19062 disassembly buffer.
19063 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19064 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19065 instead of parsing breakpoints buffer. Fixed old menu references
19070 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19071 (gdb-memory-address): New variable which holds top address of
19072 memory page shown in memory buffer.
19073 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19074 New customization variables.
19076 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19077 display the memory buffer.
19078 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19079 buffer display parameters.
19080 (def-gdb-memory-format, gdb-memory-format-binary)
19081 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19082 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19083 Functions for setting memory buffer format.
19084 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19085 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19086 unit size used in memory buffer.
19087 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19088 Switch to next/previous page of memory buffer.
19089 Now using (bindat-get-field) instead of fadr functions.
19091 2009-07-07 Sam Steingold <sds@gnu.org>
19093 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19094 non-top-level files.
19096 2009-07-07 Kenichi Handa <handa@m17n.org>
19098 * international/mule-cmds.el (reset-language-environment):
19099 Put the highset priority to the charset iso-8859-1.
19101 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19103 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19104 to the end of the line when locating the block (Bug#700).
19106 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19108 * net/tramp.el (tramp-handle-write-region): Flush file properties
19109 in case of short track.
19111 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19113 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19114 Coded custom representation of verilog error regular expressions
19115 to work with Emacs-22's new format.
19116 (verilog-error-regexp-xemacs-alist): Coded custom representation
19117 of verilog error regular expressions to work with XEmacs format.
19118 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19119 error recognition into XEmacs.
19120 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19121 error recognition into Emacs-22.
19123 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19125 * woman.el: Remove stand-alone closing parentheses.
19126 (woman-file-name, woman2-format-paragraphs)
19127 (woman-leave-blank-lines): Code cleanup.
19128 (woman-use-own-frame): Change default to nil.
19129 (woman-italic, woman-bold, woman-unknown, woman-addition):
19130 Change defaults to inherit from default faces.
19131 (woman2-process-escapes): Consume the newline after a stand-alone
19132 filler character (Bug#3651).
19134 2009-07-06 Glenn Morris <rgm@gnu.org>
19136 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19137 (top-level): Move provide to the end.
19138 (ffap): Remove defunct URL from custom group.
19140 * subr.el (eval-after-load): Doc fix.
19142 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19144 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19145 `calc-embedded-word' is called twice.
19147 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19149 * files.el (find-alternate-file-other-window, find-alternate-file):
19150 Obey confirm-nonexistent-file-or-buffer.
19152 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19154 * dired-aux.el (dired-show-file-type): Handle remote files.
19156 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19158 * desktop.el (desktop-globals-to-save):
19159 Add file-name-history (Bug#2750).
19161 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19163 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19165 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19167 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19168 property on entire argument since this is what eshell-lisp-command
19171 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19173 * net/tramp-gvfs.el (tramp-gvfs-methods)
19174 (tramp-gvfs-zeroconf-domain)
19175 (tramp-bluez-discover-devices-timeout): Add version flag.
19176 (tramp-gvfs-handler-mounted-unmounted)
19177 (tramp-gvfs-connection-mounted-p): Polish handling of
19178 incompatibilities between GVFS 0.2 and 1.0.
19180 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19182 * cus-start.el (all): Add make-pointer-invisible.
19184 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19186 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19187 formatted correctly.
19189 2009-07-02 Juri Linkov <juri@jurta.org>
19191 * info.el: Virtual Info files and nodes.
19192 (Info-virtual-files, Info-virtual-nodes): New variables.
19193 (Info-current-node-virtual): New variable.
19194 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19196 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19197 to check for a virtual file instead of checking a fixed list
19199 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19200 instead of ad-hoc processing of "dir" and (apropos history toc).
19201 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19202 instead of ad-hoc processing of "dir" and (apropos history toc).
19203 Reread a file when moving from a virtual node.
19204 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19205 (Info-directory-toc-nodes, Info-directory-find-file)
19206 (Info-directory-find-node): New functions.
19207 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19208 (Info-history): Move part of code to
19209 `Info-history-find-node'.
19210 (Info-history-toc-nodes, Info-history-find-file)
19211 (Info-history-find-node): New functions.
19212 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19213 (Info-toc): Move part of code to `Info-toc-find-node'.
19214 (Info-toc-find-node): New function.
19215 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19216 the current Info file name to references because now the node
19217 "*TOC*" belongs to the same Info manual.
19218 (Info-toc-build): Rename from `Info-build-toc'.
19219 (Info-toc-nodes): Rename input argument `file' to `filename'.
19220 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19221 instead of ad-hoc processing of ("dir" apropos history toc).
19222 (Info-index-nodes): Use Info-virtual-file-p
19223 to check for a virtual file instead of checking a fixed list
19225 (Info-index-node): Add check for `Info-current-node-virtual'.
19226 Raise `save-match-data' higher up the tree to contain
19227 `search-forward' too (bug fix).
19228 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19229 (Info-virtual-index-nodes): New variable.
19230 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19231 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19232 (Info-apropos-file, Info-apropos-nodes): New variables.
19233 (Info-apropos-toc-nodes, Info-apropos-find-file)
19234 (Info-apropos-find-node, Info-apropos-matches): New functions.
19235 (info-apropos): Move part of code to `Info-apropos-find-node' and
19236 `Info-apropos-matches'.
19237 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19238 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19239 for a virtual file instead of checking a fixed list of node names.
19241 * simple.el (async-shell-command): New command.
19243 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19245 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19246 instead of `mount-info'.
19248 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19250 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19251 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19253 2009-07-02 Kenichi Handa <handa@m17n.org>
19255 * international/mule.el (set-keyboard-coding-system): Force *-unix
19256 coding-system to avoid eol conversion.
19258 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19260 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19261 Add handler for `process-file', `shell-command' and
19262 `start-file-process'.
19263 (tramp-gvfs-handle-shell-command)
19264 (tramp-gvfs-handle-start-file-process)
19265 (tramp-gvfs-handle-process-file): New defuns.
19266 (tramp-synce-list-devices): Simplify check for existence of property.
19268 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19270 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19272 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19274 * language/korean.el (set-language-info-alist): Add korean-cp949,
19277 2009-07-01 Kenichi Handa <handa@m17n.org>
19279 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19281 * international/encoded-kb.el: Deleted.
19283 * international/mule.el (set-keyboard-coding-system): Perform the
19284 necessary setup here instead of calling encoded-kbd-setup-display.
19286 2009-07-01 Glenn Morris <rgm@gnu.org>
19288 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19290 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19292 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19294 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19296 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19297 Handle also the 'rename case, when setting file modes. (Bug#3712)
19298 (tramp-default-file-modes): Remove execute permissions.
19300 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19301 (top): Add a default for "synce" in `tramp-default-user-alist'.
19302 Add completion function for "synce" method.
19303 (tramp-hal-service, tramp-hal-path-manager)
19304 (tramp-hal-interface-manager, tramp-hal-interface-device):
19306 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19307 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19310 * net/trampver.el: Update release number.
19312 2009-06-30 Kenichi Handa <handa@m17n.org>
19314 * international/fontset.el (setup-default-fontset): Add CJK fonts
19315 for symbols and the other miscellaneous characters.
19317 * language/korea-util.el (setup-korean-environment-internal):
19318 Make char-width-table suitable for Korean environments.
19319 (exit-korean-environment): Cancel above.
19321 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19322 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19323 setup-function to make char-width-table suitable for respective
19324 environments, and an exit-function to cancel that.
19326 * language/japan-util.el (setup-japanese-environment-internal):
19327 Call use-cjk-char-width-table with arg `ja_JP'.
19329 * international/characters.el (cjk-char-width-table): Delete it.
19330 (cjk-char-width-table-list): New variable.
19331 (use-cjk-char-width-table): New arg local-name.
19332 (use-default-char-width-table): Fix for the case that Emacs is
19333 already using the default char-width-table.
19335 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19337 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19338 modes mandatory. (Bug#3712)
19340 2009-06-29 Alan Mackenzie <acm@muc.de>
19342 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19343 correction between the visible width of TABs and their number of bytes.
19345 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19347 * server.el (server-buffer-done): Prevent kill-buffer from
19348 prompting by clearing the buffer modification flag (Bug#3696).
19350 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19352 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19353 (verilog-endcomment-reason-re): Support unique case and priority case.
19354 (verilog-basic-complete-re): Support localparam lineup.
19355 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19356 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19358 (verilog-leap-to-case-head): Now support *nested* unique &
19359 priority case statements.
19360 (verilog-auto-lineup): Make just declarations the default (as it
19362 (verilog-leap-to-case-head): Support priority/unique case statements.
19363 (verilog-auto-lineup): Rework to give users radio buttons to
19364 select the various styles of automatic lineup.
19365 (verilog-error-regexp-alist): Rework to support the XEmacs style
19366 of error regular expressions from compilers, lint tools &
19367 simulators. Note that GNU Emacs has made it impossible for a mode
19368 to load such things.
19369 (electric-verilog-terminate-line, verilog-indent-declaration)
19370 (verilog-auto-wiure): Rework for radio button selection of
19371 auto-lineup selection of specification of auto lineup.
19372 (verilog-beg-of-statement-1): Redesign to support proper operation
19373 in additional code, based on testing with auto-lineup.
19374 (verilog-calculate-indent, assignments & declarations)
19375 (verilog-backward-token): Enhance to support auto-lineup of
19376 assignments & declarations.
19377 (verilog-in-directive-p, verilog-at-struct-p): New function for
19378 easy test of whether we are.
19379 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19380 to support safe execution at almost anyline.
19381 (verilog-calc-1): Properly support indenting deep inside generate
19383 (verilog-init-font): Remove definition & use of verilog-init-font,
19384 as it is redundant with font-lock-defaults.
19385 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19386 to avoid circular calls if syntax-ppss is a function (as is the
19387 case now in 22.x GNU Emacs) as that function would sometimes call
19388 itself, leading to (nearly) infinite recursion.
19389 (verilog-ovm-begin-re, verilog-ovm-end-re)
19390 (verilog-ovm-statement-re, verilog-leap-to-head)
19391 (verilog-backward-token): Add support for OVM macros. Some are
19392 complete statements, and others open and close scopes like begin
19394 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19395 (verilog-defun-level-generate-only-re): Really fix the defun-list
19397 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19398 coverpoint, constraint and cross statements.
19399 (verilog-defun-level-list, verilog-generate-defun-level-list)
19400 (verilog-all-defun-level-list): Redo these specifications - it is
19401 too hard to support eval-when compile aggregation of lists also
19402 built at when-compile time.
19403 (verilog-defun-level-list): Place defconsts of variables used in
19404 building regular expressions which are built in eval-when-compile
19405 bodies in the same eval-when-compile body to facilitate compile
19407 (verilog-beg-block-re-ordered): Support indenting
19408 virtual/protected tasks and functions.
19409 (verilog-defun-level-list, verilog-in-generate-region-p)
19410 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19411 indentation of some module items (generate items).
19412 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19413 across virtual/protected tasks and functions.
19415 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19417 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19418 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19419 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19420 in concatenations. Reported by Yishay Belkind.
19421 (verilog-auto-ascii-enum): Support one-hot state machines in
19422 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19423 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19424 modport in AUTOINST and add vl-modport for users.
19425 Reported by David Rogoff.
19426 (verilog-auto-inout-module, verilog-auto-inst)
19427 (verilog-decls-get-interfaces, verilog-insert-definition)
19428 (verilog-insert-one-definition, verilog-read-decls)
19429 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19430 (verilog-sig-modport, verilog-signals-combine-bus)
19431 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19432 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19433 Suggested by David Rogoff.
19434 (verilog-repair-open-comma): Fix non-insertion of comma when
19435 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19436 (verilog-make-width-expression): Simplify [A-1:0] expression
19437 widths to just {A{1'b0}}.
19438 (verilog-mode): Cleanup checkdoc warnings.
19439 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19440 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19441 inputs/outputs or data type. Suggested by Vasu Kandadi.
19442 (next-error-last-buffer): Fix byte-compiler warning.
19443 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19444 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19445 or shell command text during AUTO expansion. Suggested by Tad Truex.
19446 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19447 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19448 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19449 in AUTOINOUT. Reported by Matthew Lovell.
19450 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19451 causing use of <= assignments. Reported by Alex Reed.
19452 (verilog-read-decls): Fix triand, trior, wand, wor to be
19453 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19454 (verilog-extended-complete-re): Support import "DPI-C" functions.
19455 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19456 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19457 (verilog-insert-date, verilog-insert-year)
19458 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19459 Windows systems. Reported by Michael Potts.
19460 (verilog-read-module-name): Fix AUTOINST when the child module
19461 declaration's name is a tick define. Reported by Elliot Mednick.
19462 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19463 passed to next parameter's definition. Reported by Bruce T.
19464 (verilog-read-decls): Fix detecting "parameter int" when using
19465 AUTOINSTPARAM. Reported by Bruce T.
19466 (verilog-goto-defun): Fix goto not finding modules unless first
19467 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19468 (verilog-mode): Expand -f flag arguments on entry to mode so
19469 verilog-goto-defun will work. Reported by Lawrence Butcher.
19470 (verilog-getopt): Expand environment variables in -f file
19471 arguments. Suggested by Lawrence Butcher.
19472 (verilog-set-define): Fix "Symbol's value as variable is void"
19473 when reading enumerations.
19474 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19475 Suggested by Stephen Peltan.
19476 (verilog-read-defines): Fix reading of enumerations in include
19477 files. Reported by Steve Peltan.
19479 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19481 * files.el (trash-directory): Fix defcustom type.
19483 2009-06-28 Juri Linkov <juri@jurta.org>
19485 * help-fns.el (describe-function-1): Correctly locate adviced
19486 functions in hyperlink (Bug#2438).
19488 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19490 * files.el (trash-directory): Change default to nil.
19491 (move-file-to-trash): If trash-directory is nil and
19492 system-move-file-to-trash is unbound, perform freedesktop-style
19495 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19497 * files.el (move-file-to-trash): Add freedesktop trash
19500 2009-06-28 Glenn Morris <rgm@gnu.org>
19502 * autorevert.el (global-auto-revert-non-file-buffers)
19503 (global-auto-revert-mode): Doc fixes.
19505 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19507 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19509 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19511 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19512 opened an X connection before calling x-get-resource (Bug#3194).
19514 * play/doctor.el: Remove reference to obsolete website.
19515 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19517 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19519 Remove find-file-not-found-hook VC method. (Bug#2757)
19520 * vc-hooks.el (vc-file-not-found-hook)
19521 (vc-default-find-file-not-found-hook): Remove functions.
19522 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19523 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19526 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19528 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19530 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19531 compatibility function for `looking-back'.
19533 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19534 Use `ispell-looking-back'.
19536 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19538 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19539 rather than `filename'.
19541 2009-06-23 Miles Bader <miles@gnu.org>
19543 * face-remap.el (text-scale-set): New function.
19545 2009-06-23 Glenn Morris <rgm@gnu.org>
19547 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19549 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19551 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19553 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19555 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19556 Simplify Persian conditionals.
19558 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19559 variable `filename'.
19561 * comint.el (comint-insert-input): Doc fix.
19563 * Makefile.in (ELCFILES): Fix typo in previous change.
19565 2009-06-23 Miles Bader <miles@gnu.org>
19567 * cus-start.el: Add entry for `recenter-redisplay'.
19569 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19571 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19572 Add an optional argument for the backend, use it instead of
19573 calling vc-backend.
19574 (vc-mode-line): Add an optional argument for the backend.
19575 Pass the backend to vc-state and vc-working-revision. Move code for
19576 special handling for vc-state being a buffer to ...
19578 * vc-rcs.el (vc-rcs-find-file-hook):
19579 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
19581 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19582 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19583 vc-stay-local-p and vc-mode-line calls.
19585 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19586 (vc-cvs-diff, vc-cvs-annotate-command)
19587 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19588 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19589 vc-mode-line calls.
19591 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19593 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19594 backend when calling vc-mode-line.
19595 (vc-register): Do not create a closure for calling the vc register
19596 function, call it directly.
19598 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
19600 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19601 to make it obvious item can be clicked.
19603 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19605 2009-06-23 Kenichi Handa <handa@m17n.org>
19607 * language/korea-util.el (korean-key-bindings): Change the binding
19608 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
19611 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
19613 Sync with Tramp 2.1.16.
19615 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19617 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
19618 when a loading of a package fails. Completion function for rsync
19619 is `tramp-completion-function-alist-ssh'.
19620 (all): Replace all calls of `split-string' and
19621 `tramp-split-string' by `tramp-compat-split-string'.
19622 (tramp-default-method): Use `tramp-compat-process-running-p'.
19623 (tramp-default-proxies-alist): Allow also Lisp forms.
19624 (tramp-remote-path): Add choice "Private Directories".
19625 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19626 (tramp-domain-regexp): Allow also "-", "_" and ".".
19627 (tramp-end-of-output): Remove newlines, and add "$" at the end.
19628 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19629 (tramp-debug-message): Insert header line in debug buffer.
19630 (tramp-handle-directory-files-and-attributes-with-stat):
19631 Care about filenames with spaces, or starting with "-".
19632 (tramp-handle-dired-uncache): New defun.
19633 (tramp-handle-insert-directory): Don't flush the directory from
19634 cache, this is handled by `dired-uncache' now.
19635 (tramp-handle-insert-file-contents): Improve error handling.
19636 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19637 Quote `tramp-end-of-output'.
19638 (tramp-action-password): Improve trace message.
19639 (tramp-check-for-regexp): Both echoes must be present, before removing.
19640 (tramp-open-connection-setup-interactive-shell): Trace coding system.
19641 (tramp-compute-multi-hops): Eval cons cells of
19642 `tramp-default-proxies-alist'.
19643 (tramp-maybe-open-connection): Use the same command pattern for
19644 first hop and further hops.
19645 (tramp-wait-for-output): Remove handling of newlines.
19646 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19647 (tramp-split-string): Remove function. It is handled in
19650 * net/tramp-cmds.el (tramp-bug):
19651 Recommend `tramp-cleanup-all-connections' in the bug mail.
19653 * net/tramp-compat.el (tramp-compat-split-string)
19654 (tramp-compat-process-running-p): New defuns.
19656 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19657 for `dired-uncache'.
19659 * net/tramp-gvfs.el: New package.
19661 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19662 Add handler for `dired-uncache'.
19663 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19665 * net/trampver.el: Update release number. Make version check fit
19668 2009-06-22 Jim Meyering <meyering@redhat.com>
19670 Automatically handle .xz suffix (XZ-compressed files), too.
19671 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19672 XZ is the successor to LZMA: <http://tukaani.org/xz/>
19674 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
19675 Nick Roberts <nickrob@snap.net.nz>
19677 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19678 repository (http://sphinx.net.ru/hg/gdb-mi/).
19680 2009-06-22 Glenn Morris <rgm@gnu.org>
19682 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19683 `mode' and `eval' entries. (Bug#3430)
19685 * Makefile.in (ELCFILES): Add fadr.elc.
19687 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19688 differing behavior of \n and ^ in strings. (Bug#3385)
19690 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19692 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19694 (lisp-indent-function): Make it a defcustom.
19696 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
19698 * progmodes/gdb-ui.el: Replace with ...
19699 * progmodes/gdb-mi.el: ... this file.
19700 * progmodes/gud.el: Modify for gdb-mi.el.
19702 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19704 * fadr.el: New file.
19706 See ChangeLog.14 for earlier changes.
19708 ;; Local Variables:
19712 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
19714 This file is part of GNU Emacs.
19716 GNU Emacs is free software: you can redistribute it and/or modify
19717 it under the terms of the GNU General Public License as published by
19718 the Free Software Foundation, either version 3 of the License, or
19719 (at your option) any later version.
19721 GNU Emacs is distributed in the hope that it will be useful,
19722 but WITHOUT ANY WARRANTY; without even the implied warranty of
19723 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19724 GNU General Public License for more details.
19726 You should have received a copy of the GNU General Public License
19727 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.